fopen 'php://memory'
Posted: Sat Aug 15, 2009 9:56 am
Hello,
First thanks for this great work..
I just wanted to say that I had some issues with the host server i used.
In the code of ArrayCharacterStream.php of swiftmail on ligne 212 :
$fp = fopen('php://memory', 'w+b');
The opening of php://memory caused me security problems. The host server (which is free.fr) said me "Too curious". It seems that php://memory is just like a temporary file so I replaced it by a 'tmp.txt' and it worked (for now).
Is this a good solution ? Maybe you could make the name of this file (or whatever it is) modifiable ?
I think this is more a problem comming from free.fr but just in case..
My Swift vzersion : 4.0.4
PHP : 5.1
transport : Swift_MailTransport
First thanks for this great work..
I just wanted to say that I had some issues with the host server i used.
In the code of ArrayCharacterStream.php of swiftmail on ligne 212 :
$fp = fopen('php://memory', 'w+b');
The opening of php://memory caused me security problems. The host server (which is free.fr) said me "Too curious". It seems that php://memory is just like a temporary file so I replaced it by a 'tmp.txt' and it worked (for now).
Is this a good solution ? Maybe you could make the name of this file (or whatever it is) modifiable ?
I think this is more a problem comming from free.fr but just in case..
My Swift vzersion : 4.0.4
PHP : 5.1
transport : Swift_MailTransport