Link to home
Start Free TrialLog in
Avatar of cscconsulting
cscconsulting

asked on

Passing ASP variables to PHP

Hi,
I believe this is simple but not for me.  I want to take variables that are in the URL from a asp page and "build" a <a href=/> link to a php page with the same variables.  This needs to be done in ASP.
Below is my hacky code that doesnt work just to give you a clue to what I am trying to do.
Once I pass those variables to my php page via the URL I can take it from there to pull the variables out in PHP.  Thanks!
<%Response.Write("<a href=""test.php?"" & Request.ServerVariables(""QUERY_STRING"") 
TARGET=_BLANK>Link</a>")%>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of cdaugustin
cdaugustin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial