Home
How install your own MediaWiki (dreamhost.com)
Written by Administrator   
Tuesday, 05 February 2008

Install MediaWiki

You can use the DreamHost Control Panel to install your own MediaWiki-based wiki. Requires PHP5.

 

It's under Goodies Control Panel > One-Click Installs

Execute the form, move the newly generated LocalSettings.php to the parent directory, and delete the config directory with its content.

Important! In the MediaWiki installation process, the configuration form will ask for a "database host" which defaults to "localhost". It seems you must change this to an answer that looks like "mysql.<yourdomain.net>

Beautifying URLs.

In the ROOT directory of www.yourdomain.com place the following .htaccess file:

RewriteEngine on
# do the rewrite
RewriteRule ^wiki/?(.*)$ /w/index.php?title=$1 [L,QSA]

Google AdSense, see  more..

 

Last Updated ( Wednesday, 18 March 2009 )
Read more...
 
100+ Online Generators
Written by Administrator   
Wednesday, 06 February 2008

100+ Online Generators

For GMail, Hotmail, MSN, Yahoo!, AOL and many more!
 
Creates "300x20" userbars with input text using nice looking images

Color Scheme Generator 2
his application generates color schemes of several types. Every scheme is based on one (base) color, which is supplemented with additional colors making together the best optical imperssion - using one of the authentic algorithms.

Generates gradients. You can choose between horizontal or vertical, linear or sinusoidal and you can choose the colors and size.
 
Gradient images are used everywhere in web page design, ie, as the background of form buttons
 
Generate a CSS layout for your site
 
Last Updated ( Wednesday, 06 February 2008 )
Read more...
 
How to use file_get_contents() (Dreamhost.com)
Written by Administrator   
Tuesday, 23 January 2007

DreamHost has disabled the PHP option allow_url_fopen.

Not working  file_get_contents() . The CURL library provides a feature-rich alternative.

Example:

Use:

$file_contents = 
file_get_contents('http://dreamhost.com/');
 // display file 
 echo $file_contents; 

Use:

$ch = curl_init();
$timeout = 10; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL, 'http://dreamhost.com');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);

// display file
echo $file_contents;

 

Last Updated ( Tuesday, 30 January 2007 )
Read more...
 
<< Start < Prev 1 2 3 Next > End >>

Results 9 - 12 of 12