Posts Tagged “php”

Last year while i was the administrator of a one of popular turkish it community we’ve made a programming contest which was cancelled for a reason of no contestants. The subject of contest was to make a blogging program including two parts. First part was the client side part which contestants need to made a blog administration interface. Second part was the web part which contestants need to made a web interface.

The idea of this subject was this : Making administration panels is a so hard process. So why don’t we make administration section with a more object oriented language like Delphi?

While contest some people made critics including that we were wanting a program which we were planning to sell it!

This critics made me sick. Then i wrote a program similar to contest. I wrote a “Delphi Component Index” site which can be still accessable via www.componentbeacon.com

I made web site with PHP and client side with Delphi. Site uses mySQL.

Lets go in detail.

Read the rest of this entry »

Tags: , , , , , , , ,

Comments No Comments »

If you make a tag system and want to make a tag cloud page which will writes tags in different sizes accoring to use time refer to Tag Cloud document. That’s an easy and practical way for you. (Document Mirror on Focus on Code (186KB))

If you want to learn CSS Positioning or need a manual in your pocket you can refer to Learn CSS Positioning in Ten Steps article. That’s a very good and simple article including most of positioning styles. (Document Mirror on Focus on Code (88KB))

If you want to read and write to TWebBrowser component on Delphi you can refer to How to read and write form elements article. Article contains most wishes while using TWebBrowser. Before using these just insert Microsoft HTML Object Library to your project and add MSHTML_TLB class to your uses block.(Document Mirror on Focus on Code (52KB))

Tags: , , , , ,

Comments No Comments »

I searched a lot for a good working ajax upload script with simultaneous progress bar. At last i found one. File Chucker is the best i think.

If you need to save binary files to a mySQL database you must see this article first : Binary Data + MySQL + PHP. Thanks to writer for good article.

You know that Wordpress has a very well menu on blog entry pages. In fact that is not only a menu, that is a couple of blocks than can include lots of menus. The blocks are not static, you can drag and drop them. Don’t worry, the script will remember where you move and drop them! I searched for the script if it’s a lib. And at last i found that this is a script created by Brothercake.com. The name of the script is Docking Boxes. It has a lot of features than we can’t mention in here. ( And of course you can view all of the pages at brothercake. Very very nice site with very nice code! )

Tags: , , , , ,

Comments No Comments »

Sometimes working with sessions can be hard. But in fact all of those hardness comes from an unproper php.ini setup.

In this entry i’ll discuss about common session problems and of course the solutions.

Read the rest of this entry »

Tags: , , ,

Comments No Comments »

While working with PHP-ODBC you may encounter some errors with long texts. You may think that how you can encounter problems with strings using PHP, because PHP can handle strings with size of memory we have.

But in fact that’s not like that.

Read the rest of this entry »

Tags: , ,

Comments No Comments »

If you’re trying to get the contents of a page which has an utf-8 encoding using PHP’s socket functions (fsockopen, fgets, etc) may be you take some strange text which is parted or sliced into unknown parts like this :

Read the rest of this entry »

Tags: , , , ,

Comments No Comments »