Re: [PHP] Session data lost in Firefox
On Fri, Oct 26, 2012 at 12:12 PM, John Boy wrote: > Looks like it was a corrupted Paypal cookie lurking about on my test > machine. Clearing all Paypal cookies cured the problem. > Hours can be spent looking for needles like this in a very complex haystack > and it turns out to be the simplest solution that's not even related > directly to the programming. Thanks, Andrew for the prompting! > However if this happened on a punter's computer the same would happen - so > is there a way of coding the removal of third party cookies to avoid this > problem? > As far as I know, if you can set a cookie you can also clear it. I don't like the approach, though. I have 3rd party cookies disabled on purpose. Andrew
Re: [PHP] Session data lost in Firefox
Looks like it was a corrupted Paypal cookie lurking about on my test machine. Clearing all Paypal cookies cured the problem. Hours can be spent looking for needles like this in a very complex haystack and it turns out to be the simplest solution that's not even related directly to the programming. Thanks, Andrew for the prompting! However if this happened on a punter's computer the same would happen - so is there a way of coding the removal of third party cookies to avoid this problem? "Andrew Ballard" wrote in message news:cac1b6rsbydmopeulin0fjmax-vap_uas_1w6e-nr-1shwm+...@mail.gmail.com... > On Fri, Oct 26, 2012 at 8:49 AM, John Boy > wrote: > >> Hi >> >> I have a wesite where PHP session data is passed page to page then shells >> out to Paypal for payment then back to my website for completion of >> transaction and update of mysql file. When using Firefox our session data >> and POST data from Paypal is lost. This has happend only recently and has >> worked happily in the past. Works in other browsers too. Anyone heard of >> same problems? >> >> mywebpage -> session data->mywebpage2->session data->paypal page->POST >> data >> + session data->mywebpage3 >> >> -- >> Johniboy >> > > Just a thought - does this depend on using third party cookies between > your > site and PayPal? If so, do you have them disabled in Firefox? > > Andrew > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Session data lost in Firefox
On Fri, Oct 26, 2012 at 8:49 AM, John Boy wrote: > Hi > > I have a wesite where PHP session data is passed page to page then shells > out to Paypal for payment then back to my website for completion of > transaction and update of mysql file. When using Firefox our session data > and POST data from Paypal is lost. This has happend only recently and has > worked happily in the past. Works in other browsers too. Anyone heard of > same problems? > > mywebpage -> session data->mywebpage2->session data->paypal page->POST data > + session data->mywebpage3 > > -- > Johniboy > Just a thought - does this depend on using third party cookies between your site and PayPal? If so, do you have them disabled in Firefox? Andrew
[PHP] Session data lost in Firefox
Hi I have a wesite where PHP session data is passed page to page then shells out to Paypal for payment then back to my website for completion of transaction and update of mysql file. When using Firefox our session data and POST data from Paypal is lost. This has happend only recently and has worked happily in the past. Works in other browsers too. Anyone heard of same problems? mywebpage -> session data->mywebpage2->session data->paypal page->POST data + session data->mywebpage3 -- Johniboy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] URGENT! Need help with command line for "list all new/modified files within the last 24 hours"
2012/10/25 : > Hi to all, > My site with Drupal 7. I contacted tech support and he said he accessed to > the site with FTP - what I doubt. But if it's truth - it's even worse > because whole server is then compromised. > I need help with command line for "list all new/modified files within the > last 24 hours". > > Thanks for any help, > LAMP > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Easy one. 1) List all files within a directory recursively: http://php.net/manual/en/function.readdir.php 2) Now just excract the modification time of each file: http://php.net/manual/en/function.filemtime.php 3) Print on the screen those with modificication time < than 24 hours 4) Profit! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php