SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Jul 2006
    Location
    Solihull
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Submit form data twice?

    Hi

    I have a simple form with about 6 fields.

    What I want to do is submit the data twice. I realise I can't add two actions to one submit button, but I was wondering if it's possible that when the user clicks submit, the data gets posted (sent to database or email) but then the same data gets posted to a second script which will also process the form data?

  2. #2
    Non-Member
    Join Date
    Oct 2009
    Posts
    1,852
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just include second script into first one

  3. #3
    SitePoint Member
    Join Date
    Jul 2006
    Location
    Solihull
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The one script is on my clients server that I don't have access to

  4. #4
    Non-Member
    Join Date
    Oct 2009
    Posts
    1,852
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why do you want to be a-man-in-the-middle?
    It is mostly used for hacking.

  5. #5
    SitePoint Member
    Join Date
    Jul 2006
    Location
    Solihull
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well to give you an idea, the enquiry form is being sent to my client as his services are similar to mine, but I have a feeling that he is stealing some of my potential clients this way (out of contract). I wanted to monitor and confirm this by having the data also sent to me. I don't know if this would stand up in court but if I know for sure he is selling services to these enquries that are not in our written contract I will be able to terminate our contract and take further steps.

  6. #6
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ....the enquiry form is being sent to my client as his services are similar to mine....
    Umm got confused here! Is the site owned by you or your client? If the site is yours then why you send the form data to client's email address? Put your email address so that the form data will be sent to your email address. If the site is of your client then it is your client's right to receive the form data in his email address and you cannot blame if anyone sends some information to your client from his own site.
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5


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
  •