Re: funny characters in form field

2003-01-11 Thread Randal L. Schwartz
> "Colin" == Colin Johnstone <[EMAIL PROTECTED]> writes: Colin> Gidday all, Colin> In my mailing list form I have a hidden field that stores the date the Colin> subscriber subscribed. Colin> When processing the form the date in this format 3/1/2003 is converted to Colin> 3%2F1%2F2003. Colin>

Re: funny characters in form field

2003-01-11 Thread WilliamGunther
In a message dated 1/11/2003 8:55:37 PM Eastern Standard Time, [EMAIL PROTECTED] writes: > When processing the form the date in this format 3/1/2003 is converted to > 3%2F1%2F2003. > > Can someone give me a regex to convert it back again please. Im only new to > perl and am struggling with rege

funny characters in form field

2003-01-11 Thread Colin Johnstone
Gidday all, In my mailing list form I have a hidden field that stores the date the subscriber subscribed. When processing the form the date in this format 3/1/2003 is converted to 3%2F1%2F2003. Can someone give me a regex to convert it back again please. Im only new to perl and am struggling wit

Re: Sending a location Header

2003-01-11 Thread Wiggins d'Anconia
Colin Johnstone wrote: Gidday All, After adding a member to my mailing list using a form with the get method. I wish to send a location header to call the page again, to clear the query string. So that if the refresh key is hit that member is not added again. Is this the correct implementation o

Re: using an AND operator

2003-01-11 Thread Rob Dixon
Hi Susan "Susan Aurand" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Is there an AND operator in perl? For example; > > if ($SRF=1 and $SRL=1) {print"YES";) > > Any help would be appreciated. > Thank you - Susan > What you've written will work as it is, e

Re: using an AND operator

2003-01-11 Thread Rene Verharen
At 11-01-2003 09:48 -0500, Susan Aurand wrote: Is there an AND operator in perl? For example; if ($SRF=1 and $SRL=1) {print"YES";) print "YES"if ($SRF=1 && $SRL=1); Kind regards, Rene Verharen Please DO NOT reply to me personally. I'll get my copy from the list. -- To unsubscribe, e

Re: using an AND operator

2003-01-11 Thread WilliamGunther
In a message dated 1/11/2003 9:43:32 AM Eastern Standard Time, [EMAIL PROTECTED] writes: > if ($SRF=1 and $SRL=1) {print"YES";) You got the and right, but the conditional wrong. 2 equal signs for conditionals. So your example: $SRF = 1; $SRL = 1; if ($SRF==1 and $SRL==1) {print"YES";} #True o

using an AND operator

2003-01-11 Thread Susan Aurand
Is there an AND operator in perl? For example; if ($SRF=1 and $SRL=1) {print"YES";) Any help would be appreciated. Thank you - Susan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Sending a location Header

2003-01-11 Thread Colin Johnstone
Gidday All, After adding a member to my mailing list using a form with the get method. I wish to send a location header to call the page again, to clear the query string. So that if the refresh key is hit that member is not added again. Is this the correct implementation of the location header p