Bu bölümde, bir çok önemli özelliği ile ön plana çıkan ve benzer kütüphanelere göre çok daha kabiliyetli olan ve kullanıcı arayüzü açısından oldukça başarılı bir javascript çatısı olan Ext JS den ve özelliklerinden bahsedeceğim.
FPDF, php ile pdf e dönüştürme aracı olarak kullanılan bir sınıftır. Fakat bu sınıf kullanılırken karşılaşılan en büyük sorunlardan birisi Türkçe karakter sorunudur.
Compression is a simple, effective way to save bandwidth and speed up your site. I hesitated when recommending gzip compression when speeding up your javascript because of problems in older browsers.
But it’s the 21st century. Most of my traffic comes from modern browsers, and quite frankly, most of my users are fairly tech-savvy. I don’t want to slow everyone else down because somebody is chugging along on IE 4.0 on Windows 95. Google and Yahoo use gzip compression. A modern browser is needed to enjoy modern web content and modern web speed — so gzip encoding it is. Here’s how to set it up.
PHP compression is an excellent method of conserving bandwidth and reducing client download times. We have already discussed an excellent method for CSS compression, and in this article we share a super-easy technique for compressing all PHP content without editing a single file.
Using two PHP files and two corresponding lines of .htaccess, it is possible to compress your PHP files via gzip-encoding. Browsers and other user-agents capable of interpreting gz-encoded data will employ the compressed content, while other user-agents will utilize the content uncompressed.
PHP and SQL Server are a powerful combination, however sometimes data stored in a text type column is truncated for no apparent reason after 4096 characters. Here’s how to fix the problem.
The tar (tape archive) command bundles a bunch of files together and creates an archive (commonly called a tar file or tarball) on a tape, disk drive, or floppy disk. The original files are not deleted after being copied to the tar file.
To create an archive using tar, use a command like this, which bundles all the files in the current directory that end with .doc into the alldocs.tar file:
tar cvf alldocs.tar *.doc
wget -m http://www.simsekmert.com/FOLDER_TO_DOWNLOAD/
- -m, –mirror
- shortcut for -N -r -l inf –no-remove-listing.
wget -H -r --level=1 -k -p http://www.simsekmert.com/FOLDER_TO_DOWNLOAD/
-r, –recursive
- Specify recursive download.
- -l, –level=NUMBER
- Maximum recursion depth (inf or 0 for infinite).
- -k, –convert-links
- Make links in downloaded HTML point to local files.
- -p, –page-requisites
- Get all images, etc. needed to display HTML page.
This example shows the MS-SQL (Microsoft SQL-Server) counterpiece for the limit command of MySQL.
There are lots of ways to select a random record or row from a database table. Here are some example SQL statements that don’t require additional application logic, but each database server requires different SQL syntax.
Select a random row with MySQL:
SELECT column FROM table
ORDER BY RAND()
LIMIT 1
Devamını okuyun »
Although the specification of the HTTP protocol does not specify any maximum length, practical limits are imposed by web browser and server software.
Microsoft Internet Explorer (Browser)
Microsoft states that the maximum length of a URL in Internet Explorer is 2,083 characters, with no more than 2,048 characters in the path portion of the URL. In my tests, attempts to use URLs longer than this produced a clear error message in Internet Explorer.
Firefox (Browser)
After 65,536 characters, the location bar no longer displays the URL in Windows Firefox 1.5.x. However, longer URLs will work. I stopped testing after 100,000 characters.