30 Jan, 2009 in
PHP by
admin
Lighttpd is software webserver designed to be secure, fast, standars-complaint, and flexible while being optimized for
speed-critical environments. This post using Centos 5.2.
1. Install Mysql
[root@rhesa ~]# yum -y install mysql mysql-server
2. Create the system startup links for MySQL
[root@rhesa ~]# chkconfig –levels 235 mysqld on
[root@rhesa ~]# /etc/init.d/mysqld start
3. Create Password for user mysql
[root@rhesa ~]# mysqladmin -u root [...]
20 Jan, 2009 in
Apache,
PHP by
admin
PHP has mail() function to send an email to users. However this mail() will not work:
=> If sendmail (or compatible binary) is not installed
=> If Apache Web server / Lighttpd running in chrooted jail
=> And your smtp server needs an authentication before sending an email
=> Or you just need to send email using [...]
27 Nov, 2008 in
Apache,
PHP by
admin
Major flaws have been found in the popular PHP scripting language commonly used with Apache web servers. These flaws have been found in the way PHP handles multipart/form-data POST requests. Each of these flaws could allow an attacker to execute arbitrary code on the remote system. All versions of PHP from 3.10 to 3.18 as [...]
9 Nov, 2008 in
PHP by
admin
At times, we need to verify some linux binaries from our web hosting provider. Say, we need to confirm path locations of specific linux binaries in order for our particular PHP pages to work out its function. There are lot of ways to do it, the simplest way is to call your web hosting provider [...]
4 Nov, 2008 in
PHP by
admin
Rasmus Lerdorf—software engineer, Apache team member, and international man of
mystery—is the creator and original driving force behind PHP. The first part of PHP was developed
for his personal use in late 1994. This was a CGI wrapper that helped him keep track of
people who looked at his personal site. The next year, he put together a [...]
4 Nov, 2008 in
PHP by
admin
PHP is the Web development language written by and for Web developers.
PHP stands for PHP: Hypertext Preprocessor. The product was
originally named Personal Home Page Tools, and many people still
think that’s what the acronym stands for. But as it expanded in scope,
a new and more appropriate (albeit GNU-ishly recursive) name was
selected by community vote. PHP is [...]