Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

95 users online



sessions within included php scripts

sessions within included php scripts

Currently viewing this thread: 1 (0 members and 1 guests)


schoi

schoi

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)

nertman

nertman

lurker
Status: Offline!

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

derek122

derek122

Neverside Newbie
Status: Offline!

Site Map 78
Site Map 79
Site Map 80
Site Map 81
Site Map 82
Site Map 83
Site Map 84

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0178 seconds.