include with image

include with image

am 01.10.2007 11:25:36 von crepmaster

i'm a newby. I'm trying to built an php page with 3 include of html
page with a structure like this
...
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

Re: include with image

am 01.10.2007 11:27:46 von ragearc

On 1 Oct, 10:25, crepmaster wrote:
> i'm a newby. I'm trying to built an php page with 3 include of html
> page with a structure like this
> ...
> 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.

Re: include with image

am 01.10.2007 12:15:58 von luiheidsgoeroe

On Mon, 01 Oct 2007 11:25:36 +0200, crepmaster =
=

wrote:

> i'm a newby. I'm trying to built an php page with 3 include of html
> page with a structure like this
>

...div..

>

> 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=3D/images/logo.gif



If that doesn't work, look at the _source_ of the page.
-- =

Rik Wasmus

Re: include with image

am 01.10.2007 13:43:31 von crepmaster

On 1 Ott, 12:15, "Rik Wasmus" wrote:
> On Mon, 01 Oct 2007 11:25:36 +0200, crepmaster
> wrote:
>
> > i'm a newby. I'm trying to built an php page with 3 include of html
> > page with a structure like this
> >
>
> ..div..
>
> > >
> >
> > 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
>
>
>
> 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.

Re: include with image

am 01.10.2007 14:02:10 von ragearc

On 1 Oct, 12:43, crepmaster wrote:
> On 1 Ott, 12:15, "Rik Wasmus" wrote:
>
>
>
> > On Mon, 01 Oct 2007 11:25:36 +0200, crepmaster
> > wrote:
>
> > > i'm a newby. I'm trying to built an php page with 3 include of html
> > > page with a structure like this
> > >
>
> > ..div..
>
> > > >
> > >
> > > 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
>
> >
>
> > 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 ;).

Re: include with image

am 01.10.2007 14:21:07 von crepmaster

On 1 Ott, 14:02, Bruno Barros wrote:
> On 1 Oct, 12:43, crepmaster wrote:
>
>
>
>
>
> > On 1 Ott, 12:15, "Rik Wasmus" wrote:
>
> > > On Mon, 01 Oct 2007 11:25:36 +0200, crepmaster
> > > wrote:
>
> > > > i'm a newby. I'm trying to built an php page with 3 include of html
> > > > page with a structure like this
> > > >
>
> > > ..div..
>
> > > > >
> > > >
> > > > 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
>
> > >
>
> > > 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