[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread tlphipps
Actually, print would require the parentheses (it's a function). 'echo' would be the appropriate construct. And don't forget to throw in an htmlentities() call for security (thanks Chris Shiflett!). Example: Alternatively, you don't have to put anything in the action attribute. The browser wil

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread Wizzud
To be strictly accurate, it wasn't working in the first instance purely because the $_SERVER['PHP_SELF'] was not actually being output (nothing to do with use of $_SERVER after html output!). You can use either echo or print, doesn't matter which ... wrote: > Hi! > This happens because you use

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread Mike Alsup
Yes, I know what that code is *supposed* to do. But did you view-source on the generated HTML to see if it worked correctly? See resetstudio's post above. On Oct 31, 2007 8:47 AM, freebox <[EMAIL PROTECTED]> wrote: > > Thanks for your awnser Mike! > > is the self php script. > My script logi

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread resetstudio
Hi! This happens because you use $_SERVER after an html output. You shoud set a variable after " (where you forgot to use the print constructor and the ";") ... And should work!

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread freebox
Thanks for your awnser Mike! is the self php script. My script login is loginform.php I can replace this for loginform.php You understand? This will post to the self script. Thanks On 31 out, 08:20, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > What is resolving to? Did you do a view >

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread freebox
is the self phpscript Like if my login script is logiform.php the will be loginform.php But forget, it work now the action can't be need be "loginform.php" Idon't know why Thanks On 31 out, 08:20, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > What is resolving to? Did you do a view > so

[jQuery] Re: AjaxForm to $_SERVER["PHP_SELF"] = Dosent Work!

2007-10-31 Thread Mike Alsup
What is resolving to? Did you do a view source to see? Is it blank? On Oct 31, 2007 6:31 AM, freebox <[EMAIL PROTECTED]> wrote: > > Hello to all! > > I'm new here, and I have an question =) > > I cant bind an form when i'm posting to self? > > I can't get the alert("Thank you for your commen