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 returns true or false upon account validation, so I am not sure how I can use fopen I have tried the following so far and cannot get it to work <? php ini_set("include_path","http://myserver/scripts"); $foo=require("/ndsauth.php"); if(!$foo) { exit; } ?> Any suggestions would be appreciated Thanks Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php