
February 10th, 2008
08:37 PM
funny and cheeky
Status: Offline!
sessions within included php scripts
I have a php called admin.php which includes a variety of php files due their complexity. I noticed if the an include files that uses sessions has been included as an url it doesn't work. But as a relative path it does.
include "checkadmin.php" works
include "http://localhost/checkadmin.php" fails
why?
Last edited by schoi, February 10th, 2008 09:29 PM (Edited 1 times)

February 12th, 2008
02:32 AM
i always thought >> include "http://localhost/checkadmin.php" fails<< includes where bad for some reason and not aloud was told by someone to use the paths rather then urls and to do something else with the paths like add a ./ or some crap so they won't be able to get into my website i don't really remember exactly what i was told but i just used the paths every since

April 21st, 2008
11:02 AM
Neverside Newbie
Status: Offline!