Archive for the 'Developers' Category

The 30 second AJAX Tutorial

Taken from the php-general mailing list. [ Mail by Rasmus on AJAX ]

Continue reading ‘The 30 second AJAX Tutorial’

GNU Compiler collection for Windows

GCC stands for GNU compiler collection. There are precompiled versions / binaries of the GCC for windows available here.

Gcc for Windows (gcw) is yet another attempt to port gcc to Win32 platform. The major difference from MinGw and Cygwin is maximum possible acceptance of Microsoft Visual C++ source code and intended binary compatibility with Microsoft Visual C++.

Get GCC for Windows [GCW] 16 KB

Also check out : GCC for Microsoft Windows:

10 PHP Tips for noobs

Jeffery Vaska has “10 Tips That Every PHP Newbie Should Know“, a nice collection of tips for a newbie venturing into PHP. Tips like MySQL Connection Class, Dealing with Magic Quotes etc can be found there.

swfIR : Flash Image enhancements

Add great flash effects to existing images on you site/blog using swfIR..

Effects include Elastic header image (Automatically resizing imagesĀ  according to text size changes by user), rotated image within content, smooth rounded edges to images, shadow effects etc..

SWFIR - flash image enhancement to your existing images on blog or site

HomePage : http://www.swfir.com/

Great looking charts in seconds with Open Flash Chart

Open Flash Chart lets you make great chart/pie representations from you data for a great looking output. The data file is either a text file, or a .php, Perl, Python, Java (or another flavour of dynamic) page.

make flash graphs and charts

Pie chart using flash

Open Flash Chart, is open source. It is free to use and you get the source code to fiddle with!

# Charts Available
* Data Lines
* Bar Chart
* Bar Chart 2
* 3D Bar Chart
* Glass Bar Chart
* Fade Bar Chart
* Sketch Bars
* Area Charts
* Bars + Lines
* Pie Chart
* Pie Chart Links
* Scatter Chart
* High Low Close
* Candle

# Other Features :

* Chart Title
* Line and Key
* Tool tip
* Background Style
* Background Image
* Inner Background Style
* Null data values
* X Offset
* Bar Links
* Format Numbers
* Do more with less
* Pareto chart

# Helper classes * Java
* Perl
* Python
* Ruby and Rails
* PHP
* .NET

Download Open Flash Chart Open Flash Chart Latest : Version 1.9.6 (550 Kb)

Fix 500 Internal server Error on .htaccess

500 Internal Server Error on Localhost for Web.Developer Server Suite was pissing me off for a long time. The Apache error logs shows “RewriteEngine not allowed here”. Deleting .htaccess would fix the problem, but here is the fix. It’s a problem with mod_rewrite module and Apache’s AllowOverride configuration. Here’s how to fix it :

Firstly, make sure LoadModule rewrite_module modules/mod_rewrite.so is enabled in httpd.conf (Remove # before the line to enable)

Then, edit httpd.conf .. Find out the foll lines and mod -

<Directory “/www/vhosts/localhost”> #replace this with your dir name
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
AllowOverride All #Added
</Directory>

<Directory />
Options FollowSymLinks
# AllowOverride Limit #Old Value
AllowOverride All #Added
Order deny,allow
Deny from all
Satisfy all
</Directory>