Wednesday, May 24, 2006

25th Day: ThE LaSt DaY!

It's my last day today! I am happy and sad at the same time. I'm happy because my OJT is finished. I'm sad because of the friends that I will be leaving there. For my last assignment, my supervisor, Sir Richard, asked me to debug some minor errors in the VConnect site. The VConnect site is the new website for the new call center of VPHI. He also asked me to make an initial layout for the Mt. Everest site. I'm not sure but what I know is this site is for the recent Philippine Mt. Everest expedition. Then comes merienda time, me and my fellow trainees, Svet and Vanessa prepared a little something for our officemates. Our last day blowout! We ate lots of food, like pizza, baked mac, and tarts. I together with my fellow trainee, Svet, and some officemates, like Toni, Acey, Hazel, Maricris, and even Sir Richard, decided to have an overtime. For dinner, we ate the left over food from merienda which we didn't finish again. After eating dinner, Toni and Acey gave me and Svet each a gift. For me, a personalized pin. I love it! I just don't know if I want to use it because I don't want it to get lost or be damaged. I had alot of fun today. I will never forget this OJT experience.

Monday, May 22, 2006

24th Day: browser compatibility issues :(

I'm having browser compatibility issues. I just found this morning when my supervisor tested it in his computer which uses Mozilla Firefox. It works perfectly well in Internet Explorer but there are some things that doesn't appear in Mozilla Firefox. I am now in the process of debugging the code. I hope I can finish this before I go home because the next day I go to work will be the last day of my OJT.

Saturday, May 20, 2006

23rd Day: some additions again...

I'm now finished with the back-end of order.php and it's now completed. I'm just adding the necessary features, like error checking and validation, to make it more useful and to also avoid some bugs.

Thursday, May 18, 2006

22nd Day: on to the back-end...

The layout for the Order Form page is now finished. I am now working on the back-end of the page. Like my first assignment, I will be using formmail.php again. I will be linking it with order.php so that when a user submit his orders, order.php will send an email containing his orders to the email of the sales department.

Wednesday, May 17, 2006

21st Day: layout making day...

I'm now making the layout for the Order Form page. It's an easy task for me considering that I don't have to think for the layout of the page because I'm just copying the form from Vibal's brochure as is. I'm familiar on how to make GUI components but I'm not really good in making layouts. I'm not that artistic and ideas just won't pop out.

Tuesday, May 16, 2006

20th Day: some additions...

The Request for Evaluation Copies page is now completed. I'm just adding the necessary features, like error checking and validation, to make it more useful and to also avoid some bugs.

Monday, May 15, 2006

19th Day: Session Handling Functions, Working! :)

I fixed the error! Yehey! Thanks to my friend, you know who you are! Haha! The session_start() method should be placed at the beginning of the php file, not at middle, not at the end but at the beginning of the file before the tag. I'm very happy. Session Handling Functions are now working. I can now continue where I left off and implement the ideas I had in mind.

Friday, May 12, 2006

18th Day: session handling problems :(

I still can't make it work. I read the online manual over and over again but I still can't find an answer to my problem. My problem is I can't start sessions. I use the session_start() method like manual said but there are always two errors that appear. Here are the actual error messages:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\Evaluation\requestevaluation.php:2) in C:\Program Files\Apache Group\Apache2\htdocs\Evaluation\requestevaluation.php on line 14

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\Evaluation\requestevaluation.php:2) in C:\Program Files\Apache Group\Apache2\htdocs\Evaluation\requestevaluation.php on line 14

I know how to use sessions because I used it in JSP before but how will use it if I can't start and make it work in the first place. If I get pass this, just this one thing, everything will be alright. I hope can find a solution to this by tomorrow.

Thursday, May 11, 2006

17th Day: PHP: Session Handling Functions

Today, I discovered that PHP also have Session Handling Functions just like JSP. I knew it! I know that there must be some way that I can be able to retain data in a variable across different webpages. My problem now is I can't make it work. I should read more on the Session Handling Functions manual found in

16th Day: some problems again...

I have been doing this "add book for evaluation" thing the whole day. I have a JavaScript-PHP integration problem again. I think I have a wrong design on how to implement it. I'll think of new ways on how to implement it tomorrow.

15th Day: half day...

At last, blog update. I continued what I have started yesterday and I'm also planning on how I will implement the next step, the "add book for evaluation" thing. I am just half day today so I'll be leaving in a minute. I just got to do some stuff. Bye bye for now.

Monday, May 08, 2006

14th Day: I'm on FIRE!

I found the solution to the problem I had last time on PHP and JavaScript integration. The solution is to not use JavaScript anymore, haha!Ü I think I have done many things today considering the new techniques I have found in coding in HTML and PHP. I just hope my idea for the form is right though.

Friday, May 05, 2006

13th Day: GrEaT DaY ToDaY!

It's a great day today even if its my 13th day. I worked on the website of Nginiiig, a show on ABS-CBN which has been turned in pocketbooks by Golden Books and Publications. Like yesterday, I worked on the user interface. I fixed the errors in the code that makes some features of the website not visible. It's also a great day because it's the first time that I received may allowance. Thank God Its Friday!Ü

Thursday, May 04, 2006

12th Day:'s blog and other stuff...

