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
[quote] [b]bjwaters said:[/b] 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. [/quote] That notion is completly bonkers. The browser sees nothing different than would have been there without PHP. php->Header() must be called before any output has been done. I.e. all include files before must have been complete blocks of <?php ... ?> without newlines before or after (or any printing in between). But I don't know if you're on the right track yet: You have to write a script that delivers the image file. Sure, it needs to load the OsCommerce session data and database connection to retrieve the pin, but afterwards it has to output the binary image data. Actually, I guess you already have such a script to generate the PINs, then all you need to do is place the header() calls at its start. But looking at it from another way: Why are your PINs in images anyhow? Wouldn't just printing them in the web page be enough for the user to write them down? So long, ->Tyberius Prime
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »