php-general Digest 23 Sep 2013 18:36:21 - Issue 8374
Topics (messages 322149 through 322159):
Re: filesize() fails on file and works on it's copy (same permissions, same
directory)
322149 by: Negin Nickparsa
322150 by: Carsten Jensen
322158 by: Tamara Temple
Re:
regardless of you, saying they have same permissions I think they do not
have the same permission
try to use --reference for chmod to see if there is any differences
try to copy the file keeping the whole permissions from original using sudo
cp -rp and check.
if this copy has the warning then
if you have console access and the cli version of php works,
what does
echo filesize('/path/to/file');
tell (try running as root, then later as uid 51/webuser)
this will eliminate permission doubts
also you should use ?php as start tag instead of only ?
cheers
Carsten
On 09/23/2013 10:06
Tamara Temple am Montag, 23. September 2013 - 06:49:
GoDaddy's default plesk-generated configuration for FastCGI-served PHP
files only looked to see if the file contained .php somewhere on it's
path - i.e. it would happily execute 'malicilous.php.txt' as php code,
even something ridiculous like
On 23 Sep 2013 at 11:37, Domain nikha.org m...@nikha.org wrote:
The problem is the weak PHP upload mechanism!
I'd have said the problem is weak metadata provision - overloading the filename
for other purposes.
--
Cheers -- Tim
--
PHP General Mailing List (http://www.php.net/)
To
On 23 Sep 2013, at 11:37, Domain nikha.org m...@nikha.org wrote:
Tamara Temple am Montag, 23. September 2013 - 06:49:
GoDaddy's default plesk-generated configuration for FastCGI-served PHP
files only looked to see if the file contained .php somewhere on it's
path - i.e. it would happily
54, Only when the surface of the desk is problematic.
On 09/20/2013 12:58 PM, Larry Martell wrote:
On Fri, Sep 20, 2013 at 10:51 AM, Tedd Sperling t...@sperling.com wrote:
Hi gang:
Do you use a Mousepad?
My reason for asking is that I've used a Mousepad ever since mice first came
out (back
Hello,
from two days I have strange problem with this param
mbstring.internal_encoding on nginx and php-fpm.
I use php version 5.4.20 and when I setting mbstring.internal_encoding I
have a problem with mcrypt.
NOTICE: PHP message: PHP Warning: mcrypt_generic_init(): Iv size
incorrect;
Hristo,
Try changing the php.ini config:
mbstring.func_overload 0
See if that helps your issue, more on what it does:
http://php.net/manual/en/mbstring.overload.php
Aziz
On Mon, Sep 23, 2013 at 8:23 AM, Condor con...@stz-bg.com wrote:
Hello,
from two days I have strange problem with
On 2013-09-23 15:42, Aziz Saleh wrote:
Hristo,
Try changing the php.ini config:
mbstring.func_overload 0
See if that helps your issue, more on what it does:
http://php.net/manual/en/mbstring.overload.php [3]
Aziz
On Mon, Sep 23, 2013 at 8:23 AM, Condor con...@stz-bg.com wrote:
Hello,
On Aug 13, 2013, at 3:00 AM, Michał Kochanowicz mic...@michal.waw.pl wrote:
Hello
I've got a file, which can't be checked with filesize(). I copy it (with
permissions) and then I can filesize() the copy. This is same directory,
permissions are same. I don't understand what's the
I have read your mail twice and still I could not get what you want
exactly. can't get the structure of the email either although you
elaborate it in details.
you have said something about human rights that I couldn't understand why?
but if you want to get the type of files fetch the structure
Stuart Dallas am Montag, 23. September 2013 - 12:58:
And, honestly, who would have a PHP file per language? I think it's
perfectly reasonable to not allow that, because duplicating PHP code
across many files is an incredible stupid way to support multiple
languages.
I agree!! Didn't even know,
Tim Streater am Montag, 23. September 2013 - 12:56:
On 23 Sep 2013 at 11:37, Domain nikha.org m...@nikha.org wrote:
The problem is the weak PHP upload mechanism!
I'd have said the problem is weak metadata provision - overloading the
filename for other purposes.
--
Cheers -- Tim
I have read your mail twice and still I could not get what you want
exactly. can't get the structure of the email either although you
elaborate it in details.
you have said something about human rights that I couldn't understand why?
but if you want to get the type of files fetch the structure
W dniu 2013-09-23 10:06, Negin Nickparsa pisze:
regardless of you, saying they have same permissions I think they do not have
the same permission
The reason was 64-bit inode number. PHP can't stat() files with 64-bit nodes,
at lease on 32-bit system.
Regards
Michał
--
PHP General Mailing
W dniu 2013-09-23 17:24, Tamara Temple pisze:
That is one whopping-big inode number — I am really out on a limb here, but is
this a 32-bit vs 64-bit issue?
You're right - 64-bit inode number was a cause. I had to add inode32 mount
option (XFS).
Regards
Michał
--
PHP General Mailing List
On Mon, 2013-09-23 at 20:36 +0200, Domain nikha.org wrote:
Stuart Dallas am Montag, 23. September 2013 - 12:58:
And, honestly, who would have a PHP file per language? I think it's
perfectly reasonable to not allow that, because duplicating PHP code
across many files is an incredible stupid
What Niklaus wishes for is a way to detect if an email message contains an
attachment by just reading the headers (correct me if I am wrong).
This isn't really a PHP issue. In any language you can't really figure out
if an email has an attachment by just looking at the headers, you need to
check
On Sep 23, 2013, at 1:36 PM, Domain nikha.org m...@nikha.org wrote:
Better solutions?
One I have used, and continue to use in Apache environments, is place uploads
only in a place where they cannot be executed by turning off such options and
handlers in that directory. This is *in addition*
Negin Nickparsa am Montag, 23. September 2013 - 20:59:
I have read your mail twice and still I could not get what you want
exactly.
Sorry for my bad english!
What I want is, that the users of my webmail client can see at a glance,
if mails in their mailboxes have attachments or not. (Thats a
Aziz Saleh am Montag, 23. September 2013 - 22:06:
What Niklaus wishes for is a way to detect if an email message
contains an
attachment by just reading the headers (correct me if I am wrong).
Yes, that's what I'm seeking :-)
This isn't really a PHP issue. In any language you can't really
22 matches
Mail list logo