Technology Blog

Widgets

Posts Tagged ‘PHP’

AJAX Redirect to Login Page on Session Expire with PHP

There doesn’t seem to be a clear solution to creating a page redirect when a session expires using AJAX when doing a web search. All server request invoked with AJAX will use XHR (XMLHttpRequest) whether done using XML, plain text, or JSON. There is also an easy way to capture the server response when the [...]

Sending mail in PHP – avoid sending to “junk” folder

We all know that PHP is great for back-end development. However, some functions can be tricky to fine tune for the best web development possible. The mail() function has a high probability of sending mail to user’s “junk” or spam folders because the connection was not authenticated. To avoid that, use the following function below. [...]

PHP Pear File_PDF Install and Example

I personally like this package to create dynamic PDF files with PHP; however, the install instructions and documentation are horrible. First of all, you need to have Pear installed (open a cmd window on your server and run go-pear.bat from your PHP install directory) Next to get File_PDF installed and working: 1. open a cmd [...]

© ZADRO Solutions, Inc. All Rights Reserved. Disclaimer | Privacy Policy
RSS Facebook Digg Stumble Upon Twitter