php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31383 another atribute to imagejpeg()
Submitted: 2005-01-03 01:59 UTC Modified: 2005-01-03 08:11 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: fuad dot sabanovic at gmail dot com Assigned:
Status: Wont fix Package: GD related
PHP Version: 4.3.9 OS: linux
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: fuad dot sabanovic at gmail dot com
New email:
PHP Version: OS:

 

 [2005-01-03 01:59 UTC] fuad dot sabanovic at gmail dot com
Description:
------------
I run at a following problem:
If my script creates some thumbnails, file mode is set to 644 and i can't delete those files on webserver.
I'd like to have posibility to set file mode while creating it.
bool imagejpeg ( resource image [, string filename [, int quality[, int mode]]])


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-03 08:11 UTC] derick@php.net
That's not the functionality that imagejpeg should provide. You should use chmod() in your script instead.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 13:01:28 2024 UTC