Hi,
It's been a while since I dabbled with PHP. I may be able to help. Could you
repost this message to me (not the list). There's something wrong with the
encoding/decoding, so your code has become garbled.
Leong
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 17, 2000 4:13 AM
Subject: Anyone familiar with php?
: This is a multi-part message in MIME format.
:
: ------=_NextPart_000_09AB_01C04FC2.7DA94970
: Content-Type: text/plain;
: charset="iso-8859-1"
: Content-Transfer-Encoding: quoted-printable
:
: Problem one registration form that posts to a local action form against =
: one data structure and also posts
: to a remote php action form. I can't see the variables posted to the =
: remote form..=20
: I told that a record is being posted to the remote datasource but all =
: the fields are empty.=20
:
: Anyone familiar with php. I haven't been able to get the remote script =
: to know what is happening there.
: There link looks like =
: http://www.name.com/form.php2?variable=3D$variable&variable2=3D$variable2=
: &
:
: Here is how I am trying to send the URL variables to the form. See =
: anything wrong??
: Should I try changing the method to GET??=20
:
: <cfhttp url=3D"Http://www.name.com/form.php3" method=3D"POST" =
: resolveurl=3D"true">
: <cfif #form.title# is 0>
: <cfhttpparam type=3D"URL" name=3D"variable" value=3D"01">
: <cfelseif #form.title# is 1>
: <cfhttpparam type=3D"URL" name=3D"variable" value=3D"02">
: <cfelseif #form.title# is 2>
: <cfhttpparam type=3D"URL" name=3D"variable" value=3D"03">
: <cfelse>
: <cfhttpparam type=3D"URL" name=3D"varibable" value=3D"04">
: </cfif>
:
: ------=_NextPart_000_09AB_01C04FC2.7DA94970
: Content-Type: text/html;
: charset="iso-8859-1"
: Content-Transfer-Encoding: quoted-printable
:
: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
: <HTML><HEAD>
: <META content=3D"text/html; charset=3Diso-8859-1" =
: http-equiv=3DContent-Type>
: <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
: <STYLE></STYLE>
: </HEAD>
: <BODY bgColor=3D#ffffff>
: <DIV><FONT face=3DArial size=3D2>Problem one registration form that =
: posts to a local=20
: action form against one data structure and also posts</FONT></DIV>
: <DIV><FONT face=3DArial size=3D2>to a remote php action form. I can't =
: see the=20
: variables posted to the remote form.. </FONT></DIV>
: <DIV><FONT face=3DArial size=3D2>I told that a record is being posted to =
: the remote=20
: datasource but all the fields are empty. </FONT></DIV>
: <DIV> </DIV>
: <DIV><FONT face=3DArial size=3D2>Anyone familiar with php. I haven't =
: been able to=20
: get the remote script to know what is happening there.</FONT></DIV>
: <DIV><FONT face=3DArial size=3D2>There link looks like <A=20
:
href=3D"http://www.name.com/form.php2?variable=3D$variable&variable2=3D=
: $variable2&">http://www.name.com/form.php2?variable=3D$variable&v=
: ariable2=3D$variable2&</A></FONT></DIV>
: <DIV> </DIV>
: <DIV><FONT face=3DArial size=3D2>Here is how I am trying to send the URL =
: variables=20
: to the form. See anything wrong??</FONT></DIV>
: <DIV><FONT face=3DArial size=3D2>Should I try changing the method to =
: GET??=20
: </FONT></DIV>
: <DIV> </DIV>
: <DIV><FONT face=3DArial size=3D2><cfhttp =
: url=3D"Http://www.name.com/form.php3"=20
: method=3D"POST" resolveurl=3D"true"><BR> <cfif #form.title# =
: is=20
: 0><BR> <cfhttpparam type=3D"URL" name=3D"variable"=20
: value=3D"01"><BR> <cfelseif #form.title# is=20
: 1><BR> <cfhttpparam type=3D"URL" name=3D"variable"=20
: value=3D"02"><BR> <cfelseif #form.title# is=20
: 2><BR> <cfhttpparam type=3D"URL" name=3D"variable"=20
: value=3D"03"><BR> <cfelse><BR> <cfhttpparam =
: type=3D"URL"=20
: name=3D"varibable"=20
: value=3D"04"><BR> </cfif></FONT></DIV></BODY></HTML>
:
: ------=_NextPart_000_09AB_01C04FC2.7DA94970--
:
: --------------------------------------------------------------------------
----------------------
: Archives: http://www.mail-archive.com/[email protected]/
: Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
https://secure.houseoffusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists