don't se error but I...

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

    don't se error but I...

    hoppe you can point my out where the error is.. getting message about
    error...
    I am just trying to get work this simple mailing list...
    thanx in advance


    else {
    $disp="no";
    $newfile = fopen($fileloca tion,"a+");
    $add = "%".$email;
    fwrite($newfile , $add);
    fclose($newfile );
    echo $subscribemessa ge;
    here>>> mail ($youremail,"Ne w newsletter subscriber.",$e mail."\nDelete?
    $newsletterloca tion?action=del ete&email=".$em ail,"From:
    Newsletter\nRep ly-To: $email\n");
    $submailheaders = "From: $lettername subscription form\n";
    $submailheaders .= "Reply-To: $youremail\n";
    here>>> mail ($email,$letter name."
    subscription",$ subscribemail,$ submailheaders) ;
    }


  • Ian.H [dS]

    #2
    Re: don't se error but I...

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Whilst lounging around on Tue, 29 Jul 2003 23:41:54 +0200, "Carramba"
    <carramba@bootr e.com> amazingly managed to produce the following with
    their Etch-A-Sketch:
    [color=blue]
    > hoppe you can point my out where the error is.. getting message
    > about error...
    > I am just trying to get work this simple mailing list...
    > thanx in advance
    >
    >
    > else {
    > $disp="no";
    > $newfile = fopen($fileloca tion,"a+");
    > $add = "%".$email;
    > fwrite($newfile , $add);
    > fclose($newfile );
    > echo $subscribemessa ge;
    > here>>> mail ($youremail,"Ne w newsletter
    > subscriber.",$e mail."\nDelete?
    > $newsletterloca tion?action=del ete&email=".$em ail,"From:
    > Newsletter\nRep ly-To: $email\n");
    > $submailheaders = "From: $lettername subscription form\n";
    > $submailheaders .= "Reply-To: $youremail\n";
    > here>>> mail ($email,$letter name."
    > subscription",$ subscribemail,$ submailheaders) ;
    > }
    >[/color]


    What message?



    Regards,

    Ian

    -----BEGIN PGP SIGNATURE-----
    Version: PGP 8.0

    iQA/AwUBPybuYmfqtj2 51CDhEQJcYgCgzP FDnvbZ+ottZOt2g M26OT74UPgAoME5
    BWvaheUtz73xClL 9MAdwyUBJ
    =wcpO
    -----END PGP SIGNATURE-----

    --
    Ian.H [Design & Development]
    digiServ Network - Web solutions
    www.digiserv.net | irc.digiserv.ne t | forum.digiserv. net
    Programming, Web design, development & hosting.

    Comment

    • Jochen Daum

      #3
      Re: don't se error but I...

      Hi Carramba!


      On Tue, 29 Jul 2003 23:41:54 +0200, "Carramba" <carramba@bootr e.com>
      wrote:
      [color=blue]
      >hoppe you can point my out where the error is.. getting message about
      >error...
      >I am just trying to get work this simple mailing list...
      >thanx in advance
      >[/color]
      please

      - var_dump($youre mail);
      - check register_global s on www.php.net

      HTH, Jochen

      [color=blue]
      >
      > else {
      > $disp="no";
      > $newfile = fopen($fileloca tion,"a+");
      > $add = "%".$email;
      > fwrite($newfile , $add);
      > fclose($newfile );
      > echo $subscribemessa ge;
      >here>>> mail ($youremail,"Ne w newsletter subscriber.",$e mail."\nDelete?
      >$newsletterloc ation?action=de lete&email=".$e mail,"From:
      >Newsletter\nRe ply-To: $email\n");
      > $submailheaders = "From: $lettername subscription form\n";
      > $submailheaders .= "Reply-To: $youremail\n";
      > here>>> mail ($email,$letter name."
      >subscription", $subscribemail, $submailheaders );
      > }
      >[/color]

      --
      Jochen Daum - CANS Ltd.
      PHP DB Edit Toolkit -- PHP scripts for building
      database editing interfaces.
      Download PHP DB Edit Toolkit for free. PHP DB Edit Toolkit is a set of PHP classes makes the generation of database edit interfaces easier and faster. The main class builds tabular and form views based on a data dictionary and takes over handling of insert/update/delete and user input.

      Comment

      Working...