SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jul 2000
    Location
    North Central AR
    Posts
    231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Seems like I had this one figured out, but I am a little lost. With php I want to autofill in a form and submit it. Of course I know what the form fields will be. I just want to have php fill out the form and submit it, but I don't remember where to start?

    Thanks

    ronnie
    The largest selection of PLR Articles on the Planet!
    Many Private Label Rights Products.

  2. #2
    Non-Member
    Join Date
    Apr 2000
    Location
    Waco, Texas.
    Posts
    188
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do something like
    PHP Code:
    <?
    $name 
    'robp';
    $email rawurlencode('webmaster@slashdot.org');
    file("http://www.yoururl.com/form.php?name=$name&email=$email") or die("Damnit, it didn't work!");
    ?>
    Remember to rawurlencode() variables that may contain quotes, and other non-alphabet characters.

  3. #3
    SitePoint Addict
    Join Date
    Jul 2000
    Location
    North Central AR
    Posts
    231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the reply Rob.

    That makes sense, but it did'nt seem to work. The script worked fine without error. But the form I tried submitting to, e-mails the results or what was submitted back to me and I did'nt get those e-mails. The form uses a generic perl form mail script, and I know it works because I've used it many, many times. Any ideas why it may not have worked?

    Thanks

    ronnie
    The largest selection of PLR Articles on the Planet!
    Many Private Label Rights Products.


Bookmarks

Posting Permissions

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