Re: [PHP] passing multiple variables in a url

2002-11-14 Thread pig pig
you will have to use to separate the variables. ie a href=contactus.php?email=directorsubject=job enquiry Otherwise it will be deem as one variable instead CK Ong --- CJ [EMAIL PROTECTED] wrote: I have a contact us php script on my site that allows users to email direct from the webiste.

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread BigDog
Does this not work... a href=contactus.php?email=directorsubject=job enquiry On Thu, 2002-11-14 at 14:11, CJ wrote: I have a contact us php script on my site that allows users to email direct from the webiste. I want to be able to pass the to address and subject line to the script so I can

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread Adam Williams
Change the space in job enquiry to a + Adam On 14 Nov 2002, BigDog wrote: Does this not work... a href=contactus.php?email=directorsubject=job enquiry On Thu, 2002-11-14 at 14:11, CJ wrote: I have a contact us php script on my site that allows users to email

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread CJ
that works fine thanks. Now for what to do with the variables (new post scanning for non alpha characters) Bigdog [EMAIL PROTECTED] wrote in message news:1037262239.10847.17.camel;pclnxrhunter.digitalglobe.com... Does this not work... a href=contactus.php?email=directorsubject=job enquiry

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread @ Edwin
And... --- CJ [EMAIL PROTECTED] wrote: ...[snip]... Also is this a big security risk as I will be echoing the 2nd variable as the contents of a form field. Would it be possible for someone to type in the URL with HTML/php in it that would make a mess of everything? Well, it is

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread @ Edwin
And if you want your pages to be valid xhtml, make sure that you have quotes: a href=... Also, be sure to use amp; instead of just . - E Adam Williams [EMAIL PROTECTED] wrote: Change the space in job enquiry to a + Adam On 14 Nov 2002, BigDog wrote: Does this not work... a

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread www.NukedWeb.com
BigDog wrote: Does this not work... a href=contactus.php?email=directorsubject=job enquiry No but this will: a href=contactus.php?email=directorsubject=job enquiry For more adversity between browsers, use this: a href=contactus.php?email=directorsubject=job%20enquiry -- Submit your PHP or

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread Justin French
on 15/11/02 12:11 AM, CJ ([EMAIL PROTECTED]) wrote: I have a contact us php script on my site that allows users to email direct from the webiste. I want to be able to pass the to address and subject line to the script so I can call teh web page from elsewhere on the site and have it