Hi All,
Am very new to php, somebody please help me.
i hve a php site and its working fine in my local host (xamp).
But when i hosted my site to my server, user login and new user registration is not working. I hve xamp in my server also.
here is the link : http://212.227.137.184/tim-test_03-02-10/
user id: test1
pass : test1
or else u can try to recreate a new user,
i hve attached my php code for your review.
i will be very thankfull for your kind help. somebody please help me.
Thanks in advance
My php site is not working in my server
Moderator: General Moderators
-
dildhilip2003
- Forum Newbie
- Posts: 1
- Joined: Wed Feb 03, 2010 11:44 pm
-
shafiq2626
- Forum Commoner
- Posts: 88
- Joined: Wed Mar 04, 2009 1:54 am
- Location: Lahore
- Contact:
Re: My php site is not working in my server
Hi!
your login module is working
but printing some code on your page i think you should write your code as below
in loginck file
please check
your login module is working
but printing some code on your page i think you should write your code as below
in loginck file
Code: Select all
print "self.location='index.php'"; // Comment this line if you don't want to redirect
print "</script>";
}
}
else {
session_unset();
echo "<font face='Verdana' size='2' color='red'>Wrong Login. Use your correct Userid and Password and Try</font> <br><center><input type='button' value='Retry' onClick='history.go(-1)'></center>";
}