Let's see if I'm clear. I have an old set of scripts that work well in PHP4 and do not understand them better. I need to integrate the new functionality implemented in PHP5, I just need to call the script in the new application from the old one.
In order not to touch the old things, I think that somehow the "kind of remote" will cause a new one, you just need to transfer the data $ _REQUEST []. I can’t turn it on, as this will require a switch to a different version of PHP (and some name match). I do not need any conclusion from the new.
What would be a cleaner way to “call” that script the transfer parameters, fopen (" http://theserver.com/thescript.php " ....), and then pass all the necessary headers to pass the parameters? or is there something more direct?
Thank!
source
share