Sunday, December 30, 2007

Saturday, December 29, 2007

I worked until 12:30 a.m. installing Moodle system in my website. I stayed home the whole day long.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Friday, December 28, 2007

I went to sleep until about 3:30 a.m. because I was uploading files for installing Moodle system in my website. During the afternoon and night I continued working on that. It took me so long because transference through FTP was slow and I had a lot of problems, but I was able to upload every single file sucessfully, even when it took me so long to load about 35 MB. But I was able to do it and I started the instalation at 11:50 p.m. My Moodle system is going to be available at www.jaimemontoya.com/moodle. I went with my mom and brother to church tonight (Tabernáculo Santa Ana). The service was pretty nice.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Thursday, December 27, 2007

Thursday, December 27, 2007

I worked from 12:00 a.m. on my PHP script for placing my ads of Google AdSense. I finished everything at 3:30 a.m. This is great because now I have a file called "googleads_require.php", which contains the code for my Google Ads. I write this in every page I want my ads to appear:

<?php
require("googleads_require.php");
?>

This is wonderful because when I want to change ads for ALL OF MY PAGES, all what I do is to write a different code in "googleads_require.php" file and the changes appear in every single page of my site (where I have included the PHP call to the "googleads_require.php" file, by using the PHP require() native or integrated function.

In the afternoon I learned how to use FTP for my website. This is a wonderful tool. It could be hard to believe it, but after many months having my own website, I did not know how to use FTP tool, but I learned to use it with Internet Explorer. It is pretty nice because I do not need special software, just to type my FTP address in the URL, using my password and start transfering files. I got a backup of my site with this tool. I just took every file of my website (except the database native files, but I took a copy of the data inside my database) and saved a copy. I spent part of the afternoon and the entire night trying to install Moodle for my website.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Wednesday, December 26, 2007

I worked on a PHP script for my Google Ads at night. This is useful because I'll change just one file and the ads will appear in all my pages, so if I write code for image ads, I'll have image ads in all my pages, and if I write code for text ads, the text ads will appear in all my pages. I can do that with require() PHP function.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Wednesday, December 26, 2007

Tuesday, December 25, 2007

I stayed talking with my dad and aunt at about 1:15 a.m. In the morning I stayed at home at my aunt's house and we ate lunch at La Despensa de Don Juan Antiguo Cuscatlán. At night I spent my time making a PHP file for the footer of all the pages of my website. I just call the file with "require_once(footer_include.php)" and the code is included in all my sites (of course I call the file in every part that I want to code to be run). This is a very clever tool because I just change my "footer_include.php" file and the results of the scripts or code that I program in that file is shown in all my pages.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Tuesday, December 25, 2007

Monday, December 24, 2007

I continued working the from 12:00 a.m. until 5:00 a.m. on the migration of my website to PHP. But I finished and everything was on PHP at 5:00 a.m. In the afternooon I went to La Libertad to enjoy Christmas with my father and with my aunt. We ate delicious food and had a good time together at my aunt's house in Antiguo Cuscatlán.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Sunday, December 23, 2007

I spent part of the morning reading from the Bible and fixing some details about a website I have designed too. I finished the changes I made to a professor's site, and the link of the final work is found at www.jaimemontoya.com/poweredby.php, just by clicking on Nery Herrera's Home Page. Since the afternoon I started to migrate all my website to PHP, and I continued working at it the entire night.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Saturday, December 22, 2007

Saturday, December 22, 2007

I worked on the website for a professor until about 1:20 a.m., and I continued doing that during the afternoon. At night I went with my brother, mom, father and granparets to ROCA Circus (from South America). It's great what artists do in the circus, it's just amazing.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Friday, December 21, 2007

Friday, December 21, 2007

I spent part of the morning studying PHP. In the afternoon I continued studying PHP and I spent part of the afternoon and the whole night working on a website design for a professor.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Thursday, December 20, 2007

Thursday, December 20, 2007

I worked from 12:00 a.m. until about 2:00 a.m. on the main or index page of my website. I just made a few changes to the distribution of the content on my tables and I put a .swf clock, and it looks pretty nice. So I have an analog clock made on Flash and a digital one made on Java. In the afternoon I read the introductory material of my World Bible School course. I also sent my answers sheet so that I receive new material. At night I had my PHP Web Development class. When coming back home I made an online exam for my PHP Web Development class at Moodle and I got 10.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Wednesday, December 19, 2007

In the afternoon and night I worked on my website, understanding and modifying carefully the source code of my index page, since I wanted to fix a problem about the format of the site, and also add a Flash clock. I learned a lot, especially about tables created on HTML, since my site has a table in the main page (index or principal page). So I understood carefully what is on each cell and I also modified cells and content.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Tuesday, December 18, 2007

Tuesday, December 18, 2007

I did not sleep until about 8:25 a.m. because I spent my time since 12:00 a.m. until 8:20 a.m. working on my application for the exchange scholarchip essay. A Ukranian person (who lives in the United States) I found over the Internet helped me sooo much, and also many other persons helped me by proofreading my essay and offering suggestions. In the afternoon I continued working on my essay, and I finally sent the complete application today in the afternoon, before my PHP class. At 6:00 p.m. I had my PHP class and I always learn a lot in the classes of my professor Damián. After the class, I came back home and I spent my time answering to emails. I had about 30 emails pending, but I answered all the pending messages accumulated during these last days.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Monday, December 17, 2007

In the morning I continued working on my application for an exchange scholarship program, and I continued doing that during the afternoon and night. So I spent the whole day working on that.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Sunday, December 16, 2007

In the morning I went with my aunt and with my mom to Iglesia Miramonte in San Salvador. The church service was great, that is a beautiful church and the pastor preached about Jesus, how it is dangerous to forget the real meaning of Christmas, since the main part is not gifts, but Jesus Christ. At night I continued working on my application for a scholarchip exchange program.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Saturday, December 15, 2007

I did not sleep from 12:00 a.m. until about 10:30 a.m. because from 12:00 a.m. until about 6:30 a.m. I studied PHP, and from 7:20 a.m. until about 9:40 a.m. I had my PHP class at UNICO university. I came back home, ate, and after that I went to sleep until about 2:00 p.m. I went to La Libertad with my mom in the afternoon for visiting an aunt. We went to the carnaval of Antiguo Cuscatlán, the one celebrated there. Rocío, her husband and Joelito were also there and we enjoyed this familiar meeting. I slept in my aunt's house, with my mom.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Friday, December 14, 2007

Friday, December 14, 2007

I went to sleep until about 3:00 a.m. because I was proofreading a Spanish paper of a friend. In the afternoon I helped a friend to study Databases for his complementary exam.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Thursday, December 13, 2007

Thursday, December 13, 2007

In the afternoon I worked on Linux Debian Etch learning PHP, and this is a summary of what I learned:

In order to know whether Apache is installed or not, this should be done:

# dpkg -l |grep apache

If nothing result from the instruction above, apache is not installed. So with "# apt-get install apache", it is going to be installed. The same way for php:

# dpkg -l |grep php5

Actually "# dpkg -l" is for listing the packages that are installed, and "|grep apache" or "|grep php5" is for filtering in the results the specific words "apache" and "php5".

If Apache is not installed, when visiting "http://localhost" from the Web browser, nothing will be shown. But after installing Apache with "# apt-get install apache", this message will be shown:

Placeholder page

If you are just browsing the web

The owner of this web site has not put up any web pages yet. Please come back later.

Move along, nothing to see here... :-)

