Archive
Ajax Uploder
I am new in this Script.Here I Try to make a simple uploder using CSS & Ajax code.One of My friend Himel Suggest me to study about this.And i try to make some thing easy.This is realy interesting Script for Web Application.
Here The Images of my Uploder…….
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 …
















