Discussione: Script PHP
View Single Post
Old 07-02-2005, 17:11   #1
pinzi
Member
 
L'Avatar di pinzi
 
Iscritto dal: Oct 2003
Cittā: Umbertide
Messaggi: 180
Script PHP

Qual'č l'errore di questo script PHP:

<?php
$dir_fs_document_root = $HTTP_POST_VARS['DIR_FS_DOCUMENT_ROOT'];
if ((substr($dir_fs_document_root, -1) != '/') && (substr($dir_fs_document_root, -1) != '/')) {
$where = strrpos($dir_fs_document_root, '\');
if (is_string($where) && !$where) {
$dir_fs_document_root .= '/';
} else {
$dir_fs_document_root .= '/';
}
}
?>
__________________
Do you wanna my badge number? Here! Here! My freakin' badge number!
pinzi č offline   Rispondi citando il messaggio o parte di esso