> I'm trying to include that file because in my index page
> because it has many
> functions I need to use in other pages... I'm on ADDR.com
> servers and I
> can't set "allow_url_fopen" to 1 (it sucks!).

> In ssi.php functions are called by accessing this address:
> http://mydomain.com/forums/ssi.php?a=active
> So how can I possibly include that page (ssi.php?a=active) on
> any of my
> pages???
In my oppinion, if these files you need the include for aren't
on the same server as mydomain.com or even cannot access the
root where mydomain.com got placed (like they cannot do an
include by include '/home/web/com/mydomain/forums/ssi.php'),
you will never have any chance of doing so.
Due to allow_url_fopen being disabled, you cannot include
files from remote.

But just to be sure we're talking about the same problem:
You try to get the SOURCE CODE of the script
http://mydomain.com/forums/ssi.php?a=active
to use it as part of another, say
http://mydomain.co.uk/forum.php ?

If you are talking about including it in
http://mydomain.com/forum.php , simply adjust the forum.php
code to have :

<?php
 ...
$a = $_GET['a'];
include 'forums/ssi.php';
 ...
?>

Regards
  Dennis

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

Reply via email to