Re: query string passing woes........ help... please....



Message-ID: <1172674402.500099.64940@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> from
rcoan@xxxxxxxxxxxxxxxxxx contained the following:

This page is being passed emailaddress in a query string:
http://www.chaparralmedia.net/brochureRequests/contact.htm?emailaddress=r_coan%40hotmail.com

How do I get that from contact.htm to a varible in my contact.php
page? I'm trying to make the php script send an email with the form
data to the email address (emailaddress) but I can't seem to get it to
work.


As others have said, this really isn't a good idea. Hard code the
address to which the email will be sent, or, of you have a number of
addresses, code them into an array and pass a reference.

You might find this a bit easier to implement. www.ckdog.co.uk/phmail
It just takes an html form and chucks everything at the address you
specify.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
.



Relevant Pages

  • Re: How 2 pass a hidden field string in html form to a php script
    ... the html form it should contain a pre-defined string that is not filled by ... the user but yet sent with the other field contents to my php script. ... Geoff Berrow 0110001001101100010000000110 ...
    (alt.php)
  • Re: Newbe php help
    ... > I have an HTML form with Firstname, lastname, address ... The form should call a php script in it's 'action' attribute, ... in append mode, writing to the file, and closing the file. ... server conf file - usually named '.htaccess' if the server is Apache). ...
    (comp.lang.php)
  • Re: [PHP] Php script for mail in a xhtml page
    ... If I use a .html form and a separate .php script, ... Well, looking in the vicinity of line 79, i'd say the problem lies with your reversed PHP tags: ...
    (php.general)
  • Php script for mail in a xhtml page
    ... If I use a .html form and a separate .php script, ... a Palazzo San Gervasio "> ...
    (php.general)
  • Request for help: HTML forms blank after pressing browser "Back" button
    ... I have several different htm pages with forms that are ... PHP script. ... If there is data missing on the form, ... MyWebForm.htm (contains the html form) and links to: ...
    (comp.lang.php)