David Raleche's blog

PEAR LIBRARY - MAIL Send an email

PEAR LIBRARY - MAIL FUNCTION

- INSTALL process -
yum install php-pear.noarch
yum install php-pear-Mail.noarch
yum install php-pear-Mail-Mime.noarch


David Raleche - Advice imrove website ranking

How to Change Jquery Ajax - Code Not refreshing

How to Change Jquery Ajax - Code Not Refreshing

$.ajax({
url: '/foo',
type: 'GET',
cache: false,
success: function(result) {
// TODO: update the DOM with the results
}
});


David Raleche - Advice imrove website ranking

IPTables - Unix - centos - FIREWALL

HOW TO IPTABLE DELETE LINE DROP

#1 - iptables -L INPUT -n --line-numbers

#2 - iptables -D INPUT 2

#3 - service iptables save


David Raleche - Advice imrove website ranking

HOW TO IPTABLE ADD LINE DROP
iptables -I INPUT -s 207.46.0.0/16 -j DROP

num target prot opt source destination

Monitor Apache Server with David Raleche

Ho to Monitor Apache Server

Activate the following in your http.conf


<Location /serverstatus>
SetHandler server-status
Order deny,allow
Deny from all
Allow from xx.xxx.xx.xxx
</Location>


David Raleche - Advice imrove website ranking

#

git clean -f

git clean -f

If you want to also remove directories, run git clean -f -d.

If you just want to remove ignored files, run git clean -f -X.

If you want to remove ignored as well as non-ignored files, run git clean -f -x.
Note the case difference on the X for the two latter commands.


David Raleche - Advice improve website ranking

Blog PEAR email -

FOR PHP 5.3 - the following lines install the pear for PHP5.3

Unix/Linux/BSD
When using PHP, the PEAR Package Manager is already installed unless one has used the ./configure option --without-pear.

If one uses a version of PHP that is supplied by Unix/Linux/BSD distributors it may be necessary to manually install PEAR. Users should consult the documentation for the respective distribution in this case.

If you want to re-install the Package Manager, you can use the following provisional way:

$ wget http://pear.php.net/go-pear.phar
$ php go-pear.phar

Pages

Latest Post

Popular Post

Our Skills

Author

Project Director Information Architect Database Administrator Unix Administrator Senior Developer Project Manager Product Manager Web Marketer Cloud Engineer

Contact Us

For any questions or project ideas please contact me at the following.

I'm here