I have xampp latest
(php,mysql and apache for windows) running
on xp (configured as localhost).I want to
protect a page inside a
directory from directly being accessed through
index.php page is in root.
new.php is in /root/try folder (try).
I have tried .htaccess as mentioned in
websites it does not contol the direct display.
I am not able to implement session solution,
to my surprise sessions are not working (do I
have to modify something in php.ini file?).
I have although succesfully used http referer
solution but I have heard it is not reliable as
most of headers are stripped by security
software and proxies.
Thanks in advance.