RSS
 

Contact

 

 Buradan benimle Msn Messenger Üzerinden Görüşebilirsiniz. Bir Passport hesabınızın olma zorunluluğu yoktur. Sadece isminizi belirterek görüşmeye başlayabilirsiniz.

Follow hakandamar on Twitter

Saygılar,

Hakan DAMAR

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Diigo
  • email
  • PDF
  • Reddit
  • RSS
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • DotNetKicks
  • Fleck
  • FriendFeed
  • HackerNews
  • LinkedIn
  • Live
  • Yahoo! Buzz
  • Yigg

Leave a Reply

 
 
  1. ismail

    04/02/2010 at 05:26

    Hakan abi merhaba ben sanalkurs’tan bir okuyucunuz.
    Flash bir template editlerken contact form bölümünde ne yaptımsa mail göndertemedim.

    ben kodları yolluyorum, yardımcı olursanız çok sevinirim.

    action script send butonu için :

    on (rollOver) {
    this.gotoAndPlay(“s1″);
    }
    on (releaseOutside, rollOut) {
    this.gotoAndPlay(“s2″);
    }

    on (release) {
    for (i=1; i<_parent.fields_descriptions.length; i++) {
    if (_parent[_parent.fields_descriptions[i][1]]!=_parent.fields_descriptions[i][2]) {
    this[_parent.fields_descriptions[i][1]]=_parent[_parent.fields_descriptions[i][1]]+"&777&"+_parent.fields_descriptions[i][2];
    }
    _parent.reset_txt(_parent["t"+i], _parent.fields_descriptions[i][1], _parent.fields_descriptions[i][2]);
    }

    this.recipient=_parent.rec;
    getURL("contact.php"+_parent.serv, "_blank", "POST");

    }

    formu bulunduğu framdeki action script kod:

    rec = _root.recipient;
    serv = _root.server_option;
    var fields_descriptions = Array("", Array("t1", "your_name", "your name:"), Array("t2", "your_email", "e-mail:"), Array("t3", "message", "Message:"), Array("t4", "your_company", "your company:"), Array("t5", "telephone", "telephone:"));
    function reset_txt(name, name2, value) {
    path = eval(_target);
    path[name2] = value;
    this[name].onSetFocus = function() {
    path = eval(_target);
    if (path[name2] == value) {
    path[name2] = "";
    }
    };
    this[name].onKillFocus = function() {
    path = eval(_target);
    if (path[name2] == "") {
    path[name2] = value;
    }
    };
    }
    for (i=1; i<=fields_descriptions.length; i++) {
    reset_txt("t"+i, fields_descriptions[i][1], fields_descriptions[i][2]);
    }

    son olarak php kodları:
    <?
    Error_Reporting(E_ALL & ~E_NOTICE);

    while ($request = current($_REQUEST)) {
    if (key($_REQUEST)!='filozof89@hotmail.com') {
    $pre_array=split ("&777&", $request);
    $post_vars[key($_REQUEST)][0]=$pre_array[0];
    $post_vars[key($_REQUEST)][1]=$pre_array[1];
    }
    next($_REQUEST);
    }

    reset($post_vars);

    $subject="From ".$post_vars['your_name'][0] ;
    $headers= "From: ".$post_vars['your_email'][0] ."\n";
    $headers.='Content-type: text/html; charset=iso-8859-1';
    $message='';
    while ($mess = current($post_vars)) {
    if ((key($post_vars)!="i") && (key($post_vars)!="your_email") && (key($post_vars)!="your_name")) {

    $message.="“.$mess[1].”   ”.$mess[0].”";
    }
    next($post_vars);
    }

    mail($_REQUEST['filozof89@hotmail.com'], $subject, ”

    Contact letter

    “.$message.”

    ” , $headers);
    echo (“Your message was successfully sent!”);

    ?>

    resizeTo(300, 300);

    abi çok önemli, yardımlarınız için çook teşekkür ederim.

     
  2. HD

    04/02/2010 at 14:04

    Merhaba İsmail,

    Yardımcı olmayı çok isterdim fakat Action Script bilmiyorum.

    http://www.mmistanbul.com ‘da aynı soruyu yazarsan orada Adobe Teknolojileri üzerine uzman bir çok kişi var. Daha kısa sürede daha doğru cevaplar alabilirsin.

    Umarım en kısa sürede çözüm bulursun.

    İyi Çalışmalar.