Re: having problem with sending information to php file using ajax

From: Date: Mon, 22 Apr 2013 09:09:45 +0000
Subject: Re: having problem with sending information to php file using ajax
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-15776@lists.php.net to get a copy of this message
On 19 April 2013 19:46, Amin Gholian <AGholian@cornerstoneit.com> wrote: > Hey, > > I'm sending some parameters using Ajax code, but it never gets to my php > file and never execute my php funtions. Here is my code: > > var check = $.ajax({ > type : "POST", > datatype : 'JSON', > url : "/library/ajax/ajax_functions.php", > data : { > email : email, > action : 'checkUsername' > }, > success : function(msg) { > _return(msg); > } > }); > > I was wondering if you could help me out here, I'm using windows server > 2012 and IIS in order to run my php application. > > Thank You, > Amin. > That code is javascript. Looks fine as far as it goes. What does the PHP code look like? -- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814.html Zend : http://bit.ly/9O8vFY

« previous php.webmaster (#15776) next »