Ask a Question related to PHP Notes, Design and Development.
-
didou@php.net #1
note 33781 deleted from function.readdir by didou
Note Submitter: [email]axel5_mx@yahoo.com[/email]
----
Nice recursive code by FX at yucom dot be, it doesn't display the last directory, i fixed it in ShowFileList(&$a, $N) function
changing this line:
for ($i=1;$i<count($a); $i++)
like this:
for ($i=1;$i<=count($a); $i++)
Regards....
didou@php.net Guest
-
note 19929 deleted from function.is-a by didou
Note Submitter: php@electricsurfer.com ---- Here is a 3 line PHP implementation that worked for me: if (!function_exists('is_a')) {... -
note 21357 deleted from function.is-a by didou
Note Submitter: krisher@oswego.edu ---- Any implementation of is_a that relies on empty() to test whether the object parameter is empty will... -
note 19730 deleted from function.is-a by didou
Note Submitter: ernest@vogelsinger.at ---- For the previous example you need to exchange the function parameters to be compliant to the CVS... -
note 19727 deleted from function.is-a by didou
Note Submitter: dan at mojavelinux dot com ---- php implementation to keep us happy for now if (!function_exists('is_a')) { function... -
note 13461 deleted from function.defined by didou
Note Submitter: a@rmci.net ---- Remember not to do this if(defined(CONSTANT)) { } always quotate the define your looking for because...



Reply With Quote

