Skip to content

DPJ Online Blog

Computer Programming, Health, Science and Information Technology, Google Adsense, Online Business & Adventure

Archive

Category: Programming

It was a hard night on Oct 23, 2009. We stayed late with my friends preparing for a bigger project on a web based database system. After a few hours of brain storming, the table was almost flooded with coffee and cookies :) thank you nescafe, we were able to stand still.

Of course, out of topic discussions but recorded, just kidding, were the main ice breaker especially when Ken opened up his online experience thing. I can’t believe that he dated plenty of his online contacts, wew…. I thought online friends are just for an online activity but they were not :) you know what I mean. Not just one but more than five. They were able to escape the virtual lounge and they made it!! I was surprised and think for a while that how I was left behind on this online episode.

I have a friend too that always denies that meeting in person is impossible for the online activity. I do believe but not in the case of Ken.

Back to our project, I was so excited with this one. This is the first time I will be involved in implementing Zend Framework and PostgreSQL in a Linux Server. I know this will be something to be work on everyday but I am excited in doing this. Hopefully if the proposal will be accepted with our customer, we’ll start coding early next week. So it’s gonna be a busy 6 months to go!!.. But I know after a heavy rain the sun will shine as bright as crystals.. :) hmm a good vacation may be or a good scuba dive at panglao bohol :) or just stay at home and redesign my kitchen, let’s see.

Come on let the ball rollin’ sign the contract ! :) :) :)

1. Adding a google adsense below your header.


Edit template.html and locate the line {ADMIN_MENU} after that line you can have your 728×90 google adsense

{ADMIN_MENU}
adsense code here

sample page http://kolongo.dpjonline.com

2. Beside the image preview

Open and edit themes.inc.php located at /include/ folder of the coppermine directory.
locate the line {IMAGE}

GOOGLE ADSENSE CODE
{IMAGE}
GOOGLE ADSENSE CODE

sample page http://kolongo.dpjonline.com

Happy Coding !

A lot of solutions I’ve read regarding on how to load pdo_pgsql with WAMPServer but the real and complete solution is to add the php path to the windows environment variables. You can disregard my previous post (here) on how did i do it. It was just a sort of experimentation but it really worked. Now here’s the real solution to the problem.

1. right click on my computer and select properties.
2. click on advance system settings
3. on the system properties window click “environment variables”
4. look for system variables frame and click “Path” variable
5. click the “edit” button
6. change the variable value by adding your php root path mine looks like this: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\wamp\bin\php\php5.3.0\ I just added my php root path. 7. restart your wampserver and check mark the pdo_pgsql and php_pgsql extension using the wamp server menu or by editing your php.ini ; just remove the remark for the above extensions. and you’re done!

happy coding!