I just moved a site to another server and for some reason, my includes aren't working on scripts that are more than 1 deep.
I have a file that includes a file (variables). If a condition is met (say session var), another include is called (cleanup).
It's the second include that fails; more specifically, any mysql_query in the second include gets me :
mysql_query(): supplied argument is not a valid MySQL-Link
It's running PHP 4.3.10.
Another thing is that I can't call the second include using relative paths, it has to be absolute.
I have a file that includes a file (variables). If a condition is met (say session var), another include is called (cleanup).
It's the second include that fails; more specifically, any mysql_query in the second include gets me :
mysql_query(): supplied argument is not a valid MySQL-Link
It's running PHP 4.3.10.
Another thing is that I can't call the second include using relative paths, it has to be absolute.