![]() |
|
Problème de frame,javascript ou php (???) sous Vista
|
Thread Tools | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Un probleme de prise en charge du php par apache ?
|
|
#2
|
|||
|
|||
|
Voici le résultat quand je regarde le code source de la page vierge
Code:
<php ?
include("../php_config.php");
//echo "test";
mysql_connect($DBhost, $DBusr, $DBpwd) or die (mysql_error());
mysql_select_db($DBname) or die (mysql_error());
//echo "test";
mysql_query("UPDATE clic SET nbr_clics=nbr_clics+1 WHERE id='".$id."'") or die (mysql_error());
$redir = @mysql_query("SELECT url,target FROM clic WHERE id='".$id."'");
$rec = @mysql_fetch_array($redir);
//echo $redir;
//echo $id;
//echo $rec[1];
echo "<script language=javascript>window.open('".$rec[0]."','".$rec[1]."')";
if ($rec[1]=='_blank')
{
echo 'history.go(-1)';
}
echo '</script>';
?>
</body>
pour le support de php par Apache, je pense que c'est ok car j'ai des pages où je sais utiliser du php et afficher des résultats de contenu |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 5 (0 members and 5 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redirection d'une page avec frame | fayewongfr | Programmation Web (HTML, PHP, ASP, Java, XML, etc.) | 8 | 07-12-2007 19:04 |
| Un Prob sous Vista | nikool | Windows Vista | 2 | 06-03-2007 20:16 |
| Article : ce que Windows Vista RC1 a sous le capot | Cougar | Actualité | 1 | 24-09-2006 20:02 |
| Problème de CONNEXION sous WINDOWS VISTA | Microlonn | Windows Vista | 12 | 30-06-2006 00:48 |
| probleme de texte tournant en javascript qui marche pas !!! | sel31 | Design Web / Graphisme | 1 | 22-07-2004 14:09 |
All times are GMT +2. The time now is 12:30.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
































Hybrid Mode


