masking a URL and making it work with SESSIONS in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
podarum
Forum Commoner
Posts: 51
Joined: Mon Jun 15, 2009 1:36 pm

masking a URL and making it work with SESSIONS in php

Post 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
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: masking a URL and making it work with SESSIONS in php

Post 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.
podarum
Forum Commoner
Posts: 51
Joined: Mon Jun 15, 2009 1:36 pm

Re: masking a URL and making it work with SESSIONS in php

Post 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.
Post Reply