Search found 3 matches

by dmcewan
Sun Aug 05, 2007 3:47 pm
Forum: PHP - Code
Topic: Execute a program from PHP and continue
Replies: 2
Views: 563

Execute a program from PHP and continue

Hi, I'm trying to get a php script to execute a program on the server, which it does fine with exec or system, but it always waits for the program to return (i.e. exit) before it executes the rest of the php script. Is there a way to execute a program and then just continue? I really don't care what...
by dmcewan
Sun Aug 05, 2007 3:44 pm
Forum: PHP - Code
Topic: Download a remote file to a server
Replies: 5
Views: 831

Thanks

I'm actually just trying to create a little script that will kick off a download on a windows machine. I'll post the code once I get it up.
by dmcewan
Sat Aug 04, 2007 2:46 pm
Forum: PHP - Code
Topic: Download a remote file to a server
Replies: 5
Views: 831

Download a remote file to a server

I have medium level of PHP skill, and I was wondering if anybody has any opinions of the best way to just download a remote file to a php server. If for example someone passed a URL of "http://localhost/dl.php?www.anywhere.com/testdoc.torrent" what would be the best way (in PHP) for the se...