Jump to content

[SOLVED] Help with Post and Get


Riparian

Recommended Posts

Scenario

 

PayPal payment requires posted variables for IPN transactions

 

Many sites have something like "if not re-directed in xx click here "

 

This uses href link with GET variables

 

GET variables in this case are very insecure....

 

How can I submit posted variables to PayPal using a href link ???

 

Thanks heaps

 

Brian

Link to comment
https://forums.phpfreaks.com/topic/113507-solved-help-with-post-and-get/
Share on other sites

Sorry I edited my previous post, not sure if you got it.

 

I think you could probably post the variables to the "redirect" page, which creates hidden fields and submits the form after x seconds using javascript. But then people with javascript disabled could just edit the hidden fields.  ::)

 

 

IDK

@PseudoEvolution:  Anyone who wants to can change the POST variables being sent to a web page.  Which is why tons of validation is always necessary.

 

(For the record, darkfreaks is being completely sarcastic, because $_REQUEST is a failure.  At life.)

You just repeated yourself. :P

 

Sure anyone can change locked or hidden form fields, but to alter the variables directly? I have never heard of such a thing.

 

Anyway, if PayPal requires variables to be posted, there must be a secure way to do it (using POST). To say they both are not secure doesn't really solve anything.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.