OZONE Asylum
Forums
Stupid Basic HTML
Disabling Cache
This page's ID:
30697
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I used the following code, but in OSCommerce I receive the error: [quote]Warning: Cannot modify header information - headers already sent by (output started at /home/getyourn/public_html/catalog/checkout_success5468.php:65) in /home/getyourn/public_html/catalog/checkout_success5468.php on line 76 Warning: Cannot modify header information - headers already sent by (output started at /home/getyourn/public_html/catalog/checkout_success5468.php:65) in /home/getyourn/public_html/catalog/checkout_success5468.php on line 77 [/quote] Code: [quote] <?php header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past ?> [/quote] It seems that i Oscommerce the headers are set by another file; a file that I do not know of. I also thought if I used PHP to call the image (because I thought I rememberd that images called by PHP are not cached) that my problem would be solved. I used the code: [code]<?php print "<img src='yourfile.jpg?".time()."'>"; ?>[/code] To add some information to the URL, but once again my image was cached. Any ideas? [small](Edited by [url=http://www.ozoneasylum.com/user/6743]bjwaters[/url] on 12-10-2008 19:45)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »