Is there anyway I can type wget command into a php and that will download file directly from another server to my own server?
desiguru
0
Junior Poster in Training
Recommended Answers
Jump to PostIs there anyway I can type wget command into a php and that will download file directly from another server to my own server?
<?php $foo = system('wget http://www.myserver.com/file.txt ~',$output); ?>
All 3 Replies
pty
882
Posting Pro
digital-ether
399
Nearly a Posting Virtuoso
Team Colleague
ctsjoe
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.