--- FreeFL <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I want to download a page and get nothing when i call this
> function
> with a string url:
> Checkpage("http://freefl.free.fr/presentvu.htm")
>
> Protected Function CheckPage(url as string) As string
> dim ttt as new HTTPSocket
> dim s,address as string
> address = url
> ttt.yield = true
> s = ttt.get(address,3)
> return s
> End Function
>
>
> But I get the page all right when I put the textual url in the
> get
> call instead of the variable :
>
> Protected Function CheckPage(url as string) As string
> dim ttt as new HTTPSocket
> dim s,address as string
> address = url
> ttt.yield = true
> s = ttt.get("http://freefl.free.fr/presentvu.htm",3)
> return s
> End Function
>
> What should I do ? I must miss something here, maybe some
> encodings setting ?
Hmm, that's odd. Everything appears to be correct. What happens
if you call "s = ttt.get(url, 3)" in the first example?
Mark Nutter
Quick and easy regex creation and debugging!
http://www.bucktailsoftware.com/products/regexplorer/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>