note 39198 deleted from function.- by nlopess
| From: | nlopess@php.net | Date: | Tue, 20 Jan 2004 15:14:21 +0000 |
| Subject: | note 39198 deleted from function.- by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63882@lists.php.net to get a copy of this message | ||
Note Submitter: bryancox@smnw.com
----
Wow. What a horrible thing to do -- I suddenly find that my system for calling dynamic pages is
completely screwed because of this new function that appeared this weekend. Basically, there were
sections and pages in the system.
To derive a function, first you require the proper $_REQUEST or $_SESSION variable
["section"] to have the function defined, and then call the function using
$section_$action()
Obviously, with no section it would require the default (which is, by the way, global) and call
function _() since you can't call () itself. NOW, however, I've got to pointlessly change
all of this.
Wrong choice of function names, when you have this dynamic function capability in PHP.