How to enable JIT on PHP 8.0?
The default installation of php 8.0 I mentioned in the previous post has JIT built-it. But, here is a big BUT, JIT is not enabled. I used the testing script which is found in this post. The source code can...
Tech geek. Life geek.
The default installation of php 8.0 I mentioned in the previous post has JIT built-it. But, here is a big BUT, JIT is not enabled. I used the testing script which is found in this post. The source code can...
Afte last post, my php-fpm support the dbase database file now. Here is an example php script. $db = dbase_open('../db/clients.dbf',0); if ($db){ $record_numbers = dbase_numrecords($db); for ($i = 1; $i <= $record_numbers; $i++) { $row = dbase_get_record_with_names($db, $i); if (...
What is Timthumb? It is a small php script for cropping, zooming and resizing web images (jpg, png, gif). Here is the official place to donwload the script. https://code.google.com/p/timthumb/ Even the developers said it is not supported any more,...
I have a MySQL database. There is one table has thousands rows of data. I need to add one string to every rows of one column. It is a very popular scenario. Looks like in the middle of using one...
I have a VPS powered by Centos 5.2. There are some very important forum on it. I would like to backup it every day. Now because HyperVM/LxAdmin – Backup Home, can not backup MySQL or not easy to get it....
It is very often to include another file as a part of your script. When do this kind of including, should be very careful on following parts. 1) The path to the script is wrong. 2) The path to the...
Just use following script as below Please be carefully when you change your template file.
Dreamhost has a site stats facility included. But sometimes it is not accessible because of the .htaccess file. Say WordPress or some customized .htaccess file which will change the rewrite rule. To make it works, add following code in top...
Now a lot of website owner find some malicious code hide in their webpages. Some are put by hacker. The codes are also encoded. Webmaster can not remove the malicious code from the original html codes, they are all mixed....