- adjust ini entry names to those of the globals struct
[m6w6/ext-http] / tests / send_file_005.phpt
index 958325e45a39f4b84a85fb4f9eb65c6510f91596..b5287a37ac609cbd7dbf2ed1f5c6529abd51c286 100644 (file)
@@ -3,11 +3,11 @@ http_send_file() multiple ranges
 --SKIPIF--
 <?php 
 include 'skip.inc';
+checkcgi();
 ?>
---ENV--
-HTTP_RANGE=bytes=0-3, 4-5,9-11
 --FILE--
 <?php
+$_SERVER['HTTP_RANGE'] = 'bytes=0-3, 4-5,9-11';
 http_send_content_type('text/plain');
 http_send_file('data.txt');
 ?>