Garayed.com  

Go Back   Garayed.com > mySQL
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-2007, 10:58 PM
ttrium
 
Posts: n/a
Default Need some help, I'm new.

Ok, so I've written a script to log in to a session with PHP and using
MySQL it works fine on my local computer when running XAMPP. However,
when I export it to my webserver it doesn't work. The tables in the
database are the same, everything is set to the correlating values.
The only difference is that on my local machine the password field is
'CHAR(32)' and on the webserver it's 'VARCHAR(32)'. I've tried to
change it on the webserver but it doesn't work. I just wanted to know
if CHAR and VARCHAR made a difference between working and not for
passwords. If you need the script I'll gladly display it. Thank you!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-16-2007, 02:24 AM
Ondřej Flídr - Sniper's softworks
 
Posts: n/a
Default Re: Need some help, I'm new.

ttrium napsal(a):
> Ok, so I've written a script to log in to a session with PHP and using
> MySQL it works fine on my local computer when running XAMPP. However,
> when I export it to my webserver it doesn't work. The tables in the
> database are the same, everything is set to the correlating values.
> The only difference is that on my local machine the password field is
> 'CHAR(32)' and on the webserver it's 'VARCHAR(32)'. I've tried to
> change it on the webserver but it doesn't work. I just wanted to know
> if CHAR and VARCHAR made a difference between working and not for
> passwords. If you need the script I'll gladly display it. Thank you!
>


VARCHAR and CHAR are the same, difference is only char(32) must be 32 chars lenght and varchar(32)
can be 32 chars lenght. I think your scripts will be bad, but i have to look at that for telling you
where you've made a mistake.

Regards
OF

--
S pozdravem
OndÅ™ej FlÃ*dr - Sniper's softworks
+420 776 167 963
ICQ: 248 888 883
Skype: snipers-softworks
flidr@snipers-softworks.net
http://www.snipers-softworks.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:01 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.