22 lines
778 B
PHP
22 lines
778 B
PHP
|
<?
|
||
|
#############################################
|
||
|
# phpDirectory v1.0 #
|
||
|
# #
|
||
|
# Jean-Yves Fort - 21 avril 2001 #
|
||
|
# jean-yves@lozere-online.com #
|
||
|
# #
|
||
|
# Consulter les documents du repertoire #
|
||
|
# /doc pour plus d'informations sur #
|
||
|
# l'installation, l'auteur, les conditions #
|
||
|
# d'utilisation. #
|
||
|
#############################################
|
||
|
?>
|
||
|
<?
|
||
|
require("conf/db.php");
|
||
|
$link = mysql_connect($host,$user,$password);
|
||
|
$requete=mysql_db_query($base,"select url from ".$basesites." where id=".$s." ",$link);
|
||
|
$url = mysql_result($requete,0,"url");
|
||
|
header("Location: ".$url."");
|
||
|
exit();
|
||
|
?>
|