Archive
Speed Up Your WordPress Blog >> 10 Ways
If your site takes an age to load, in the words of Jeremy Clarkson, that’s not good. You don’t want to wear on your reader’s patience before they’ve even started reading.
In this post we’ll explore ten ways to speed up your site, with tricks ranging from easy to even easier; none of the stuff in this post is difficult, so there’s no excuse for a slow-loading blog after reading this!
1. Delete Any Unwanted Plugins
If your site is loading slowly, look at how many plugins you’re using. If the answer is more than ten, look at the plugins you’re using and ask yourself whether you can integrate them directly into your theme.
While you’re at it, also ask yourself whether you really need the plugin. If you can do without it, do.
2. Remove Unnecessary PHP Tags
If you’re using a theme that you didn’t make yourself, then chances are it’s full of php that doesn’t need to be there. For example, your header could have something like this:
This is telling WordPress to get the stylesheet url every single time someone loads your page. You can very easily replace this with something like this: (Remember to replaceyoursite.com with your address).
This is just one example – there are many many more times you can do this – have a hunt round your header.php and other theme files and you’ll be amazed at the number of unnecessary queries you can eliminate. We have a list of 13 of the most commonun-needed tags here.
3. Use WP Super Cache
One of the better known techniques for speeding up WordPress is to install the WP Super Cache plugin. It caches your site for super-quick loading. It’s as simple as that.Install it and forget about it (and then promptly remember it when you wonder why your design changes aren’t showing next time you edit your theme files!).
How To Get the Uploaded File Information in the Receiving Script?
Once the Web server received the uploaded file, it will call the PHP script specified in the form action attribute to process them. This receiving PHP script can get the uploaded file information through the predefined array called $_FILES. Uploaded file information is organized in $_FILES as a two-dimensional array as:
$_FILES[$fieldName]['name'] – The Original file name on the browser system.
$_FILES[$fieldName]['type'] – The file type determined by the browser.
$_FILES[$fieldName]['size'] – The Number of bytes of the file content.
$_FILES[$fieldName]['tmp_name'] – The temporary filename of the file in which the uploaded file was stored on the server.
$_FILES[$fieldName]['error'] – The error code associated with this file upload.
A simple Email Validation Form
Here i use Javascripts And HTML.
Here The JavaScript Function
Which one is used for Validation.
function checkEmail(myForm) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.emailAddr.value)){
return (true)
}
alert(“Invalid E-mail Address! Please re-enter.”)
return (false) }
***You Can Download This Code In My Download Center…(Box)..
Simple Image Uploader
I have created a cool contact directory and i want to allow people to upload their own photos, or i want to create an image repository which you upload images and create thumbnails out of them.
This is a simle image upload project.Here i use HTML & PHP 4.One day my friend sabuz give me the idea.Basically he done most of the work.Here my contribute was shown the Image in Browser.And i have done this.I want to play again with this type of work.Here the Add picture,Show picture page example …














