עבור לתוכן
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.

הוספת אופצית זכור אותי בדף LOGIN בPHP

Featured Replies

פורסם

[TABLE=width: 968]

[TR]

[TD=class: gutter]

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

[/TD]

[TD=class: code]<?php

session_start();

require_once 'function.php';

$users = get_all_users();

?>

<html>

<head>

<title>login</title>

<link rel="stylesheet" type="text/css" href="css/style.css">

</head>

<body>

<?php

$errors = array();

if (isset($_SESSION['login']))

{

header('Location: index.php');

break;

}

else

{

if (isset($_REQUEST['login']))

{

if ($_REQUEST['username'] == "")

{

$errors['username'] = "you did not enter username";

}

if ($_REQUEST['password'] == "")

{

$errors['password'] = "you did not enter password";

}

if((empty($errors['username']))||(empty($errors['password'])))

{

if ((key_exists($_REQUEST['username'], $users)&&

$users[$_REQUEST['username']] == $_REQUEST['password']))

{

$_SESSION['username'] = $_REQUEST['username'];

header('Location: index.php');

break;

}

else

{

$errors['key'] = "wrong username and/or password, please try again";

}

}

}

if (isset($_REQUEST['remmember_me']))

{

setcookie("username",$_REQUEST['username'],time()+60*60*24*14);

}

}

?>

<div class="welcom">

<h2>welcom to My Chet please login:</h2>

<div class="login">

<form method="post">

<div class="username_box"><input type="text" name="username" placeholder="userName"></div>

<div class="password_box"><input type="password" name="password" placeholder="password"></div>

<input type="checkbox" name="remmember_me" >Remember me on this computer

<div class="login_butten"><input type="submit" name="login" value="login"></div>

<div class="nut_a_member">Not singed-up yet <a href="singup.php">sing-up now</a></div>

<?php if(isset($errors['username']))

{

echo $errors['username'];

}

if(isset($errors['password']))

{

echo "" . $errors['password'];

}

if(isset($errors['key']))

{

echo "" . $errors['key'];

}

?>

</form>

</div>

</div>

[/TD]

[/TR]

[/TABLE]

זה הLOGIN

[TABLE=width: 968]

[TR]

[TD=class: gutter]

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

[/TD]

[TD=class: code]<?php

session_start();

require_once 'function.php';

$users = get_all_users();

?>

<html>

<head>

<title>My Chet</title>

<link rel="stylesheet" type="text/css" href="css/style.css">

</head>

<body>

<div class="outside_box">

<?php

if (isset($_SESSION['username']))

{

require_once 'heder.php';

require_once 'message.php';

$_SESSION['message'] = $message;

?>

<div class="chet_erea">

<div class="chet_erea_inside">

<div class="My_Friends">My Friends <?php require_once 'my_friends.php'; ?>

<ul>

<?php

foreach ($my_freinds as $friends => $value)

{

?>

<li><?php echo $friends; ?> <a href="chat-page.php?friend=<?php echo $friends; ?>">send message</a></li>

<?php } ?>

</ul>

</div>

<div class="new_messege_outside">

<div class="new_messages">

you've got (X) new messages

<div class="new_messages_inside"><a class="button" href="index.php">Check for new messages</a></div>

</div>

<div class="message_to_everyone">message to everyone <?php require_once 'send_to_all.php'; ?></div>

</div>

</div>

<div class="Last_conversation"><?php require_once 'last_conversation.php'; ?>

</div>

</div>

<div class="Active_conversations">Active conversations:<?php require_once 'Active_conversations.php'; ?></div>

</div>

<?php

}

else

{

// send back to login

header("Location:login.php");

break;

}

?>

</body>

</html>

זה האינדקס

[/TD]

[/TR]

[/TABLE]

ארכיון

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

דיונים חדשים

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.