Procedural File: generic.inc.php

Source Location: Program_Root/generic.inc.php



Classes:

Page Details:

Generic functions
This page contains many functions that might be useful elsewhere

Tags:


Includes:



binarymail

a binarymail ( $to, $subject, $text, $filename, $mimetype )

sends an email with a binary attachment

Tags:

  • Return - string with the exact text sent (I have to change this)

Conflicts:

Parameters

  • string $to - email address
  • string $subject - subject
  • string $text - text of the message
  • string $filename - full path of the file to send
  • string $mimetype - MIME type of the file to send

[ Top ]

getGroupName

void getGroupName ( $username )

Tags:

Conflicts:

Parameters

[ Top ]

getHomeDir

void getHomeDir ( $username )

Tags:

Conflicts:

Parameters

[ Top ]

getUserRealName

void getUserRealName ( $username )

Tags:

Conflicts:

Parameters

[ Top ]

listFilesInDir

void listFilesInDir ( $directoryName, [$startWith = ''], [$yesno = true] )

returns an array with all the files in a directory

Tags:

Conflicts:

Parameters

  • string $directoryName - the complete directory name with full path and no final slash
  • string $startWith - the beginning of the name if you want to limit the list
  • boolean $yesno - true if you want the files whose names start with $startWith, false otherwise

[ Top ]

textfile

void textfile ( $filepath )

returns a string with the content of a text file

Tags:

Conflicts:

Parameters

  • string $filepath - full path of a file that has to be converted

[ Top ]


Documention generated on Thu, 28 Nov 2002 17:43:37 +0100 by phpDocumentor 1.1.0