include using http://

From: * (*_at_*.com)
Date: 07/30/04


Date: Fri, 30 Jul 2004 17:31:48 +0100

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.



Relevant Pages

  • Re: Connect to Access Data from various regional locations
    ... All users will be connecting via broadband. ... When using MSDE ... > Dim rf As DAO.Recordset ... > There is a wizard to split your database into a FE and a BE; ...
    (microsoft.public.access.dataaccess.pages)
  • Re: Connect to Access Data from various regional locations
    ... All users will be connecting via broadband. ... When using MSDE ... > Dim rf As DAO.Recordset ... > There is a wizard to split your database into a FE and a BE; ...
    (microsoft.public.access.externaldata)
  • RE: Problem with connecting to an Oracle database using Perl
    ... Problem with connecting to an Oracle database using Perl ... *IS* described in the DBD::Oracle perldocs - as the perldocs are included ... I do not have a problem connecting to the remote database using the Oracle ...
    (perl.dbi.users)
  • Re: Running SQL script through VB
    ... I am connecting through a default username and my ... The error I am getting while running a script (generated by SQL server ... "A use database statement is not allowed in a procedure or trigger" ...
    (microsoft.public.dotnet.languages.vb)
  • Re: LAN with database giving error messages
    ... I'm connecting via a web page to a database. ... "This website uses a data provider that may be unsafe. ... What can be done to suppress the errors as everything is on a LAN not connected to the internet and so a very low security threat? ...
    (comp.lang.javascript)