note 57601 deleted from ref.http by nlopess

From: Date: Fri, 02 Dec 2005 18:20:21 +0000
Subject: note 57601 deleted from ref.http by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-99477@lists.php.net to get a copy of this message
Note Submitter: ---- Fix for Class Ajax version >= 2.0 : <?php // incorrect $cmd[200] = "alert({ajax})"; $cmd[404] = "alert('Error 404 - File not found !')"; ?> <?php // correct $cmd[] = array("alert({ajax})", 200); $cmd[] = array("alert('Error 404 - File not found !')", 404); $cmd[] = array("alert('HTTP Status '+{stat}+' !')", "DEFSTAT"); ?> For more informations, visit: http://expert.no-ip.org/?ajax

« previous php.notes (#99477) next »