GetDotted Domains

Viewing Thread:
"PHP help, if that's quite alright Gun'nor"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Mon 12/08/02 at 16:14
Regular
Posts: 787
I've been trying to make a page with a form that points to a PHP file that updates a variable that is then displayed at the top of the form page - you know, like a bulletin board.

I ripped this code from the Freeola hit counter:

$content = "";
if (!$content) $content = "No content";
if(file_exists($content) == TRUE) {
$update = file($content);
$update = $formtext
} else {
$update = "No content";
}
$fp = fopen($content, "w");
fwrite($fp, $update); echo $update;
?>


Now, I think part of it doesn't work because of the fact that I'm trying to use text instead of integers. Am i right? Am I wrong? You tell me. Please.
Mon 12/08/02 at 16:30
Regular
Posts: 18,775
I have no idea what you are talking about.
BUT.
I'd just like to say that "Pocketmonkey and the kitchen of death" is pure genius.
Mon 12/08/02 at 16:14
Regular
"Pouch Ape"
Posts: 14,499
I've been trying to make a page with a form that points to a PHP file that updates a variable that is then displayed at the top of the form page - you know, like a bulletin board.

I ripped this code from the Freeola hit counter:

$content = "";
if (!$content) $content = "No content";
if(file_exists($content) == TRUE) {
$update = file($content);
$update = $formtext
} else {
$update = "No content";
}
$fp = fopen($content, "w");
fwrite($fp, $update); echo $update;
?>


Now, I think part of it doesn't work because of the fact that I'm trying to use text instead of integers. Am i right? Am I wrong? You tell me. Please.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Easy and free service!
I think it's fab that you provide an easy-to-follow service, and even better that it's free...!
Cerrie
Brilliant service.
Love it, love it, love it!
Christopher

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.