صفحة 2 من 2 الأولىالأولى 12
النتائج 16 إلى 20 من 20

الموضوع: كيف أضيف هذه القيمة value في متغير $session_name ؟؟!

  1. #16
    عضو سوبر نشيط
    تاريخ التسجيل
    Oct 2003
    المشاركات
    641


    للرفع






  2. #17


    أخوي لاتستعجل

    فكل تاخيره منا لها خيره ..

    واذا انا فهمتك صح فهذا ماتريده :


    كود PHP:
    $content  .= "  <input type=\"hidden\" name=\"SQMSESSID\" value=\"".$session_name."\" />"
    كود PHP:
    $content  .= "<a href=\"mail.MyDomain.net/plugins/login_auto/security.en.php?SQMSESSID=".$session_name."\">"
    تحياتي إليك ..





    __________________
    تابعني على Twitter

  3. #18
    عضو سوبر نشيط
    تاريخ التسجيل
    Oct 2003
    المشاركات
    641


    اقتباس المشاركة الأصلية كتبت بواسطة مدمن نت
    أخوي لاتستعجل

    فكل تاخيره منا لها خيره ..

    واذا انا فهمتك صح فهذا ماتريده :


    كود PHP:
    $content  .= "  <input type=\"hidden\" name=\"SQMSESSID\" value=\"".$session_name."\" />"
    كود PHP:
    $content  .= "<a href=\"mail.MyDomain.net/plugins/login_auto/security.en.php?SQMSESSID=".$session_name."\">"
    تحياتي إليك ..

    شكراً لك أخي على الرد .. وقد قمت بالتعديل المذكور ولكنه يظهر خطأ عند تسجيل البيانات وهذا هو الملف بعد التعديل :

    كود PHP:
    $content  .= "";
    $content  .= "</head>";
    $content  .= "";
    $content  .= "<body text=\"#000000\" bgcolor=\"#FFFFFF\" link=\"#0000CC\" vlink=\"#0000CC\" alink=\"#0000CC\" onload=\"squirrelmail_loginpage_onload();\">";
    $content  .= "<form action=\"http://mail.MyDomain.net/src/redirect.php\" method=\"post\"><input type=\"hidden\" name=\"SQMSESSID\" value=\"".$session_name."\" />";
    $content  .= "";
    $content  .= "";
    $content  .= "<div id=\"container\"> ";
    $content  .= "";
    $content  .= "  ";
    $content  .= "  <input type=\"hidden\" name=\"SQMSESSID\" value=\"".$session_name."\" />";
    $content  .= "  <p align=\"center\">";
    $content  .= "  <font size=\"2\" color=\"#000000\"><br>";
    $content  .= "        إسم المستخدم :<br>";
    $content  .= "        </font>";
    $content  .= "        <input type=\"text\" name=\"login_username\" tabindex=\"1\" class=\"input\" dir=\"ltr\" style=\"color: #233DA3\" size=\"20\">  <font size=\"2\" color=\"#000000\">";
    $content  .= "        <br>";
    $content  .= "                كلمة المرور :<br>";
    $content  .= "        </font>";
    $content  .= "        <input name=\"secretkey\" type=\"password\" class=\"input\" tabindex=\"2\" dir=\"ltr\" size=\"20\" style=\"color: #233DA3\">";
    $content  .= "  <input type=hidden name=\"js_autodetect_results\" value=\"SMPREF_JS_OFF\">";
    $content  .= "  <input type=hidden name=\"just_logged_in\" value=1>";
    $content  .= "  ";
    $content  .= "  <center> ";
    $content  .= "    <input name=\"button\" type=\"submit\" value=\"دخول\" class=\"button\">";
    $content  .= "  <center>";
    $content  .= "        <div align=\"right\">";
    $content  .= "                <table border=0 width=\"137\">";
    $content  .= "<tr><td valign=center width=\"22\">";
    $content  .= "<p align=\"center\">";
    $content  .= "<input type=checkbox name=cb_auto_pass value=true>";
    $content  .= "</td><td valign=center nowrap width=\"105\">";
    $content  .= "<p align=\"center\"><span lang=\"ar-sa\">تذكر اسم المستخدم<br>";
    $content  .= "وكلمة المرور</span></td></tr>";
    $content  .= "<tr><td colspan='2' valign=center align=center>";
    $content  .= "<a href=\"mail.MyDomain.net/plugins/login_auto/security.en.php?SQMSESSID=".$session_name."\">";
    $content  .= "</table></div>";
    $content  .= "        </center>";
    $content  .= "    ";
    $content  .= "</div>";
    $content  .= "</form>"

    وهذا هو الخطأ الذي يظهر لي بعد كتابة البيانات وتسجيل الدخول :


    كود:
    Warning: session_start() [function.session-start]: The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /home/MyDomain/public_html/mail/functions/global.php on line 334
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/MyDomain/public_html/mail/functions/global.php:334) in /home/MyDomain/public_html/mail/functions/global.php on line 334
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/MyDomain/public_html/mail/functions/global.php:334) in /home/MyDomain/public_html/mail/src/redirect.php on line 40
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/MyDomain/public_html/mail/functions/global.php:334) in /home/MyDomain/public_html/mail/functions/i18n.php on line 324
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/MyDomain/public_html/mail/functions/global.php:334) in /home/MyDomain/public_html/mail/src/redirect.php on line 67
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/MyDomain/public_html/mail/functions/global.php:334) in /home/MyDomain/public_html/mail/plugins/login_auto/functions.php on line 199
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/MyDomain/public_html/mail/functions/global.php:334) in /home/MyDomain/public_html/mail/plugins/login_auto/functions.php on line 200
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/MyDomain/public_html/mail/functions/global.php:334) in /home/MyDomain/public_html/mail/src/redirect.php on line 101
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/MyDomain/public_html/mail/functions/global.php:334) in /home/MyDomain/public_html/mail/plugins/login_auto/functions.php on line 185
    
    Warning: session_write_close() [function.session-write-close]: The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /home/MyDomain/public_html/mail/src/redirect.php on line 165
    
    Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /home/MyDomain/public_html/mail/src/redirect.php on line 165
    تسجيل دخول







  4. #19


    معليش آسف عذراً على التأخير

    فانت تأخرت علينا 11 يوم .. وانا تأخرت عليك 7 ايام ..

    المهم تفضل الكود كاملاً .. جربه وعطني خبر ..

    كود PHP:
    <?
    if (eregi("block-NutsMail.php"$_SERVER['PHP_SELF'])) {
        
    Header("Location: index.php");
        die();
    }
    $content  "<head>";
    $content  .= "<meta name=\"robots\" content=\"noindex,nofollow\">";
    $content  .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://mail.MyDomain.net/themes/css/none.css\" />";
    ?>
    <script language="JavaScript" type="text/javascript">
    <!--
      function squirrelmail_loginpage_onload() {
        document.forms[0].js_autodetect_results.value = '1';
        var textElements = 0;
        for (i = 0; i < document.forms[0].elements.length; i++) {
          if (document.forms[0].elements[i].type == "text" || document.forms[0].elements[i].type == "password") {
            textElements++;
            if (textElements == 1) {
              document.forms[0].elements[i].focus();
              break;
            }
          }
        }
      }
    // -->
    </script>

    <style type="text/css">
    <!--
      /* avoid stupid IE6 bug with frames and scrollbars */
      body {
          voice-family: "\"}\"";
          voice-family: inherit;
          width: expression(document.documentElement.clientWidth - 30);
      }
    -->
    </style>
    <?
    $content  
    .= "<body text=\"#000000\" bgcolor=\"#FFFFFF\" link=\"#0000CC\" vlink=\"#0000CC\" alink=\"#0000CC\" onload=\"squirrelmail_loginpage_onload();\">";
    $content  .= "<form action=\"http://mail.MyDomain.net/src/redirect.php\" method=\"post\"><input type=\"hidden\" name=\"SQMSESSID\" value=\"".$session_name."\" />";
    $content  .= "";
    $content  .= "";
    $content  .= "<div id=\"container\"> ";
    $content  .= "";
    $content  .= "  ";
    $content  .= "  <input type=\"hidden\" name=\"SQMSESSID\" value=\"".$session_name.">\" />";
    $content  .= "  <p align=\"center\">";
    $content  .= "  <font size=\"2\" color=\"#000000\"><br>";
    $content  .= "        &Aring;&Oacute;&atilde; &Ccedil;&aacute;&atilde;&Oacute;&Ecirc;&Icirc;&Iuml;&atilde; :<br>";
    $content  .= "        </font>";
    $content  .= "        <input type=\"text\" name=\"login_username=\" tabindex=\"1\" class=\"input\" dir=\"ltr\" style=\"color: #233DA3\" size=\"20\">  <font size=\"2\" color=\"#000000\">";
    $content  .= "        <br>";
    $content  .= "                &szlig;&aacute;&atilde;&Eacute; &Ccedil;&aacute;&atilde;&Ntilde;&aelig;&Ntilde; :<br>";
    $content  .= "        </font>";
    $content  .= "        <input name=\"secretkey\" type=\"password\" class=\"input\" tabindex=\"2\" dir=\"ltr\" size=\"20\" style=\"color: #233DA3\">";
    $content  .= "  <input type=hidden name=\"js_autodetect_results\" value=\"SMPREF_JS_OFF\">";
    $content  .= "  <input type=hidden name=\"just_logged_in\" value=1>";
    $content  .= "  ";
    $content  .= "  <center> ";
    $content  .= "    <input name=\"button\" type=\"submit\" value=\"&Iuml;&Icirc;&aelig;&aacute;\" class=\"button\">";
    $content  .= "  <center>";
    $content  .= "        <div align=\"right\">";
    $content  .= "                <table border=0 width=\"137\">";
    $content  .= "<tr><td valign=center width=\"22\">";
    $content  .= "<p align=\"center\">";
    $content  .= "<input type=checkbox name=cb_auto_pass value=true>";
    $content  .= "</td><td valign=center nowrap width=\"105\">";
    $content  .= "<p align=\"center\"><span lang=\"ar-sa\">&Ecirc;&ETH;&szlig;&Ntilde; &Ccedil;&Oacute;&atilde; &Ccedil;&aacute;&atilde;&Oacute;&Ecirc;&Icirc;&Iuml;&atilde;<br>";
    $content  .= "&aelig;&szlig;&aacute;&atilde;&Eacute; &Ccedil;&aacute;&atilde;&Ntilde;&aelig;&Ntilde;</span></td></tr>";
    $content  .= "<tr><td colspan='2' valign=center align=center>";
    $content  .= "        <a href=\"mail.MyDomain.net/plugins/login_auto/security.en.php?SQMSESSID=".$session_name."\"></a></td></tr>";
    $content  .= "</table></div>";
    $content  .= "        </center>";
    $content  .= "    ";
    $content  .= "</div>";
    $content  .= "</form>";
    echo 
    $content;
    ?>






    __________________
    تابعني على Twitter

  5. #20
    عضو سوبر نشيط
    تاريخ التسجيل
    Oct 2003
    المشاركات
    641


    اقتباس المشاركة الأصلية كتبت بواسطة مدمن نت
    معليش آسف عذراً على التأخير

    فانت تأخرت علينا 11 يوم .. وانا تأخرت عليك 7 ايام ..

    المهم تفضل الكود كاملاً .. جربه وعطني خبر ..

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

    أخي أولاً عذراً على التأخر في الرد لأني كنت مسافر وأنا الآن جربت الملف لكن ما نفع أيضاً والملف اللي جربته في المرفقات --->>

    وأنا في انتظار ردك .





    الملفات المرفقة الملفات المرفقة





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

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

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