You are here: Re: Change included code « PHP Programming Language « IT news, forums, messages
Re: Change included code

Posted by Jon Slaughter on 04/19/07 09:04

"Jon Slaughter" <Jon_Slaughter@Hotmail.com> wrote in message
news:JzyVh.11185$YL5.1707@newssvr29.news.prodigy.net...
> Can I modify code that I have included using
>
> <?php
> include("../Index.php");
> ?>
>
> The Index.php file contains links that need to be modified to work.
> Index.php is basically an html file uses a linked css file and when its
> included in the new file its referencing a css file in the wrong spot. I
> need to add "../" to the css file reference in Index.php to make it work.
>
> Thanks,
> Jon
>

Ok, forget it. I guess its my incompetence. Not sure why it didn't work in
the first place but I probably should have coded the original html and css
file better. Had a few things mixed up and I suppose it wasn't the php part
that was wrong but I forgot I had some inline css that had relative links in
it and it wasn't find the the images.


Thanks,
Jon

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация