PHP not displaying properly
I am trying to set up a digital store on my webspace. The people who are
setting it up keep getting this:-
http://rosiembell.pwp.blueyonder.co.uk/test-php.php
instead of this:-
http://www.anfield.pwp.blueyonder.co.uk/scripts/test-php.php
Can anyone tell me how to fix this problem?
Many thanks
Rosie
Re: PHP not displaying properly
Rosie Bell wrote:
> I am trying to set up a digital store on my webspace. The people who are
> setting it up keep getting this:-
>
> http://rosiembell.pwp.blueyonder.co.uk/test-php.php
>
> instead of this:-
>
> http://www.anfield.pwp.blueyonder.co.uk/scripts/test-php.php
At a guess I'd say that http://www.anfield.pwp.blueyonder.co.uk/ has the
higher level (paid for) web-hosting which allows for PHP and
http://rosiembell.pwp.blueyonder.co.uk/ has the standard (lower) level
which doesn't.
--
VS
Re: PHP not displaying properly
..oO(VS)
>Rosie Bell wrote:
>> I am trying to set up a digital store on my webspace. The people who are
>> setting it up keep getting this:-
>>
>> http://rosiembell.pwp.blueyonder.co.uk/test-php.php
>>
>> instead of this:-
>>
>> http://www.anfield.pwp.blueyonder.co.uk/scripts/test-php.php
>
>At a guess I'd say that http://www.anfield.pwp.blueyonder.co.uk/ has the
>higher level (paid for) web-hosting which allows for PHP and
>http://rosiembell.pwp.blueyonder.co.uk/ has the standard (lower) level
>which doesn't.
Could also be a disabled short_open_tag on the first one. Unlikely, but
possible.
Micha
Re: PHP not displaying properly
On Aug 2, 5:41 am, "Rosie Bell" <ro... [at] rosiebell.co.uk> wrote:
> I am trying to set up a digital store on my webspace. The people who are
> setting it up keep getting this:-
>
> http://rosiembell.pwp.blueyonder.co.uk/test-php.php
>
> instead of this:-
>
> http://www.anfield.pwp.blueyonder.co.uk/scripts/test-php.php
>
> Can anyone tell me how to fix this problem?
>
> Many thanks
>
> Rosie
IMHO is not likely to be "Short Open Tag" problem.
It might be like VS said that your web-host does not allow you to use
PHP,
or there is some configuration your missing.
The reason i said this is because if you put this string: ?
=PHPE9568F34-D428-11d2-A769-00AA001ACF42
behind a php file, it will spit out PHP logo.
Hendri Kurniawan
Re: PHP not displaying properly
On Wed, 01 Aug 2007 21:41:43 +0200, Rosie Bell <rosie [at] rosiebell.co.uk>
wrote:
> I am trying to set up a digital store on my webspace. The people who are
> setting it up keep getting this:-
>
> http://rosiembell.pwp.blueyonder.co.uk/test-php.php
>
> instead of this:-
>
> http://www.anfield.pwp.blueyonder.co.uk/scripts/test-php.php
>
> Can anyone tell me how to fix this problem?
The first one sais one sais:
Server: Zeus/4.3
Date: Thu, 02 Aug 2007 03:28:34 GMT
Content-Length: 18
Accept-Ranges: bytes
Content-Type: text/plain
Last-Modified: Tue, 24 Jul 2007 04:43:24 GMT
The second sais:
Server: Zeus/4.3
Date: Thu, 02 Aug 2007 03:29:03 GMT
Transfer-Encoding: chunked
Content-Type: text/html
X-Powered-By: PHP/4.3.11
So the first one is not considerd PHP by your hoster. The reason why could
be many but the most likely ones are both mentioned:
1. Short open tags aren't recognized.
2. PHP isn't enabled for the domain.
If not 1 (easily tested by using <?php instead of <?, which you should do
regardless, then alsmost certainly 2.
--
Rik Wasmus
Re: PHP not displaying properly
Post removed (X-No-Archive: yes)