Okay here's the situation. Working on a site that is essentially a wizard for creating online web pages.
Users can choose from various buttons, and actually input into a text field what text appears in the button.
On the actual pages, the buttons are called via php files, so for the "About Me" button the image tag looks something like:
<IMG SRC="buttonMaker.php3?text=About+Me&buttonID=3" height="12" width="12">
the buttonMaker.php3 file knows to use the png files associated with ID 3 and knows to put in the text "About Me".
THE PROBLEM:
I am saving these dynamic pages to disk to show people who do not have internet access. I have no trouble getting the dynamic pages to save correctly, but am having a heck of a time with the buttons. Right now I have to save the images manually, but I'd really like it if there was a way for php to grab the php image and save it as a .png image.