Hi everyone !
i have a problem :
header("Location: norestric1.php?randompass=$randompass");
this works perfectly, it sends the value of $randompass to norestric1.php
wereas this :
<a href="logmon.php?randompass=$randompass"><img src="../media/bouton_loginmonitoring.jpg" width="130" height="25" border="0">
doesn't send the value of the variable but sends :
http://steph/microsent/pages/logmon.php ... randompass
who can help ?
Thanks !
problem with variable
Moderator: General Moderators
- orangeapple
- Forum Commoner
- Posts: 70
- Joined: Tue Jan 06, 2004 1:24 pm
- Location: Geneva / Switzerland
Are you sure that is inside the PHP tags? If it's not you will have to do:
Code: Select all
<a href="logmon.php?randompass=$randompass"><img src="../media/bouton_loginmonitoring.jpg" width="130" height="25" border="0">Code: Select all
<a href="logmon.php?randompass=<?php echo $randompass; ?>"><img src="../media/bouton_loginmonitoring.jpg" width="130" height="25" border="0">- orangeapple
- Forum Commoner
- Posts: 70
- Joined: Tue Jan 06, 2004 1:24 pm
- Location: Geneva / Switzerland