--- Zac Elston <[EMAIL PROTECTED]> wrote: > i have a url that is > "http://username:[EMAIL PROTECTED]/path/file.pl?var1=foo > > when using this url in a browser, it works > > when using "Get URL myquery" i get empty. > > even "get URL urlencode(myquery)" returns empty. > > what's the trick to getting this to work? > > thanks > -zav >
Hi Zac, The best way to figure out why http and ftp things don't give the desired result, is to log their actions to a field and see what's missing ; see the Transcript Dictionary entry for the 'libURLSetLogField' command. Example : -- libURLSetLogField the long ID of field "log" get URL tURL libURLSetLogField "none" -- It is possible that the server is using some form of authentication that is stored in the httpHeaders -- checking the log should point that out. As a side-note : it isn't necessary to URLencode the entire URL -- just make sure the username and password are encoded before stringing together the URL. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
