Login   Register  
PHP Classes
elePHPant
Icontem

File: sloganizer.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bari Hossain  >  A Simple Sloganizer  >  sloganizer.php  >  Download  
File: sloganizer.php
Role: Example script
Content type: text/plain
Description: the server side script to interact with AJAX
Class: A Simple Sloganizer
Generate slogan phrases from given keywords
Author: By
Last change:
Date: 7 years ago
Size: 297 bytes
 

Contents

Class file image Download
<?php
include('sloganizer.class.php');

$keyword=$_GET['key'];
if(empty(
$keyword))
    echo 
"<FONT size=\"+2\"><b>No Keyword No Slogan!!!!</b></FONT>";
else 
{
    
$slogan=new sloganizer($keyword);
    
$sloganz=$slogan->makeSlogan();
    echo 
"<FONT size=\"+2\"><b>".$sloganz."</b></FONT>";
}
?>