Search found 86 matches
- Sun Nov 29, 2009 3:54 am
- Forum: PHP & MySQL
- Topic: How to display email message count using PHP
- Replies: 0
- Views: 4158
How to display email message count using PHP
This simple script creates an image that can be used on any page to display the number of email messages in your inbox. You could even put this on your desktop if you use an html page for your background image. In your html, put an <img> tag for the image, such as the one below. Do not put width or ...
- Sun Nov 29, 2009 3:49 am
- Forum: PHP & MySQL
- Topic: How to create a Auto-responder using PHP
- Replies: 0
- Views: 1729
How to create a Auto-responder using PHP
This is an email auto-responder script. The instructions for use are in the comments at the top of the script. The script is intended to be run using Cron at pre-set intervals (for example every hour). The script should be placed above the public directory to provide better security and to ensure no...
- Sun Nov 29, 2009 3:48 am
- Forum: PHP & MySQL
- Topic: How to Read/auto-process email using PHP
- Replies: 0
- Views: 1824
How to Read/auto-process email using PHP
Here is a script that will read and process your mail. The script is written to match the subject line, allow you to do custom processing, then optionally delete the message. You can use this script to auto-process email requests. You can easily change the script to compare against other header fiel...
- Sun Nov 29, 2009 3:45 am
- Forum: PHP & MySQL
- Topic: How to obfuscate your email address from spam bots using PHP
- Replies: 0
- Views: 1580
How to obfuscate your email address from spam bots using PHP
Want to have an email address on your web page but don't want the bots to harvest it for their spam lists? Try this technique. Put this JavaScript in the <head> of your html page: <script type="text/javascript"> function contact(domain,user) { window.location.href = "mailto:" + user + "@" + domain;...
- Sun Nov 29, 2009 3:43 am
- Forum: PHP & MySQL
- Topic: How to send email using PHP
- Replies: 0
- Views: 1837
How to send email using PHP
Here is a simple Form Mail script. It can be used on your website for people sending you messages, rather than using an email link. The script provides a form with name, email address, and message. It validates the email address format. It also provides some protection against mail bombing by only a...
- Sun Nov 29, 2009 3:38 am
- Forum: Web programming
- Topic: Anti-leech control using .htaccess
- Replies: 3
- Views: 4210
Anti-leech control using .htaccess
Using the .htaccess method of anti-leech control is Pretty Wortthless and can often cause many problems for your website. You may see htaccess code such as this claiming to provide anti-leech control for, in this case, gif jpg and png files. What this code does is stop any request that was not refer...
- Sun Nov 29, 2009 3:35 am
- Forum: Web programming
- Topic: How to block access to your website
- Replies: 0
- Views: 1800
How to block access to your website
To block an IP address or a domain name from accessing your website, put these lines in your .htaccess file. order deny,allow deny from 192.11.22.33 deny from badwebsite.com You can specify a partial IP address (just the first three sets of numbers, for example) if you want to block a range of addre...
- Sun Nov 29, 2009 3:27 am
- Forum: PHP & MySQL
- Topic: How to upload multiple files using PHP
- Replies: 0
- Views: 1873
How to upload multiple files using PHP
We will learn how to upload multiple files using a single form. This is required if you are allowing members to upload more than one file and you don't know how many files you allow them to upload. Say you want up to 8 files any member of your site can upload. As your members upload and delete files...
- Sun Nov 29, 2009 3:24 am
- Forum: PHP & MySQL
- Topic: How to increase/decrease the max execution time in PHP
- Replies: 0
- Views: 1864
How to increase/decrease the max execution time in PHP
By default PHP script execution time is set for 30 seconds at php.ini file. This is the time limit set for all the files to finish its execution. If the file takes more than this set time then the execution of the script will be stopped and error message will be displayed like this. Fatal error: Max...
- Sun Nov 29, 2009 3:21 am
- Forum: PHP & MySQL
- Topic: How to upload a image using PHP
- Replies: 0
- Views: 2481
How to upload a image using PHP
File upload is very common requirement of many web sites. We may require to upload pictures online to websites. Image upload is very common requirement and many sites are using this to allow members or visitors to upload files. Picture rating, picture gallery site uses this feature to allow multiple...