question about input type hidden

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



presently i am using the following in lets say aboutus.html =
<a href='./enquiry.php?fromPage=aboutus'><img src="venues.gif"></a>
and in contactus.html =
<a href='./enquiry.php?fromPage=contactus'><img src="venues.gif"></a>

and in enquiry.php which has a form for a user to fill out
<input type='hidden' name='fromPage' value='<?php print $_REQUEST
['fromPage']; ?>'>

with this i am able to track the original page(aboutus.html OR 
contactus.html) the only way to do this is to change the form page 
into php  however the server supports asp as it is microsoft and the 
enquiry.php is in a linux server.

if i change the enquiry.php into enquiry.asp and change the syntax for 
<input type='hidden' name='fromPage' value='<?php print $_REQUEST
['fromPage']; ?>'> to an asp equivalent and if i read the parameter 
using source = Request.Form("fromPage")

will i be able to read this into the asp variable and then read it as 
a variable in php

please advice if this is possible and the code for this.

thanks.




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux