I need to include in my PHP code a script located at a remote web server. The script is also PHP and contains some functions and class definitions. Because the remote server also use PHP, I've changed my include file extension ("php") to something other (e.g. "inc"). Because I'm afraid that the server will execute the script (which produces nothing) instead of sending its content. Am I doing right? Also, when the remote server sends this file back to my local server, what MIME type is returned in the response header? Anybody know it? Do I need to specify some type?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php