RE: autoload issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I'm using Ioncoder, the structure for the classes is that I have a "master"
library folder in every client root containing all classes, but
unfortunately the filename is not the same as the classname (some files are
but not all) so no luck matching classes with filenames.

The code I use to scan the files are:
$rows = file_get_contents($path);
if (preg_match('#^(?:abstract |final )?class (\S+) #m', $rows, $m)) {
	...
}

The files just looks totally scrambled when they are encoded, so this is not
working at all obviously. 

regards

-----Original Message-----
From: Bojan Tesanovic [mailto:btesanovic@xxxxxxxxx] 
Sent: 24 May 2008 01:33 PM
To: PHP General list
Subject: Re:  autoload issues

Can you be more specific,   the structure of directories what encoder  
did you use can you provide a sample
PHP encoded class/script ...

On May 23, 2008, at 5:27 PM, Joakim Ling wrote:

> Anyone have a solution for using autoload with encoded php files?

Bojan Tesanovic
http://www.carster.us/






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux