PHP - Include Doesn't Work on XAMPP. (Solved)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP - Include Doesn't Work on XAMPP. (Solved)

Postby mozartica » 08. February 2010 20:00

I have an index page and an include in a div. Here is the index.php:

Code: Select all
<div id="govde">
<? include("tepe.php");?>
        <ul id="butonlar">


Tepe.php:

Code: Select all
<div id="tepe">
<img src="logo.gif" />
</div>



But when I call index.php (http://localhost/zukk/index.php), logo.gif doesn't appear.
I tried to upload these all to web. (A free domain) It works like it should. What is wrong with what? :D
Btw, surely; tepe.php, index.php, logo.gif are in the same directory.

Windows 7 x64

I've changed "<?" part to "<?php" and it's ok.
mozartica
 
Posts: 1
Joined: 08. February 2010 19:52

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 208 guests