Archive for 2002

Seen Saturn Lately?

On December 17, Earth and Saturn had their closest encounter in nearly 30 years. Furthermore, the planet’s rings are tipped toward Earth. It is an unbeatable combination for sky watchers who can easily see Saturn’s rings using backyard telescopes or binoculars.

The Cassini spacecraft and Huygens probe which began their seven-year journey to the ringed [...]

  • Share/Bookmark

NTT cuts ADSL prices

From Dec 1st, NTT dropped their monthly ADSL prices from 3,200 to 2,700 for 12M. This drops to 2,430 if you register NTT for Myline Plus.

Remind me to upgrade to 12M

  • Share/Bookmark

Went a bit crazy in Akihabara today

Trying to install Redhat 7.0 on a dodgy Pentium 133Mhz drove me crazy so I went to Akihabara and bought a new PC.

Intel P4 2.53GHz with fan 30,980
512Mb DDR2100 RAM 18,500
Asus P4B-533E motherboard 21,800
Seagate 80GB hard disk 12,800
Windows XP Pro/J (OEM) 19,800
Gladiac Geforce Ti6400 39,800
Logitec DVD-R 24,799
ATX case 9,799

Total 178,278
The new Pentium4 motherboards are a [...]

  • Share/Bookmark

Installing PHP and MySQL

Run httpd with

/etc/rc.d/init.d/httpd start
Create a test file /var/www/html/test.php containing the following line

Use a web browser to browse to http://localhost/test.php
If PHP is working, this should display your settings.
Sincxe RedHat7.2 on uses PostgreSQL instead of MySQL you will have to change a number of settings.
Note in particular that the default PHP is not installed with MySQL support.
PHP-Nuke [...]

  • Share/Bookmark

PostgreSQL

RedHat has switched from MySQL to PostgreSQL which is a more advanced DB server supporting stored procedures and functions. The PostgreSQL site is at http://www.postgresql.org/

I have the following rpms on my system:

postgresql-7.1.3-2
postgresql-devel-7.1.3-2
postgresql-libs-7.1.3-2
postgresql-server-7.1.3-2
php-pgsql-4.0.6-7

If you want to install from source try the following, but the install paths will be different.

./configure gmake su gmake install [...]

  • Share/Bookmark

Installing PhpNuke on Windows XP

For a full package see Foxserv-3.1 at Sourceforge
MySqlFront is a useful Windows frontend for MySQL http://www.sstienemann.de/mysqlfront/
For users to register in your PHP-Nuke site, you’ll need an smtp server. Theres one in WinXp or you can try http://www.argosoft.com/applications/mailserver/
Requirements
Download the latest versions of the following software.

Apache (try IIS?) http://www.apache.org/
MySQL http://www.mysql.com/
PHP http://www.php.net/
PhpNuke http://phpnuke.org/

Installation
MySQL
Use WinZip to install MySQL. Install [...]

  • Share/Bookmark

Installing PhpNuke on ciHost

It was easier than I thought to set up phpNuke on ciHost.

First go to your sites Monstercontrol at yourdomain/cgi-bin/monstercontrols
Login with your website username and password
Click on Script Archive
Note the “Add MySql database” button at the top of the page.
Check the box beside PhpNuke then click the Install button at the bottom of the page.
Done, now [...]

  • Share/Bookmark

Wysiwyg editor

The new version of wysiwyg editor for PhpNuke 6.0 looks really nice. Its installed and working now.

I eventually figured out why this homepage wasnt loading properly. Turned out to be a bug in the World Weather module which wasnt reading enough data from the cache file. I just added 100 bytes to the fread function.
  $content [...]

  • Share/Bookmark

Random Photo Module for Gallery

It took a while to get the Gallery random photo block to work properly with PhpNuke. Most of the solutions are in the Gallery forums… if you look carefully. Heres how I did it… The first error (and also the most commonly asked question on the forum) has to do with the rand() function. The [...]

  • Share/Bookmark

Star Wars Episode II

Episode II started in Japan today. I’ll go see it when the queues to get in are less than 2 hours long.

  • Share/Bookmark