hmmm try this: $link = "http://localhost/sitemapprototype/".rawurlencode("crawl.php?thread={$tnames[0]}&url={$url[0]}"); exec("C:/path/wget.exe -q '{$link}'");
I tried still it fails Also I tried passing ordinary variables rather than array variable even though it fails to execute.
hey kalaid, you could try to use wget's file option. write your string to a file and then call wget with this exec("C:/path/wget.exe -q -i filename.txt");
Hi The issue here is when i provide $link ="http://localhost/sitemapprototype/crawl.php?uurl={$urll}&thread={$nam}"; The argument after '&' is not passed. If I provide like this $link1 ="http://localhost/sitemapprototype/crawl.php?uurl={$urll}thread={$nam}"; The value for uurl and thread is passed along the file but i cannot get the values for uurl and thread seperately. The thread variable and the value is combined along with the uurl as there is no '&' symbol What to do in such case