For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > November 2004 > Opening php Script for Execution









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Opening php Script for Execution
Ben Murphy

2004-11-30, 3:56 am

php is a new language to me, and I want to know if what I want to do
is possible.

I have my script which renders the webpage, and I want it to open
another php script, and execute the contents of that file.

Is this possible, and if so how is it done?
jrf[no]

2004-11-30, 3:56 am

Ben Murphy wrote:

> php is a new language to me, and I want to know if what I want to do
> is possible.
>
> I have my script which renders the webpage, and I want it to open
> another php script, and execute the contents of that file.
>
> Is this possible, and if so how is it done?


include ("anotherphpfile.php");
Michael Fesser

2004-11-30, 3:56 am

.oO(Ben Murphy)

>php is a new language to me, and I want to know if what I want to do
>is possible.
>
>I have my script which renders the webpage, and I want it to open
>another php script, and execute the contents of that file.
>
>Is this possible, and if so how is it done?


www.php.net/include

You should download the manual and read the introduction and language
reference chapters.

Micha
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com