Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 3 of 3 FirstFirst 1 2 3
Results 21 to 23 of 23
Like Tree1Likes

Thread: Creating a newsletter form

  1. #21
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    hmm i repleaced the code and now i got new errors :

    Warning: fopen(newsletter.txt) [function.fopen]: failed to open stream: Inappropriate ioctl for device in /home/slarkdes/public_html/mail/newsletter.php on line 12

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/slarkdes/public_html/mail/newsletter.php on line 15

    Warning: fclose(): supplied argument is not a valid stream resource in /home/slarkdes/public_html/mail/newsletter.php on line 16
    I dont know if i did understand you good , it wont work ?

  2.  

  3. #22
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,975
    Member #
    5580
    Liked
    760 times
    Maybe i made another typo ....

    $fh = fopen($myFile, '+a');

    should be a+


  4. #23
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    mlseim, yeah
    +a / a+
    was the problem. It works perfectly now. And thank you very much cus you learned me something new!


Page 3 of 3 FirstFirst 1 2 3

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:50 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com