hi, 

I m facing two problems rite now , 

I can't force my page to revalidate by using the following code on my "index.php" page.

 header("Cache-Control: no-store, no-cache, must-revalidate");  // HTTP/1.1
 header("Cache-Control: post-check=0, pre-check=0", false);
 header("Pragma: no-cache");                          // HTTP/1.0

My Index.php page has a flash intro which reads a text file counter.txt and displays 
the "visitor counter" 

i use PHP script to increment the counter in the Text file and on the same page read 
it from flash.

Problem 1 : 
when I again press the refresh button in Internet Explorer ( Instead of increasing 
counter in the text file it doesn't displays increment on flash ). 
is it about Cashe Control ??? if yes then why the above code i wrote is not doing its 
work ??

Problem 2 : 
When I Upload "index.php" to a hosting server then I get the PHP Error Message 
"PERMISSION DENIED" 
"CANT OPEN FILE with "w" Mode"
"Invalid File Handle"

etc.
So I thought it is a permission Error, 

I will ( as a last attempt ) change the permission on the hosting server by consulting 
my hosting company but ..........

Is there any other way to implement  " HIT COUNTER " ?? and displaying Hit Counter in 
Flash Intro ??


Thanks a Lot for the help

raheel



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to