You are here: Re: variable in include file « HTML « IT news, forums, messages
Re: variable in include file

Posted by PTM on 11/12/07 11:14

Andy Dingley wrote:
> On 12 Nov, 07:52, PTM <ptmu...@utu.fi> wrote:
>
>> is there any way to set this file name 'Do.gif' as an variable and make
>> the browser use it in the lines ?
>
> Not (practically) by includes, but this would be trivial for any
> server-side scripting language. It's time for you to move up to the
> next level of complexity as a developer!
>
> PHP is a popular choice for beginners, as it works well enough, it's
> easy enough to learn, and it's supported for free by many hosts.
>
PTM: Thanks.
The code pieces I pasted in my previous mail were generated by a Perl
script I have generated. I have two version of this 'Album' system. The
smaller 'viewer' containing just one script and one shtml page. The
larger contains abt. 10 scripts and abt. the same quantity of web pages.
The larger system contains more than 1500 lines of code and is handling
about 10000 pictures. Some pages are static and some are generated by
the scripts when needed.
I think I have reached a kind of status there.

Still there is a lot to learn.
Personally I haven't given much notice for PHP. I like Perl more and
have used JavaScript a little. Now I have found, that these are not
enough. I got to take more tools in my hands.

Still I'm looking for ways to generate pages, which can handle data read
from config files.

 

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

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