#23115 [NEW]: include(url) fails when url is changed by server

From: Date: Tue, 08 Apr 2003 16:18:51 +0000
Subject: #23115 [NEW]: include(url) fails when url is changed by server
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37359@lists.php.net to get a copy of this message
From:             tomaszo at fakt dot pl
Operating system: Linux 6.2
PHP version:      4.3.1
PHP Bug Type:     URL related
Bug description:  include(url) fails when url is changed by server

http://itis.pl/ is changed by serwer -> http://www.itis.pl/

in PHP 4.2.3
  <? include('http://name.pl/something.php'); ?>
  is OK
in PHP 4.3.1 
  working only 
  <? include('http://www.name.pl/something.php'); ?>
  version 
  <? include('http://name.pl/something.php'); ?>
  fails 

Error report:

Warning: main() [function.main]: HTTP request failed! in
/home/sites/site74/web/dla_partnera/index.php on line 40

Warning: main(http://itis.pl/logowanie/logowanie_flash.php)
[function.main]: failed to create stream : Invalid argument in
/home/sites/site74/web/dla_partnera/index.php on line 40

Warning: main() [function.main]: Failed opening
'http://itis.pl/logowanie/logowanie_flash.php'
for nclusion
(include_path='.:/usr/local/lib/php') in
/home/sites/site74/web/dla_partnera/index.php on line 40

Tomasz Wies³aw Oleksiewicz (TWO(2))


-- 
Edit bug report at http://bugs.php.net/?id=23115&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23115&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23115&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23115&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23115&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23115&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23115&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23115&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23115&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23115&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23115&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23115&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23115&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23115&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23115&r=gnused



Thread (2 messages)

« previous php.bugs (#37359) next »