Thanks to good records and a Small Claims judge, Steve Oualline got a $199 refund for his unused copy of Microsoft Windows XP. One Linux user’s story shows how to establish a good refund case.
Posted on 13 August 2003 by Demian Turner
Thanks to good records and a Small Claims judge, Steve Oualline got a $199 refund for his unused copy of Microsoft Windows XP. One Linux user’s story shows how to establish a good refund case.
Posted on 13 August 2003 by Demian Turner
Quite often you’re on a shared host and the default php.ini settings that your provider has left you with are less than ideal. So you just use ini_set and ini_get to dynamically introduce your own values right?
Well, that’ll work if the particular php.ini setting you’re after is changeable:
| Constant | Value | Meaning |
|---|---|---|
| PHP_INI_USER | 1 | Entry can be set in user scripts |
| PHP_INI_PERDIR | 2 | Entry can be set in php.ini, .htaccess or httpd.conf |
| PHP_INI_SYSTEM | 4 | Entry can be set in php.ini or httpd.conf |
| PHP_INI_ALL | 7 | Entry can be set anywhere |
Certain things, like zlib.output_compression cannot be altered in userland, nor can open_basedir, so you have to look for another approach to solve your problem. As the above chart says, shared hosting subscribers still have one last chance, that is to attempt to modify the php.ini value with an .htaccess file, if of course the webserver is configured to parse .htaccess files.
But in the case of open_basedir this is not possible as the setting has a ‘changeable‘ value of PHP_INI_SYSTEM, ie, it can only be changed in the php.ini file or in apache’s httpd.conf.
This is where things start to get interesting
Posted on 10 August 2003 by Demian Turner
from the PHP Weekly Summary
If you’ve ever wondered if it possible to convert a PHP script into an executable program for a specific operating system then you aren’t alone. A number of projects which do just that were announced on the list this week.
BinaryPHP is a tool than can convert a PHP script to C++ source code that can be compiled with a standard C++ compiler. A “proof of concept” release is available for download at the web site.
John Coggeshall has been working on a Zend module tentatively called PASM, the Php AsseMbler. His web site contains some preliminary information about the project, with a download expected to be available sometime soon.
Posted on 07 August 2003 by Demian Turner
Another release of the Seagull app framework out the door, quite a few changes in this one, notably:
Things to watch out for:
Get the latest version here.
Posted on 06 August 2003 by Demian Turner
If you are not fortunate enough to be a subscriber to PHP magazine, you may want to take a look at this great error handling class presented last issue by Peter James.
The class introduces a few interesting programming ideas, like inner functions and using them to override PHP’s default error handling.