Jump to content

$_POST Help


thomashw

Recommended Posts

Okay, thank you. :)

 

I've had to change the way I do it a little bit. I now have to use the $_GET method (undesirable) but is this safe?

 

if ( isset ( $_GET['PHPSESSID'] ) )
$sid = trim ( htmlspecialchars ( $_GET['PHPSESSID'] ) );

session_id( $sid );

session_start();

Link to comment
https://forums.phpfreaks.com/topic/98568-_post-help/#findComment-504495
Share on other sites

Okay, great.

 

I'm using this to communicate with Paypal to restore the users session once they come back to the site. For some reason the sessions weren't restoring by themselves.

 

I tried to use the POST method, but if you have auto-redirection on from Paypal, they don't pass the variables for some reason. So I had to append the persons SID to the return URL and get it that way.

Link to comment
https://forums.phpfreaks.com/topic/98568-_post-help/#findComment-504509
Share on other sites

be very carefull playing with php form that process paypal

entrys to your database please goto paypal website and

cheek if your code has any secuity holes trust me m8.

 

good luck well done.........

 

really need to inplement ssl and encript

the php form and code but you gotto use paypal cripting method.

Link to comment
https://forums.phpfreaks.com/topic/98568-_post-help/#findComment-504565
Share on other sites

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.