php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23185 DomDocument->dump_file
Submitted: 2003-04-13 08:43 UTC Modified: 2003-08-13 04:33 UTC
From: yannl at istop dot com Assigned:
Status: No Feedback Package: DOM XML related
PHP Version: 4.3.2 OS: Linux Suse 8.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: yannl at istop dot com
New email:
PHP Version: OS:

 

 [2003-04-13 08:43 UTC] yannl at istop dot com
Hi, i noticed that domdocument->dump_file returns nothing when you dont
have write access with php 4.3.1

According to me,it should return  an error like fwrite does.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-18 21:26 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Works fine in latest CVS.
 [2003-04-23 23:23 UTC] yannl at istop dot com
It now returns 1 when it fails to write.
 [2003-04-23 23:35 UTC] yannl at istop dot com
Acutally sorry my bad. It still does not return anything when  falling to create / write to the file. 

This was tested on php4-STABLE-200304190330
 [2003-08-13 04:33 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 09:01:29 2024 UTC