How to edit php.ini from ssh

Code Library, Linux Apache Server 1 Comment »

Type:

1. “cd /etc”
2. “ls”

Check that there is the php.ini listed if not you will have to ask your hosting provider where it is.

3. “vi php.ini”

Find the bit in php.ini you would like to edit.

4. “i” - This enables you to edit the php.ini file

5. After changing the file, please Esc.

6: “:wq” - (w = saves the file, q = quit)

7. reboot your server and your done.

Rate This Post:

Safari 3 for Windows XP - Finally

Browsers, Web Development Stuff No Comments »

Safari 3 for windows

http://www.apple.com/safari/

Although only beta it’s a start. I remember this time last year looking for a windows KHTML or WebKit browser and could only find the swift browser which at the time was very buggy. Since then I think it’s changed hand and probably still worth a look.

http://try.swift.ws/

For me this is great news, no longer do I have to keep on checking browsershots or browsercamp even time I make a slight change to my css or html. I know it probably wont render exactly as it does on the mac but still it’s a great start.

Rate This Post:

Getting .htaccess to work on windows apache

Code Library, Linux Apache Server, Windows IIS Server 3 Comments »

Could figure out how to actually write the .htaccess file in windows as when i tried to rename the txt file I created to .htaccess it popped up an error saying “You must type a file name”.

The solution:

1. Open up notepad

2. Write the contents of your .htaccess

3. Save as

4. “.htacess” - Make sure you keep the speech marks.

5. Sorted

Rate This Post:

SUN TZU “THE ART OF WAR” & Bruce F. Webster “THE ART OF ‘WARE 2.0″

Business Stuff No Comments »

I came across a great blog with an updated version of “The Art of ‘Ware” by Bruce F. Webster written in the early 90s. The Art of ‘Ware is basically a rewritten version (to relate to software) of Sun Tzu “The Art of War” a book written for elite chinese army members over 2000 years ago.

The Art of ‘Ware 2.0
http://and-still-i-persist.com/?page_id=236

The Art of War
http://www.sonshi.com/learn.html

Rate This Post:

reCAPTCHA

Web Development Stuff No Comments »

I would like to share a new great service that I’ve stumbled across, reCAPTCHA. Most people will know what CAPTCHA is, a program that can tell whether its user is a human or a computer. You’ve probably seen them — colorful images with distorted text at the bottom of Web registration forms.

Recaptcha is a clever way to get humans to read and input scanned text that computers (OCR) program struggle with. Basically instead of just one word that the user will type there are two; the first being a CAPTCHA image and the second an imaged which has been scanned in which is unreadable by OCR. The assumption is that if the first word is typed in correctly than the second word will probably correct.

reCAPTCHA

reCAPTCHA reckon that “About 60 million CAPTCHAs are solved by humans around the world every day. In each case, roughly ten seconds of human time are being spent. Individually, that’s not a lot of time, but in aggregate these little puzzles consume more than 150,000 hours of work each day”.

Registration and use of the service is free of charge and you receive an API key for each domain you want to use it on.

Personally I think this is an absolutely great idea and as soon as i can i’ll be incorporating it into my ext project.

Rate This Post:
Entries RSS Comments RSS