I continued what I have started yesterday. I still can't figure out how to integrate JavaScript and PHP. This afternoon, I was asked to look at's blog and find out why it's not compatible with Internet Explorer. Luckily, I found the error. The webpages use an external JavaScript and CSS file. The error is that this webpages points to the wrong directory. Another error is in the the JavaScript file. This error causes the pictures to not display properly. I also have corrected this and the blog is now ok.Ü

Wednesday, May 03, 2006

11th Day: code and fix...

I'm still on the test page. I'm coding, designing and planning all the same time. I'm coding and trying out PHP MySQL functions, designing and planning the database and how the site will be implemented. I also stumbled upon some problems that I encountered in the past, like the possibility of integrating JavaScript and JSP but now its PHP instead of JSP. JSP and PHP are somewhat similar but I didn't found a solution to that problem before.

Tuesday, May 02, 2006

10th Day: SQL and and stuff...

Thank God, I'm now finished at PHP-MySQL connectivity. I can now access the database using PHP. I don't know PHP that well so I need the internet to search for some codes but there is no internet connection today. That's why I can't work properly. I'll just continue doing this test page tomorrow when there's internet already.

9th Day: department outing...

It's just five of us here in the office. The others went on an outing. I forgot that my supervisor, sir Richard, is the only one who knows that password to the admin account of the computer I use and he is also the one who activates access to this blog. So I can't continue the things that I left yesterday because the other accounts on this computer don't have access to the things I do. I also can't add a new entry to this blog that's why I'm doing this just now. Today, I just gathered data for the database and planned a little on how the design will go.

Thursday, April 27, 2006

8th Day: a new hope...

I'm still here, figuring out this thing that have been pestering me for 3 days now, the PHP-MySQL connectivity, and there's still hope for me. I tried another installation and/or configuration but it requires you to restart your pc. I think I'll just continue this tomorrow since I just found about this awhile ago. I hope it works

Wednesday, April 26, 2006

7th Day: still stuck at PHP-MySQL connectivity...

It's been two days since I started to try to connect to MySQL using PHP. I don't know what seems to be the problem. I have read and followed the installation and configuration for both PHP and MySQL many times but still no progress. I'm starting to get board seeing the same error again and again. For me, it's better to see different errors once in a while when you try something different than to see the same error again. It just says that you're just doing the same thing even when you're not, know what I mean? When could I get pass this problem?!

Tuesday, April 25, 2006

6th Day: a little bit of this, a little bit of that...

I continued to fix the problems that I had yesterday. Then came lunch break and I haven't fixed that PHP-MySQL connectivity. After lunch my supervisor asked me to look at this software, teiPublisher, a software designed to validate XML files, convert it to HTML and things like that. It's a bit tricky because its a .jar file but I figured out how to install it. I made it work but couldn't understand how it works. It validated the sample xml file. I tried ko convert it to a html file, it generated an html file but it doesn't have any content. I don't know why but atleast I made it work. :P

Monday, April 24, 2006

5th Day: there can be miracles...

I have installed MySQL Server 5.0 this morning. Then problems came up when I tried to connect to it using PHP. I have setup and configured it just like what its said in the installation instructions in and It is also recognized by the Apache HTTP Server but I don't know if I have to modify some settings in Apache because it is not mentioned in the installation instructions. I hope I can fix it by tomorrow.

Saturday, April 22, 2006

4th Day: I have accomplished something! :D

4th Day: I have accomplished something! :DThe Request for Evaluation Copies page is now finished. After hours of uploading the same files again and again, one trial after the other, the page works now. And I said to mysely, what a relief that I have finished that thing. It was kind of complicated for me becuase I'm not used to working PHP, Apache, and SMTP. I am used to JSP and Resin but not PHP and Apache. For SMTP, I didn't dwell to much into it, but that got me thinking for a while. Next assignment is the database for the site. I hope I can still remember all of that concepts, designs and implementation used in databases. Ok, bye for now.Ü It's Sunday tomorrow, no work!Ü

Friday, April 21, 2006

3rd Day: just a little bit more...

I am ok, I was typing codes and setting up formmail.php until this SMTP thing got in my way. I don't know anything about SMTP. I've heard it before but that's it. After reading some stuff about SMTP, I think we should go and edit online where there is an SMTP Server. I Hope I can fix thing tomorrow.

2nd Day: still debugging...

I'm still debugging the website. I'm still on that formmail.php and I can't find what seems to be the problem. My supervisor said that its working before they changed servers. I think their are some files missing. As you can see, I skipped one day in putting my entry. That's because there is no internet connection the other day. I'm connected to the network but I still can't access the weblog. Ok thats it, back to debugging...

Wednesday, April 19, 2006

1st Day: Web Development Job

It's my first day today and I was asked to look at their old website in which the forms doesn't work anymore. PHP was used in the creation of their website. It was the first time I encountered PHP and this truly was a relatively new technology for me so it took me a very long time to figure things out, things like the installation and setting up of the web server, which is Apache, and installation and setting up of PHP. Actually up until now, I don't know if I did the right thing or not. But the web server is up and running and it can now interpret PHP codes so I think its ok to say that I'm doing just fine, just fine for someone who just had his first day. Ok, that's all. Bye bye for now.Ü