My progress at Week 2 of ITC280;
1. We can use the phpinfo() function to see what settings our clients have on their host server phpinfo();
2. We can use a variable and concatenate it with a string.
$myName = "Leopaul";
echo "My Name is " . $myName;
3. We can use variables replacement as long as we use double quotes.
$myName = "Leopaul";
echo "My Name is $myName";
4. Variable replacement using numbers
$myNum = 4;
$myOtherNum = 1;
$myTotal = $myNum + $myOtherNum;
echo "I added $myNum and $myOtherNum and the total is $myTotal";
5. Using gettype()
$myNum = 4;
echo "<br />myNum is " . gettype($myNum)." type";
6. Showing the limits of the double numeric type
$myNum = 2;
$myOtherNum = 3;
$myTotal = $myNum / $myOtherNum;
echo "I divided $myNum by $myOtherNum and the total is $myTotal";
echo "<br />myTotal is " . gettype($myTotal)." type";
7. The equals sign is the assignment operator
$myNum = 2;
$myNum = $myNum + 1;
echo "myNum is $myNum";
8. += is a compound operator that appends additional data.
$myNum = 2;
$myNum = $myNum + 1;
echo "myNum is $myNum";
9. We can increment with ++ and decrement with -
$myNum = 2;
$myNum++;
echo "myNum is $myNum";
10. How to create a dynamic copyright.
<em>© 2002-<?php echo date('Y'); ?></em>
11. Short tags are bad and I will never use them but if I do...
<em>© 2002-<?=date('Y')?></em>
12. Example of an if statement.
$myNum = 1;
$myOtherNum = 1;
if($myNum == $myOtherNum)
{
echo "They are equal!";
}
13. Example of an if else statement
$myNum = 2;
$myOtherNum = 1;
if($myNum == $myOtherNum)
{
echo "They are equal!";
}else{
echo "They are NOT equal!";
}
14. Constants once filled cannot be changed and are constantly available.
define("MY_PAY" ,35000);
if($myPay >= 110000)
{
echo "I'm happy!";
}else if(MY_PAY >= 85000){
echo "I'm marginally happy!";
}else{
echo "Not so happy!";
}
15. We can create a function to store code we want to reuse.
function areYouHappy()
{
if(MY_PAY >= 110000)
{
echo "I'm happy!";
}else if(MY_PAY >= 85000){
echo "I'm marginally happy!";
}else{
echo "Not so happy!";
}
}//end areYouHAppy()
* Pop Quiz # 2 score; 7/10 (67%)
* Test # 2 score: 72/100 (72%)
* Time spent total: 5 hours 11 minutes
NOTES: Back in Wednesday, at the near end of the ITC280 class, we did the Assignment # 2, which involves on cutting up two existing third party HTML designs into include files to create two different usuable and professional looking PHP templates. On class, we did just one out of two, but it's a bit more complicating. Happily, however, Mr. Bill Newman, our teacher, will help us do another one on Monday.
That is all... Thank You...
Sunday, April 15, 2012
Welcome Back: 2010 Kia Forte Koup SX
| The front face of the Kia Forte Koup |
When the Kia Forte Koup featured in FM3, this car served as the first-ever Kia car to be ever featured on the video game. I repeat, THE FIRST EVER KIA TO BE FEATURED ON A VIDEO GAME. That's it. So, the Kia Forte Koup (기아 포르테 쿱), how's it feel for the first ever Kia featured on the video game returned on Forza Motorsport 4? Well, for some reason, I wasn't quite different enough to approach with this car made in Korea but for some Filipinos who love Korean-made cars, they consider to be a bit too soon. Even with its performance-inspired, aggressive and sleek styling, it's nowhere near as good as its rivals such as the Scion tC or even the Honda Civic Si but I am glad that this car does well, brilliantly. Summing up this car then is hard because let's be honest, there are several very good reasons why some didn't get the memo of driving the Kia Forte Koup but there is one very good reason why I should...I LIKE IT!!!
Saturday, April 14, 2012
Chevy Avalanche Black Diamond will be last special edition before production ends
| 2013 Chevrolet Avalanche Black Diamond |
Another bad news to the motoring industry! General Motors announced that production of the Chevrolet Avalanche sport utility truck has come to an end and for a proper send-off, Chevrolet released the final edition 2013 Chevrolet Avalanche Black Diamond.
This final edition comes with body-color trim work, special Black Diamond Avalanche badging, and price cuts, which is good news for them. The Avalanche LT comes with standard rear-view camera while the Avalanche LS comes with rear park assist, power adjustable pedals, fog lights, and remote start. Starting price will be $35,980, which is a $2,500 off from the 2012 Model Year pricing. It's their way of saying thank you to the Avalanche enthusiasts and we do really miss this sport utility truck. Can't believe I had to say goodbye to my childhood favorite...
Labels:
american,
avalanche,
chevrolet,
general motors,
news
ALERT! Strong Demand delays Subaru BRZ delivery to early next year...
| 2013 Subaru BRZ |
This isn't how we cock about. It's true! Due to the strong demand to Subaru's first RWD sports coupe, the BRZ, Fuji Heavy Industries said that the delivery for these will be delayed through early 2013.
Subaru's BRZ is the first RWD sports car in joint partnership with Toyota and Fuji Heavy Industries. It went on sale in Japan since March 28, 2012.
Those who are planning to buy the BRZ, bad luck because you have to wait 'till next year. Those who already have one, no harm done...
So, with BRZ delivery pushed through next year, would the TOYOTA 86 be affected? Oh my...
"'Pag Mukhasim, Mukhsarap."
OH NO! This April 13, 2012 episode of Bubble Gang is now RATED SPG! Looks like Bubble Gang's fallen victim to this rating! We sure hope that Bubble Gang will keep it under control in the midst of today's standards. Anyway, what's up on the April 13, 2012 on the now RATED SPG Bubble Gang?
- Pickup Lines!
- James Wang (Jacky Woo) investigates the rape victim
- IyoTube in Play That Funky Music Chipmunk
- Basketball gags
- Mr. Assimo meets the accountant...
- Cheche and Bureche competes at the Little Miss Barangay 2012!
- Pass it on, inmates...pass it on...
- Bubble Gang does Datu Puti Vinegar by spoofing this commercial as Ditu Puti Vinegar! PAG MUKHASIM, MUKHSARAP!
- A devil tries to do good deeds...
- Pickup Lines!
- James Wang (Jacky Woo) investigates the rape victim
- IyoTube in Play That Funky Music Chipmunk
Labels:
bubble gang,
comedy,
funny,
gma,
pinoy
Friday, April 13, 2012
Toyota delays race debut of TS030 race car due to crash
| Toyota TS030 Race Car |
Well, that was unexpected. Due to some crashing during underground testing, Toyota delayed the TS030's racing appearance at the 6 Hours of Spa in May. Despite that, Toyota will be doing whatever it can to have it right before June 2012, which is the start of the 2012 24 Hours of Le Mans.
PRESS RELEASE:
TOYOTA RACING TO DELAY SEASON DEBUT
TOYOTA Racing regrets to announce that, as a result of a testing accident, it is not able to participate in the WEC Six Hours of Spa-Francorchamps.
During testing at Paul Ricard, on Wednesday 4 April, the TS030 HYBRID was involved in an accident which damaged the team's only monocoque.
Regrettably this damage is too severe to repair. A replacement monocoque cannot be produced and sufficiently tested to ensure reliability within the limited time available.
Therefore TOYOTA Racing has informed the organizers of the FIA World Endurance Championship of its decision to withdraw from the WEC Six Hours of Spa-Francorchamps, due to be held on 5 May. The team will make its first appearance at the Le Mans 24 Hours in June.
Yoshiaki Kinoshita, TOYOTA Racing Team President:
"We are deeply saddened to announce this decision and our sympathies are with the drivers, team members and fans who have been anticipating the Spa race so eagerly. Since the accident we have looked into all options but unfortunately there is no alternative course of action open to us."
TOYOTA Racing will now urgently prepare a new monocoque to allow it to resume testing as soon as possible and prepare itself for the Le Mans 24 Hours.
Let's Do The News (April 13, 2012)
So, it is now time to do the news and...oh cock!
What is it James?
The launch of North Korea's rocket has commenced. Those commies! That initiation is all about "cocking about" and this whole centennial anniversary of the birth of a North Korean leader is just pure nonsense! Damn commies! How could they do that?! World domination? Oh cock!
James, better calm down. You're making it worse! Oh and you know what why they pushed it on Friday? Because today was Friday the 13th! FRIDAY THE 13TH!
Oh cock! Unlucky for us, eh?
Well, instead of focusing that, better talk about what's what instead of commie missile threat...
Some idiot is making death threats to the author of Oreimo, Tsukasa Fushimi, because why did that story always center on Kuroneko rather than the titular Kirino Kousaka.
Uh, Richard...You know that idiot was arrested for threatening Oreimo author. About that, does that idiot really made that point? I mean does really Oreimo centered on Kuroneko rather than Kirino? Come on, even in most shows, some characters are proven to be fan faves rather than main ones. I mean look at Hinagiku Katsura from Hayate the Combat Butler. You would always said that instead of Hayate or Nagi, they've singled out Hinagiku because...
...she's popular? Yeah, James. She's popular. No wait... I was thinking of Nagi Sanzenin because about most front covers of the Hayate no Gotoku manga did featured Nagi Sanzenin. Hammond, any reason why Kuroneko's often stand out in the Oreimo story? Because she's much more of a fan favorite than Kirino. Really, she's much more popular.
Ah! I see your point there pal...
Shall we move on?
Sure thing pal!
Now, some man from Ohio was arrested to sell a cloned Chevelle Z16 as a real thing. Named Bobby Patton, he tries to make money for a 1965 Chevrolet Chevelle SS SS-396 dressed as a rare Chevrolet Chevelle Z16. What's a Z16 you may ask? This is a mega rare version of the Chevelle SS-396. It comes with brakes lifted from full-size sedans of the day, a unique rear axle, a stiffer boxed frame borrowed from a convertible and a uniquely trimmed L37 396 V8. It even comes with special trim work, badges, VINs and various engine and axle stampings help identify the hopped up Malibu models from their kin.
Those eagle eyed Chevelle enthusiasts revealed the flaw of the faux Z16 and a Z16 owner once said...
"Hi, Roger. Thanks for sending the pictures. Unfortunately, your car is not a Z16. Nor is the engine a Z16 engine. Nor is it # matching to the car.
I own 2 real Z16′s, and am the owner and editor of the Z16 website and Z16 Registry. www.z16chevelle.com . . . So, trust me that I know what I am talking about (on this subject at least).
The VIN tag and the cowl tag that you have are homemade tags, where someone cut out a flat piece of aluminum the shape of the tag, and stamped what they wanted on it. On real VIN and cowl tags, the characters are raised, not impressed into the tag. I will email you pictures of real Kansas tags in a moment.
Further, whoever made the fake cowl tag copied the body # of a real Z16 (14629) from a picture on my website!! You will see that body number on the picture I am about to send you. The body numbers were not reused; each Z16 has a different body #; so your car could not have body # 14629 even if it was a real Z16.
You stated in the auction that it has a 160 MPH speedometer, but in the pics I can see that it is a 120 MPH speedometer.
The rear trim on Z16′s is totally different. Look at any of the pics on my website.
Lastly, the engine you have is not a Z16 engine. It is not even a 1965 engine. It is a 1966 Chevelle 396/360hp engine. With that casting #, the deckstamps mean:
TIIIIEF means Tonawanda engine plant, November 11, 396/360 HP 66 Chevelle application.
F105961 is the last 7 digits of the VIN number of the car that that engine originally came in. Which do not match the VIN # on your title. The head casting # is also for OVAL port 1966 396 heads, which were used on 396/325hp and 396/360hp engines. Not on 375hp engines, which used square port heads.
I sincerely hope you did not buy this car thinking it was a real Z16 and pay a real Z16 price for it. If you did, you need to hire a good lawyer and sue whomever sold it to you. You also need to go to Axxxx Motor Sales who performed your appraisal and demand your money back, because they obviously do not know what they are doing.
Sorry to be the bearer of bad news, if you did not already know all of this.
Thanks- Jeff Helms"
Thanks to those eagle eyed Z16 enthusiasts, Patton faced charges of Tampering with Records, Possessing Criminal Tools, Telecommunications Fraud and Attempted Simulation. He pleaded guilty and received two years probation.
Oh! It goes to show you that you can't do that in real life. Claiming a Chevelle as a rare Z16 is nothing but blasphemy to the sacred Chevelle Z16 name. It's like Chinese cloning cars! He he he....
Now, for today, here's a clip for the Bugatti Veyron Grand Sport Vitesse, the most powerful roadster in the world!
Wow, that Vitesse looks cool. Wish I want to try one...
Now, anyway, James. SR Auto Group, a tuning house, they modified the Scion iQ into something aggressive...

