All about upload images web service.

Asked By 200 points N/A Posted on -

Hello friends,

All about upload image web service. When did the internet web services start to allow the user’s to upload some files from the computer to the internet? And I also want to know the popular database used by webpage experts.

Thanks and Regards,


Best Answer by Ihtavrap Noemi
Best Answer
Best Answer
Answered By 0 points N/A #111093

All about upload images web service.



If you are using the PHP coding then I can give you some hint to upload image. First I like to clear the upload file page coding and then the script to upload a file:

The upload file PHP code is below:


<form action="upload_file.php" method="post"
<label for="file">Filename:</label>
<input type="file" name="file" id="file" /> 
<br />
<input type="submit" name="submit" value="Submit" />


And the file uploading script is:

if ($_FILES["file"]["error"] > 0)
  echo "Error: " . $_FILES["file"]["error"] . "<br />";
  echo "Upload: " . $_FILES["file"]["name"] . "<br />";
  echo "Type: " . $_FILES["file"]["type"] . "<br />";
  echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
  echo "Stored in: " . $_FILES["file"]["tmp_name"];

By using the global PHP $_FILES array you can upload files from a client computer to the remote server.

The first parameter is the form's input name and the second index can be either "name", "type", "size", "tmp_name" or "error". Like this:

$_FILES["file"]["name"] – the name of the uploaded file

$_FILES["file"]["type"] – the type of the uploaded file

$_FILES["file"]["size"] – the size in bytes of the uploaded file

$_FILES["file"]["tmp_name"] – the name of the temporary copy of the file stored on the server

$_FILES["file"]["error"] – the error code resulting from the file upload

This is a very simple way of uploading files. For security reasons, you should add restrictions on what the user is allowed to upload.

And as an expert I can suggest you the MySQL for web page database.


Answered By 0 points N/A #111094

All about upload images web service.


File uploading and sharing, which includes anything from images, documents and the like, started from way back even before the internet came into existence. Before the internet became commercially available, there already exists bulletin board systems or BBS in 1978, that allows users to connect remotely to another user through their computers, and files can be shared and transferred.

Another popular means of uploading files like images include:

Usernet – 1979

FTP services – 1985

IRC – 1988

When emailing services became available, users can already upload files as attachment.

Later on, file sharing sites like peer-to-peer systems eventually followed and became very popular to this day.

Login/Register to Answer

Related Questions