Results 1 - 20 of about 41
[PHP]Listing the contents of a directory
[PHP]Listing the contents of a directory With PHP, the contents of a directory and its subdirectories can be viewed. Here below is a...
Oct 31, 2009Webmaster > PHP
[PHP] mail function()
[PHP] mail function() The mail function() is blocked by most free hosts for security reasons (avoid spamming), the IP address of the...
Oct 31, 2009Webmaster > PHP
PhpMyAdmin - Access denied for user root@localhost
PhpMyAdmin - Access denied for user root@localhost To reset the rights of the root user Insert the host and password Beginners may face...
Oct 30, 2009Webmaster > PHP
Change the language of your website
Change the language of your website Option 1: Option 2: If you have ever changed the language of a website that you have visited, you...
Oct 24, 2009Webmaster > PHP
Verifying the domain of an e-mail address
Verifying the domain of an e-mail addresse There are two parties for an email addresse : the username and the domain name...
Oct 24, 2009Webmaster > PHP
[PHP]Recovering logins and password used by.htaccess
[PHP]Recovering logins and password used by.htaccess If you protected folder of your site using a.htaccess and you want to retrieve...
Oct 24, 2009Webmaster > PHP
[PHP]Last day of the month/Number of days in the month
Last day of the month and number of days in a month Using $m as the number of the month i and $y as year. Function date() can display...
Oct 24, 2009Webmaster > PHP
How to easily display PHP/HTML codes in your webpages
How to easily display PHP/HTML codes in your webpages Issue What code to use? Issue If you want your visitors to be able to see the...
Oct 17, 2009Webmaster > PHP
Phpize: command not found
phpize: command not found Though you have installed the PHP programming language on your computer, you will be required to install the...
Oct 17, 2009Webmaster > PHP
[PHP]Clean up a string
[PHP]Clean up a string Here's a function in PHP which can be quite handy, especially when doing the URL rewriting. This function...
Oct 16, 2009Webmaster > PHP
PHP PARSE ERROR: UNEXPECTED '<' IN ... EVAL()'D CODE ON L
PHP PARSE ERROR: UNEXPECTED '<' IN ... EVAL()'D CODE ON LINE Symtoms When using the eval() function in PHP, the following message is...
Oct  4, 2009Webmaster > PHP
Some useful functions in PHP
Some useful functions in PHP Tip 1 Tip 2 Tip 3 Tip 4 Tip 5 Tip 6 This tip will show you how to use some very useful functions in PHP:...
Sep 14, 2009Webmaster > PHP
[PHP]antispam code with numbers and letters (CAPTCHA)
[PHP]antispam code with numbers and letters (CAPTCHA) On many sites, the forms are accompanied by an insert request to copy a randomly...
Sep  7, 2009Webmaster > PHP
Warning: rmdir(..): Directory not empty
Warning: rmdir(..): Directory not empty If you are attempting to delete a PHP file and that you get the error message: Warning:...
Aug 29, 2009Webmaster > PHP
Notice: Undefined index
Notice: Undefined index It may happen when trying to recover variables from your forms, below error message appears on your screen: If...
Aug 15, 2009Webmaster > PHP
Verifying date format in PHP
Verifying date format in PHP There are several ways to check the format of a date in PHP; the simplest method is to make use regular...
Aug 15, 2009Webmaster > PHP
Parse error, unexpected T_STRING, expecting ',' or ';'
Parse error, unexpected T_STRING, expecting ',' or ';' Example 1 How to solve the problem Example 2 In PHP, a common problem that may...
Aug  9, 2009Webmaster > PHP
Activate mail ()function on website
Activate mail function on website To be able to activate the mail function on your website, there is a special code that you can make...
Aug  9, 2009Webmaster > PHP
Parsing a binary file in PHP
Parsing a binary file in PHP When using low level languages like C or Pascal, it is a common procedure, to data in a binary file (a...
Aug  9, 2009Webmaster > PHP
Save the IP address of visitors of your site
Save the IP address of visitors of your site Record the IP address of visitors to your site If you are a victim of an attack or an...
Aug  9, 2009Webmaster > PHP
12 3