Posted by Stefan Mueller on 12/08/05 16:18
I've several virtual directories (folders). In each virtual directory I've
several PHP scripts. Some of them are the same. Therefore I have the same
code several times on my server.
e.g.
http://www.myserver.com/task1/collect_data.php
http://www.myserver.com/task2/collect_data.php
My goal is to have each script only once and to use something like a
shortcut instead.
e.g.
http://www.myserver.com/task1/shortcut_collect_data.php
http://www.myserver.com/task2/shortcut_collect_data.php
However, a windows shortcut is not working.
Is there a way to call another PHP script from a PHP script?
Stefan
PS: I tried 'Include' but with 'Include' I can't include a whole file with
(<html><head>..</head><body><?php .. ?></body></html>)
Navigation:
[Reply to this message]
|