DEANO.ME

php

 

Today I came across the weirdest error ever in PHP, it is so weird it is not even code related, in fact it is completely COMMENT related and it stumped me for SEVERAL HOURS! Okay so here is a snippet of code to demonstrate… (obviously the code I was working with originally was very complex […]

 

I recently decided to implement the Ebay Partner Program into my website as the Google Affiliate Network was making me nothing. One of the biggest problems though is, when using the “Widgets” you do not get Geo Targeting, so you have to create a different Banner for each country and implement a way to target […]

 

My current project requires quite a bit of date > timestamp and timestamp > date converting, mainly so I can store timestamps in a database instead of string dates. This has lead to a bit of frustration when modifying the database by hand – What does 1320969600 MEAN!?!?! Anyway I decided to create a small […]

 

Pulling your hair out over this Notice message? Well here is an explanation for why you are getting this and how you can avoid it. Take a look at the following code: <?php class myClass { public $var = 1; public function &getVar() { return($this->var); } } $obj = new myClass; $value = &$obj->getVar(); ?> […]

 
Share
Share
Tweet
Share
Pin
0 Shares