Posts by André • 41 points
1 post
-
4
votes2
answers825
viewsQ: Block PHP page to only display data if it is an AJAX request
I have a file .php which loads and displays all news from my database, I use this file to load the news dynamically with AJAX. So far so good, the user can go normally on the page index.html and see…