Jump to content


Photo

Question about dumping results


  • Please log in to reply
2 replies to this topic

#1 grazzman

grazzman
  • Members
  • PipPip
  • Member
  • 27 posts

Posted 24 July 2006 - 04:00 PM

Hey,

I need to grab the results of a CGI script and dump it into a variable without HTML in the results. I'm looking to do kind of what lynxs would do with the following....

lynx -dump -auth=user:pass https://somedomain.c...unt=account123       

I need to do this but without using lynx.... If anyone can just point me in the right direction, I should be able to google the rest... If I can get the page into a variable, then I can pars the information that I need out of the results. I'm not sure if fopen or if any of the f commands will do this. If anyone has any ideas, please let me know.

Thanks

#2 gluck

gluck
  • Members
  • PipPipPip
  • Advanced Member
  • 216 posts

Posted 24 July 2006 - 06:35 PM

Use the
CURL, Client URL Library Functions to achieve your objective.
I'm back baby!

#3 ryanlwh

ryanlwh
  • Staff Alumni
  • Advanced Member
  • 511 posts

Posted 24 July 2006 - 06:45 PM

fopen and such can open a url if allow_url_fopen is true. if you need to post data to the remote url, use the CURL library as suggested by gluck
Please use EDIT * 100...
Please use
or [php] * 1000...

PLEASE READ THE POSTED SOLUTIONS CAREFULLY * 1000000...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users