Previous Thread
Next Thread
Print Thread
Hop To
#167306 10/30/2006 7:03 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
i've made this post island for my message board, with content as follows:

Code
/* PHP CODE HERE */
$jdp = file_get_contents("http://www.jakchat.com/jdp.txt");

/* BODY HERE */
$body = <<<EOF
$jdp
EOF;

i've set cache to 1 minute.

what i want to happen is for every time the file jdp.txt changes, the post island also changes automagically. this was my expectation, however, it doesn't seem to work.

the PHP code seems to execute only once, at the time it is first run, and changes to the file are never reflected in the post island unless i go into the "Edit Custom Portal Island" and press the "Edit Custom Portal Island" button.

does anyone have any suggestions as to what i might be doing wrong??


Okusi Associates -- Indonesian business and management services
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
...


Okusi Associates -- Indonesian business and management services
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I need to test this today and make sure it's not a bug. The code itself looks ok, but there may be some other issue why it's not being rebuilt.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 925 guests, and 159 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)