I'd add a scrolling tag to your iFrame, as you won't ever need it to scroll.
<iframe width=550 height=25 scrolling=false marginwidth=0 marginheight=0 frameborder=0 scrolling ="no" src="cache.php"></iframe>
hth
Thanks,
Jon
jon bennett | [EMAIL PROTECTED] new media designer / developer _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
J b e n . n e t
91 Gloucester Rd, Trowbridge, Wilts, BA14 0AD t: +44 (0) 1225 341039 w: http://www.jben.net/
On 1 Dec 2003, at 14:04, Al Costanzo wrote:
Hi Jay,
This will not work because the page in question ends in .HTML but I did discover a way to do what I need and an answer to many other posts.
Here is the answer:
To make a PHP command to execute on a .html page create another page ending
in .php with the code there. Where you need to display this in your .html
page use the <IFRAME> html tag. It works just fine.
A person gave me this idea by emailing me and saying why not use a frameset
to do this. This is kinda what IFRAME does but it is more like a little
window. Same concept but it does not interfere with how a search engine
indexes a website.
Anyone interested in seeing the resulting code, it is located at:
http://www.dynamicsubmission.com and a one line php program returns the date
to the page.
I would like to thank everyone for their ideas and this is a very useful
resource to have.
I may know a great deal about seach engines, but when it comes to php...
well ... thanks for the help!
Al Costanzo
----- Original Message -----
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Al Costanzo" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 8:49 AM
Subject: RE: [PHP] Question on sending PhP variable results to an HTML page
to be displayed.
[snip]
If you use the date function in PhP you can get the date and it will not
change in the cache since the actual code is not on the page that
generated
it.
My question is how do I get the answer that I have in a PHP variable back to an HTML page and give it lets say to JavaScript to display. [/snip]
Why do you need to give it to JavaScript to display? Consider this in your HTML ....
<?php echo date("m - d - Y"); ?><br>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php