-
SAVE AS? How do you do this?
I have a button that needs to download a .AVI. It's a QuicktimeVR and therefore needs to be opened in Quicktime. I will settle if the user is only able to dowload it from the website and open it on their own. I just need the button to download the file to their computer. I read a tutorial that told to make a .PHP file. I tested it just on the computer, not online, and it didn't work. Would this only work online.
Hopefully someone can help me with this because it is the last thing keeping me from getting my site online.
-
Harmony & Justice
If your computer isn't a server, it probably won't work. Php is a server-side scripting language. Unless you have some server software running like Apache and PHP, the script won't be executed. Try uploading it online and testing it out. Most webhosts have servers with PHP, so I'm pretty sure it'll work fine.
Regard,
venio
Flash Kit Moderator . Duke University
Thomas Jefferson High School for Science and Technology
-
FK's Geezer Mod
You can zip up the avi, upload it and then link the button to the zip file.
on(release){
getURL("http://www.mysite.com/moviefile.zip", "_self");
}
That will open the download and save window when you click the button.
-
Cool. I'll give it a try. Thank you much!
-
Senior Member
in this case zipping the file is probably the easiest thing to do. however PHP is exceptionally useful in many cases, you can do a quick test to see if your server supports PHP like this.
1) in your text editor (eg something like notepad) create a new file, in this file type the following
<?php
phpinfo();
?>
save this as something like info.php
2) upload this info.php file to your web server.
3) now in your web browser navigate to the info.php file, eg http://www.yourhost.com/info.php - if a long page of settings and information about PHP appears then your host has PHP installed
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|