Hi all,
im quite competent with programming and such but i have a problem that is becoming increasingly frustrating for me…BIG TIME!!
- actionscript 2.0, php 4.? and mysql 5.0??
- Using at the moment (for testing) localhost apache 2.0, and the above (1) applications.
THE PROBLEM!
I can upload a file from flash (with fileReference class) to the fileserver (to a created ‘/images’ folder). However, I want to upload to the blob type of a mysql server database rather than the fileserver storage way of doing things, but when i try to upload to a blob type i cant upload!!! ive tried numerous ways with no luck. I cant find a tutorial that takes a file uploaded from a flash end user application and store it in a mysql database!! only storing it in a folder instead. I require it to store in the mysql database however but i just cant seem to make this happen.
could please someone direct these thread to correct place if it isnt… could someone please direct me to an appropriate tutorial or could they just explain how my problem could be solved. PLEASE!!! im at wits end!!!
to clarify: im using fileReference to upload from flash, to php (MOVE_FILE - helps to send it to a folder on the server) i want to post the fileReference directly to the mysql instead or alternatively,
- take the file that is uploaded to the folder, read it with PHP, store it in mysql then delete from folder, although this could cause slower processing times for the end user as more computations are required!
The flash application is ultimately a photo album where the user can upload to the database and then retrieve those images later…so if i going to have trouble retrieving images from the blob please do also give me a heads up now!
thank you very much, sorry for the long post!