صفحة 1 من 2 12 الأخيرةالأخيرة
النتائج 1 إلى 15 من 19

الموضوع: الأخ الحبيب عــــــلــــــي الـــعـــــنــــزي , تفضل أروجوك

  1. #1
    عضو سوبر نشيط
    تاريخ التسجيل
    Jul 2001
    المشاركات
    697


    أخوي الحبيب العنزي علي - وفقه ربي - ما أحد يثقدر يجاوبني غيرك , ونا محتاس صار لي كم يوم , تذكر أخوي الموضوع هذا :
    http://www.swalif.net/softs/showthre...threadid=18953

    أنا قمت بتسجيل نسخة من البرنامج حق الـ SMTP كما تفضلت , وماشي معي تمام , لكن تدري طبيعة البشر إنهم عيونهم طماعة ودايماً يريدون مزيد ومزيد , فوقع في يدي برنامج webhost للاستضافة , هنا عاد صارت مشكلة مع إرسال إيميلات من قبل مشترك , مثلا لما ينسى كلمة المرور يضغط على وصلة والمفروض تصله , لكن ما تصله وتبقى واقفة عندي في برنامج الـ SMTP ومعلقة وما تمشي ...

    في إعدادات الأدمن حق برنامج الاستضافة هناك سؤال عن Sendmail Programm ... فلو كان عندي يونكس في جهازي فلازم أكتب الباث للسيند ميل , لكن أنا عندي ويندوز ومثل ما تعرف مركب البرنامج حق الـ smtp لهذا الغرض , فإيش لازم أملأ في الفراغ أو الخانة حق الباث للسيند ميل ؟ هل أكتب localhost أو إيميلي اللي موصول بالـ smtp أو ايش بالضط ؟ لأني أظن الحل في تعبئة الخانة بشكل صحيح ...

    أنا بانتظارك على أحر من الجمر ...

    تقبل احتراماتي وتقديراتي لوقتك ومشاغلك ونا والله مستحي منك ..

    والسلام .





    Samir Al-Qaseer غير متواجد حالياً


  2. #2
    فضلاً اكتب اسمك الحقيقي هنا
    زائر


    وعليكم السلام ورحمة الله وبركاته ..

    أهلا بالأخ الحبيب

    انظر وفقك الله لطاعته
    لا أدري عن مواصفات برنامجك الجديد ( webhost ) وهل يمكن تشغيله في بيئة ويندوز أم لا ، ولكن هنا سؤال يطرح نفسه هل استطاع البرنامج الوصول الى سيرفر SMTP ووضع الرساله في Queue ?

    اذا كانت الرسالة وصلت الى Queue فبرنامجك ( webhost ) سليم ان شاء الله ، وتبقى المشكله في Direct Mail .
    أما اذا لم تصل الرسالة فقد يكون برنامجك ( webhost ) غير قابل للتعرف على سيرفر SMTP .

    عموماً

    ألم ينتهي برنامج Direct mail الى الأن ! لان مدته التجريبية هي 15 يوم فقط . فربما انتهت مدة البرنامج لذا لا يقوم بارسال البريد بالشكل المطلوب .

    بانتظار ردك الكريم ، وفقك الله لما يحبة ويرضاه

    والسلام عليكم







  3. #3
    عضو سوبر نشيط
    تاريخ التسجيل
    Jul 2001
    المشاركات
    697


    أولاً : جزاك الله ألف خير على ردك الكريم وإعطائك لي جزء من وقتك الغالي والثمين ...

    أجيبك نقطة نقطة :
    - برنامج الـ webhost هو برمجة سي جي آي وبيرل ..

    - نعم استطاع الوصول إلى سيرفر الـ SMTP وقام بوضع الرسالة في Queue فقط ولم يتابع إرسالها , علماً بأنني عندما قمتُ بملئ الخانة الخاصة بـ Sendmail في إعدادات الباث الخاصة بالتحكم وكتبت فيها : localhost لم يصل إلى الـ queue , لكن بعدما قمتُ بتغيير ما في الخانة إلى عنواني الإلكتروني المتصل بالـ smtp أرسل الرسالة التي قمتُ بطلبها كما لو أنني عضو ونسيت الباسوورد الخاص بي .. أرسل هذه الرسالة إلى الـ queue ثم أوقفها هناك , ولم تستمر الرسالة أو لم تتابع سيرها إلى إيميل من طلب الباسوورد ..

    - البرنامج قمتُ بشرائه أخي الحبيب , أي أن البرنامج عندي كامل والكمال لله , وليس تجريبي .

    هذا كل شيء وآمل أن أجد حلاً لديك وفقك الله .

    ملحوظة : حبيت بس أعلمك أن الإرسال من منتدى الـ VB اللي مركبه عندي في سيرفري شغال تمام ومافي أي مشاكل .

    والسلام عليكم .
    أخوك المحب لك سمير .





    Samir Al-Qaseer غير متواجد حالياً

  4. #4
    فضلاً اكتب اسمك الحقيقي هنا
    زائر


    طالما أن برنامج الحوار يرسل بريد بلا مشاكل ..
    اذن المشكله تكمن في توافق برنامج webhost مع ملقم البريد smtp
    وفي هذه الحالة يجب أن تسأل مصمم البرنامج أو تراجع الكود الخاص به لترى هل يتوافق مع smtp ام هو مكتوب لنظام يونكس .
    وشكرا لك






  5. #5
    عضو سوبر نشيط
    تاريخ التسجيل
    Jul 2001
    المشاركات
    697


    أشكرك أخي الفاضل على الرد ...

    البرنامج هو Home Free v3.24n

    وهو - حسب ما قرأت بجانب خانة Sendmail Path - يدعم الـ SMTP , وهذا نص كلامهم في ذلك :

    كود:
    The last and most trickiest for some is the path to your sendmail program on Unix servers, or to your STMP if sendmail is not an option. This is needed to send out any emails regarding your Home Free operations. The path to sendmail is not the same on all servers, so I've added the link from above to list your server environment variables to help you to determine your location for sendmail (opens new window). 
    
    If this link does not indicate your sendmail location, you may have to ask your server's admin or check other cgi files that might already use it, or look in the dirs. /usr/sbin, /usr/lib, or /usr/bin for a program called sendmail, or ask your server host. The STMP Server is your main mail server you use with your ISP. The same one you put in Microsoft Outlook or Netscape Mail to send out email. Something like mail.earthlink.net. Ask your ISP or network admin if you are not sure. (First time installers may or may not have it pre-selected for them)
    ثم كُتبت كلمة Sendmail Path : وأمامها الخانة لكتابة الباث , فلا أدري , حسب ما فهمت أنه ينبغي كتابة localhost في مثل حالتي , لكن عند كتابة ذلك لا يحصل شيء ولا حتى إرسال الرسائل إلى queue , أما إن كتبتُ عنواني الإلكتروني المتصل بسيرفر الـ smtp تصل الرسالة إلى queue وتتوقف عندها .

    أرجو أن تجد لي حلاً أو ما يجب فعله أو تغييره ليتوافق مع البرنامج حتى يصلُح حاله .

    وفقك ربي .





    Samir Al-Qaseer غير متواجد حالياً

  6. #6
    فضلاً اكتب اسمك الحقيقي هنا
    زائر


    ضع لي الكود الذي تضع فيه بريدك أو localhost






  7. #7
    عضو سوبر نشيط
    تاريخ التسجيل
    Jul 2001
    المشاركات
    697


    جزاك الله خيراً أخي علي على ردك ...

    الحقيقة هذه الخانة التي أملأ فيها الـ Sendmail Path هي بعد أن أقوم بتركيب البرنامج وأقوم باستدعاء admin.cgi من المتصفح فتظهر صفحة الأدمن وفيهاخيارات , منها : خانات ملئ الباثات المؤدية لملفات السي جي آي وكذلك الصور ... إلى آخره , حيث الملف الخاص بملئ الباثات هو admin_setup.cgi , فهل أقوم بنسخ الكود الموجود في داخل ملف admin_setup.cgi وألصقه هنا ؟ أم ما رأيك أرسل لك البرنامج بكامله إلى إيميلك ؟
    لكن ألصق لك ما بداخل ملف الـ admin_setup.cgi اختصاراً لوقتك في رد مستقل

    إذا أردت أخي الحبيب أن أرسل لك كامل البرنامج فأرجو إعطائي الإيميل لأرسله لك وأكون كلي امتنان وشكر لك ولجهودك ...

    بارك الله فيكم

    أخوك المحب سمير .





    Samir Al-Qaseer غير متواجد حالياً

  8. #8
    عضو سوبر نشيط
    تاريخ التسجيل
    Jul 2001
    المشاركات
    697


    وهذا ما بداخل ملف admin_setup.cgi :

    كود:
    #!/usr/bin/perl
    #######################################################
    #		Home Free v3.24n (Nearly null)
    #     
    #    	Created by Solution Scripts
    # 		Email: solutions@solutionscripts.com
    #		Web: http://solutionscripts.com
    #
    #######################################################
    #
    #
    # COPYRIGHT NOTICE:
    #
    # Copyright 1999 Solution Scripts  All Rights Reserved.
    #
    # Selling or redistributing the code for this program 
    # without prior written consent is expressly forbidden. 
    # In all cases copyright and header must remain intact.
    #
    #######################################################
    
    $|=1;
    
    require "variables.pl";
    require "dblib.pl";
    require "adminlib.pl";
    
    $time = time;
    ($sec,$bmin,$hour,$bmday,$bmon,$byear,$bwday,$gy,$isdst) = gmtime($time);
    $bmon++;
    $byear += 1900;
    $gnow = "$bmon.$bmday.$byear";
    
    &initalize;
    
    
    if ($INPUT{'setup'}) { &Header(0); &setup; }
    elsif ($INPUT{'action'} eq "setup") { &verify_setup; }
    elsif ($INPUT{'setup_check'}) { &setup_check; }
    
    &print_login;
    &Footer;
    
    sub verify_setup {
    unless (($access_level =~ /ALL ACCESS/) || ($access_level =~ /config/)) { &unauth; }
    &Header(0);
    &setup;
    }
    
    
    ########## SETUP ##########
    sub setup {
    
    $bpass = $_[0];
    
    unless ($url_cgi) {
    	$url_cgi = "http://$ENV{'HTTP_HOST'}$ENV{'REQUEST_URI'}";
    	$url_cgi =~ s/\/admin_setup\.cgi$//;
    }
    
    unless ($mime_path) {
    	$mime_path = "$ENV{'DOCUMENT_ROOT'}/mime";
    }
    
    unless ($url_mime) {
    	$url_mime = "http://$ENV{'HTTP_HOST'}/mime";
    }
    unless ($mail_prog) {
    	$cmdline = "which sendmail";
    	$out=`$cmdline 2>&1`;
    	$mail_prog = "$out";
    }
    
    unless ($domain) { $domain = $ENV{'SERVER_NAME'}; }
    
    $current_path = $ENV{'SCRIPT_FILENAME'};
    $current_path =~ s/admin_setup\.cgi//ig;
    
    print <<EOF;
    <TABLE CELLPADDING=5 CELLSPACING=0 WIDTH=100% BGCOLOR=white BORDER=0>
    <TR><TD colspan=3 bgcolor=#336699 align=center>
    <font face=arial size=3 color=white><b>Welcome To Home Free v3.24n</b></FONT></TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD><TD colspan=2><FORM METHOD=POST ACTION="$files::setup">
    EOF
    if ($error) {
    print <<EOF;
    $css_font
    <font color=red>
    There were errors configuring you variables. The following step(s) had errors:
    <font color=black>$error</FONT>. The text in red below the step itself will tell
    you what went wrong and possibly how to fix it. </FONT>
    EOF
    }
    else {
    print <<EOF;
    $css_font
    The absence of the navigation menu image at left is normal for first time installations, and before 
    you can start giving away free websites, we need to configure a few variables for this program to run 
    correctly on your server and know the installed locations of your dirs and images. This setup has been 
    built in such a way as to make the set-up go quickly and easily for you. <BR>
    <BR>
    I have also included a link that will <a href=perldiver.cgi target=new>list your server environment 
    variables</a> and determine your location for sendmail (opens new window).
    
    EOF
    }
    print <<EOF;
    <BR>
    </TD></TR>
    <TR><TD colspan=3 bgcolor=#336699>
    $css_font
    <b><font color=white>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step 1</FONT></b>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left colspan=2>
    <BR>$css_font
    EOF
    if ($passwords) {
    print <<EOF;
    Step 1 is where we usually ask you to set a login/password, but since yours is already set, all we need you to do
    is enter them below, to verfiy that you have authorization to edit this configuration
    EOF
    $user_word="Username:";
    $pass_word="Password:";
    }
    else {
    print <<EOF;
    We will first need to set your admininstrative USERNAME and PASSWORD. After you finish this setup, and 
    reload admin.cgi the next time, you will be asked for this username/password. Do not enter anything in 
    the reg key field below, and you will never see it again... -NnN-
    EOF
    $user_word="Set Username:";
    $pass_word="Set Password:";
    }
    print <<EOF;
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left valign=top>
    $css_font
    <B>$user_word
    </TD><TD valign=top>
    <input type="text" name="username" value="$INPUT{'username'}" size="30" maxlength="50">
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left valign=top>
    $css_font
    <B>$pass_word
    </TD><TD valign=top>
    <input type="Password" name="password" value="$INPUT{'password'}" size="30" maxlength="50">
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left valign=top>
    $css_font
    <B>
    Registration key:</B>
    </TD>
    <TD valign=top>
    EOF
    if ($passwords) {
    	print "<input type=\"Hidden\" name=\"ry\" value=\"$INPUT{'ry'}\">$css_font Skip to next step</FONT>\n";
    }
    else {
    	print "<input type=\"regkey\" name=\"ry\" size=\"33\" value=\"IGNORE THIS FIELD!- Nearly Null -\" maxlength=\"50\">\n";
    }
    print <<EOF;
    <BR><BR>
    </TD></TR>
    <TR><TD colspan=3 bgcolor=#336699>
    $css_font
    <b><font color=white>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step 2</FONT></b>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left colspan=2>
    <BR>$css_font
    $error_2
    We will first start by giving a name to your Home Free program. So when members sign up amoung other times
    they will see something like \"Welcome to Tim\'s Free Web Sites\", where Tim's Free Web Sites would be the name. 
    <BR><BR></TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left valign=top width=100%>
    $css_font
    <B>Your Free Sites name:</B>
    </TD><TD align=center valign=top>
    <input type="Text" name="setup_free_name" value="$free_name" size="50" maxlength="60">
    <BR><font face=arial size=1>(edit to your own free sites name)</font>
    <BR>
    </TD></TR>
    
    <TR><TD colspan=3 bgcolor=#336699>
    $css_font
    <b><font color=white>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step 3</FONT></b>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left colspan=2>
    <BR>$css_font
    $error_3
    Now we need your email address. This will be the "from" email address on all emails sent to members, and the
    one that they will be refered to should they have a question or problem. In the second text box we need your Name or nickname that you go by. 
    This will also be used in emails sent to members, showing up in the From email field, along with the email address.<BR><BR>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD valign=top>
    $css_font
    <B>Your Email Address:</B>
    </TD><TD valign=top>
    <input type="Text" name="setup_email" value="$your_email" size="30">
    <BR><BR></TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD valign=top>
    $css_font
    <B>Your From nickname:</B>
    </TD><TD valign=top>
    <input type="Text" name="setup_email_name" value="$your_name" size="30">
    <BR><BR></TD></TR>
    
    <TR><TD colspan=3 bgcolor=#336699>
    $css_font
    <b><font color=white>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step 4</FONT></b>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left colspan=2>
    <BR>$css_font
    $error_4
    The next 2 steps require you to enter a path (the system of folders), so we can store the data files 
    and member's dirs in the correct spot. The path is <b>not the url and does not start with http://</B>. 
    I'll help you out a bit by showing that your document root path is: <font color=red>$ENV{'DOCUMENT_ROOT'}</FONT> 
    ... and the path for this admin_setup.cgi script is: <BR>
    <BR>
    <center><font color=red><B>$current_path</FONT></B> </center>
    <BR>
    The first path we need is the location of were you want the members <b>DATA</b> stored (their emails 
    and other Home Free data files). This dir <B>should not</B> be readable from the web. Either below 
    your document root is good, or in a cgi-bin where text files can not be accessed by the browser... 
    of course the paths you need or want to use may be different... but in most cases, you can simply cut &amp; paste this
    script's path from above into this field, and then add the name of the dir that <b>you created</b> 
    to hold your data files to the end of this path: <BR>
    <BR>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD><TD valign=top>
    $css_font
    <B>Data Dir Path:</B>
    </TD><TD align=center valign=top>
    <input type="Text" name="setup_path" value="$path" size="50">
    <BR><font face=arial size=1>(do not place a trailing slash at the end)</font>
    <BR>
    </TD></TR>
    <TR><TD colspan=3 bgcolor=#336699>
    $css_font
    <b><font color=white>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step 5</FONT></b>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left colspan=2>
    <BR>$css_font
    $error_5
    Now we need the path to the <B>MEMBERS</B> dir that will hold their homepages... this dir should be readable 
    from the web at all times, and this dir will also become part of your member's url... in most cases you can simply 
    cut &amp; paste this script's path from above into this field, and then add the name of the dir that 
    <b>you created</b> to hold your member's files to the end of this path:
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD><TD valign=top>
    $css_font
    <B>Members Dir Path:</B>
    </TD><TD align=center valign=top>
    <input type="Text" name="setup_free_path" value="$free_path" size="50">
    <BR><font face=arial size=1>(do not place a trailing slash at the end)</font>
    <BR>
    </TD></TR>
    <TR><TD colspan=3 bgcolor=#336699>
    $css_font
    <b><font color=white>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step 6</FONT></b>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left colspan=2>
    <BR>$css_font
    $error_6
    Now we need to set a few urls. This is the spot where they need to start with <b>http://</b>.
    All urls should point to a directory. <BR>
    <BR>
    The first url is the url to where your cgi files are, the url to the directory where this file is.
    If you are setting up Home Free for the first time, we took the liberty of entering this url for
    you, if it is different from what is below, please change it.
    </TD>
    </TR>
    تابع ...





    Samir Al-Qaseer غير متواجد حالياً

  9. #9
    عضو سوبر نشيط
    تاريخ التسجيل
    Jul 2001
    المشاركات
    697


    متابعة الكود ...

    كود:
    <TR><TD>&nbsp;&nbsp;</TD><TD valign=top>
    $css_font
    <B>Url to cgi directory:</B>
    </TD><TD align=center valign=top>
    <input type="Text" name="setup_url_to_cgi" value="$url_to_cgi" size="45">
    <BR><font face=arial size=1>(do not place a trailing slash at the end)</font>
    <BR>
    </TD></TR>
    <TR><TD colspan=3 bgcolor=#336699>
    $css_font
    <b><font color=white>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step 7</FONT></b>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left colspan=2>
    <BR>$css_font
    $error_7
    The next url we need is the url to the directory where the home pages will be stored. 
    This url should point to the directory path you set in step 5
    </TD>
    </TR>
    <TR><TD>&nbsp;&nbsp;</TD><TD valign=top>
    $css_font
    <B>Home Free Url:</B>
    </TD><TD align=center valign=top>
    <input type="Text" name="setup_url" value="$url" size="45">
    <BR><font face=arial size=1>(do not place a trailing slash at the end)</font>
    <BR>
    </TD></TR>
    <TR><TD colspan=3 bgcolor=#336699>
    $css_font
    <b><font color=white>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step 8</FONT></b>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left colspan=2>
    <BR>$css_font
    $error_8
    Now we need the url to the directory where you have or will place the images that came in the Home Free
    zip file. 
    </TD>
    </TR>
    <TR><TD>&nbsp;&nbsp;</TD><TD valign=top>
    $css_font
    <B>Image Dir. Url:</B>
    </TD><TD align=center valign=top>
    <input type="Text" name="setup_url_to_icons" value="$url_to_icons" size="45">
    <BR><font face=arial size=1>(do not place a trailing slash at the end)</font>
    <BR>
    </TD></TR>
    
    <!####################################>
    
    <TR><TD colspan=3 bgcolor=#336699>
    $css_font
    <b><font color=white>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step 8a</FONT></b>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left colspan=2>
    <BR>$css_font
    $error_8a
    Now we need the url to the directory where you have or will place the <b>Help Files</b> that I 
    included in the Home Free 3.24n zip file. 
    </TD>
    </TR>
    <TR><TD>&nbsp;&nbsp;</TD><TD valign=top>
    $css_font
    <B>Help Dir. Url:</B>
    </TD><TD align=center valign=top>
    <input type="Text" name="setup_url_to_help" value="$help" size="45">
    <BR><font face=arial size=1>(do not place a trailing slash at the end)</font>
    <BR>
    </TD></TR>
    
    <!#####################################>
    <TR><TD colspan=3 bgcolor=#336699>
    $css_font
    <b><font color=white>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step 9</FONT></b>
    </TD></TR>
    <TR><TD>&nbsp;&nbsp;</TD>
    <TD align=left colspan=2>
    <BR>$css_font
    $error_9
    The last and most trickiest for some is the path to your sendmail program on Unix servers, 
    or to your STMP if sendmail is not an option. This is needed to send out any emails 
    regarding your Home Free operations. The path to sendmail is not the same on all servers, so I've
    added the link from above to <a href=perldiver.cgi target=new>list your server environment variables</a> to help
    you to determine your location for sendmail (opens new window). <BR>
    <BR> 
    If this link does not indicate your sendmail location, you may have to ask your server's admin or 
    check other cgi files that might already use it, or look in the dirs. /usr/sbin, /usr/lib, or 
    /usr/bin for a program called sendmail, or ask your server host. The STMP Server is your main mail 
    server you use with your ISP. The same one you put in Microsoft Outlook or Netscape Mail to send out 
    email. Something like mail.earthlink.net. Ask your ISP or network admin if you are not sure.  
    (First time installers may or may not have it pre-selected for them) 
    </TD>
    </TR>
    <TR><TD>&nbsp;&nbsp;</TD><TD>
    $css_font
    <B>Sendmail path:</B>
    </TD><TD>
    <input type="Text" name="setup_mail_prog" value="$mail_prog" size="30">
    <BR><BR>
    </TD></TR>
    <TR><TD colspan=3 bgcolor=#336699 align=center>
    <input type="Submit" name="setup_check" value="  Save Configuration  ">
    </TD></TR></TABLE>
    </CENTER>
    </FORM>
    EOF
    &Footer;
    exit;
    }
    
    sub setup_check {
    
    unless (($access_level =~ /ALL ACCESS/)) { &unauth; }
    if ($INPUT{'username'} eq "demo") { &unauth; }
    
    $INPUT{'setup_url_to_cgi'} =~ s/\/$//;
    $INPUT{'setup_url_to_icons'} =~ s/\/$//;
    $INPUT{'setup_url'} =~ s/\/$//;
    $INPUT{'setup_free_name'} =~ s/\'/\\\'/gi;
    $INPUT{'setup_email_name'} =~ s/\'/\\\'/gi;
    
    if ($passwords) {
    	$password = $INPUT{'password'};
    	foreach $user(@admin_users) {
    		chomp($user);
    		@user_data=split(/\|/,$user);
    		if ($INPUT{'username'} eq $user_data[0]) {
    			$newpassword = crypt($INPUT{'password'},$user_data[1]);
    			unless ($newpassword eq $user_data[1]) {
    				$wrong_password=1;
    				&error("Incorrect Password");
    				next;
    			}
    		}
    		
    	}
    
    }
    else {&cy;}
    
    unless ($INPUT{'setup_free_name'}) {
    	$error .= "Step 2 ";
    	$error_2 = "<font color=red><B>You must enter a name for your Home Free program. You can always change it later</B></FONT><BR><BR>";
    }
    
    unless ($INPUT{'setup_email'} =~ /.*\@.*\..*/) {
    	$error .= "Step 3 ";
    	$error_3 = "<font color=red><B>Problems have been detected with the email address you entered, please check it</B></FONT><BR><BR>";
    }
    unless ($INPUT{'setup_email_name'}) {
    	$error .= "Step 3 ";
    	$error_3 .= "<font color=red><B>You must enter your Name or Nickname in the box provided</B></FONT><BR><BR>";
    }
    unless ($INPUT{'setup_path'}) {
    	$error .= "Step 4 ";
    	$error_4 = "<font color=red><B>You must enter a path to your data dir</B><BR><BR></FONT>";
    }
    unless ($INPUT{'setup_free_path'}) {
    	$error .= "Step 5 ";
    	$error_5 = "<font color=red><B>You must enter a path to where you want your users mime-attachments stored</B><BR><BR></FONT>";
    }
    
    unless ( $error_4 || (-e "$INPUT{'setup_path'}")) {
    	$error .= "Step 4 ";
    	$error_4 = "<font color=red><B>The path you entered does not correspond to an actually dir that exists</B><BR><BR></FONT>";
    }
    unless ( $error_5 || (-e "$INPUT{'setup_free_path'}")) {
    	$error .= "Step 5 ";
    	$error_5 = "<font color=red><B>The path you entered does not correspond to an actually dir that exsists</B><BR><BR></FONT>";
    }
    unless ( $error_4) {
    	open (DAT,">$INPUT{'setup_path'}/test.html") || ($error_4 = "$!");
    	print DAT "This is just a test, you can delete me";
    	close (DAT);	
    	unlink("$INPUT{'setup_path'}/test.html");
    	if ($error_4) {
    		$error_4 = "<font color=red><B>There was an error in the path you want the data stored: <font color=black>$error_4</font>, if the error was <font color=black>Pemission Denied</font> then you must make the dir readable and writable by chmoding it 777. Please do this now.</B><BR><BR></FONT>";
    		$error .= "Step 4 ";
    	}
    }
    unless ( $error_5) {
    	open (DAT,">$INPUT{'setup_free_path'}/test.html") || ($error_5 = "$!");
    	print DAT "This is just a test, you can delete me";
    	close (DAT);
    	unlink("$INPUT{'setup_free_path'}/test.html");
    	if ($error_5) {
    		$error_5 = "<font color=red><B>There was an error in the path you want the mime-attachments to be stored: <font color=black>$error_5</font>, if the error was <font color=black>Pemission Denied</font> then you must make the dir readable and writable by chmoding it 777. Please do this now.</B><BR><BR></FONT>";
    		$error .= "Step 5 ";
    	}
    }
    unless ($INPUT{'setup_url_to_cgi'}) {
    	$error .= "Step 6 ";
    	$error_6 = "<font color=red><B>You must enter a url for to where your cgi files are located.</B><BR><BR></FONT>";
    }
    unless ($INPUT{'setup_url'}) {
    	$error .= "Step 7 ";
    	$error_7 = "<font color=red><B>You must enter a url for to where users mime-attachments are going to be stored.</B><BR><BR></FONT>";
    }
    
    
    unless ($INPUT{'setup_url_to_help'}) {
    	$error .= "Step 8a ";
    	$error_8a = "<font color=red><B>You must enter a url to where your Help File pages are or will be located.</B><BR><BR></FONT>";
    }
    
    
    unless ($INPUT{'setup_mail_prog'}) {
    	$error .= "Step 9 ";
    	$error_9 = "<font color=red><B>You must enter a path for your mail program.</B></FONT><BR><BR>";
    }
    
    if ($error) {
    	$free_name = $INPUT{'setup_free_name'};
    	$path = $INPUT{'setup_path'};
    	$free_path = $INPUT{'setup_free_path'};
    	$url_to_cgi = $INPUT{'setup_url_to_cgi'};
    	$url_to_icons = $INPUT{'setup_url_to_icons'};
    	$url = $INPUT{'setup_url'};
    	$your_email = $INPUT{'setup_email'};
    	$your_name = $INPUT{'setup_email_name'};
    	$mail_prog = $INPUT{'setup_mail_prog'};
    	&Header(0); 
    	&setup;
    	exit;
    }
    else {
    	$INPUT{'setup_email'} =~ s/\@/\\\@/ig;
    	open (VARIABLES, "$vari") || &error("Can not read $vari");
    	@variables = <VARIABLES>;
    	close (VARIABLES);
    
    	$variables[1] = "\$free_name \= \'$INPUT{'setup_free_name'}\'\;\n";
    	$variables[2] = "\$path \= \'$INPUT{'setup_path'}\'\;\n";
    	$variables[3] = "\$free_path \= \'$INPUT{'setup_free_path'}\'\;\n";
    
    	$variables[5] = "\$url \= \'$INPUT{'setup_url'}\'\;\n";
    	$variables[6] = "\$url_to_icons \= \'$INPUT{'setup_url_to_icons'}\'\;\n";
    
    	$variables[69] = "\$help \= \'$INPUT{'setup_url_to_help'}\'\;\n";
    
    	$variables[7] = "\$url_to_cgi \= \'$INPUT{'setup_url_to_cgi'}\'\;\n";
    	$variables[8] = "\$your_email \= \"$INPUT{'setup_email'}\"\;\n";
    	$variables[9] = "\$mail_prog \= \'$INPUT{'setup_mail_prog'}\'\;\n";		
    	$variables[89] = "\$your_name \= \'$INPUT{'setup_email_name'}\'\;\n";
    
    	foreach $line(@variables) {
    		$line =~ s/1;\n//gi;
    	}
    	
    	open (VARIABLES, ">$vari") || &error("Can not write to $vari");
    	$vari_top=125;
    	$v=0;
    	while ($v < $vari_top) {
    		if ($variables[$v]) {
    			print VARIABLES "$variables[$v]";
    		}
    		else {
    			print VARIABLES "\n";
    		}
    		$v++;
    	}
    	print VARIABLES "1;\n";
    	close (VARIABLES);
    
    	unless ($password) {
    		$newpassword = crypt($INPUT{'password'}, ai);
    		$admin_password = $newpassword;
    	
    		open (VARIABLES, ">$INPUT{'setup_path'}/pwd.txt") || &error("Error writing pwd.txt");
    		print VARIABLES "$INPUT{'username'}|$newpassword|||ALL ACCESS|\n";
    		close (VARIABLES);	
    	}
    }
    
    unless($p_header) { 
    	print "Content-type: text/html\n\n";
    	$p_header=1;
    }
    
    &print_login("Set-up Complete, please log in now");
    exit;
    }






    Samir Al-Qaseer غير متواجد حالياً

  10. #10
    فضلاً اكتب اسمك الحقيقي هنا
    زائر


    أرجوا ارسال البرنامج على البريد لتكون الصورة اوضح
    وشكرا لك

    ali@ansar.net








  11. #11
    عضو سوبر نشيط
    تاريخ التسجيل
    Jul 2001
    المشاركات
    697


    أرسلته ,,

    تقبل تحياتي





    Samir Al-Qaseer غير متواجد حالياً

  12. #12
    فضلاً اكتب اسمك الحقيقي هنا
    زائر


    تصفحته على السريع .. وأظن ان طريقتك السابقة صحيحة
    وهي كتابة localhost في خانة Sendmail path






  13. #13


    http://www.softproxy.net/get.shtml?id=40280
    هذا هو عنوان الكراك لكنه لم ينفع في الوندوز اكس بي
    جايز ينفع مع سستم ثاني





    زهير ابراهيم غير متواجد حالياً

  14. #14
    عضو سوبر نشيط
    تاريخ التسجيل
    Jul 2001
    المشاركات
    697


    جزاك الله خيراً أخي الفاضل علي العنزي على مساعدتك ... لكن أين تكمن المشكلة إذن ؟ هل لها حل أم لا ؟ آه يا القهر ..

    ==========

    الأخ زهير , كراك لإيش هذا ؟ ماني فاهم الحقيقة ملف ماذا الذي أضفت لي وصلة لتحميله ؟ هل تتفضل بإعلامي مشكورا ؟

    ----------

    شاكراً للجميع تعاونهم .

    تقبلوا فائق احترامي وتقديري .





    Samir Al-Qaseer غير متواجد حالياً

  15. #15
    فضلاً اكتب اسمك الحقيقي هنا
    زائر


    س : هل اذا وضعت localhost يتم وصول الرساله الى queue ؟










ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض