Page 1 of 1
running a script inside a script
Posted: Tue Oct 17, 2006 7:36 pm
by Aegiss
hey whats the code to run another script thats on my web server inside a script? thanks

Posted: Tue Oct 17, 2006 7:43 pm
by Cameri
To me it sounds that you want to execute somebody else's script...
If you are expecting some code here to help you without providing anything, you are out of luck.
Anyways, go to
http://www.php.net and look for the include function.
Posted: Tue Oct 17, 2006 8:08 pm
by ZephyrWest
Posted: Tue Oct 17, 2006 8:38 pm
by John Cartwright
Cameri wrote:To me it sounds that you want to execute somebody else's script...
This is a very legitamate question, I don't see how executing code on your own server could be malicious in this context.
Posted: Wed Oct 18, 2006 8:55 am
by Aegiss
ah ok i think that did it. just to make sure, if i write a script and than put an include at the end, it'll run the original script and then run the included one right?
Posted: Wed Oct 18, 2006 9:31 am
by intergroove
That is correct.