A programmer's paradise created by the twist of deliberated fantasies, and actions of a determined imagination.
Follow ME:
www.linkedin.com
...
Cheap and affordable: Cloud Webhosting for only Php.500.00 monthly. Unlimited webspace and Bandwidth. Contact ME at tuso@programmerspride.com to avail a service.

Add to Google
Batch-After-Batch Multi Uploader (FLASH)
The normal way of browsing files and uploading them. You can select multiple files from a single directory browsing. If you have browsed a f ...
03
Aug
I have been a Software Developer who have worked for various types of companies before. For seven (7) years or so, I have been employed to five (5) different companies. Being an employee makes you feel safe from not getting paid. In fact, you can just sit all day or waste some time and still entitled to receive a salary by each month in a year.But depending on the nature of the company, or your role on either in a team, or as an individual coder, your growth can be at risk. There will be times that you get stuck on doing same routine, same task, or same project over and over again. It will bore you and will eventually make you lazy and become unproductive.We don't have room for these things. A Software Developer such as myself is always exploring and always focusing on growing and improving his skills.I tried looking for other companies and unfortunately my asking price was always the problem while I heard that Freelancers are paid well.THE DANGERSo I decided to try about freelancing. I heard about freelancing even when I was still a newbie employee. And for me, the idea was like really scary and even more risky. Should I really want to try it? Wait a minute, am I already losing my mind? Is sitting all day with the thought of "getting paid anyway" contributed to this insanity?There's no way that I will become a Freelancer, I always thought that this is very dangerous specially that there are scams out there and they are from everywhere.How can I even get my own clients? Am I capable enough to have one?WITH GREAT POWER COMES GREAT RESPONSIBILITYI want adventure, I love challenges, the idea of building "out of this world" applications to be used by people around the globe excites me.I have to go out from my own comfort zone, there's no limit to where the mind can go, so I have to push myself and learn more things and acquire more knowledge.I like to interact with the real world, I want to share my knowledge and want to offer my help to those who need my skills. They will be my client, and I have a responsibility to make, I have to become a Freelance Software Engineer.FREELANCING IS A SKILLAcquiring your first client is not easy. Luckily, for me I met one through referral. I have a friend who is a Software Developer and was already doing freelance services at that time. He introduced me to one of his colleagues and so we discussed about the project.But before that, I have to prove my worth, showed the client what can I do and samples of what I have done.More clients came after that and four (4) clients contacted me through social media, one (1) from FaceBook and (3) from LinkedIn.Working as freelance maximizes my time to focus on my goals. It as well allows me to work anywhere which gives me freedom to pick the place where I think I can be more productive and comfortable. Perhaps if I get bored at my home office then I can just go to a coffee shop nearby with my pocket WI-FI or portable internet.Freelancing is a skill, it will require you to plan ahead for the future. You may not receive a fixed salary by each month. But you can get clients and projects, from there you have to plan on how to do your tasks, when to finish them and by those deliverables determine when you get paid. You have to keep in mind how long can you get another project while you are working on the current one so you have enough money to spend while you're looking for another big opportunity.THE QUEST TO BECOME ONE OF THE BESTI have met different people from different countries while doing my freelancing career in Software Development. And I can say that I am happy to help them meet their needs and be a part of their success. I am proud that my skills are being valued by them. I will always be here to deal with their future needs.
19
Jan
Programming is equal to Solution plus Common Sense over Problem
Programming = (Solution + Common Sense) / Problem

http://armandebayanes.programmerspride.com/
14
Jul
Fear is there to balance yourself. Fear is also a limitation, but too much limitation is NOT even good. Warn yourself out of the "morbid fear" - or what they call "Phobia" ...

Anybody can do anything but they are just hindered by fear.
Pull out the fear away from your thoughts, don't let it paralyze your mind. - TUSO on BaguioCityOnline.Com June 29, 2010
07
Jul
It will still work unless the page is reloaded.
Consider the code below.

<script type="text/javascript" src="jquery-1.4.2.min.os.js"></script>
<script type="text/javascript">
function Test() {
    alert("Hello");
}

$(document).ready(function(){
    $("#btn").click(function(){
        Test();
    });
});
</script>
<input type="button" value="DOM Click" onclick="Test()" /><br />
<input type="button" id="btn" value="JQUERY Click" />
After disabling JavaScript, the second button will still prompt the message "Hello" since it was cached.
30
Apr
Have you ever encountered .PHPS before and ever wondered what it is?

