Mandler
05-03-2005, 03:57 PM
I'm just learning about using PHP and Perl to interact with other processes.
PayPal has an Instant Payment Notification (IPN) feature that can post to my website and cause a script to verify the transaction with PayPal, send an email, insert a record into MySQL, etc.
Where is the most secure location for the notify_url? To date, I have located all my scripts in the cgi-bin with their permissions set to 0755. I assume (perhaps wrongfully) that I cannot give PayPal a pointer to that location(?). If I can, how do I specify the URL ("http://futurequest.net/[something]")?
If, instead, the location is a www sub-directory ("www.MyDomain.com/someplace"), do I simply have an HTML document that triggers my script and, if so, how do I pass the arguments?
I'm sure (make that "hope") this is much simpler than I'm making it.
Thanks... a.m.
PayPal has an Instant Payment Notification (IPN) feature that can post to my website and cause a script to verify the transaction with PayPal, send an email, insert a record into MySQL, etc.
Where is the most secure location for the notify_url? To date, I have located all my scripts in the cgi-bin with their permissions set to 0755. I assume (perhaps wrongfully) that I cannot give PayPal a pointer to that location(?). If I can, how do I specify the URL ("http://futurequest.net/[something]")?
If, instead, the location is a www sub-directory ("www.MyDomain.com/someplace"), do I simply have an HTML document that triggers my script and, if so, how do I pass the arguments?
I'm sure (make that "hope") this is much simpler than I'm making it.
Thanks... a.m.