Ask a Question related to PHP Development, Design and Development.
-
steve #1
Newbie: grab info from a site
Hi,
I am a *complete* newbie to PHP.
After trying various things I managed to post in a site that contains a form where you enter a postal code and returns some info.
The problem is how can i NOT display but *grab* (store) the information that i get back corresponding to that postal code?
I can grab a web page into a file by using the PHP FILE command, but how do I do that for a post?
Any help/guidance/links ould be greately appreciated.
TIA
-steve
steve Guest
-
How do I work out the site logon info in the contributekey?
Hi I'm trying to access the files for my website using ftp protocol software so that I can copy the entire website and transfer to a new host. ... -
User upgrade - now cannot find site info
Friends, I created a Dreamweaver site on my computer and tested it by uploading it to the Web. Everything worked great. Then, our company's LAN... -
Get info from a site with PHP
Hi, I was wondering if this is possible. Maybe someone could push me towards the right direction. Let's say i'm making site B, that gets a few... -
http://www.jameshicks.info (flash site)
Any comments, suggestions? It's a work in progress... will be finishing it up and polishing this week before submitting to employers. thanks,... -
MAC - how to grab/edit .swf from site?
http://www.hibrosoft.com/smartgrabber.php or flashcapture or flashsaver are 3 different ways to "grab" flas files from webpages when you are on a... -
Colin McKinnon #2
Re: Newbie: grab info from a site
steve wrote:
AFAIK POST is not support by the url-wrappers (file system functions e.g.>
> The problem is how can i NOT display but *grab* (store) the information
> that i get back corresponding to that postal code? I can grab a web page
> into a file by using the PHP FILE command, but how do I do that for a
> post?
>
> Any help/guidance/links ould be greately appreciated.
>
file(...)). If you have libcurl built into PHP you can use that
([url]http://uk.php.net/manual/en/ref.curl.php[/url]), or you can use a socket
connection ([url]http://uk.php.net/manual/en/function.fsockopen.php[/url]) and roll
your own HTTP handler. You could even do it client side using hidden
iframes and javascripts (but that's likely to get messy).
HTH
C.
Colin McKinnon Guest



Reply With Quote