Well, in the world of PHP - if you use .php as your extension to a file, the server will then interpret the code behind that script and returns the desired output.

While .phps on the otherhand will just output literally a color-formatted content of that script. But depending on how the server is configured, because this won't work on oters.

Now, why don't you try running a script with .phps extension on it? Let us see if your server is properly configured. :)
09
Apr
Started working with Mr. George Witmer. :)
18
Mar
Cannot implement the CTRL + C and CTRL + V (Copy and Paste) in Turbo C? Well here's the shortcut keys on how to do it ...

CTRL + KB - Will point to the start of a line to copy.
CTRL + KK - Will point to the end of the line to copy. Performs the text highlighting and non-highlighting.
CTRL + KC - Will assign the whole line of text to copy (determined by CTRL + KB and CTRL + KK) in the memory. (COPY)
CTRL + KV - Then finally, this will put the highlighted line of text in a desired location. (PASTE)

That's it !!! Now's the next step is for you to try it. :)
13
Dec
Started my Programming teaching career at CNCTC - Computer Networking Career and Training Center.
09
Dec
HEREDOC and NOWDOC are two robust ways in displaying contents in your document.

heredoc text behaves just like a double-quoted string. In a double-quoted string, the parser will greedily take as many tokens as possible to form a valid variable name when a dollar sign ($) is encountered.

heredoc syntax:
$str = <<<EOF
Your content here ...
EOF;
NOTE: EOF there is your identifier and can be named to anything. Demonstrating the heredoc's power:
$greeting = 'Hello';
$str = <<<MYDOC
$greeting Philippines !!!
Mabuhay !!!
MYDOC;

echo $str;
Output: Hello Philippines !!! Mabuhay !!! nowdoc as of PHP 5.3.0 behaves just like heredoc but without parsing the content. Meaning, if you want to display a block of static text then it's much faster to use nowdoc because a greedy string-parsing process will not be made. nowdoc syntax:
$str = <<<'EOF'
Your content here ...
EOF;
IMPORTANT: Do not indent the closing identifier.
03
Dec
Platform: XAMPP in windows' Localhost (127.0.0.1).
Limiting a Cookie's availability on specific directories.

If you want to set a cookie which is only accessible to a specific directory then
you cannot just write the example code shown below:
setcookie('mydir_cookie_only', 'Acess OK', time() + 3600, '/mydir/');
Do this instead:
setcookie('mydir_cookie_only', 'Acess OK');
setcookie('mydir_cookie_only', 'Acess OK', time() + 3600);
setcookie('mydir_cookie_only', 'Acess OK', time() + 3600, '/mydir/');
You need to extract the code and call it inside that directory. In our example, the directory is named mydir. So the code should be written in a PHP script inside mydir before executing it. If you fail to execute the code inside mydir then even in the presence of the path specification, the Cookie variable will be still accessible outside the specified directory.
03
Dec
The ternary conditional operators are the ? and :

To demonstrate its use, first, we define our problem.
For example, our problem is to compare 2 numbers. If the first number is greater than the second, we will prompt "Hello", else, we say "Hi".

So here's the solution using If and Else statement:
<?php

$a = 4;
$b = 9;

if($a > $b)
{
   echo "Hello";
}
else
{
   echo "Hi";
}

?>
In Ternary Operation, the solution is this:
<?php

echo ($a > $b) ? "Hello" : "Hi";

?>
Ternary Operation explained: If the value of the first subexpression is TRUE (non-zero), then the second subexpression is evaluated, and that is the result of the conditional expression. Otherwise, the third subexpression is evaluated, and that is the value.
30
Nov
When performing mathematical operations to decimal numbers, don't forget to validate the User input by the use of parseInt().

The syntax is parseInt(string, radix);

The second argument is optional, however in decimal this is very important. Forgetting to set the radix to base 10 won't correctly convert '08' to 8 and '09' to 9.

<script text="text/javascript">

var string = '08';
parseInt(string, 10);

</script>
25
Oct
Greetings, let me share you something about Perl & MySQL.

First things to know before you can work with MySQL databases in Perl is to ensure that the Perl's DBI and DBD-mysql modules are installed.

Installation of Perl modules / packages can be achieved easily by using ActivePerl - a software that can be found here : http://www.activestate.com/activeperl/.

