Link to home
Start Free TrialLog in
Avatar of theskintman
theskintman

asked on

Include suddenly not working after upgrading from PHP 4

I have recently upgraded from PHP 4 to PHP 5, and this line of code suddenly stopped working! Does anyone know why this might happen?

The file DEFINITELY exists, so I'm not sure why this would happen - could it be because of the '.com' at the end of the email address? Any help would be much appreciated!


//This is the line that generates the error...
include("/demos/remoteapplication.php?e=".$_POST['email']);
 
//And here is the error message
Warning: include(/demos/remoteapplication.php?e=ddjbncjkdfnve@wdvfev.com) [function.include]: failed to open stream: No such file or directory in...

Open in new window

Avatar of Beverley Portlock
Beverley Portlock
Flag of United Kingdom of Great Britain and Northern Ireland image

chances are that something else has thrown an error. Add this to the beginning of the script

ini_set('display_errors', 1);
error_reporting(E_ALL);

and post back what you see
ASKER CERTIFIED SOLUTION
Avatar of theskintman
theskintman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial