php scripts dont show
Posted by: Rafael (---.adsl.wanadoo.nl)
Date: February 20, 2006 03:17AM

Hi I have a small problem i tried to fix but i cant find the problem.

I installed wamp5 and it works
But All website is working but they dont show the script

Some examples

The login is gone
no news script is being showed
and thats all strange

Here is a screen shot of my problem
[img384.imageshack.us]

I hope some one can help me with this problem.

Greetz Rafael

Options: ReplyQuote
Re: php scripts dont show
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: February 20, 2006 09:01AM

if you had done any searching, you would have easily found this:

[forum.wampserver.com]

Options: ReplyQuote
Re: php scripts dont show
Posted by: Rafael (---.adsl.wanadoo.nl)
Date: February 20, 2006 02:47PM

Ehm all my script are like that ?

Not just one all php scripts i use on the webserver wont show.

Bether explain ty smiling smiley

Options: ReplyQuote
Re: php scripts dont show
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: February 21, 2006 04:13AM

make sure you are not using short ASP style tags:

<?

?>

use:

<?php

?>

Options: ReplyQuote
Re: php scripts dont show
Posted by: Rafael (---.adsl.wanadoo.nl)
Date: February 22, 2006 01:19AM

Thanks it worked smiling smiley

But can any one explain me why this is ?

Options: ReplyQuote
Re: php scripts dont show
Posted by: RealNubSlayer (---.hsd1.ma.comcast.net)
Date: February 24, 2006 04:31AM

Okay, the <? and <?php are two different tags, <? is for ASP pages, active server pages, and it will show php... <?php is for php, that is a simmilar question to, what is the difference <head>; <body>

Options: ReplyQuote
Re: php scripts dont show
Posted by: dapex (---.server.ntli.net)
Date: March 19, 2006 12:43PM

this has just answered my problem as i had exactly the same issue, one questin I do have though, if i upload my pages to my webhost they all work fine, so the <? is ok there but on my local machine it has to be <?PHP

why is it diffeent??

Options: ReplyQuote
Re: php scripts dont show
Posted by: dapex (---.server.ntli.net)
Date: March 19, 2006 12:51PM

according to PHP.net the use of ASP style tags was added in php 3.0.4
[uk.php.net]

so any idea why we ahve to use <?php

Cheers

Options: ReplyQuote
Re: php scripts dont show
Posted by: smoothdzion (---.107.198.86.ptr.us.xo.net)
Date: March 25, 2006 08:44PM

So I've run into the same problem. Why in the heck would they make it so it does not display <? rather than just <?php. That was a major mistake. I'm playing with a whole bunch of open source programming and a high percentage of that uses the shorthand. So I pretty much have to go through every php page to get that working to replace the shorthand.

I guess I'll go back to using easyphp. Someone let me know if there is a way to modify the configuration because I would much rather use wamp.

Options: ReplyQuote
Re: php scripts dont show
Posted by: smoothdzion (---.107.198.86.ptr.us.xo.net)
Date: March 25, 2006 08:49PM

Nevermind. Found a fix. Check out this thread.

[forum.wampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.