![]() |
MD5 problem
I have the following form:
Code:
<form name="form1" method="post" action="login.php">Code:
<?PHPwhen I echo the $password_hash it adds a ( at the end I cant understand why. Am I doing something wrong? I have tried the code seperate as follows and it does not add the ( Code:
<?PHP |
OK don't worry got it, the () brackets around the script within PHP caused the problem.
|
Don't be offended, this code needs to be completely re-written with error reporting turned on.
I've put my comments in your code below. Quote:
session_start() must be used before ANY output and should only be used once (ok you can use it more than once but only when you really know what you're doing and how it will work behind the scenes etc). At one point you have TWO <?php opening tags :eek: |
Thanks a mil, I dont know what happened I think my copy and paste got mixed up it was only in once.
How should I change the coding for the magic quotes? Below my code: config.php Code:
<?PHPCode:
<?PHPCode:
<h1 style="font-size: 400%; font-family: Forte, Verdana, Arial, Helvetica, sans-serif; color: #000000; margin-top: -7px;" align="center">CONSOLE GAMES FOR SALE</h1>Code:
<h1 style="font-size: 400%; font-family: Forte, Verdana, Arial, Helvetica, sans-serif; color: #000000; margin-top: -7px;" align="center">CONSOLE GAMES FOR SALE</h1>Code:
<?PHP |
This is my way of doing it - I only check for gpc magix quotes
PHP Code:
|
| All times are GMT +1. The time now is 12:13 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.