If you are trying to locate the administrator of this machine

If you want to report something about this host's behavior, please contact the Internet Service Provider (ISP) involved directly.

See the Network Abuse Clearinghouse for how to do this.

If you are the administrator of this machine

The initial installation of Debian's apache web server package was successful.

You should replace this page with your own web pages as soon as possible.

Unless you changed its configuration, your new server is configured as follows:

  • Configuration files can be found in /etc/apache.
  • The DocumentRoot, which is the directory under which all your HTML files should exist, is set to /var/www.
  • CGI scripts are looked for in /usr/lib/cgi-bin, which is where Debian packages will place their scripts.
  • Log files are placed in /var/log/apache, and will be rotated weekly. The frequency of rotation can be easily changed by editing /etc/logrotate.d/apache.
  • The default directory index is index.html, meaning that requests for a directory /foo/bar/ will give the contents of the file /var/www/foo/bar/index.html if it exists (assuming that /var/www is your DocumentRoot).
  • User directories are enabled, and user documents will be looked for in the public_html directory of the users' homes. These dirs should be under /home, and users will not be able to symlink to files they don't own.
All the standard apache modules are available with this release and are now managed with debconf. Type dpkg-reconfigure apache to select which modules you want enabled. Many other modules are available through the Debian package system with the names libapache-mod-*. If you need to compile a module yourself, you will need to install the apache-dev package.

