עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

עזרה .htaccess

Featured Replies

פורסם

אהלן רציתי לשאול שאלה

יש לי את הקוד הזה

<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{QUERY_STRING} !^param=(.*)$
RewriteRule ^(.*)\.deb$ download_counter.php?file_name=$1 [nc]
</IfModule>

אני יגיד לכם למה הוא אמור לשמש

אני אמור להקליד כתובת אינטרנט עם שם של קובץ שהסיומת שלו היא .deb

ואז שהוא יעביר אותי לדף שנקרא

download_counter.php

ושם יש את הקוד הזה


$file_name = mysql_real_escape_string ($_GET['file_name']);
$file_name = str_replace("/public_html/","",$file_name);

$result = mysql_query("SELECT * FROM table_test WHERE deb_name = '" . $file_name . "'" );

if ( mysql_num_rows ($result) == 0 )
{
mysql_query ("INSERT INTO table_test (pack_info, download_count, time_created) VALUES ( '". $file_name ."' , 0 , NOW() )");
}
else
{
mysql_query("UPDATE table_test SET download_count=download_count + 1 WHERE pack_name='" . $file_name . "'" );

header ("Location: [url]http://ff.co.il/"[/url] . $file_name . ".deb?param=YES");
}

בסופו של תהליך אמור להתווסף לי לטבלת sql +1 לקובץ שנכנסו אליו

וזה פשוט לא עובד לי פתאום

פורסם

תחליף את הציטוט בקוד (הכפתור שליד הציטוט), כדי שמה שכתבת יהיה יותר קריא.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.