I only see my php code?

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

I only see my php code?

Postby Alfabeest » 06. February 2010 17:55

I installed everything good, i think.
But when i upload my site, in see for like 90% of my php code instead of the page??
I've added a screenshot.;

I know my scripts are OK, because i use(d) e free host site, there it was working perfect.
Image

Also have another question, whats the directory to show images on my website?
Alfabeest
 
Posts: 4
Joined: 06. February 2010 17:50

Re: I only see my php code?

Postby Wiedmann » 06. February 2010 20:49

I know my scripts are OK,

There is a problem with your scripts:
They are using "<?" instead of the correct "<?php".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: I only see my php code?

Postby Alfabeest » 07. February 2010 13:17

Thanks! It seems to work right now :D

Can i ask 1 more question? How do I make the images appear? Which direction..?
Alfabeest
 
Posts: 4
Joined: 06. February 2010 17:50

Re: I only see my php code?

Postby Wiedmann » 07. February 2010 15:10

How do I make the images appear?

Depends on the problem you have with images.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: I only see my php code?

Postby Alfabeest » 07. February 2010 15:17

In my script I have this:
Code: Select all
<img src="/Afbeeldingen/Lay-out/Rechtermenu/Statistieken.jpg" width="140" height="35" />


But it doesnt show up?

If i rightclick ->properties the image that doesnt show up on my page I see this:
Image

I hope you can help me :D
Alfabeest
 
Posts: 4
Joined: 06. February 2010 17:50

Re: I only see my php code?

Postby Alfabeest » 07. February 2010 15:20

I found the problem already! :D
Alfabeest
 
Posts: 4
Joined: 06. February 2010 17:50


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 111 guests