149620 php scripting
Ngân sách N/A
I need to know if php can be written to pull text from one site while leaving the [php echo ] intact, or if another php scripting can perform what I need.
The example is:
The man painted the [?php echo color ?] house purple.
which is posted at [url removed, login to view]
I then want to pull this text and place it on another site, and have the color changed on each page.
The example is:
[?php define("color", "green") ?]
[?php include("[url removed, login to view]") ?]
[?php define("color", "yellow") ?]
[?php include("[url removed, login to view]") ?]
which is posted at [url removed, login to view] & [url removed, login to view] (and, of course, is not functioning as desired).
I need scripting to pull from one site, with the result that the 2nd site results in:
The man painted the green house purple.
The man painted the yellow house purple
etc...