[ Index ]
 

Code source de Phorum 5.1.25

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/ -> common.php (sommaire)

(pas de description)

Poids: 993 lignes (37 kb)
Inclus ou requis: 26 fois
Référencé: 0 fois
Nécessite: 4 fichiers
 include/templates.php
 include/constants.php
 include/cache.php
 include/users.php

Définit 15 fonctions

  phorum_require_login()
  phorum_check_read_common()
  phorum_get_url()
  phorum_get_template()
  phorum_build_common_urls()
  phorum_hook()
  phorum_html_encode()
  phorum_recursive_stripslashes()
  phorum_get_template_info()
  phorum_get_language_info()
  phorum_redirect_by_url()
  print_var()
  phorum_generate_data_signature()
  phorum_check_data_signature()
  phorum_generate_backtrace()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

phorum_require_login()   X-Ref
A common function to check that a user is logged in


phorum_check_read_common()   X-Ref
A common function for checking the read-permissions for a forum-page
returns false if access is not allowed and an error page-was output


phorum_get_url()   X-Ref
Pas de description

phorum_get_template( $page, $is_include = false )   X-Ref
Pas de description

phorum_build_common_urls()   X-Ref
Pas de description

phorum_hook( $hook )   X-Ref
Pas de description

phorum_html_encode( $string )   X-Ref
Pas de description

phorum_recursive_stripslashes( $array )   X-Ref
Pas de description

phorum_get_template_info()   X-Ref
Pas de description

phorum_get_language_info()   X-Ref
Pas de description

phorum_redirect_by_url( $redir_url )   X-Ref
Pas de description

print_var( $var )   X-Ref
Pas de description

phorum_generate_data_signature($data)   X-Ref
Generates an MD5 signature for a piece of data using Phorum's secret
private key. This can be used to sign data which travels an unsafe path
(for example data that is sent to a user's browser and then back to
Phorum) and for which tampering should be prevented.

param: $data The data to sign.
return: $signature The signature for the data.

phorum_check_data_signature($data, $signature)   X-Ref
Checks whether the signature for a piece of data is valid.

param: $data The signed data.
param: $signature The signature for the data.
return: True in case the signature is okay, false otherwise.

phorum_generate_backtrace($skip = 0, $hidepath = "{path to Phorum}")   X-Ref
Generate a debug back trace.

param: $skip       - The amount of back trace levels to skip. The call
param: $hidepath   - NULL to not hide paths or a string to replace the
return: $backtrace - The back trace in text format or NULL if no back trace



Généré le : Thu Nov 29 12:22:27 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics