Dear all, I have a windows 2000 server with IIS5 and Latest version of PHP. When i use the beneath script i get the following result:
(at the webserver i open IE and type....:) http://localhost/info.php >>>>>> He find's the COOKIE http://www.mywebsite.com/info.php He does not find the COOKIE??????????? Please help me... Script: ============================================================================ ===================== <?php //Verbinding maken met de database include("db/beheer/dbconnect.php"); setcookie('test','Dit komt uit een cookie!!',time(0)+3600,'/','',0); echo "<br><table align='center'><tr><td><font size='+1'><b>Openingstijden:</b></font></td></tr></table><br>"; $query = mysql_query ("SELECT * from openingstijden"); echo "<table align='center' border='1'>"; echo "<tr><td><b>Nr.</b></td><td><b>Vestiging</b></td><td><b>Maandag</b></td><td> </td></tr>"; //$teller = 1; while ($row = mysql_fetch_array ($query)) { echo "<tr><td>".$teller."</td>"; echo "<td>"; if ($row['vestigingid'] == 1) { echo "Trio woonplaza / Profijtmeubel"; } if ($row['vestigingid'] == 2) { echo "Trendhopper Druten"; } if ($row['vestigingid'] == 3) { echo "Trendhopper Arnhem"; } echo "</td>"; echo "<td>van ".$row['maandagopen']." tot ".$row['maandagsluiten']."</td>"; $teller = $teller+1; echo "</tr>"; } echo "</table>"; if (empty($HTTP_COOKIE_VARS)) { echo "<br><center><b>KAN GEEN COOKIE VINDEN :-(</b></center>"; } else { $cookie = $HTTP_COOKIE_VARS["test"]; echo "<br><center><b>COOKIE GEVONDEN!! inhoud = ".$cookie."</b></center>"; } ?> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php