Problem in wget in php script
Moderator: General Moderators
Re: it is working
It seems that I missed that one ...abhijeetgk wrote:it is working properlyVladSun wrote: Have you tried any simple downloads. I.e.:
php:
system("wget 'http://forums.devnetwork.net' -O $tmpfname");
Does it work?
If it's working properly then you have an error in your URL string...
Try to echo the same string your are passing to system("wget ...") and look for errors in it.
There are 10 types of people in this world, those who understand binary and those who don't
-
abhijeetgk
- Forum Newbie
- Posts: 9
- Joined: Thu Oct 18, 2007 11:33 pm
- Location: Mumbai
- Contact:
no problem in bash shell
hi
the command is giving the same problem in the bash shell of unable to resolve host
the domain for which the script is written is "sahyog.maharashtra.gov.in"
and in the browser it is showing correctly
the command is giving the same problem in the bash shell of unable to resolve host
the domain for which the script is written is "sahyog.maharashtra.gov.in"
and in the browser it is showing correctly