Search found 7 matches

by naveed82
Thu Feb 28, 2008 11:12 pm
Forum: PHP - Code
Topic: How to clear html validate errors ?
Replies: 2
Views: 122

Re: How to clear html validate errors ?

thanks buddy ...

i have fixed these problems
by naveed82
Thu Feb 28, 2008 5:39 am
Forum: PHP - Code
Topic: How to clear html validate errors ?
Replies: 2
Views: 122

How to clear html validate errors ?

Mozilla firefox is show a lot of errors of HTML validation. I diagnose these errors and shocked because these errors are pointless. Example of errors: <!-- HTML Code --> <form id="frmShowUpdate" name="frmShowUpdate" method="post" action="url ... "> <!-- errors...
by naveed82
Thu Feb 28, 2008 3:06 am
Forum: PHP - Code
Topic: How can I clear cache of browser on runtime
Replies: 7
Views: 385

Re: How can I clear cache of browser on runtime

thanks for you coporation ..


i have solved this problem using the statement given below:

<img src="someimage.png?x=<?=uniqid((double)microtime()*1000000,1)?>">


thanks again
by naveed82
Thu Feb 28, 2008 2:55 am
Forum: PHP - Code
Topic: How can I clear cache of browser on runtime
Replies: 7
Views: 385

Re: How can I clear cache of browser on runtime

:lol: browser is mozilla but i think there is problem with image size because when i upload image with size of less than 100 kb then it shows without refreshing page but when i upload image with size of greater than 100 then i have to refresh page manually for display that new uploaded image ...
by naveed82
Thu Feb 28, 2008 2:13 am
Forum: PHP - Code
Topic: How can I clear cache of browser on runtime
Replies: 7
Views: 385

Re: How can I clear cache of browser on runtime

i have checked these snappits of code for this problem ... // 1st snappit header("cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past //2nd snappit header("Expires: Mon, 26 Jul 1997 05:00:00 GMT")...
by naveed82
Thu Feb 28, 2008 1:31 am
Forum: PHP - Code
Topic: How can I clear cache of browser on runtime
Replies: 7
Views: 385

Re: How can I clear cache of browser on runtime

Yes, we are using PHP script from getting path of image (which is on locally on system) from DB and then display on php page in application ...
by naveed82
Thu Feb 28, 2008 12:10 am
Forum: PHP - Code
Topic: How can I clear cache of browser on runtime
Replies: 7
Views: 385

How can I clear cache of browser on runtime

hello all, I m uploading an image in php page and path of image is saving in db. but after 2nd or 3rd itteration there previous image is displayed. When i refresh that page then new uploaded image display. please tell me way of clearing cache of browser on runtime of php application or any other way...