![]() | |
#1
| |||
| |||
|
|
Basically I have a php script that shows an image: ?php echo "<img src='http://www.example.com/image1.jpg' width='60' height='60'>"; ? I also have an iframe that has this: iframe src="http://www.example.com/script1.php"></iframe However the image is not displayed at all (i.e the script is not run, but it runs if I run it offline) I am wondering what needs to be done for the script to run online |
#2
| |||
| |||
|
|
Nospam wrote: Basically I have a php script that shows an image: ?php echo "<img src='http://www.example.com/image1.jpg' width='60' height='60'>"; ? I also have an iframe that has this: iframe src="http://www.example.com/script1.php"></iframe However the image is not displayed at all (i.e the script is not run, but it runs if I run it offline) I am wondering what needs to be done for the script to run online Why the IFRAME at all??? Just ?php include('script1.php'); ? and be done with it! |
#3
| |||
| |||
|
|
"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote in message news:dc5b3$452c454e$40cba77e$21351 (AT) NAXS (DOT) COM... Nospam wrote: Basically I have a php script that shows an image: ?php echo "<img src='http://www.example.com/image1.jpg' width='60' height='60'>"; ? I also have an iframe that has this: iframe src="http://www.example.com/script1.php"></iframe However the image is not displayed at all (i.e the script is not run, but it runs if I run it offline) I am wondering what needs to be done for the script to run online Why the IFRAME at all??? Just ?php include('script1.php'); ? and be done with it! I would like anyone viewing the page to be redirected to the php script within the iframe (or directed still somehow on the same page, was told an iframe could do this) |
#4
| |||
| |||
|
|
I should have mentioned that the iframe should have two images, one the initial image, and the second the redirected image contained in script1.php |
#5
| |||
| |||
|
|
"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote in message news:84322$452e2804$40cba7a4$24654 (AT) NAXS (DOT) COM... post a URL... This is what I am trying to accomplish: |
#6
| |||
| |||
|
|
Whow guys, count to ten, take deep breaths or something! Just for clarification in 4.01 strict the HTML, HEAD and BODY elements are all optional |
-- document root element -->|
However if you use a TITLE, both opening and closing tag are required and is to be within the HEAD. http://www.w3.org/TR/html4/struct/gl...tml#edef-TITLE |
+(%head.misc
-- document head -->
#7
| |||
| |||
|
|
Whow guys, count to ten, take deep breaths or something! Just for clarification in 4.01 strict the HTML, HEAD and BODY elements are all optional I don't think that's quite right. The HEAD _element_ is required, but neither start nor end tags are required: |
|
However if you use a TITLE, both opening and closing tag are required and is to be within the HEAD. http://www.w3.org/TR/html4/struct/gl...tml#edef-TITLE The TITLE element is also required: |
|
jojo is quite right here. |
#8
| |||
| |||
|
|
title is NOT required. learn w3c html 101 and get a fucking life...as well as a fucking clue. |
![]() |
| Thread Tools | |
| Display Modes | |
| |