OTECTED]]
Sent: Thursday, March 01, 2001 9:47 AM
To: [EMAIL PROTECTED]
Cc: PHP General List
Subject: RE: [PHP] Passing values from ASP to PHP
Hi,
To enumerate the key/value in ASP from the form you'd do this
<%
dim element
dim objForm
dim strURL
'/* We're creating an object
Hi,
To enumerate the key/value in ASP from the form you'd do this
<%
dim element
dim objForm
dim strURL
'/* We're creating an object so that it won't matter which
' * HTTP method the previous form uses.
' */
If LCase(Server.Request("HTTP_METHOD")) = "post" Then
Set objForm = Request.Fo
Well, if it's a query string it's easy...
In the ASP page you do:
<%
Response.Redirect("myscript.php?" & Request.ServerVariables("QUERY_STRING"))
%>
If it's posted form data do this:
<%
Dim Querystring
Querystring = ""
For each Item in Request.Form
if Querystring = "" Then
Querystr
3 matches
Mail list logo