Passing ASP variables to PHP

Posted on 2009-04-30
Last Modified: 2012-05-06
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"") 


Open in new window

Question by:cscconsulting
    1 Comment
    LVL 5

    Accepted Solution


    what your looking for is Request.QueryString for accessing GET variables from asp

    all explained here

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now