Wednesday, May 7, 2008

Upload Files To Server PHP and ASP

I have come cross the following Tutorials which will teach you how to up load a file to server via your web page. You can go through following tutorial and they explain how to do it using PHP

1.PHP Tutorial - File Upload
Really Good Tutorial with examples.

Htm Code
Choose a file to upload:


PHP Code
// Where the file is going to be placed $target_path = "uploads/";/* Add the original filename to our target path. Result is "uploads/filename.extension" */$target_path = $target_path . basename( $_FILES['uploadedfile']['name']); $_FILES['uploadedfile']['tmp_name'];

2.Uploading Files To Files Server Using PHP
This Tutorial expains how to track your uploads and let others download it using a simple database. Which can be used for content management system.
Blog Widget by LinkWithin