n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/liens/redirect.php

22 lines
778 B
PHP
Raw Normal View History

2023-04-30 21:28:42 +02:00
<?
#############################################
# 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();
?>