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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to