Login   Register  
PHP Classes
elePHPant
Icontem

File: serverfile.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Er. Rochak Chauhan  >  Simple AJAX  >  serverfile.php  >  Download  
File: serverfile.php
Role: Auxiliary script
Content type: text/plain
Description: File to fetch data from server
Class: Simple AJAX
Execute server side actions without page reloading
Author: By
Last change:
Date: 2005-11-20 23:32
Size: 444 bytes
 

Contents

Class file image Download
<?php
    
/**
     * You can query database in this file, get required text/string and print/echo it.
     * That text will be displayed by javascript on the main page(example.php)
     * 
     */
    
if(isset($_GET) && count($_GET) > 0) {
        echo 
"You can process your parameters and return result accordingly <br />";
        echo 
"Hi ! My name is Rochak and i am testing AJAX.";
    }
    else {
        echo 
"Hi ! My name is Rochak and i am testing AJAX.";
    }
?>