PDA

View Full Version : Urgent.. does anyone know flash? Need help.



Zedtu
16-02-2008, 11:45 PM
Does anyone?

I am making the uploader for TehUpload.

It sends the request to the PHP file, but I need it to receive the filename back from the PHP file.

Someone help :)

Hypertext
17-02-2008, 12:08 AM
I guess you could put an interval in flash and then write the filename to a text file using php, and then within your inerval refreshin every 10 miliseconds or w.e try to get the file contents of the text file.

Zedtu
17-02-2008, 12:09 AM
This is a multiuser application, if two users were uploading at one time, it would not work.

Hypertext
17-02-2008, 12:12 AM
unless you use php to rand() to create the file name.

Zedtu
17-02-2008, 12:27 AM
Still, how is the flash file going to know the randomized number.

Invent
17-02-2008, 12:33 AM
Why do you need to use flash? Why don't you use AJAX or something instead.

Zedtu
17-02-2008, 12:55 AM
AJAX file uploading isn't that great.. it has lots of drawbacks.

Google it. 90% of the time it requires an iframe.

Florx
17-02-2008, 01:22 AM
http://www.flash-db.com/Tutorials/upload/upFiles.php

GOOGLE http://www.google.com/search?q=php+flash+uploader

Independent
17-02-2008, 05:10 AM
http://www.flash-db.com/Tutorials/upload/upFiles.php

GOOGLE http://www.google.com/search?q=php+flash+uploader
lol, why do you always type in vold

It's not that hard to use google is it caleb?

MrPinkPanther
17-02-2008, 08:59 AM
It's not that hard to use google is it caleb?
It's not that hard to post on here either

Florx
17-02-2008, 10:04 AM
Bold is my type of signature :)

e.g. opensourcehost has tiny writing. I have bold :p

Zedtu
17-02-2008, 02:09 PM
lol, why do you always type in vold

It's not that hard to use google is it caleb?

What do you think I have been doing all day, also before trying to have a "go at me" and failing.

Look at your threads "help me integrate re-captcha."

At the end of the day, I could not find a solution, so I posted it here.

I hardly EVER ask for help.


http://www.flash-db.com/Tutorials/upload/upFiles.php

GOOGLE http://www.google.com/search?q=php+flash+uploader

Thanks mate! :)

Florx
17-02-2008, 02:14 PM
What do you think I have been doing all day, also before trying to have a "go at me" and failing.

Look at your threads "help me integrate re-captcha."

At the end of the day, I could not find a solution, so I posted it here.

I hardly EVER ask for help.



Thanks mate! :)

That's true tbh

Hypertext
17-02-2008, 06:22 PM
Give him a break he's entitled to a thread.

Hypertext
17-02-2008, 06:25 PM
If you still need help, it's possible to do in actionscript, but if you don't want to you should either do it in AJAX or I believe it's possible to output a randomized number from flash for php to pickup I think.. and then php can use that number to upload the file with that name... but good luck anyway.

Want to hide these adverts? Register an account for free!