Re: Upload a file into DB




realmehmet wrote:
yonthebeach@xxxxxxxxxxxxxx wrote:
how can i upload a file with PHP into my database, and allow a download
of the file on the frontend (sent to client). Do i upload then into a
BLOB field? And how to check for a max filesize (max. 1MB) and if its
bigger cancel operation.
Why don't you upload the file to some folder and then insert link of it
to DB?

Mehmet Zahit Ates

to be os independent and easier backup of the running app.

greets
yavuz bogazci

.



Relevant Pages

  • Re: check clientside file size
    ... Not with PHP, which doesn't work client sided. ... File Upload Form ... and its value is the maximum filesize accepted. ...
    (comp.lang.php)
  • Re: Upload a file into DB
    ... of the file on the frontend (sent to client). ... BLOB field? ... And how to check for a max filesize and if its ... Why don't you upload the file to some folder and then insert link of it ...
    (comp.lang.php)
  • Re: question refined - Copy file from client to server
    ... uploaded form - which is the stream. ... to a directory on the server, rather than load it into SQL. ... the user browsed to the file so your page could upload it. ... just manipulate the files on a client machine at will. ...
    (microsoft.public.dotnet.general)
  • Re: question refined - Copy file from client to server
    ... uploaded form - which is the stream. ... to a directory on the server, rather than load it into SQL. ... the user browsed to the file so your page could upload it. ... just manipulate the files on a client machine at will. ...
    (microsoft.public.dotnet.general)
  • Re: Uplink baud rate determination
    ... So the main idea of your algo is to get client's upload speed by uploading ... Server reconds amount of data being sent, ... Client finished upload and closes connection ... checking/determination the actual Internet uplink baud rate of the ...
    (microsoft.public.win32.programmer.networks)