SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot rrreview's Avatar
    Join Date
    Jul 2002
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Question about automatically posting data in form

    Is there a way to automatically post data to a url without clicking a submit button?

    Let's say you have a form like so...
    Code:
    <form action="page.php" method="post">
    <input type="hidden" name="to" value="whoever@whatever.com">
    <input type="submit" value="Send password">
    </form>
    Can you automatically have it send the data via post to page.php in a header(); tag or something? Thanks for any help

  2. #2
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should be able to do that with Snoopy

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature


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
  •