Sculch IV

Menu:

Login...

Username:

Password:

Remember me:

Forgot Password? or Register

Article Archives...

Using PHP's imagefilter() Function

As I said before one of my favorite things to do with PHP is image manipulation. In PHP5 is an image function imagefilter(). It has six paremeters: the image resource, the type of filter to apply, and four different values to be passed to the function. In order to reduce the server load as well as load time the images here have been saved and are not generated on the fly. I found the picture used ... Read more...

Creating a PHP MySQL Database Connector Class

I did this a while ago, just for fun. It's an easy way to create a class that connects to a MySQL database and has all the functions as methods and variables. ?php // database class // contains all the methods for connecting // and retrieving database stuff class q_fns{ ... Read more...

PHP Image HEX to RGB

One of my favorite things to do with PHP is image manipulation using the GD library. I know this has probably been done before, but this is my hex value color to rgb color script. function hex2rgb($hex){ if(strlen($hex) != 6){ // if the length of $hex isn't equal to six return black. return array('red' = 0, 'green' = 0, ... Read more...

Sculch IV Launched

Sculch IV has been launched, it will feature web stuffs. How to write hello world with PHP: ?php echo "Hello, World!"; ? Read more...