PHP
« Previous Entries
Current World economy considered harmful / sustainable developement of world economy
Thursday, January 24th, 2008
I hope some day, somebody will refer to this text of mine, like programmers refer to “Go To Statement Considered Harmful, ” from Dijkstra.
In few words. If we use money as exchange for basic human survival needs (health, food, water, shelter), in capitalistic system, we are encouraging people who have a lot, to have even […]
Sci-fi geek
Thursday, December 27th, 2007
I received 63 credits on
The Sci Fi Sounds Quiz
How much of a Sci-Fi geek are you?
Take the Sci-Fi Movie Quiz canon s5 is
Cool christmas and new year greeting cards
Tuesday, December 25th, 2007This year I’ve got few cool e-cards, and later I’ve tried to find some more of such cards on the net, but I could not find any website having those e-cards listed in one place. After extensive search I’ve found one, but it had just a few links so I tough it would be cool […]
Response to 15 geek movies you have to see before you die.
Tuesday, December 4th, 2007Hmm, I have seen pretty much of movies, and so have some of my friends. So I decided to create this better list of 15 geek movies you have to see before you die.
1. Star trek (all movies counts as 1)
2. Star wars (all movies counts as 1)
3. Star gate
4. 2001: A Space Odyssey
5. Navigator
6. […]
Spam fight
Monday, December 3rd, 2007I have really functional idea, how to fight spam.
E-mail users should purchase stuff they are trying to sell, and refuse to pay for it, also
we should be boring to spammers as they are to us, by asking them to remove our e-mail address from their databases.
one php config file for multiple web servers
Friday, April 20th, 2007This is a way I am using for years, to speed up developement.
if($_SERVER[’SERVER_NAME’]==’www.acosonic.com’) {
$dbHostname = “localhost”;
$dbUsername = “aleksaho”;
$dbPassword = “fED7LzMA”;
$dbName = “aleksaho”;
} else if($_SERVER[’SERVER_NAME’]==’www.fsdff.com’)
{
$dbHostname = “localhost”;
$dbUsername = “root”;
$dbPassword = “”;
$dbName = “hotel_aleksandar”;
} else {
$dbHostname = “localhost”;
$dbUsername = “root”;
$dbPassword = “”;
$dbName = “hotel_aleksandar”;
}
// Make connection to database
// If no connection made, display error Message
$dblink = MYSQL_CONNECT($dbHostname, […]
MAC bittorrent clients review
Saturday, February 17th, 2007Today I decided to transfer my bit-torrent downloads on MAC, because it is more quite old G4, and I was seeking on net for reviews, desciriptions, downloads of bit torrent clients.
On several websites I found people saying that Azureus is the best, so I downloaded and tested it, by my opinion, it’s slow (UI), and […]
IIS ASP 500 internal server error
Saturday, February 3rd, 2007When running iis with asp, and if you want to test your if you use IE and test it on localhost, and get internal server 500. Go to advanced settings of your Internet explorer, and turn off show friendly header errors.
that way you will get error displayed inside html page, like errors in PHP
Working with ASP and PHP on same machine
Saturday, February 3rd, 2007There are many ways to do it, one way is to have apache with php listening on port 8080 for example, then you will access your php pages as usual, just adding :8080 after your local host, and accessing .asp pages by localhost or vice-versa.
Since I used that approach several years ago, and I don’t […]
configuring svn on site5
Monday, January 29th, 2007My main goal, when I started with this experiment, was to try setting up svn on my machine without using tortoise SVN for it, because it uses tsvn cache, and adds stuff to right mouse button, which interacts badly with operating system.
After few hours, I am finally getting close to a solution…
Whatever I try I […]
