Permission denied

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • otto

    #1

    Permission denied

    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/edfedca4df03c5f f2685003537a08d d5/web/minishop/mail.php on line
    145

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

    many thanks in advance for any help
    Otto
  • SterLo

    #2
    Re: Permission denied

    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...@freesur f.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/edfedca4df03c5f f2685003537a08d d5/web/minishop/mail.php on line
    145
    >
    mail($this->to, $this->subject, "", $mime); <- LIGNE 145
    >
    many thanks in advance for any help
    Otto

    Comment

    • gosha bine

      #3
      Re: Permission denied

      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/edfedca4df03c5f f2685003537a08d d5/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

      Comment

      • Jerry Stuckle

        #4
        Re: Permission denied

        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/edfedca4df03c5f f2685003537a08d d5/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.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        • otto

          #5
          Re: Permission denied

          On Tue, 29 May 2007 15:07:22 -0400, Jerry Stuckle <jstucklex@attg lobal.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/edfedca4df03c5f f2685003537a08d d5/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?

          Comment

          • otto

            #6
            Re: Permission denied

            On Tue, 29 May 2007 20:40:01 +0200, gosha bine <stereofrog@gma il.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/edfedca4df03c5f f2685003537a08d d5/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/edfedca4df03c5f f2685003537a08d d5/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.

            Comment

            • otto

              #7
              Re: Permission denied

              On 29 May 2007 10:08:07 -0700, SterLo <sterling.hamil ton@gmail.comwr ote:
              >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...@freesur f.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/edfedca4df03c5f f2685003537a08d d5/web/minishop/mail.php on line
              >145
              >>
              >mail($this->to, $this->subject, "", $mime); <- LIGNE 145
              >>
              >many thanks in advance for any help
              >Otto
              >

              Comment

              Working...