Fixing a php file

Closed Posted Mar 28, 2015 Paid on delivery
Closed Paid on delivery

I had a php file created to implementing auto login functionality to directly login into my site from a chat app, so that user gets logged in to my site when he visits home or profile page on my site. The php file supposed to fetch username and password through post method and authenticate and login the user(set cookie or session as per my site) and return the response depending on it.

1- The php file works for only numerical passwords. For user with alphabetical passwords they get logged in but my site cgi pages do not recognized them.

2- The php files creates the cookies if user is successfully logged in. But for the second user the php file does not regenerate the new cookies.

I need both of these points to be fixed. Please see the attached php file.

PHP Software Architecture

Project ID: #7386597

About the project

16 proposals Remote project Active May 4, 2015

16 freelancers are bidding on average $25 for this job

rajeshsonisl

Hello! With 99% completion rate, 750 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u More

$79 USD in 1 day
(807 Reviews)
8.3
tlchung

please send me the whole script to have a look, thanks. please send me the whole script to have a look, thanks.

$30 USD in 2 days
(358 Reviews)
7.3
myecodes

I WILL FIX IT.. I have checked your project description completely. We have lots experienced in all skill that you described After finalize project with me i'm start work from now. We need to discuss here.. More

$25 USD in 0 days
(50 Reviews)
6.2
jasbirsaini30

I am Jasbir Singh (Web Professional). I saw your requirement in your job post and i fulfill all those requirement. I can do this job perfectly, so you can discuss more with me and award me the job. i want long term cli More

$24 USD in 1 day
(117 Reviews)
6.2
BearSoftware

I have 7+ years experience in PHP, MySQL, JavaScript, jQuery, HTML(5), CSS(3). I have experience in Custom CMS and various PHP framework like CakePHP, Symfony, CodeIgniter, Laravel and many open source customization li More

$25 USD in 1 day
(26 Reviews)
4.2
lutskovsky

Hello! To solve your first problem with alphanumerical passwords change in line 49 this: Password = '.$Password.' to this: Password = "'.$Password.'" I'll be glad to help you with the rest.

$30 USD in 1 day
(1 Review)
3.1
flancephp

Hi, I checked the attached php file and I can resolve this issue in couple of hours. Please come online and award me this project. Looking forward to hear from you soon. Thanks, Arman

$30 USD in 1 day
(13 Reviews)
3.4
cuongntk

A proposal has not yet been provided

$15 USD in 0 days
(2 Reviews)
0.8
evaldasa

A proposal has not yet been provided

$10 USD in 1 day
(0 Reviews)
0.0
axs203dd

I see the error in php file. I can't bid smaller amount. I'm new to freelancer.com bur very experienced php developer. please be my 1st employer!

$10 USD in 1 day
(0 Reviews)
0.0