help me to work out a simple php scripts

Discussion in 'PHP' started by justinlorder, Dec 25, 2008.

  1. #1
    I know little about php, but I don't know how to code php .

    I want to have the script , can anyone help me ?
    I can code two wp themes for free for him if he works out the scripts for me .

    The script have the following function .

    eg.
    there are two pages .
    http://www.aa.com/aa.php
    http://www.bb.com/bb.php

    For example, aa.php contain a div with id of "right" .
    I want to bb.php can automaticly(once a day or twice a day) fetch some html code(right div content) from aa.php . After bb.php fetch content from aa.php, bb.php shows the content to visitors .

    how can I achieve it .
    The script doesn't need any databa.
    The content on bb.php(from aa.php) must be html code , not js .

    Any suggestions are also appreciated .
     
    justinlorder, Dec 25, 2008 IP
  2. qualityfirst

    qualityfirst Peon

    Messages:
    147
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    0
    #2
    All you need is a cron job and cURL, it seems.

    I'm sure someone could take this on here, it doesn't seem hard. I'm not experienced in cURL so I'll leave it to pros.
     
    qualityfirst, Dec 25, 2008 IP