Your are here: Home // Posts Tagged With PHP
Integrating Active Directory with PHP
Software engineering is not unlike other industrial craft; the actors in each respective trade are engaged in the practice of creating something out of nothing. Often their products are the result of skills within several disciplines. For example, a furniture designer might require knowledge working within wood, metal, and glass, while often a software product’s quality is often the function...
Tags: PHP
Fix egrg deprecated in PHP 5.3
If you install OSCommerce solution in PHP 5.3 or higher currently, you will get an error message:
Deprecated: Function eregi() is deprecated in D:wwwcatalogincludesclasseslanguage.php on line 87
The original line 87 in the catalogincludesclasseslanguage.php is:
if (eregi(‘^(‘ . $value . ‘)(;q=[0-9]\.[0-9])?$’, $this->browser_languages[$i]) && isset($this->catalog_languages[$key]))...
Tags: PHP
Fix phpMyAdmin Errors
After I unzip the phpmyadmin and create a virtual directory for phpmyadmin, it keeps giving you two warning messages:
The configuration file now needs a secret passphrase (blowfish_secret).
The additional features for working with linked tables have been deactivated. To find out why click here.
1. To enter secret passphrase
If you use cookie based authentication to encrypt password in cookie...
Tags: PHP
A simple example of PHP shopping mart
Using Proper Header Redirects In PHP
This article is extracted from http://mattiasgeniar.be/2008/07/30/using-proper-header-redirects-in-php/
Let’s say you have an old web-page that’s no longer in use. Of course, you’ll want to redirect your users to the correct (new) page. Using PHP, you can modify the headers of a web-page to redirect them to the correct page.
<?php
header("Location: http://www.mydomain.com/newpage.html");
exit();
?>
This...
Share a virtual host with several domains