1 Vote Vote

Include remote file in PHP 5.x

Posted by topdog 451 days ago Questions| include php file All

Hello,

I am need to include some resource (non php) in our php application The url is:http://customer_website.com/ApplicationPage

It is required to use the include function like that:

<? include 'http://customer_website.com/ApplicationPage'; ?>

I've set the allow_url_include = On and allow_url_fopen = On but no way!

I think I still till php engine to enable include for files other than .php, correct? How to??

I am using php 5.3.5 on win machine, WAMP Server

Originally asked by: محمد on Stack Overflow

Discuss Bury


Who Voted for this Question