tag:blogger.com,1999:blog-8472448211262689043.post4544977560175252743..comments2026-01-31T00:32:51.812-08:00Comments on Advanced PHP Tutorial: Detect an AJAX Request in PHPLearnphphttp://www.blogger.com/profile/15934446588226257926noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8472448211262689043.post-46120681974439427022010-06-24T01:37:09.823-07:002010-06-24T01:37:09.823-07:00Interesting. But why don&#39;t you simple use a GE...Interesting. But why don&#39;t you simple use a GET variable, for example ajax=1?<br /><br />Then you could simply do<br /><br />if($_GET[&#39;ajax&#39;]==1){<br /> //do stuff here<br />}<br /><br />Your way of doing it is interesting, but I don&#39;t think it&#39;s better. I would like to know why do you use this kind of check instead of passing simple variable via GET or POST.valentinashttps://www.blogger.com/profile/16947480492475494098noreply@blogger.comtag:blogger.com,1999:blog-8472448211262689043.post-37670919892921611352010-06-18T09:37:23.451-07:002010-06-18T09:37:23.451-07:00For more tutorials on jQuery, PHP, CSS, visit www....For more tutorials on jQuery, PHP, CSS, visit <a href="http://www.webspeaks.in" rel="nofollow">www.webspeaks.in</a>Anonymoushttps://www.blogger.com/profile/05362733369512745009noreply@blogger.comtag:blogger.com,1999:blog-8472448211262689043.post-88423768197187052042010-06-18T04:57:18.943-07:002010-06-18T04:57:18.943-07:00Hi, nice blog for learning PHP. I came here from a...Hi, nice blog for learning PHP. I came here from a link you put on nerds-central, so I am sure you&#39;ll be cool about a back link :)<br /><br />For powerful solutions to COBOL, VB, Java and much more - visit <a href="http://nerds-central.blogspot.com" rel="nofollow">http://nerds-central.blogspot.com</a>Anonymoushttps://www.blogger.com/profile/05340869749061179136noreply@blogger.com