Re: jquery password problem
| From: | Peter Lind | Date: | Fri, 14 May 2010 13:23:33 +0000 |
| Subject: | Re: jquery password problem | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-305199@lists.php.net to get a copy of this message | ||
On 14 May 2010 15:16, Manolis Vlachakis <vlachakis.manolis@gmail.com> wrote:
> i uses str_replace finally and it works..
> but still i would like to know how this problem comes up
> cause i would like to be sure on whatever password is going to be used
> weather that is a number a letter or a combination of those two
> any ideas,
> oh and thank you for your replies !
> Manolis Vlachakis
Looking over your JS again (wrong mailing list for this topic,
really), Karl was actually half past right.
You need to understand urls: spaces are not kosher and will typically
be handled one way or the other instead of just allowed. So in your JS
data: "firstname="+ firstname +"& lastname="+ lastname +"&
username="+
username +"& email="+ email +"& password="+ password +"&
save="+ save+"&
user_type="+ user_type,
You need to remove the space after & (you're constantly inserting
blank spaces in your string for no reason) as I'm guessing you don't
have any spaces inside the data you're dealing with.
Regards
Peter
--
<hype>
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
Flickr: http://www.flickr.com/photos/fake51
BeWelcome: Fake51
Couchsurfing: Fake51
</hype>