VADV-PHP FUNCTIONS 12/23/2009
------------------
INTRODUCTION
------------
This document contains a full listing of the available functions with
VADV-PHP. For a description of what each function does, see the
appropriate file.
Filenames are designated by an exclamation mark (!), classes are
designated by two pounds (##), and functions of the class are designated
by four asteriks (****).
Other information: View the file LICENSE.TXT for information concerning
copyrights and licensing.
! AT2K.INC.PHP
------------
## NewsListConfig
**** GetNewsListConfig()
## PostItConfig
**** GetPostItConfig()
## SysNewsConfig
**** GetSysNewsConfig()
! VA-ARCS.INC.PHP
---------------
## cfgArcs
**** Get()
**** Read()
**** Write($fileArray)
! VA-CHANNELS.INC.PHP
-------------------
## cfgChannels
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-CHANNELX.INC.PHP
-------------------
## cfgChannelx
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-COLORS.INC.PHP
-----------------
## cfgColors
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-CONTROL.INC.PHP
------------------
## datControl
**** Get($node = -1)
**** Put($fileString, $node, $configVariable)
**** Read()
**** Write($fileString)
! VA-DATABASE.INC.PHP
-------------------
## vadvDatabases
**** DbAccess($dbInfo, $userNo = 0, $userInfo = '')
**** DeleteMessage($dbInfo, $msgNo)
**** EditMessage($dbInfo, $msgNo, $newSubject = '', $newBody = '')
**** GetDbCount($topicNo, $filter = 1)
**** GetDbInfo($topicNo, $db, $fileString = '')
**** GetDbNetworks($dbInfo)
**** GetEmailCount($userNo, $deleted = 1)
**** GetLastPostInfo($dbInfo)
**** GetOnelinerCount($userNo)
**** GetMessage($dbInfo, $msgNo, $format = 0, $fileString = '',
$msgInfo = array())
**** GetMessageCount($dbInfo, $includeDeleted = 1)
**** GetMessageInfo($dbInfo, $msgNo, $fileString)
**** GetMessagePointer($dbInfo, $userNo, $fileString = '')
**** GetSentEmailCount($userNo, $deleted = 1)
**** GetTopicInfo($topicNo, $type = '', $fileString = '')
**** GetTopicCount($type = '')
**** GetTopics($type = '')
**** GetTotalMessageCount()
**** PutDbInfo($dbInfo)
**** QuoteMessage($message)
**** SearchMessagesFrom($dbInfo, $userNo)
**** SearchMessagesTo($dbInfo, $userNo)
**** SetEmailInfo($userNo)
**** SetOnelinerInfo($userNo = 0)
**** SetSentEmailInfo($userNo)
**** SetUploadInfo()
**** UpdateMessagePointers($userNo, $ignore = 1)
**** WriteEmail($fromUserNo, $toUserString, $msgSubject, $msgBody,
$reply = 0, $attFile = '', $saveSent = 1)
**** WriteFile($dbInfo, $fromUserNo, $fileDesc, $fileExtDesc, $attFile)
**** WriteMessage($dbInfo, $fromUserNo, $msgSubject, $msgBody, $reply = 0)
**** WriteMessageInfo($dbInfo, $msgNo, $configVariable)
**** WriteMessagePointer($dbInfo, $userNo, $msgNo = 0, $fileString = '')
**** WriteOneliner($toUserNo, $message)
**** WriteTotalMessageCount()
! VA-DOORS.INC.PHP
----------------
## cfgDoors
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-DOWNLOAD.INC.PHP
-------------------
## cfgDownload
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-EVENTS.INC.PHP
-----------------
## cfgEvents
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-FUNCTIONS.INC.PHP
--------------------
**** Array_StripSlashes($array)
**** CalcAge($month, $day, $year)
**** CalcDayNumber($month, $day, $year)
**** ConvertDateTime($string, $dateFormat = '', $timeFormat = '')
**** ConvertDir($hostname, $dir)
**** ConvertLongFilename($filename, $dir = '')
**** ConvertUnc($unc)
**** CustomErrorHandler($errNumber, $errDescript, $errFile, $errLine)
**** DetectSpider()
**** FixHeartColors($string)
**** GetAccFlags($accFlagsInt)
**** GetChar($fileString, $position)
**** GetCurrentURL($query = 1)
**** GetInteger($fileString, $position, $unsigned = 0)
**** GetLongInt($fileString, $position, $unsigned = 0)
**** GetSingle($fileString, $position, $round = -1)
**** GetString($fileString, $position, $length)
**** HTMLEncode($string, $enhanced = 0)
**** hmac_md5($key, $data)
**** HtmlSpace($string)
**** IsHttps()
**** MakeAccFlags($accFlags)
**** MakeChar($value)
**** MakeFlags($accFlags)
**** MakeInteger($value, $unsigned = 0)
**** MakeLongInt($value, $unsigned = 0)
**** MakeSingle($value)
**** mstr_replace($search, $replace, $subject)
**** ParseANSI($fileString, $fontSize = 12, $maxRows = 25, $truncate = 1)
**** ProgramTime()
**** PutChar($fileString, $int, $position)
**** PutInteger($fileString, $int, $position, $unsigned = 0)
**** PutLongInt($fileString, $int, $position, $unsigned = 0)
**** PutSingle($fileString, $float, $position)
**** PutString($fileString, $string, $position, $length)
**** ReadAt2kConfig($configFile, $trim = 1)
**** ReadCfgFile($file)
**** ReadConfig($configFile)
**** ReadID3Info($file)
**** RedirectUser($url, $delay = 0)
**** SendFile($file)
**** SendOneLiner($message, $userNo = 0, $node = 'All')
**** StripANSICodes($string)
**** StripBBSCodes($string)
**** StripRouting($string)
**** UserDate($format)
**** UnHtmlSpecialChars($string)
**** UpdateWhosOnline($action = '', $timeout = 900, $resetId = 0)
**** VA_Die($message, $delay = 5)
**** VA_Error($errNum)
**** WMLSpecialChars($string)
**** WriteCfgFile($file, $fileString)
**** WriteLog($logFilename, $line, $maxSize = 0)
! VA-MAIN.INC.PHP
---------------
## cfgMain
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-MISC.INC.PHP
---------------
## NetworkCallers
**** Get()
## TodaysCallers
**** Get()
**** Write($id = '')
! VA-MULTIFBX.INC.PHP
-------------------
## cfgMultiFBX
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-NETWORKS.INC.PHP
-------------------
## vadvNetworks
**** GetNetworkInfo()
**** GetVnetInfo()
**** ReadNetworksLst()
! VA-QUICKVAL.INC.PHP
-------------------
## cfgQuickval
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-RANDOM.INC.PHP
-----------------
## cfgRandom
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-STATS.INC.PHP
----------------
## datConnect
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
## datDOW
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
## datHours
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
## datStatVBBS
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
## UserStats
**** Get($securitylevel = 0)
! VA-SYSPATHS.INC.PHP
-------------------
## cfgVADVPHP
**** Get()
**** Write($configVariable)
## cfgSysPaths
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-TEXTSECT.INC.PHP
-------------------
## cfgTextSect
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-UPLOAD.INC.PHP
-----------------
## cfgUpload
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
! VA-USERFILE.INC.PHP
-------------------
## datUserfile
**** Compress()
**** Get($userNo)
**** Put($fileString, $userNo, $configVariable)
**** Read()
**** Write($fileString)
## idxUserfile
**** Get($userNo)
**** Put($fileString, $userNo, $configVariable)
**** Read()
**** Write($fileString)
**** Create()
## vadvUsers
**** AddUserEmailInfo($userNo, $configVariable)
**** Count()
**** Delete($userno)
**** FindHandle($handle)
**** FindNewAcct()
**** FindRealName($name)
**** GetUserEmailInfo($userNo)
! VA-VOTE.INC.PHP
---------------
## cfgVote
**** Get()
**** Put($fileString, $configVariable)
**** Read()
**** Write($fileString)
## datVote
**** Get($userno, $question)
**** Put($userno, $question, $answer)
**** Stats($question)
! VADV-PHP_DAT.INC.PHP
--------------------
## datVADVPHP
**** Get($userNo)
**** Put($fileString, $userNo, $configVariable)
**** Read()
**** Write($fileString)
-----------
END OF FILE
-----------