Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Friendly URLs Yahoo stats ?

  1. #11
    jmarcv's Avatar
    jmarcv is offline Cranky Coder
    Join Date
    Jan 2005
    Posts
    354

    Default

    Well I guess I dont understand what you have in mind with
    ($_GET['page']

    when your form is a POST, not a get, and 'page' is not a var on that form anyway, so that is strike 2, and with PHP its ONE strike you are out. So, is what you are asking for is a validation routine for an email address? Cause that sure doesnt sound like where you were going at first. So maybe instead of not enough info we have too much?

  2. #12
    rlhanson's Avatar
    rlhanson is offline Master Glow Jedi
    Join Date
    Aug 2007
    Location
    Chapman, Kansas
    Posts
    531

    Default

    Hi John-Marc,
    I was just trying to figure out how I could code something that uses the form that icontact uses but instead of redirecting to a new page on success or error, that the message (thanks or error) displays in the same area as the form. And if there's an error - it still displays the form.

    I know I could use an iframe, but I didn't want to.
    If I don't put in a redirect or errorredirect it goes to icontact's success and error pages.

    If you have another idea that would be great.
    Thank you,
    Lynne Hanson
    RL Hanson-Online

  3. #13
    jmarcv's Avatar
    jmarcv is offline Cranky Coder
    Join Date
    Jan 2005
    Posts
    354

    Default

    Well, the POST goes to their site, and the error is Javascript, so it goes nowhere when there is an error in email. I would think you could dupe the form on your site and change the 'redirect' var to point to your script, but unless you know what to expect from the errorredirect, not sure what you would display.
    To test, I suppose you could try and then see what is sent on error with this:
    PHP Code:
    reset($_REQUEST);
    while (list(
    $var,$val) = each($_REQUEST)) {
     echo 
    "$var = $val<BR>";


Page 2 of 2 FirstFirst 12

Similar Threads

  1. test website stats question
    By ed_meyer in forum WHM, Resellers, VPS and Dedicated Hosting Topics
    Replies: 8
    Last Post: 12-28-2008, 07:39 AM
  2. How to add your site to google and Yahoo!
    By Matt in forum Search Engines Talk
    Replies: 5
    Last Post: 08-03-2007, 04:00 PM
  3. Replies: 1
    Last Post: 03-17-2005, 05:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14