ok, Just installed PHP with Xitami, with Apache 1.3 AND 2. I've used PHP versions 4.33 and 4.3.4. I'm running Windows XP, mucking around with some pages that came with my Web Programming book, most of the php pages work, but anything involving sessions, forms and cookies etc just doesn't work. Anyone any pages that they know work that I can try, so I can figure out what the problem is? Should they work, even though the PHP code is actually quite old? (the version that came with the book is 4.0.3) The stuff works ok under 4.0.3, but I need the functionality of the latest version for some stuff on my Uni course... Anyone able to help me, or point me in the right direction?
hi,
just some thoughts:
for sessions it's possible, that in php.ini 'session.save_path' or 'session.cookie_path' isn't correctly defined?
another possiblility is, that your scripts depend on 'register_globals = On', which is (now) set to 'off' by default (location: php.ini). either you set it 'on' (not recommended, search the newsgroup for that and the security issues), or rewrite your scripts for "off-support", e.g. $_SESSION['sess_var'].
hth SVEN
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php