Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

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.

borellus

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    borellus reacted to Shaun Childerley in Feels better.   
    Just donated £5 to webdesignerforum and i actualy feel good about it.
  2. Like
    borellus reacted to Shaun Childerley in Simple login script problem   
    This script is vunerable to MYSQL Injection.
  3. Like
    borellus reacted to SniderDK in htaccess confusion? lil help   
    you could use a catch all and filter what you want in code, makes the rule run faster too

    RewriteRule ^(.*)/?$ users.php?username=$1
  4. Like
    borellus reacted to SniderDK in Simple login script problem   
    that is rather odd... if this doesn't work you have to have incorrect data in the DB or coming in the post vars... i would of thought.
     
    try using echo var_dump(); as it dumps the data type
     

    <?php session_start(); require('config.php'); $username = $_POST['user']; $password = $_POST['password']; $username = stripslashes($username); $password = md5($password); $userdata = mysql_fetch_assoc(mysql_query("SELECT * FROM users WHERE username = '$username' AND password = '$password' LIMIT 1")); if($userdata['username'] == $username){ $_SESSION['loggedin'] = "true"; $_SESSION['user'] = $userdata['username']; header("Location: index.php"); exit; } else { $_SESSION['loggedin'] = "false"; header("Location: error.php?code=2"); exit; } ?>

Account

Navigation

Search

Search

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.