You are here: Re: How to call a PHP script by using something like a shortcut « All PHP « IT news, forums, messages
Re: How to call a PHP script by using something like a shortcut

Posted by Stefan Mueller on 12/11/05 02:14

> I really think you should explain the options here.
>
> You can use include(); to include another file.
> You can use include_once(); to include another file, but only once.
> You can use require(); to include a file and require it's inclusion, if
> the
> file cannot be included, it will exit the script.
> You can use require_once(); to include a file like above, but only once.
> Note: parenthasis (the brackets) are not required for any of these
> functions.

That's great. Therefore, with
<?php
require "D:\WWW\scripts\anmeldungen_Show.php";
?>
I can do what a shortcut is supposed to do.
This code includes my whole HTML file inclusive the PHP code and does
exactly what I'd like to have.

Many thnaks for your help and explanation.
Stefan

 

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

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