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.

Brick

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Brick got a reaction from B533913X in Do I start with coding or Visual Web Design programs?   
    Uninstall Dreamweaver. I'm not joking.
     
    Creating a test environment can be a great idea. For one, it gives you live experience of installing Apache, PHP and MySQL, who are about to become your best friends. It also means you can develop your pages without the pain of uploading things to a server every time you change them, and without the security risk of making unfinished code semi-public. Though you may not be producing dynamic pages yet, you'll be amazed how quickly you will be.
     
    On the other hand, if you're just starting out and have access to a PHP-ready host, you may want to leave the dev server until later.
     
    Oh, and if I could go back...? I'd have learned jQuery on release day, rather than last month.
  2. Like
    Brick got a reaction from RobertG in Whats the easiest way of doing this?   
    In each admin panel, I would call yoursite.com/serviceupdate.php?site_id=214 on page load. I would store my service updates in a database table and query with $_GET['site_id']. In my own interface for creating service updates, I would use checkboxes to determine the scope of each service update (i.e. whether it applies to one, all, or some of my clients). You could also provide a "dismiss" link for clients once they have dealt with the update, or even link them directly to a payment gateway on your own server that dismisses the bills on checkout.
  3. Like
    Brick got a reaction from Jock in Perl Script Contact Form - How to send to any email address?   
    Try learning some Perl.
  4. Like
    Brick got a reaction from bocaj in How to display " from a database?   
    Always call mysql_real_escape_string on any data you are submitting as SQL.
     
    For example (from http://php.net/manual/en/function.mysql-real-escape-string.php):
     

    <?php // Connect $link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password') OR die(mysql_error()); // Query $query = sprintf("SELECT * FROM users WHERE user='%s' AND password='%s'", mysql_real_escape_string($user), mysql_real_escape_string($password)); ?>
    This will automatically escape problematic characters, freeing you from the danger of malformed queries or security risks from SQL injection.

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.