I want to download a file from a URL to my own Sever since working a PHP is it possible is yes then how???
You need to make sure that allow_url_fopen is enabled on your server in php.ini. Because of the security issue caused with this functionality a lot of times it is disabled, and you CANNOT enable it using [man]ini_set()[/man].
HTH, Tom
How do you find that out?
type into a PHP page
<?php echo phpinfo(); ?>
There in the second table under the heading 'PHP Core' is a line second down from the top.
The default value is 'on' for local and master.
allow_url_fopen | On | On |
i check my server setting ok i need a script for downloading file please give me script not tell about menul i search but not find a script
Originally posted by qadeer_ahmad i check my server setting ok i need a script for downloading file please give me script not tell about menul i search but not find a script
[man]fopen[/man], [man]fread[/man], [man]file[/man], [man]file_get_contents[/man]....
i have a file on sever www.comsdev.com/vhscp/abc.php and i want to copy this file on www.savefuture.com/nice/
so what is the PHP script ?? please guid me......
Originally posted by Weedpacket [man]fopen[/man], [man]fread[/man], [man]file[/man], [man]file_get_contents[/man]....
Use these. We don't do homework questions.