filesystems - Mysql link to external resources: .zip an image file -


i need help: have installed easphp on laptop (apache, php, mysql). i'm developing db mobile app (an online market)

i need add field link external file staying in dir on file system (cause i'm working in locale).

i found tutorial explaining how upload files db using blob type , mime, file staying in folder , on db have fields like, title, description, size, extension , 1 filed pointing file(the application .zip or images .jpg in case need previews). didn't find how that.

i don't have yet php interface i'm working through phpmyadmin

  1. what kind of type field should use? varchar, text........

  2. where should store file? in generic folder c:\file or somewhere specific (inside apache folder or else)

  3. what should insert in field when create record myphpmyadmin: path? c:\bla bla bla simply?

  4. do need other fields menage later file mime type or else?

thanks lot

you can visit uploading files mysql database
if store path of file in db. , save file in directory.
link here upload file php , save path sql

first , third answers useful


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -