Hi Kelly,

I think you just need the double @ on the getvar variable - - so this
works fine for me:

set web "http://quote.yahoo.com";
http OPEN @web
if @httpERROR==0
  http GETVAR "/index.html" buf
  messagebox @@buf "Contents"
  free buf
endif

exitnow

If you're getting a number then that's reading the address of where the
data was stored, and you need the double indirection @@ in front of the
variable name to read it as a string.
There is more information in the GLpro help [F1] under HTTP GETVAR.

I hope that helps.
Good luck!
Vicky




>-----Original Message-----
>From: [email protected]
>[mailto:[EMAIL PROTECTED]
>Behalf Of Kelly Shipp
>Sent: 20 June 2007 19:48
>To: [email protected]
>Subject: RE: GLPro question
>
>
>
>
>Sorry, but I too have a GLPro question/issue as well and had
>to resort to
>desperation to this list.  :)
>
>I've noticed that the http getvar doesn't work much anymore.
>For example,
>try to getvar any of the pages here and they result in either
>blank results,
>or some odd number like "216571", or a timeout.  Any suggestions?  The
>helpfile doesn't go into any detail about with the getvar
>"really" does, but
>it's not working anymore for quite a few websites.
>http://quote.yahoo.com
>
>I have a application that accesses various sites and it no
>longer is able to
>get any data at all.....and I'd rather not have to rewrite the entire
>application due to this GLPro issue...The http OPEN works
>fine, but can't
>get any good results past that.
>Thanks for any help.
>
>Thanks,
>Kelly Shipp
>
>
>-----Original Message-----
>From: [email protected]
>[mailto:[EMAIL PROTECTED] On
>Behalf Of
>[EMAIL PROTECTED]
>Sent: Friday, February 10, 2006 2:22 AM
>To: [email protected]
>Subject: GLPro SMTP question
>
>
>Hello,
>
>I know somewhat of topic..;-)
>
>I have a question about sending email from a Glpro app I'm
>building: I need
>to send a email to an mail account on a Exchange server.
>However this is not
>open for relaying and my app need to authenticate against this
>server as a
>user account. I need to send a username and password.
>
>As a quick fix I have been using a neat little SMTP sender
>'Blat' and I want
>to use this method also in my app. Blat can be used as a quick
>and dirty
>SMTP sender from a machine not having any valid email-account/client
>installed.
>
>Thanks in advance for any comment
>
>Kind Regards,
>
>Erwin Eliveld
>
>
>
>>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"aftergrasp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/aftergrasp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to