How can I achieve that
For example I have 100 pages in each page I have a link "Contact Us"
which it take you to contact.htm and there I have a form that use php
to send the data to my email "form to mail".
That all work fine but I want to know from which one of this 100 pages
the visitors have click the "contact us" link and this url to be email
to me whit the other data in the form.
Hope you guys understand me what I mean.
"steve" <nos...@nospam.non> ha scritto nel messaggio
news:cnfmfd$g73$1...@ctb-nnrp2.saix.net...
"Newsgroup Poster" <dont...@my.address.ok> ha scritto nel messaggio
news:cnfobv$ajk$1$8302...@news.demon.co.uk...
"Newsgroup Poster" <dont...@my.address.ok> wrote in message
news:cnfobv$ajk$1$8302...@news.demon.co.uk...
"Antonio P." <antonio...@fastwebnet.it> wrote in message
news:MwJmd.13389$n%2.7...@tornado.fastwebnet.it...
page where is the form:
<input NAME="my_ref" TYPE="hidden" ID="my_ref" VALUE="<?php echo
$_GET['my_ref']?>">
"steve" <nos...@nospam.non> ha scritto nel messaggio
news:cnfpen$lc4$1...@ctb-nnrp2.saix.net...
"Antonio P." <antonio...@fastwebnet.it> wrote in message
news:tfKmd.13464$n%2.9...@tornado.fastwebnet.it...
"steve" <nos...@nospam.non> ha scritto nel messaggio
news:cnfteh$svv$1...@ctb-nnrp2.saix.net...
the form send me just a blank field
my_ref:
"Antonio P." <antonio...@fastwebnet.it> wrote in message
news:%UKmd.13578$n%2.5...@tornado.fastwebnet.it...
in the page contactus.php u put
<form NAME="formname" METHOD="post" ACTION="contactus.php">
<input NAME="my_ref" TYPE="hidden" ID="my_ref" VALUE="<?php echo
$_GET['my_ref']?>">
.
.
.
</form>
and in the part of contactus.php send the mail u retrive the my_ref value as
$POST['my_ref']
and it dont comes?
u need to describe detailed otherwise i cant help u
"steve" <nos...@nospam.non> ha scritto nel messaggio
news:cnfuaa$1fv$1...@ctb-nnrp2.saix.net...
"steve" <nos...@nospam.non> ha scritto nel messaggio
news:cnfuaa$1fv$1...@ctb-nnrp2.saix.net...
Dae
"steve" <nos...@nospam.non> wrote in message
news:cnfuaa$1fv$1...@ctb-nnrp2.saix.net...
"Antonio P." <antonio...@fastwebnet.it> wrote in message
news:sfLmd.13627$n%2.8...@tornado.fastwebnet.it...
but after I click <a href=contactus.php?my_ref=<?php echo $PHP_SELF
?>>Contact us</a>
and if I look the html in the next page "contactus.php" the value is
not there
<input name="my_ref" type="hidden" id="my_ref" value="">
"Antonio P." <antonio...@fastwebnet.it> wrote in message
news:vcLmd.13619$n%2.1...@tornado.fastwebnet.it...
"Daedalus" <arsenaul...@videotron.ca> wrote in message
news:301dkjF...@uni-berlin.de...
"steve" <nos...@nospam.non> ha scritto nel messaggio
news:cni3hf$d4m$1...@ctb-nnrp2.saix.net...
"Antonio P." <antonio...@fastwebnet.it> wrote in message
news:9s0nd.208$C94...@tornado.fastwebnet.it...
"steve" <nos...@nospam.non> ha scritto nel messaggio
news:cni4e7$enl$1...@ctb-nnrp2.saix.net...
When we are still in php waves how do I paste a value from url to a
form text field
In my url I have /ndex.php?REQ=some+text
and I have try
<input type="text" name="search" value="<?php
$REQ = $_GET[REQ];
?>">
but it does not really work
what is the correct way to achieve that
Once more Thanks for all your great help.
"Antonio P." <antonio...@fastwebnet.it> wrote in message
news:p61nd.287$C94...@tornado.fastwebnet.it...
"Antonio P." <antonio...@fastwebnet.it> wrote in message
news:zS1nd.387$C94...@tornado.fastwebnet.it...
"steve" <nos...@nospam.non> ha scritto nel messaggio
news:cnitls$2k5$1...@ctb-nnrp2.saix.net...