This argument is out and out dumb. Smurf, you are arguing based on RAW in the most rediculous fashion, and ignoring half of the SRD in the process:
Whip: A whip deals nonlethal damage. It deals no damage to any creature with an armor bonus of +1 or higher or a natural armor bonus of +3 or higher. The whip is treated as a melee weapon with 15-foot reach, though you don’t threaten the area into which you can make an attack. In addition, unlike most other weapons with reach, you can use it against foes anywhere within your reach (including adjacent foes).
Using a whip provokes an attack of opportunity, just as if you had used a ranged weapon.
You can make trip attacks with a whip. If you are tripped during your own trip attempt, you can drop the whip to avoid being tripped.
When using a whip, you get a +2 bonus on opposed attack rolls made to disarm an opponent (including the roll to keep from being disarmed if the attack fails).
You can use the Weapon Finesse feat to apply your Dexterity modifier instead of your Strength modifier to attack rolls with a whip sized for you, even though it isn’t a light weapon for you.
Flaming: Upon command, a flaming weapon is sheathed in fire. The fire does not harm the wielder. The effect remains until another command is given. A flaming weapon deals an extra 1d6 points of fire damage on a successful hit. Bows, crossbows, and slings so crafted bestow the fire energy upon their ammunition.
Moderate evocation; CL 10th; Craft Magic Arms and Armor and flame blade, flame strike, or fireball; Price +1 bonus.
ATTACK ROLL
An attack roll represents your attempt to strike your opponent on your turn in a round. When you make an attack roll, you roll a d20 and add your attack bonus. (Other modifiers may also apply to this roll.) If your result equals or beats the target’s Armor Class, you hit and deal damage.
Automatic Misses and Hits: A natural 1 (the d20 comes up 1) on an attack roll is always a miss. A natural 20 (the d20 comes up 20) is always a hit. A natural 20 is also a threat—a possible critical hit.
So, from our rules lesson, we learn that when you make an attack and roll above the AC you hit and deal damage So, when you hit, flaming activates because a flaming weapon deals an extra 1d6 points of fire damage on a successful hit. Now then the weapon sees if it does damage, and against an armored opponent, it deals no damage to any creature with an armor bonus of +1 or higher or a natural armor bonus of +3 or higher.
So now, you have your attack: Hit = 1d6 + 0
Done. Stop being pointless.
Zero