Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Triggering a script on a remote server

    I'm presently being hosted for free and the service I have has but one snag in it: disabled mail() functions. But, I found another host that has them enabled, so I'm attempting to connect those two sites. I've got a page on host B set up to pull all the necessary data out of the query string, plug it into the mail() function and send it off. This works to perfection...

    However, I'm attempting to seamlessly send the e-mail from host A. Right now, I'm doing it by echoing an iframe with the necessary GET data placed in the src attribute. This, obviously, is not the most efficient way and certainly weakens security a bit. I was curious, there must surely be a way to do this behind the scenes with PHP, no? All assistance is appreciated...

  • #2
    Regular Coder
    Join Date
    May 2006
    Location
    Wales
    Posts
    820
    Thanks
    1
    Thanked 82 Times in 79 Posts
    Lookup CURL

    I believe you can do what you want with it.


  •  

    Posting Permissions

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