Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
[PHP] Why cant I include a file? GrodanBoll
I'm getting this row in the Apache error-log:
[Tue Mar 12 11:16:27 2002] [error] PHP Warning: Failed opening 'sidamedspalt.php?avdid=1&sidnamn=hem' for inclusion (include_path='.') in c:\program files\apache group\apache\htdocs\wwhkr3\processor.php on line 106 Dont the point mean that the the 'include' should look in the same folder that the processor.php is in?
Yep, the include will look in the same folder. I think the problem is that you're trying to pass variables using a query string - that won't work with 'include', only via http
Try rewriting it as:
ie define your variable first and then do a plain 'include'
Seems to work fine, I'll try that.