Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.