|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-19 14:57 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 20:00:01 2025 UTC |
Description: ------------ Good morning, I write the small script, but after use it - I have a crash php. I USE AN UNDEFINED VAR ($path) IN PATH TO ARCHIVE FILE (archive.bz2) WITH "/" IN FIRST CHAR IN THE PATH. Reproduce code: --------------- <? $res=bzOpen("/$path/archive.bz2","w"); bzWrite($res,"uncompressed string"); bzClose($res); ?> Expected result: ---------------- Bzipped2 file /$path/archive.bz2 with compressed string Actual result: -------------- I have a crash php