![]() |
| |||
| 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! |
| |||
| 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 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |