1. Halo Guest, pastikan Anda selalu menaati peraturan forum sebelum mengirimkan post atau thread baru.

Code script buat bikin Newsletter

Discussion in 'Pemrograman Web' started by cutie_solo, Feb 21, 2007.

Thread Status:
Not open for further replies.
  1. cutie_solo

    cutie_solo Newbie

    Joined:
    Feb 21, 2007
    Messages:
    1
    Likes Received:
    0
    Diriku lagi mulai belajar bikin web, yang ada newsletter (autoresponder ). Datanya sbb :

    Enter Your Name :
    Enter Your Email :
    SUBSCRIBE

    Code nya gimana ya, jadi saat SUBSCRIBE di CLICK, nama dan email pengirim bisa masuk ke email aku, dan juga bisa langsung pindah ke halaman index baru aku, (_http://www.mydomain.com/index.html) ke halaman (_http://www.mydomain.com/subscribe_success.html).

    Bantuin semuanya ya, thanks.
     
    Last edited by a moderator: Aug 1, 2012
  2. brokencode

    brokencode Guest

    Itu script untuk action formnya. Edit sesuai keinginan. Save as .php atau .html.
    Untuk menghindari spammer,gunakan captcha atau validasi form. INi javascript untuk validasi form subscribe newsletter (letakan pada head) :
     
  3. EllysDirectory

    EllysDirectory Ads.id Pro

    Joined:
    Jan 19, 2012
    Messages:
    497
    Likes Received:
    39
    itu diletakan dimana code 1??
    apa buad new php file??
     
  4. emmaadiska

    emmaadiska Newbie

    Joined:
    Jul 11, 2012
    Messages:
    3
    Likes Received:
    0
    Location:
    At your front door
    #!/usr/bin/perl
    #
    ##############################################################################
    # Mail Machine v3.985 #
    # Copyright (c) 2000 by Mike's World. All Rights Reserved. #
    # http://www.mikesworld.net #
    # [email protected] #
    # #
    # You should carefully read all of the following terms and conditions #
    # before using this program. Your use of this software indicates #
    # your acceptance of this license agreement and warranty. #
    # #
    # This program is being distributed as freeware. It may be used and #
    # modified free of charge, so long as this copyright notice, the header #
    # above and all the footers in the program that give me credit remain #
    # intact. Please also send me an e-mail, and let me know #
    # where you are using this script. #
    # #
    # By using this program you agree to indemnify Mike's World from any #
    # liability. #
    # #
    # Selling the code for this program without prior written consent is #
    # expressly forbidden. Obtain permission before redistributing this #
    # program over the Internet or in any other medium. In all cases #
    # copyright, header, and all footers must remain intact. #
    ##############################################################################

    # Installation -
    #
    # 1 - Define all the variables for your web site below
    # 2 - Save and upload this file to your cgi-bin
    # 3 - Chmod it to 755
    # 4 - Create an empty file for your e-mails list called whatever you want.txt
    # and upload that in ascii mode to the same directory. Make sure to chmod 777.
    # 5 - Create a directory in your cgi bin called "archives".
    # Chmod the directory 711.
    # 6 - Create an html form to send it information using the fields:
    # -'address' which will be the address to subscribe to
    # -'action' which should have two possible inputs; either
    # 'Subscribe' or 'Unsubscribe'. Example code:
    #
    # HERE'S THE CODE YOU COPY INTO YOUR WEB SITE SO PEOPLE CAN SUBSCRIBE.
    #
    # <form action="/cgi-bin/mailmachine.cgi" method=post>
    # <input type=text name="address" size=50><br>
    # <input type=radio name=action value=Subscribe checked>
    # Subscribe | Unsubscribe <input type=radio name=action value=Unsubscribe>
    # <br><input type="submit" value="Update">
    # </form>
    #
    # 7 - To access the administration section in order to send e-mails to
    # subscribers and subscribe/unsubscribe e-mails, enter the path in your web
    # browser to the Mail Machine script - http://www.yourdomain.com/cgi-
    # bin/mailmachine.cgi - and add a ?admin on the end so it would look like
    # mailmachine.cgi?admin

    # Quick note about customization -
    #
    # Wherever you see $message below an error / thanks message is defined. You
    # may want to change these to fit your site.

    $mailprog = '/usr/sbin/sendmail';
    # Change the location above to wherever sendmail is located on your server.

    $admin_email="your_email\@yourdomain.com";
    # Change the address above to your e-mail address. Make sure to KEEP the \

    $list_name="Name of Newsletter Here";
    # Change the name above to whatever you would like to call your mailing list.

    $adminpass="Your_Password_Here";
    # Change the password above to whatever you would like to use to access the
    # administration section.

    $sendto="0";
    # Set this at 1 if you want to be informed everytime someone subscribes or
    # unsubscribes from your mailing list. Note: For large mailing lists you
    # probably want to set this at 0 or else you will most likely be bombarded
    # with subscribe/unsubscribe notices.

    $temp="0";
    # Set this at 1 if you want to have subscribers confirm their addition to
    # the mailing list before they are actually added. This will stop people
    # from adding e-mail addresses without the owners knowledge or entering
    # fictitious addresses. Note: A temp.txt will be created - DO NOT DELETE!

    $remove_notice="1";
    # Set this at 1 if you want to allow your subscribers the ability to remove
    # themselves directly from your mailing. This will create a removal notice
    # at the bottom of your mailing.

    $html = "0";
    # If you would like to send out messages in HTML set this at 1. Otherwise,
    # leave it at 0 and your subscribers will receive standard text messages.

    $file = "list_of_email_addresses.txt";
    # This is the file that will store all e-mail addresses for your mailing
    # list. Make sure and name this something that nobody will think of so
    # that no one will be able to get a hold of your mailing list.

    $temp_file = "temp.txt";
    # - APPLIES TO TEMP SETTING ABOVE. IGNORE THIS IF NOT USING THAT FEATURE -
    # This is the file that will temporarily store e-mail addresses awaiting
    # verification from the user. Once verified, the e-mail address will move
    # on to the "REAL" list. To be safe, I would add a couple digits to the
    # end of the name like this: temp17462.txt

    @bannedaddresses = ('[email protected]','[email protected]');
    # This is a list of all addresses that you don't want to be able to join
    # your mailing list at anytime. If you don't want any addresses banned,
    # use this setup: @bannedaddresses = (); To extend the list of banned
    # addresses just add a comma.

    $lock = "2";
    # Keep this at 2 if your server allows you to use file locking. File
    # locking helps insure that the file storing e-mail addresses will not
    # become corrupt in heavy usage. If your server doesn't allow you to use
    # file locking then you need to simply remove the 2 in between the quotes.
     
  5. marketnesia

    marketnesia Newbie

    Joined:
    May 17, 2012
    Messages:
    22
    Likes Received:
    6
    Location:
    Jakarta, Indonesia
    Ada script open source yang gratisan kok gan, tinggal install

    lengkap dengan fitur user management, template sent email, tracking emailnya dibaca atau belum, dan banyak lagi.

    __http://www.phplist.com/download

    monggo dicheck gan
     
  6. vertical

    vertical Ads.id Fan

    Joined:
    Jul 5, 2012
    Messages:
    144
    Likes Received:
    3
    nyimak
     
  7. brainstorm

    brainstorm Ads.id Fan

    Joined:
    Jul 27, 2012
    Messages:
    109
    Likes Received:
    1
    misi ya manstah numpang baca2 :D

    mohon pencerahannya ya O:-)
    saya masih nga ngerti2 nih yg kaya gini, cuma penasaran pengen buat juga buat blogcepot, form order yang di mana orang order trus masuikn email trus ada pemberitahuan ke dua belah pihak
    pembeli -> checkout -> ecom -> smtp -> (invoice) penjual/pembelinah itu yg sy bold masih nga ngerti

    contohnya sih kaya ini featheringshaft.com, ini blog saya, itu system ordernya ngintip punya orang, coba deh manstah tes, tar dapet invoice order, header suratnya nga sesuai sama nama toko,,,

    maaf ya yg di pinjem sriptnya buat belajar :D

    sy mau bikin pake ini manstah formmail-maker.com/formmail-maker-home.php bisa nga ya ???
    cuma masih bingung di gimana nginstalnya nih form ke blogcepot, hasil download dapet 4 file format php

    maksih ya sebelumnya :D

    ------------
    khilafff om
    makasih bos pulsa udah di ingetin :D
    sy nyari last post saya sampe masuk ke last post visitor bosspulsa :D
     
    Last edited: Jul 31, 2012
  8. bosspulsa

    bosspulsa WWW.WARMACHINE.IM

    Joined:
    Jan 27, 2008
    Messages:
    4,036
    Likes Received:
    608
    Location:
    Bantoel, Yogyakarta, Indonesia, Indonesia
    Ini banyak yang pakai Live Link. Apa sekarang sudah berubah aturan tentang livelink? Biasanya dulu sih kalau livelink akan dibanned. Kecuali kalau peraturan berubah dan aku tidak tahu.
    Pakai Parabots saja... ini contohnya _freememberlist.tk

    RALAT: Ini Zaman dulu bangetsss ya? hehehe...
     
  9. menilajah

    menilajah Super Hero

    Joined:
    Mar 29, 2011
    Messages:
    3,389
    Likes Received:
    582
    Location:
    BE 64 UL BandarLampung-ID
    Keren bro, bagi dong template nya :D
    Ini kok thread lama disundul2 sih?
     
  10. mycrohosting

    mycrohosting Super Hero

    Joined:
    Oct 22, 2009
    Messages:
    2,636
    Likes Received:
    139
    Location:
    MycroWeb.Com
    keren bro..:senyum:
     
  11. brainstorm

    brainstorm Ads.id Fan

    Joined:
    Jul 27, 2012
    Messages:
    109
    Likes Received:
    1
    oia om maaf nga liat tanggal post nya
    wkwkw,,yg di liat templatenya, formnya nga ada solusi deh :))
    makasih, om,,emang cakep ya template buatan maskolis

    makasih om makasih :D

    ==========================
    oia btw manstah,,apa di saya aja ya ini forum adsense-id kok kayanya lamaaaa banget lodingnya ????
     
  12. mycrohosting

    mycrohosting Super Hero

    Joined:
    Oct 22, 2009
    Messages:
    2,636
    Likes Received:
    139
    Location:
    MycroWeb.Com
    cepet koq bro..koneksi mungkin..:D
     
Thread Status:
Not open for further replies.

Share This Page