Jump to content

Protect file


algiss

Recommended Posts

Im using AJAX which calls php file using this string "file.php?postcode=IG11AA". The results as expected are succesfully printed out. But I dont wanna let people start playing with file.php and GET variables by accessing it directly from browser address bar (www.domain.com/file.php?postcode=IG11AA).

How I grand access to file.php only from ajax application. and kill all other attempts to access it manually?

 

Thanks for reply

Link to comment
https://forums.phpfreaks.com/topic/62665-protect-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.