Can anyone here answer a PHP question for me?

by 4 comments
Hey guys,
this is really getting frustrating for me here because I am obviously missing the boat on what I'm trying to accomplish. I cannot seem to grasp the concept of how you use PHP to send information back and forth between an outside website. I know the coding concepts but no matter how much I search I can't seem to find information that pertains to creating scripts that will send and retrieve information from another website (such as wordtrackers free keyword tool) back to my own website. The sad part is I went to school for computer programming! lol I figured I would ask in the WF and not some techie forum because i know there are a lot of marketers that make their own PHP scripts. So if anyone can be kind enough to PM me or post here the basic concept to this I would greatly appreciate it!


#internet marketing #answer #php #question
  • Profile picture of the author zerofill
    Got a couple can scrape the search engines or use the google adwords API

    But we have a PHP forum down further if you look at the main view of the forum where it lists all the categories...

    The kind of content you are looking for you probably should do some searching on PHP cURL and scraping....

    Just be advised to know what you are scraping and if it is allowed...

    Don't use it to steal peoples content from their sites...
    • Profile picture of the author intellect22
      Awesome thanks for pointing me in the right direction at least now I now what I should be researching!
  • Profile picture of the author Bruce Wedding

    Using PHP to talk to other websites is just like reading and writing files in C except you use sockets. You just then have to use the string functions to parse out what you need.

    $fp = fsockopen("", 80, $errno, $errstr, 30);
    if (!$fp) {
    echo "$errstr ($errno)<br />\n";
    } else {
    $out = "GET / HTTP/1.1\r\n";
    $out .= "Host:\r\n";
    $out .= "Connection: Close\r\n\r\n";

    fwrite($fp, $out);
    while (!feof($fp)) {
    echo fgets($fp, 128);

Next Topics on Trending Feed