You are here: Re: Open file without <a href « HTML « IT news, forums, messages
Re: Open file without <a href

Posted by Art on 08/29/07 12:14

salonowiec,
PHP is a pre-processor service that is executed on the web server that
supports your site, not in the browsers. So all of your visitors would
be covered if PHP is enabled on your web server, regardless of the
browser or host.

I use "php includes" for my common masthead/navigation bar, footers,
etc. After the server has processed the php file, these statements are
removed and replaced by the contents of the included files and delivered
to the browser for rendering. You can see this by doing a "view source"
in your browser after the page has loaded.

I normally include comment wrappers in the included files or around the
"include" statements for ease of debugging.

Art

On 8/29/07 6:13 AM, salonowiec wrote:

> And you are right! My problem is to rename the file to .php and to put some
> small php code at the beginning so as the page would be available for a
> group of users only. Thanks for attention and asking for further tip...
>
>
> Uzytkownik "Jukka K. Korpela" <jkorpela@cs.tut.fi> napisal w wiadomosci
> news:NAbBi.214946$Jg4.72082@reader1.news.saunalahti.fi...
>> Scripsit salonowiec:
>>
>>> Can I modify .html page so that it opens a file immediately "onload",
>>> without link like <a href... etc? (similar to page where the only
>>> code is img src...).
>>
>> In a sense you could, using <object>, <iframe>, <embed>, or <frame>. All
>> of these are unreliable and would at least require a link as a fallback to
>> be minimally reliable.
>>
>> But why would you do that? I'm fairly sure that the original problem is
>> much easier to solve than the problems you would create by using any of
>> such "solutions".
>>
>> --
>> Jukka K. Korpela ("Yucca")
>> http://www.cs.tut.fi/~jkorpela/
>

 

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

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