Quote:
Originally Posted by Aso
@lscott: That would explain the original errors you were getting (i.e. you're running PHP < 4 or don't have it installed as an Apache Module).
The reason why Jack's 'include' solution didn't work is most likely to do with your relative paths and php.ini configuration (and not forgetting the fact that connRadiate.php may not even exist at that location).
1. In which folder is your script running from (in the form [drive]:/path/folder/scriptname. php) ?
2. Where is your connRadiate.php file located (in the form [drive]:/path/folder/connRadiate. php) ?
3. Copy and paste the errors you're currently getting
|
I know that
PHP 5 is difinatly installed.
The connRadiate.
php is in /Users/laurence/Sites/radiate/Connections on my computer. I have checked it was in the Connections folder when I uploaded it.
Here are all the errors I am currently getting...
Warning: include(/Connections/connRadiate.
php) [
function.include]: failed to open stream: No such file or directory in
C:\Inetpub\vhosts\thegate-norwich.com\httpdocs\index2.php on line
1
Warning: include() [
function.include]: Failed opening '/Connections/connRadiate.
php' for inclusion (include_path='.;./includes;./pear') in
C:\Inetpub\vhosts\thegate-norwich.com\httpdocs\index2.php on line
1
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in
C:\Inetpub\vhosts\thegate-norwich.com\httpdocs\index2.php on line
3
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in
C:\Inetpub\vhosts\thegate-norwich.com\httpdocs\index2.php on line
5