Results 1 to 4 of 4

Thread: Sending form through server.

  1. #1
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default Sending form through server.

    Is there a way for me to use my server's IP address to submit a form rather than my networks ip address?
    Corrections to my coding/thoughts welcome.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Requests cannot be "forwarded" unless you want to deal with setting up a proxy. And once you need form data, that gets more complex.
    The short answer is no.

    The long answer is that you can look into the curl functions. It's very possible, but quite complex and might be very complex especially if you're "forwarding" it from a user submission.
    But once you set it up, it might help with security, etc. Just seems quite complex, so think twice before working that hard.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post:

    bluewalrus (02-03-2010)

  4. #3
    Join Date
    Nov 2008
    Posts
    58
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Default

    This page might be useful:
    How to submit a form using PHP

  5. The Following User Says Thank You to prasanthmj For This Useful Post:

    bluewalrus (02-03-2010)

  6. #4
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Haven't got a chance to try this out yet but hopefully will soon. Thanks. djr33 is this similar to how a proxy would be set up? The user input will always be the same if that makes a difference in easiness.
    Corrections to my coding/thoughts welcome.

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
  •