473,385 Members | 1,630 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

include with image

i'm a newby. I'm trying to built an php page with 3 include of html
page with a structure like this
<did id=header><? include ("header.thml);?>...
Things going well but the html page images are not display in the php
page.
Someone can tell me why please?
thanx
the src=/images/logo.gif

Oct 1 '07 #1
5 1453
On 1 Oct, 10:25, crepmaster <ebonguean...@gmail.comwrote:
i'm a newby. I'm trying to built an php page with 3 include of html
page with a structure like this
<did id=header><? include ("header.thml);?>...
Things going well but the html page images are not display in the php
page.
Someone can tell me why please?
thanx
the src=/images/logo.gif
Use a static src. http://www.mysite.com/images/logo.gif

To use a relative src, I would have to know more about your location
of things, and I don't ;).

And you are including header.thml, not html.
Oct 1 '07 #2
On Mon, 01 Oct 2007 11:25:36 +0200, crepmaster <eb**********@gmail.com
wrote:
i'm a newby. I'm trying to built an php page with 3 include of html
page with a structure like this
<did id=header>
...div..
<?
<?php
include ("header.thml);?>...
..html ?
Things going well but the html page images are not display in the php
page.
Someone can tell me why please?
thanx
the src=/images/logo.gif
<img src="/images/logo.gif">

If that doesn't work, look at the _source_ of the page.
--
Rik Wasmus
Oct 1 '07 #3
On 1 Ott, 12:15, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
On Mon, 01 Oct 2007 11:25:36 +0200, crepmaster <ebonguean...@gmail.com>
wrote:
i'm a newby. I'm trying to built an php page with 3 include of html
page with a structure like this
<did id=header>

..div..
<?

<?php
include ("header.thml);?>...

.html ?
Things going well but the html page images are not display in the php
page.
Someone can tell me why please?
thanx
the src=/images/logo.gif

<img src="/images/logo.gif">

If that doesn't work, look at the _source_ of the page.
--
Rik Wasmus
ok il with the static src. it's ok. But is it the only way to do it?
isn't it possible to use an relative path?
Thanx again.

Oct 1 '07 #4
On 1 Oct, 12:43, crepmaster <ebonguean...@gmail.comwrote:
On 1 Ott, 12:15, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
On Mon, 01 Oct 2007 11:25:36 +0200, crepmaster <ebonguean...@gmail.com>
wrote:
i'm a newby. I'm trying to built an php page with 3 include of html
page with a structure like this
<did id=header>
..div..
<?
<?php
include ("header.thml);?>...
.html ?
Things going well but the html page images are not display in the php
page.
Someone can tell me why please?
thanx
the src=/images/logo.gif
<img src="/images/logo.gif">
If that doesn't work, look at the _source_ of the page.
--
Rik Wasmus

ok il with the static src. it's ok. But is it the only way to do it?
isn't it possible to use an relative path?
Thanx again.
Well it is, but if that is not working then that's because you're
relative path is not correct. And because I don't know the layout of
your folders I can't tell you how to put the correct one ;).

Oct 1 '07 #5
On 1 Ott, 14:02, Bruno Barros <rage...@gmail.comwrote:
On 1 Oct, 12:43, crepmaster <ebonguean...@gmail.comwrote:


On 1 Ott, 12:15, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
On Mon, 01 Oct 2007 11:25:36 +0200, crepmaster <ebonguean...@gmail.com>
wrote:
i'm a newby. I'm trying to built an php page with 3 include of html
page with a structure like this
<did id=header>
..div..
<?
<?php
include ("header.thml);?>...
.html ?
Things going well but the html page images are not display in the php
page.
Someone can tell me why please?
thanx
the src=/images/logo.gif
<img src="/images/logo.gif">
If that doesn't work, look at the _source_ of the page.
--
Rik Wasmus
ok il with the static src. it's ok. But is it the only way to do it?
isn't it possible to use an relative path?
Thanx again.

Well it is, but if that is not working then that's because you're
relative path is not correct. And because I don't know the layout of
your folders I can't tell you how to put the correct one ;).- Nascondi testo tra virgolette -

- Mostra testo tra virgolette -
the strutture of my path is c:\easphp\www\sites\phpsite\images\logo.gif

Oct 1 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Recoura Tim | last post by:
Hello, I'm writing a shoppingcart program in PHP. The website of our suplliers webpage i written in ASP. He has very detailed info about his products, that I want to include in my PHP page, I...
1
by: RWC | last post by:
Hey Folks! I'm having trouble with an asp page. First off, I'm new to the html / asp world, but not to software development. I'd like to minimize or "normalize" the site, so I'm trying to use...
6
by: tshad | last post by:
In my User control, I tried to do this: *************************************************************************** <Script runat="server"> Public ClientName As String = "<!-- #include file =...
23
by: smarsh | last post by:
Hi, Someone put together a small perl script for me that uses day and time to determine which of two images to display (open.gif or closed.gif). I need to modify the script to also include a...
3
by: seegoon | last post by:
Hi guys. I'd like to use an image as my border on just the right side of a div, to create an arrow shape on a 'continue' link. I've created the image to use and tried to code it myself, but failed...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.