Well, it's a bit more aggressive but no further details yet. Some say, it was labeled as Project Pryzm. From the looks of it, it looks like a mashup between the front of the Lancer Evo and the pig from Angry Birds. Ho ho ho!
Hmmm...Odd...Not as odd as the...(clears throat)
Anyway, yesterday, we got our hands on two unicorn cars on Forza Motorsport 4. One is the 2007 Ford Mustang GT500 and the other one was the MINE'S GT-R R34.


First off, I got this 2007 Shelby GT500 for defeating someone who works at Turn 10 Studios, someone who has a Gamertag named T10TailHappy, at the Cone Killer Mugello rivals event. Praise to someone who tuned my Viper SRT10 ACR that led me to win. To celebrate my acquisition, time to put this round the Top Gear Test Track!
In Top Gear, they did it in 1:30, as fast as the Vauxhall Monaro VXR. For mine, I did it in 1:28.5, which is somewhat faster than the time set by The Stig! Wow!
Anyway, about the MINE'S GT-R R34, I got this after participating last month's VIP Rivals event held at the Nurburgring. Now it's time to put this one on a celebratory run at the Top Gear Test Track!
Now that's quick! As quick as...
HI GUYS! WHAT'S UP?!
Clarkson! What are you doing?
You guys heard about that NoKor rocket right? Anyway, developing news to you! ROCKET LAUNCH FAIL! YEAH!
Really, how?!
Oh!
Yeah yeah...North Korea rocket launch fail but don't get cocky about this. It's all trial and error for this commie country. Don't get so sure...
Oh, okay...
And something else! You know what? A driver and 7 people died in a horrible car crash near a popular tourist destination in Kyoto, Japan...
Yesterday, the van rammed into a crowd at an intersection before crashing into a utility pole about 200 meters away. Ten people were injured.
My gosh. That's horrible. Something's wrong...
Yeah, very disappointing. And that's the news! Thank you!
Labels:
let's do the news,
news
Subscribe to:
Comments (Atom)