Creating your MySQL module in Perl:
TIP: This is how we create a Class in Perl. 

When creating a Perl Module, the file name and the package name should be the same. And the extension should be pm.

So in this example, our Class should be saved as DBMySQL.pm.
package DBMySQL;

# CREATE THIS CLASS'S CONSTRUCTOR
sub new {
my ($class, $database, $userid, $password) = @_;

my $self = {

_database => $database,
_userid   => $userid,
_password => $password,
_dsn      => "DBI:mysql:database=" . $database

};

bless $self, $class;
return $self;
}

# OPEN A CONNECTION TO THE DATABASE
sub open() {

my ($self) = @_;
my $dbh = DBI->connect($self->{_dsn}, $self->{_userid}, $self->{_password});
return $dbh;

}
1;
Creating your display page in Perl: TIP: The first line of your display page should specify the correct path to where Perl is currently installed in your machine. When using a Web Server, the default path should be #!/usr/bin/perl. You can name your file to any names with cgi or pl as it's main extension. Thus, in this file we can call it topics.cgi or topics.pl.
#!"C:\Program Files\xampp\perl\bin\perl.exe"

use CGI;
use DBI;
use strict;
use DBMySQL;

print CGI::header();

my $db = new DBMySQL("perl_forum", "root", "");
my $mysql = $db->open();

my $query = $mysql->prepare("SELECT `title`,`content`,`dt_created` FROM `topics`");
$query->execute();

print "We got " . $query->rows . " shouts and still counting ...<br><br>";

my $html_form = "";

while(my @row = $query->fetchrow_array()) {

	my($title, $content, $date) = @row;
	print $title . "<br />" . $date . "<br />" . $content . "<br><br>";

}
$query->finish();

# DISPLAY FORM TEMPLATE
print $html_form;
15
Oct
Whew !!!

Another PHP framework that I'm obliged to learn.

http://www.pradosoft.com/
10
Oct
What is Symfony?

"Symfony is a web application framework for PHP projects that aims to speed up the creation and maintenance of web applications, and to replace the repetitive coding tasks by power, control and pleasure."

Learn Symfony Now
30
Sep
I decided to go back and learn PERL again ...

First things to remember when writing your script:

1. Don't forget the path where PERL is installed in your machine.
2. Secondly, don't miss the content-type of the script in the second line.

Example, since I'm using XAMPP, my script looks like this ...
#!"C:\Program Files\xampp\perl\bin\perl.exe"
print "Content-type: text/html\n\n";
. . .
23
Sep
 2009 Offline
I'm not going to be around tomorrow 'till the 29th, see you all on the 30th ... :)
23
Sep
A PHP framework that is super light-weight and super fast, use no other than "CodeIgniter".

http://codeigniter.com/
11
Sep
Run aspnet_regiis.exe in the installation directory
of the .net 1.1 by typing the following in the
"run" or by accessing it through
the "command line" :

c:\windows\microsoft.net\framework\v1.1.4322\aspnet_regiis -i
11
Sep
Just make the access ports different:
Example:

( Apache ) PHP - http://localhost/mypage.php
( IIS ) ASP Classic - http://localhost:81/mypage.asp

This is a workaround when you have
Apache ( ex: XAMPP, etc ... ) service installed
before then installed IIS later.

To change the port of your IIS:
1. Go to Control Panel -> Administrative Tools ->
Internet Information Services

2. A dialog box that is divided into two columns will appear.
    The left column contains 2 items (like what is shown below):

    Internet Information Services
    + Local Computer

3. Expand Local Computer and you will get other items below it:
    + Web Sites
    + Default SMTP Virtual Server

4. Expand Web Sites
    + Default Web Site

5. Right-click Default Web Site and choose Properties.
    A tabbed dialog box will appear then choose the Web Site tab.

6. Look for the TCP Port input field and provide a desired port number.

7. Click the Apply button and that's it !!! You\'re ready to roll ...
09
Sep
I'm WET and my unlucky day .! :-L
03
Sep
03
Sep
Really, there is none ...

Just the other day I was reviewing the book featuring VB 6.0
and Direct X 8.1.

Wheeww, its been more than 5 years since I stopped
developing and creating simple and quick games, now I wanna
go back to this hobby.
07
Sep
If you miss to start the output buffering, 
an error will occur when a previous output was
already started.

ob_start();

echo "Hello World !";

header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.new-url.com");