Download Symfony Sandbox 1.4
Source : www.symfony-project.org/installation
Requirement : Xampp or Wamp Package
PHP: 5.2 Above
Download Symfony and put this into your website root
Rename sf_sandbox to your project name. Here it is CRM
open config/properties.yml file and put below details
[symfony]
name=CRM
author=Arun Raj R
orm=Doctrine
Read more…
Categories: PHP, Projects, Symfony, framework Tags: CRM, OpenSource, project, small, source code, Symfony, tool, tutorial
Here is a sample class file for image resize.
imageResize.class
Download the File save it in web root and add .php extension to the file .
How to use ?
<?php
require_once(‘imageResize.class.php’); // Path to File
imagejpeg(imageResize::Resize($fileSavePath,$width,$height),$newFileName);
?>
$fileSavePath should be the pathname of source file. Say “uploads/arun.jpg”.
$newFileName this should be the source File name with path. Say “uploads/thumb/arun.jpg”.
Any Doubt ?