PHP Classes

File: multiname-generator.php

Recommend this page to a friend!
  Classes of Ludovic Bellière  >  PHP Mud Names  >  multiname-generator.php  >  Download  
File: multiname-generator.php
Role: Example script
Content type: text/plain
Description: Generates several names at once
Class: PHP Mud Names
Generate random names for Multi-User Dungeon games
Author: By
Last change: Use the new feature introduced into version 1.3
Date: 12 years ago
Size: 267 bytes
 

Contents

Class file image Download
<?php

$number
= 5;

// --

require('mudnames.php');

$gname = new mudnames();

$names = $gname->generates_several_names($number,'random');
echo
implode('<br />', $names);

echo
"<br/><br/>Memory peak ~" , round(memory_get_peak_usage()/1024, 2) , "ko";

For more information send a message to info at phpclasses dot org.