Hi,
I wrote a program to authenticate users. I would like to place a few lines
at the top a webpage that would call this program. Some web pages will be
on the same server as the authentication program, others will not.
Can I use include/require of do I need to use fopen? The program
In order to use your PHP script (authentication features etc) you need
to have the all files within the same server.
As of including files, virtually - yes, yo can use include for remote
files, but you will not be able to execute the remote PHP code. You will
only include the output. ie:
include (http://www.somesite.com/somepage.html;);
Worked perfect on our unix box and our win98 machines but when we installed PHP on our
Windows server it no longer worked and tottaly ignored the include unless we used the
path
instead like.
include (somepage.html);
[EMAIL PROTECTED]
Hi,
does anyone know, how to get the following line working
an windows?
? include (http://www.myserver.de/page2.php;); ?
I know, this way to access a remote file works on UNIX.
I simply can't get it to work on window. Is there a patch/trick
out, wich enables this?
I tried it on windows
You could try fopen()ing the contents that way. maybe exec() them?
- Original Message -
From: Dieter Stolpmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 08, 2001 3:18 PM
Subject: [PHP] ? include (http://www.myserver.de/page2.php;); ?
Hi,
does anyone know, how
5 matches
Mail list logo