More documentation on Apache can be found on:

You can also consult the list of World Wide Web Frequently Asked Questions for information.

Let other people know about this server

Netcraft provides an interesting free service for web site monitoring and statistic collection. You can let them know about your server using their interface. Enabling the monitoring of your server will provide a better global overview of who is using what and where, and it would give Debian a better overview of the apache package usage.

About this page

This is a placeholder page installed by the Debian release of the apache Web server package.

This computer has installed the Debian GNU/Linux operating system, but it has nothing to do with the Debian Project. Please do not contact the Debian Project about it.

If you find a bug in this apache package, or in Apache itself, please file a bug report on it. Instructions on doing this, and the list of known bugs of this package, can be found in the Debian Bug Tracking System.

Thanks for using this package, and congratulations for your choice of a Debian system!

Debian Apache

"# apt-get install php5" is used for installing PHP version 5.

It is important to know that Apache could be installed, but not started. Sometimes it could be required to start it, stop it, restart it, etc. So these are important things to do, according to the specific thing that one wants to do:

# /etc/init.d/apache start
# /etc/init.d/apache stop
# /etc/init.d/apache reload-modules
# /etc/init.d/apache force-reload
# /etc/init.d/apache restart

For example:

jaimemontoya:~# /etc/init.d/apache stop
* Stopping apache 1.3 web server... [ ok ]

With the instruction above, Apache was stopped, which means that when visiting "http://localhost" from a Web browser, somethin like this will appear:

Unable to connect

Iceweasel can't establish a connection to the server at localhost.

* The site could be temporarily unavailable or too busy. Try again in a few
moments.

* If you are unable to load any pages, check your computer's network
connection.

* If your computer or network is protected by a firewall or proxy, make sure
that Iceweasel is permitted to access the Web.

In order to be able to use Apache again, this can be done:

jaimemontoya:~# /etc/init.d/apache start
* Starting apache 1.3 web server... [ ok ]

Now, when visiting "http://localhost", Apache will appear running. In the same way, Apache can be restarted, etc.

I installed Zend Studio 5.5.0 by double clicking on "ZendStudio-5_5_0.bin" file and following the Installation Wizard. But it is also possible to work PHP without it.

It is important to be careful about the location where ZendStudio is installed. For example, I installed it in: "/home/jaimemontoya/Zend/ZendStudio-5.5.0". That means that after the installation, when I want to run or execute ZendStudio, I have to do this:

# cd /home/jaimemontoya/ZendStudio-5.5.0
# ./Zend_Development_Environment

The first line is to move to the folder where the program is installed, and the second line is tu execute or run the program. But if we don't want to execute it from a Terminal, we can do it in a graphical way by going to /home/jaimemontoya/ZendStudio-5.5.0, after that doing double click on Zend_Development_Environment, and finally clicking on "Execute".

