Skip to content

New CSRF token per request or NOT?

So I am reading around and was really confused about having a CSRF token, whetever I should generate a new token per each request, or just per hour or something? $data[‘token’] = md5(uniqid(rand(), …

cURL SSL request fails

I’m trying to work with Liveperson REST API, I use the following php code: $authorization = “LivePerson appKey=MY_APP_KEY”; $accept = “application/xml”; $contentType = “application/xml”; $ch = …

How can I tell if PDO module installed/disabled?

I’m developing a PHP application. I just moved a bunch of files over to the production server, to discover that PDO is apparently not installed (Fatal error: Class ‘PDO’ not found in [file] on line […