By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,962 Members | 1,776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,962 IT Pros & Developers. It's quick & easy.

Permission denied

P: n/a
Hello to all

I wrote many years ago a small shop application as hobby for a customer. Worked well until a few days.
I'm not a php guru and don't understand why I get now this permission problem.

Warning: mail() [function.mail]: Permission denied: headers injection (empty line) in /home/www/edfedca4df03c5ff2685003537a08dd5/web/minishop/mail.php on line
145

mail($this->to, $this->subject, "", $mime); <- LIGNE 145

many thanks in advance for any help
Otto
May 29 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Are you hosting your application on your own server?
If not - your host may have changed some settings that may conflict
with your programming.

On May 29, 10:01 am, otto <oha...@freesurf.chwrote:
Hello to all

I wrote many years ago a small shop application as hobby for a customer. Worked well until a few days.
I'm not a php guru and don't understand why I get now this permission problem.

Warning: mail() [function.mail]: Permission denied: headers injection (empty line) in /home/www/edfedca4df03c5ff2685003537a08dd5/web/minishop/mail.php on line
145

mail($this->to, $this->subject, "", $mime); <- LIGNE 145

many thanks in advance for any help
Otto

May 29 '07 #2

P: n/a
otto wrote:
Hello to all

I wrote many years ago a small shop application as hobby for a customer. Worked well until a few days.
I'm not a php guru and don't understand why I get now this permission problem.

Warning: mail() [function.mail]: Permission denied: headers injection (empty line) in /home/www/edfedca4df03c5ff2685003537a08dd5/web/minishop/mail.php on line
145

mail($this->to, $this->subject, "", $mime); <- LIGNE 145

many thanks in advance for any help
Otto
Looks like your host installed some stupid "security patch" for php. Try
not to send empty email body, i.e replace "" with something else.

--
gosha bine

extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
May 29 '07 #3

P: n/a
otto wrote:
Hello to all

I wrote many years ago a small shop application as hobby for a customer. Worked well until a few days.
I'm not a php guru and don't understand why I get now this permission problem.

Warning: mail() [function.mail]: Permission denied: headers injection (empty line) in /home/www/edfedca4df03c5ff2685003537a08dd5/web/minishop/mail.php on line
145

mail($this->to, $this->subject, "", $mime); <- LIGNE 145

many thanks in advance for any help
Otto
What's the contents of $mime?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
May 29 '07 #4

P: n/a
On Tue, 29 May 2007 15:07:22 -0400, Jerry Stuckle <js*******@attglobal.netwrote:
>What's the contents of $mime?
A PDF form converted to MIME.
For that I used the php mime class.

>otto wrote:
>Hello to all

I wrote many years ago a small shop application as hobby for a customer. Worked well until a few days.
I'm not a php guru and don't understand why I get now this permission problem.

Warning: mail() [function.mail]: Permission denied: headers injection (empty line) in /home/www/edfedca4df03c5ff2685003537a08dd5/web/minishop/mail.php on line
145

mail($this->to, $this->subject, "", $mime); <- LIGNE 145

many thanks in advance for any help
Otto

What's the contents of $mime?
Jun 1 '07 #5

P: n/a
On Tue, 29 May 2007 20:40:01 +0200, gosha bine <st********@gmail.comwrote:

I did it but didn't change anything. I get the same error message!

Warning: mail() [function.mail]: Permission denied: headers injection (empty line) in /home/www/edfedca4df03c5ff2685003537a08dd5/web/minishop/mail.php on line
145

Thanks for your help.

>otto wrote:
>Hello to all

I wrote many years ago a small shop application as hobby for a customer. Worked well until a few days.
I'm not a php guru and don't understand why I get now this permission problem.

Warning: mail() [function.mail]: Permission denied: headers injection (empty line) in /home/www/edfedca4df03c5ff2685003537a08dd5/web/minishop/mail.php on line
145

mail($this->to, $this->subject, "", $mime); <- LIGNE 145

many thanks in advance for any help
Otto

Looks like your host installed some stupid "security patch" for php. Try
not to send empty email body, i.e replace "" with something else.
Jun 1 '07 #6

P: n/a
On 29 May 2007 10:08:07 -0700, SterLo <st***************@gmail.comwrote:
>Are you hosting your application on your own server?
no
>If not - your host may have changed some settings that may conflict
with your programming.
You are right. I sent some mail to the support but they didn't send any answer....

>On May 29, 10:01 am, otto <oha...@freesurf.chwrote:
>Hello to all

I wrote many years ago a small shop application as hobby for a customer. Worked well until a few days.
I'm not a php guru and don't understand why I get now this permission problem.

Warning: mail() [function.mail]: Permission denied: headers injection (empty line) in /home/www/edfedca4df03c5ff2685003537a08dd5/web/minishop/mail.php on line
145

mail($this->to, $this->subject, "", $mime); <- LIGNE 145

many thanks in advance for any help
Otto
Jun 1 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.