PHP « Previous Entries Next Entries »

Spam fight

Monday, December 3rd, 2007

I 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, 2007

This 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, 2007

Today 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, 2007

When 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, 2007

There 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, 2007

My 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 […]

pure UL/LI css menu with submenus

Wednesday, January 24th, 2007

Hmm, this seems to be a problem on the net, and it’s kind’a problem to make browsers work with it. I had it done long time ago in some backend project, which were never used.
So here is it used again, public now!
If anyone want’s to figure out how does it work, feel free.
Css is pretty […]

Adopting to web2

Monday, December 4th, 2006

Many people does not yet know what web2 is, or how to recognize what is web2 and what is not.
Well, by spending more and more time online, collaborating, and doing business online instead of walking 200 feets to do something, people are ending up, even more tired with same, littlebit more or less money than […]

Serbian 3O’s (invented by me, or at last I think so :)

Sunday, November 19th, 2006

After watching over 20 episodes of Robotech and South park today I feeled bad, and it’s not a first time that I am doing it.
I opened to see a documentary  of our tragically murdered premiere “Zoran Đinđić” named “Ako Srbija stane” (if serbia stops).
The documentary has motivational speeches combined of our premier’s various public speeches.
After […]

LCD screens are bad for eyes

Saturday, November 18th, 2006

My opinion is that today’s LCD computer screens are bad for eyes, due to big between pixel space. Not all of them, for example Dell Latitude’s D610 14″ screen has resolution of 1400×1050 pxels, making it’s between pixel space small, and pixels themselves small also.
After working on for example my SAMSUNG 730BF and taking look […]

« Previous Entries Next Entries »