To check whether a request has been made is from Ajax or not you can use $_SERVER[‘HTTP_X_REQUESTED_WITH’]. See the following example: There you go. You now know how to check whether request made to file is from an Ajax Call or not in PHP. ... [READ MORE]
Posts marked with "XML" in tags
Insert XML Data to MySQL Table Using PHP
This tutorial will help you to insert XML file’s contents to a MySQL Database table using php. Note- If you can’t open PHP files in browser in Ubuntu Linux See the Tutorial : http://subinsb.com/how-to-open-php-files-in-ubuntu-instead-of-downloading This is the XML data we are going to insert in to our MySQL Table. <span style="font-family: inherit;"<items></span <span style="font-family: inherit;" <item></span <span style="font-family: inherit;" <title>Google</title></span <span style="font-family: inherit;" <url>google.com</url></span <span style="font-family: inherit;" </item></span <span style="... [READ MORE]