Re: include() problems
| From: | Burhan Khalid | Date: | Mon, 06 Oct 2003 20:31:29 +0000 |
| Subject: | Re: include() problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165244@lists.php.net to get a copy of this message | ||
Gustave Bernier wrote:
I'm new to PHP and I'm trying to use the include function but with no success... My server's ini file is set as (allow_url_fopen, 0) so I'm having some trouble to pass different values for the php file I'm calling. The address is: http://mydomain.com/forums/ssi.php?a=active The code I'm trying now is: $_GET['a'] = 'active'; include('forums/ssi.php');Well, since everyone has commented on the including-same-file idea, might I point that this : $_GET['a'] = 'active'; looks a bit strange. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com ---- Tip : In your replies, please trim out the signature of person you are replying to. No need to see the same disclaimer 5 times. Leads to bloat.