Hi
I want to run a php script for an array of values.For eg: consider a file downloader script run for an array of 5 files.After the 1st file is posted to downloader script, it downloads the file and then move on to 2nd file and so on.In this way all files are downloaded without user interaction.
Please help me this idea of posting the file names to download script one by one
Run a 3rd party PHP script
Moderator: General Moderators
-
BornForCode
- Forum Contributor
- Posts: 147
- Joined: Mon Feb 11, 2008 1:56 am
Re: Run a 3rd party PHP script
For this you may need cURL, give it a try (if you want to execute the script from your server). Though i never used to download content so i am not sure this is doable in php.
I think what you are looking (if you want to download this from a client) for a java applet or some flash.
Can you please provide more information?
I think what you are looking (if you want to download this from a client) for a java applet or some flash.
Can you please provide more information?
Re: Run a 3rd party PHP script
My problem is that:
I have a downloader script say download.php.It accepts a single file address(say url) at a time and a user is allowed to select multiple files by selecting few check boxes. These files have values as their urls. And i need to send each file to download.php one by one as each one is downloaded.
So i am not getting how to send urls one by one to download.php as each file is downloaded.So can any help me in the code or logic
I have a downloader script say download.php.It accepts a single file address(say url) at a time and a user is allowed to select multiple files by selecting few check boxes. These files have values as their urls. And i need to send each file to download.php one by one as each one is downloaded.
So i am not getting how to send urls one by one to download.php as each file is downloaded.So can any help me in the code or logic