|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
PHP password passing ?id= dont work????
<?php
$id = md5($password); echo '<a href=editor.html?id=$id><TARGET="_self">Next page</A><br>'; ?> the encrypted password md5 = $id dosent pass on to next page why! |
|
#2
|
||||
|
||||
|
Where's $password coming from? If it's from a form, try using $_POST["password"] or $_GET["password"] depending on which form method you specified.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
|
#3
|
|||
|
|||
|
is it like this to pass the $id
<?php
$id = md5($password); echo '<a href=editor.html?id=".$id."><TARGET="_self">Next page</A><br>'; ?> is it like this???? |
|
#4
|
||||
|
||||
|
Try:
PHP Code:
|
|
#5
|
||||
|
||||
|
And don't forget that one the next page, you need to read id from the GET variables, like this:
PHP Code:
unless you have register_globals enabled, in which case you need to review your server security ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Database Development > PHP password passing ?id= dont work???? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|