9 Comments
it works fine so far, but: How can I take any action after upload?
Upload works.
After file ist uploaded I want to change the page; close flash upload page and do something else with the uploaded file.
None of my Javascript or PHP code in uploader_save.php takes an action or any effect (including no error messages ;-)
Second question: How can I translate this nice little tool into German?
Thanks for help.
I copied the webcam.swf and the 2 .php files into the same folder and set up my HTML file, which is a php file. It loads up well, but when I click save picture, nothing happens. I am using the Joomla Framework, I did some checking and:
First in the webcam_save.php there is a $GLOBALS variable. I have my register_globals off, does that pose an issue? What are other alternatives?
I also put some testing code (some echo and some javascript alert) before the $GLOBALS execution, but nothing happens either.
The upload_save.php does work.
Could you give me some guidelines?
Cheers
another issue could be ...if the php files (my php files) don't have execution permission (chmod 644 or 777 depends on your hosting provider...)
I have continued trying, changed all the permissions and everything.
The Upload works fine, but not the Webcam. If the uploader works, I am assuming permissions are set fine, but somehow I think there is something going on when transfering the data from the webcam to an actual image.
Im using XAMPP on a Win7 machine for testing.
Best
$folder="webcam_pics"; mkdir("$folder/", 0777, true); chmod("$folder/", 0777);
when executed, on "uploader_save", It does create a folder called "webcam_pics" in the same folder where the file is.
for "webcam_save" nothing happens and on my browser it shows on the status bar: "Waiting for localhost..."
Any ideas?
2 Mode Webcam / Browse Image upload:
1.Upload Images directly with a webcam snapshot with good quality
2. upload Images from your computer with the help of the browser
- very useful for registrations on flash based webpages
Uses php to save pictures on your server
All code is well commented , named layers, easy to modify