|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
dynamic PHP execution
has anyone written any PHP that can do this:
dynamically write a PHP file. the logic can come from any/many sources (files/DB/divine intervention/whatever...) execute said PHP. delete said PHP. if you are wondering why one would want to do this, it is simple. if you could, you write the PHP. then, anytime you want to change logic/functionality of the PHP, you just change the source that dynamically creates the PHP. no need for PHP updates. |
|
#2
|
|||
|
|||
|
RE: dynamic PHP execution
Well, Im guessing it wouldn't be too hard. You wouldn't even have to write it to a file. Just store the PHP you dynamically wrote in a variable, then pass it though eval().
|
|
#3
|
|||
|
|||
|
RE: dynamic PHP execution
fair enough.
It's not that hard, just wondering, why not? |
|
#4
|
|||
|
|||
|
RE: dynamic PHP execution
I think I saw like a UML to PHP thing somewhere... don't know exactly what UML is... or if it was UML.... but ya...
|
|
#5
|
|||
|
|||
|
RE: dynamic PHP execution
"has anyone written any PHP that can do this:"
guess, not. "It's not that hard, just wondering, why not?" why not? why??? PHP is a scripting/hypertext processing language. That means: HTTP request, to webserver, to cloud/IP. HTTP request found by webserver, to PHP, PHP do, or not, back to webserver, webserver to HTTP response to cload/IP. |
|
#6
|
|||
|
|||
|
RE: dynamic PHP execution
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Programming Theory > dynamic PHP execution |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|