PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Jul 15, 2020 1:28 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: fopen 'php://memory'
PostPosted: Sat Aug 15, 2009 9:56 am 
Offline
Forum Newbie

Joined: Sat Aug 15, 2009 9:45 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group