Re: code only work when i keep reloading
| From: | NoWhErEMan | Date: | Sun, 15 Sep 2002 05:07:04 +0000 |
| Subject: | Re: code only work when i keep reloading | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116421@lists.php.net to get a copy of this message | ||
but the interesting thing is once it show the correct output, i press reload
and it gives wrong output again
my code is simply these
-------------------------------------
if(!extension_loaded('stem')) {
dl('stem.so');
}
$str = stem("swimming");
echo $str;
var_dump($str);
-------------------------------------
the stem function should return "swim", however the echo statement seem cant
works. It output nothing, but the var_dump show it is a string with 4 chars,
however it cant show the "swim" on the broswer, i tried IE and netscape,
both no luck.
sometime it show "swim" when i continue pressing "reload", but if i press
again, it disappear~~
I dunno what is the problem~~
"Matt Schroebel" <mschroebel@epooch.com> ¼¶¼g©ó¶l¥ó·s»D
:006c01c25c0e$28792240$299aa8c0@epooch.com...
> > I write a code and run in broswer, it usually not works in the first
try,
> > but if i keep pressing "reload", it would work for sometime.
> >
> > So what is the problem?
>
>
> Most likely the brower cached the first view of the page (with the error)
> and keeps returning it. Clear the browser cache and try again.
>
>