Page 1 of 1
masking a URL and making it work with SESSIONS in php
Posted: Tue Jun 30, 2009 9:35 pm
by podarum
Anyone know how I can mask and URL or make some sort of a dynamic URL and if that would work with SESSIONS in Php... Another words, I have a form where the customer inputs his data and pass through paypal to get the results.. the result page would only be displayed if the customer paid...all this I want to mask or make it somehow where the customer can't just type in the URL to the result page and get the results without paying? Thanks
Re: masking a URL and making it work with SESSIONS in php
Posted: Tue Jun 30, 2009 11:53 pm
by requinix
The result page should just be a confirmation. A receipt of the order. It shouldn't do anything. There should be another method (eg, IPN) used to actually verify the order took place.
Re: masking a URL and making it work with SESSIONS in php
Posted: Wed Jul 01, 2009 12:16 am
by podarum
Yes but the receipt of the order is a result of my site's services... sort of like you paid and now you have access to this page that has the results. PayPal let's me redirect the 'Success' or a 'Fail' payment to a new URL..in this case the 2, I don't care about the Fail, but the Success, i do, and the receipt is the result. I have created a link using SESSIONS but I need to mask the Success page, since the user cans simply just type it in and by-pass PayPal.