Posts Tagged ‘compiled’

Search Engine Optimization-Directories

Tuesday, July 15th, 2008

Another way to generating inbound links is to submit your links to directories. I know of webmasters who swear by the benefits of such a strategy - the first thing that they do when starting a new site is to do the rounds of directories - submitting links to key pages with appropriate keywords in the links. There are loads of directories out there - many of which offer a free submission. Ari Paparo has compiled a list of blog directories that you might want to start with.

Php:Adding an extension

Monday, June 30th, 2008

Problem

You need PHP’s built-in ftp functions for the ultra-cool script you are writing, but your service
provider does not have PHP compiled with the –enable-ftp option.

Solution

If you have a shell account on a system with the same operating system as your web server, grab the
PHP source tarball and build using:

–with-apxs –enable-ftp=shared
You can check which flags your provider used by putting a phpinfo() call in a script on your server.

<?phpinfo()?>
Once compiled, you will find a “modules/ftp.so” file which you can copy to your web server and
enable either by putting:

extension=ftp.so
in your php.ini file or by adding this to the top of your script:

<?php dl(”ftp.so”) ?>