prosoxi.com | Archive | January

Archive | January, 2010

How to Disable Indexing in Thunderbird 3

The first time you start up Thunderbird, you notice that it’s indexing your emails and feeds. If you do not think indexing is going to do you any good. You can disable it. Continue Reading

Posted in Tips & Tricks, Windows0 Comments

PHP regular expressions examples

A simple method of validating an IP address using PHP and regular expressions

<? $string = “255.255.255.255″; if (preg_match( ‘/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:[.](?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/’, $string)) { echo “IP address is good.”; } ?>
Continue Reading

Posted in PHP0 Comments

Disable Virus Auto-check in Firefox 3

Please be sure you are downloading safe files. This virus check is put in for a reason and should only be disabled if you are confident you know what you are doing.

  1. Type about:config in the Firefox address bar
  2. Now filter the following browser.download.manager.scanWhenDone
  3. Set the parameter to False

Now, Firefox wont slow down after every file you download.

Posted in Tips & Tricks, Windows0 Comments

PHP mysqli::set_charset

In connection file add the following lines

$mysqli = new mysqli($hostname_###,$username_###,$password_###,$database_###);
$mysqli->query(“SET NAMES ‘utf8′”);

Posted in MySQL, PHP0 Comments

How to Create a First Shell Script

How to Create a First Shell Script

Shell scripts are short programs that are written in a shell programming language and interpreted by a shell process. They are extremely useful for automating tasks on Linux and other Unix-like operating systems.

A shell is a program that provides the traditional, text-only user interface for Unix-like operating systems. Its primary function is to read commands (i.e., instructions) that are typed into a console (i.e., an all-text display mode) or terminal window (i.e., all-text mode window) and then execute (i.e., run) them. The default shell on Linux is the very commonly used and highly versatile bash.

A programming language is a precise, artificial language that is used to write computer programs, which are sets of instructions that can be automatically translated (i.e., interpreted or compiled) into a form (i.e., machine language) that is directly understandable by a computer’s central processing unit (CPU).

A feature of bash and other shells used on Unix-like operating systems is that each contains a built-in programming language, referred to as a shell programming language or shell scripting language, which is used to create shell scripts. Among the advantages of using shell scripts are that they can be very easy to create and that a large number are already available in books and on the Internet for use with or without modification for a wide variety of tasks. Shell scripts are also employed extensively in the default installations of Unix-like operating systems. Continue Reading

Posted in Linux0 Comments

PLESK Unable to update hosting preferences. User xxxx already exists

Yeah, I would delete the domain and then recreate it then restore it.

browse the psa database and remove the xxxx username under the “clients” table.

So check the sys_users table and the /etc/passwd .

from http://forum.parallels.com/showthread.php?t=71840

Posted in Plesk0 Comments

install PEAR to PLESK over UBUNDU

#apt-get install lynx

#lynx -source http://pear.php.net/go-pear | php

press 1 and change the path to /usr/share Continue Reading

Posted in Linux, PHP, Plesk0 Comments

Virtual to Physical Documentation and Sample Configurations

The technical note and sample configurations for performing a virtual to physical conversion are provided for information only.

Technical support is not provided. Continue Reading

Posted in Network, Windows0 Comments

Mysqli Tutorial

Moving from a procedural system to object-oriented can be a daunting task. One feature to assist you is the MySQLi class, which allows for an object-oriented approach to database manipulation. This tutorial gives insight into the structure and basic usage of the MySQLi class. If PDO isn’t an option for you, then try MySQLi! Continue Reading

Posted in MySQL, PHP, Programming, Tutorials0 Comments

Grab website thumbnail images from other sites

Some websites, like http://www.digg.com, http://www.stumbleupon.com, etc. provide us with website snapshots. Special utility can be written in scripting language (like PHP, Perl, etc.) to grab website image from their search results.

Website Thumb Generator can be used to create website thumbnails for your needs, or start your own website thumbnail generation service. Requirements:

  • Windows hosting
  • PHP GD library (installed on most hostings)
  • Permissions to execute third-party applications (i.e. exe files)
  • Permissions to execute Internet Explorer Continue Reading

Posted in PHP0 Comments

Domain Finder

Domain Finder Tool by Truste.gr

read more for domains

Advertisers

Wedstar all about wedding - gamos - γαμος
Κατασκευή ιστοσελίδων
Domain Names | Hosting

Adds