[PHP-WIN] Re: Failure remote includes

2003-08-14 Thread m.r.
Update for the record: remote includes work with the latest stable snapshot (my version: php4-win32-STABLE-200308051230.zip). You might encounter the famous "cannot load php/sapi/php4apache2.dll" after this one. Experiment with location of the php4ts.dll, I had to move it to the PHP/sapi dir to ge

[PHP-WIN] RE: Failure remote includes

2003-08-01 Thread m.r.
Thanks yes, fopen works on all remote files, no blocking. Guess then it's Apache version 2 making the trouble. Original Message--- Sek-Mun Wong wrote 2003-08-01 15:11:18 in reply to RE: Failure remote includes -- PHP Windows Mailing List (http://www.php.ne

[PHP-WIN] RE: Failure remote includes

2003-08-01 Thread m.r.
As a follow up on my earlier reply, I found out how to read the socket and GET / HTTP, and that works on the remote files. However, a simple include doesn't. _Original message___ Sek-Mun Wong wrote August 1 2003 8:19 in reply to Re: Failure remote includes <..silly

[PHP-WIN] RE: Failure remote includes

2003-08-01 Thread m.r.
No, it's not silly, it's a good question, but indeed allow_url_fopen=On, it's On by default in PHP 4,3 installations. However, how to fopen eand read a socket via HTTP, I guess my knowlegde fails as how to accomplish this. I don't *need* apache 2, I guess, and might install 1.3.28, but for now d

RE: [PHP-WIN] Failure remote includes

2003-07-31 Thread m.r.
skate wrote 31 7 2003 14:11 Re: [PHP-WIN] Failure remote includes: <...you tried ... http://somedomain.com/index.html'); ?> would it not be more beneficial to open the files (fopen, fread)? this way you can parse the page if needed, and add your own headers / footers without killing any HTML...>

[PHP-WIN] Failure remote includes

2003-07-31 Thread m.r.
PHP 4.3.2, Apache 2.0.47, Windows XP Pro PHP includes of remote files like http://somedomain.com/'); ?> give error Failed opening 'http://somedomain.com/' for inclusion includes of local files like no problem. The problem with inclusion of remote files was supposedly solved with PHP 4.3.0, bu