[thelist] CGI and PHP

Kristy Frey kristenannfrey at yahoo.com
Thu Feb 7 14:39:01 CST 2002


--- Mark Joslyn <mark.joslyn at solimarsystems.com> wrote:
> This is what I have:
>
> <FORM METHOD=POST ACTION="/cgi-t/form.cgi" name="SPD_DemoForm"
> onSubmit="return validForm(SPD_DemoForm)">
> <INPUT TYPE=HIDDEN NAME=to VALUE="myemail at me.com">
> <INPUT TYPE=HIDDEN NAME=from VALUE="myemail at me.com">
> <INPUT TYPE=HIDDEN NAME=subject VALUE="SP/D Demo CD Request">
> <INPUT TYPE=hidden NAME="print_blank_fields" VALUE="1">
> <INPUT TYPE=HIDDEN NAME="redirect" VALUE="SPD_Demo_Response.php">
> <INPUT TYPE=hidden NAME="required"
> VALUE="Name,Company,Mailaddress,City,State,Postalcode,Telephone">
>
> 	<table cellspacing="0" cellpadding="0" border="0" width="325">
> 		<tr>
> 		<td align="left" valign="top" rowspan="100%"><img
> src="index/spacers/clear_spacer.gif" width="30" height="3" border="0">
> 		</tr>
>           	<tr>
>             <td width="100" valign="top"><div class="cform">Name:</div></td>
>             <td width="329"><input name="Name" type=TEXT
> maxlength="100"><font color="#06957A">*</font></td>
>           	</tr>
>
> 		blah...blah..blah.
>
> If the page is redirected, as shown above, do the variables carry over? I
> can't seem to capture the variable Name.

do the variables carry over?

I'm going to go with a NOT 100% sure "NO".  Someone else please help here.  I say no because when
you post to the cgi script, the variables are available only in that cgi script - unless part of
your cgi script also converts those variables into a query string and tacks that query string onto
the url that you are redirecting to (and then performs the redirect).

kristy

=====
----------------------------------------------------------
I apologize for the ads/links below - Yahoo put them there.
That's what I get for using free mail
----------------------------------------------------------

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



More information about the thelist mailing list