Protecting PHP scripts called via AJAX from evil Hi folks, I'm looking for a straightforward way to protect PHP files which are called via AJAX from being called from outside my application. Currently, someone could forseeably open the console and watch the javascript post variables to a public file (actions/delete_thing.php) and then use this knowledge to tra... 6 Aug 2010 11:36
Quotes vs. Single Quote Hi List. I've mentioned before that I am both just beginning to learn PHP AND I have inherited a number of pages that I'm trying to clean up the w3c validation on. Something that confuses me is how the code on the page is written where in one instance, it follows this: echo "<table border='1'><tr>.... And els... 6 Aug 2010 12:42
PHP The Anthem http://www.youtube.com/watch?v=S8zhmiS-1kw http://shiflett.org/blog/2010/aug/php-anthem ....some people have way too much time. ;-) ... 7 Aug 2010 15:51
mytrash mail thing Hi, Please can whoever is using that mytrash(a)mail.ua system please remove it from this list or remove yourself? Every email I now send to the list is followed up by a message from this, which from my point of view is essentially spam being sent to me. If you sign up to the php mailing list, expect to receive ema... 5 Aug 2010 00:32
Converting HTML to PDF via PHP I have found various online tools that do this but nothing that has documented it as a tutorial so I can understand it. I found the html_to_pdf.inc.php script that is entirely undocumented so I am not sure how to use it exactly. I am trying to export generated HTML (an invoice for a customer) to a saveable PDF tha... 5 Aug 2010 12:28
multi thread work? Hi how to make a script multi task based like this <? for($i=1;$i<=100;$i++) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://www.facebook.com/ajax/reqs.php?__a=1' ); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_USERAGENT, "Opera/9.80 (Windows NT 5.1; U; tr) Presto/2.6.22 V... 4 Aug 2010 14:43
Encoding for W3C Validation Hello List. In the Alt section of the IMG tag below, the variable $myitem has a value of "Who's There". echo "<div class='myclass'><a href='#' class='color_thumb'> <img src='/itemimages/$mypic' alt='$myitem' width='60' .... When running through W3C validator, the line errors out because of the " ' " in "Who's"... 4 Aug 2010 09:14
displaying and updating records in a form Hello, Not sure if this went out, apologies if this is a double post. I'm having difficulty tying something together. I'm wanting to display a record from a database in a form, information from the various fields in the database goes in to their coresponding fields in the form, for example address field of the dat... 4 Aug 2010 03:52
generate animated gifs Is there a way (I haven't found it yet) to create with a sequence of gifs an animated gif using php-gd? -- MartÃn Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador ... 2 Aug 2010 23:32
Need help calling multiple functions with if_is Hello, This is my first time to post to the list. I've been working with PHP for several years as a WordPress user, but I've come upon a problem I can't solve. I am trying to call up a specific php function (a plugin that displays ads) if the page is the home page, another specific function if the page is a spe... 31 Jul 2010 16:11 |