include option and calling only part of a file.
| From: | Stephen of Blank Canvas | Date: | Sun, 29 Dec 2002 03:43:51 +0000 |
| Subject: | include option and calling only part of a file. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-129565@lists.php.net to get a copy of this message | ||
Hi Everyone,
I have one file with several sections of code which I have so far
accessed using a good old fashioned - - if ($HTTP_GET_VARS['action'] ==
"Update") - - however I now want to include this code within some other
web pages, I thought I may be able to use the following code - -
include("/modules.php?action=Update") - - however the code does not run.
Hoping someone can help me out on a way to overcome this. I am running
IIS 5, and PHP 4.2.3
Thanks
Stephen