It is important to know that all files that I want to run using Apache are going to be executed from "/var/www". For example, if I create a file called "index.php" and I want to run it on Apache from my localhost, the file must have this address: "/var/www/index.php", I mean, the file "index.php" must be created in the folder "/var/www". When doing that, I can run my "index.php" file from my Web browser just visiting this site: "http://localhost/index.php". I can also create a folder with this address: "/var/www/my_folder" and after that create right there my "index.php" file, which will eventually have this address: "/var/www/my_folder/index.php". Then I will be able to watch my "index.php" file by visiting "http://localhost/my_folder/index.php" NOTE: It is so important to remember how to assign permissions to folders and files. Otherwise, it won't be possible to create or modify folders or files. For example if I want to give full permissions to "/var/www" folder, I have to write in the console "# chmod 777 /var/www". For giving full permissions to "/var/www/my_folder/index.php" file, I have to write in the console "# chmod 777 /var/www/my_folder/index.php". "#" symbol means that this is done as root. Another way to do it (a really great option) is to assign full permissions to everything that is inside "/var/www", and this is done by typing "# chmod -R 777 /var/www".

In order to have an easier and graphical navigations through files and folder on Linux, I recommend and love to use Konqueror Web browser, and after opening it, I press F9 and it has in the left part all the files and folder for me to navigate through them. Installing Konqueror Web browser is very easy: "# apt-get install konqueror".

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Wednesday, December 12, 2007

I went to sleep until almost 5:00 a.m. because I was putting a digital clock and autimatic date display for my website with JavaScript, and it worked well, so I am glad because it took me time, but it works excellent. In the morning I went to enroll classes for my new semester. At night I studied PHP.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Tuesday, December 11, 2007

Tuesday, December 11, 2007

I studied PHP until about 1 AM. In the morning I went to National English Center in Santa Tecla to receive my TOIEC score certification and I got 395 points for listening, and 350 points for reading. I think I was able to get more points in the reading part, but I finished the test very fast. My total score was 745 points, and it ranges from 5 to 495 points for the listening part and from 5 to 495 points for the reading part. In total, it ranges from 10 to 990 points. So getting 745 points was okay, not that bad, not that good, but I am happy with my score. I started my PHP course at night.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Monday, December 10, 2007

Monday, December 10, 2007

I went to sleep until about 1:00 AM because I was working on my research work about the profile of a computer science student (from Engineering Faculty) from UNICO University. I continued to do that in the morning, afternoon and night. At 11:00 PM I started to watch a PHP/MySQL Video Tuturial in Spanish, which is really cool and useful for learning PHP and MySQL.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Sunday, December 9, 2007

I went to sleep until about 4:00 AM because I was working on a research work about the profile of a computer science student (from Engineering Faculty) from UNICO university. I continued working at it in the morning, afternoon and night.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Sunday, December 9, 2007

Saturday, December 8, 2007

In the morning, afternoon and night I worked on a research about the profile of a computer science student (from engineering Faculty) from UNICO university.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Saturday, December 8, 2007

Friday, December 7, 2007

During the morning and afternoon I continued working on my scholarship application form, just scanning the attached documents that I have to send, and making them have a proper resolution and size. At night I worked on a research about the profile of a computer science student (from engineering faculty) from UNICO university.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Thursday, December 6, 2007

Thursday, December 6, 2007

I watched two DVDs in the morning: 5 Takes Colombia and 5 Takes Costa Rica (both 2007 version). I finished my essay in English for scholarship application at night.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Wednesday, December 5, 2007

I went with my brother to National English Center, which is located next to ITCA-FEPADE Santa Tecla, and I took TOIEC test from about 10:30 AM until about 1:00 PM. I'll receive my score next Friday or probably later.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Tuesday, December 4, 2007

Tuesday, December 4, 2007

I spent the whole day studying English, since I'll take TOIEC test tomorrow.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Monday, December 3, 2007

Since about 9:00 AM until about 2:30 PM I was getting my new passport because the one I had expired since last year.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Sunday, December 2, 2007

Sunday, December 2, 2007

I spent the whole day working on an essay for a scholarship.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

Saturday, December 1, 2007

During part of the morning and in the afternoon and night I worked on an application for a scholarship.

Jaime Montoya
jaimemontoya@jaimemontoya.com
www.jaimemontoya.com

About Me