CTphpnwb's Profile User Rating: *****

Reputation: 3130 Guru
Active Posts:
11,036 (4.55 per day)
08-August 08
Profile Views:
Last Active:
User is online 8 minutes ago
Viewing Topic: sending hp formatted email

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Dream Kudos:
Expert In:

Latest Visitors

Icon   CTphpnwb has not set their status

Posts I've Made

  1. In Topic: [Link/Discussion] Why We Hate Flash

    Posted 27 Mar 2015

    I've always hated Flash. At its best, it's just a wrapper for some one else's video codec, and at it's worst it's imposing a crappy interface on my computer.

    I've been using click to flash for years. When I come upon a site that's mostly or all flash I can tell in an instant, so I can move on without dealing with it. If I "need" to use Flash for some reason, it's available. I'm ambivalent about it going away though. I'm afraid that would just mean that the junk currently created in Flash will find its way into HTML5 and I won't have an easy way to block it like I do with Flash.
  2. In Topic: What am I doing wrong and how do I fix these errors?

    Posted 27 Mar 2015

    What is this? else (false)
    What is number?
  3. In Topic: Updating after validation php/sql/bootstrap

    Posted 25 Mar 2015

    Note that while you are using prepared statements, you're leaving yourself vulnerable in lines 9 - 12.

    As for your question, everything after line 4 is executed only if the user is logged in (if you make my change below), so simply do not do the check!

        if(!$user->is_logged_in()){ header('Location: login.php'); exit; }
  4. In Topic: Updating after validation php/sql/bootstrap

    Posted 25 Mar 2015

    Deprecated MySQL functions are simpler to use (not counting all the sanitizing you need to add) than PDO or MySQLi prepared statements, but far less secure. That's why they've been deprecated. If you're just learning PHP you should start with
    When dealing with old code that uses deprecated MySQL functions you should replace them if possible. If it's not possible, your experience with PDO or MySQLi will benefit you when dealing with MySQL functions.
  5. In Topic: Why Is Your Job Fulfilling?

    Posted 25 Mar 2015

    View Postjon.kiparsky, on 25 March 2015 - 10:44 AM, said:

    Are we talking about enough deaths to materially affect population? I'm not sure what the best projections are, but to affect global population, you'd have to be killing off something like the replacement rate.

    HIV kills millions every year. The research could help to avert millions of new infections over time. Avert enough new infections and the reproductive rate drops below 1: the disease eventually dies out. So it could be very significant.

My Information

Member Title:
D.I.C Lover
Age Unknown
Birthday Unknown
Rock Climbing. A bad day of rock climbing is still a good day.
Programming Languages:
Dabble in Objective C, Swift

Contact Information

Click here to e-mail me
Website URL:
Website URL  http://


Page 1 of 1
  1. Photo

    jannbaby Icon

    20 Feb 2015 - 12:24
    Hello dear,
    please do not be offended to receive this massage, My name is Miss jannet, I saw your profile today at,( www.dreamincode.net) and become very interest to be your friend And i have an important issue to discuss with you if you accept Please contact me back on my private email address, ( jannetrubel@ yahoo.in ) for more details about me, thanks,
  2. Photo

    CTphpnwb Icon

    31 Mar 2010 - 18:50
    Please post programming questions in the appropriate forums.
Page 1 of 1