i am using include("http://".$_SERVER['SERVER_NAME']."/db.php"); to include
a file. It isnt returning anything or connecting to the database (which is
what it is supposed to be doing).
any ideas? if i put in the path to the file it works, but I need it to do it
over http the rest of the code is being run over a symbolic link and I need
different connections per website.
a file. It isnt returning anything or connecting to the database (which is
what it is supposed to be doing).
any ideas? if i put in the path to the file it works, but I need it to do it
over http the rest of the code is being run over a symbolic link and I need
different connections per website.
Comment