blank PHP output from Telephone Preference Service

2013-03-15 Thread Jim Nagel
The Telephone Preference Service website (www.tpsonline.co.uk) 
produces a blank page in Netsurf.  The URL bar changes to show that 
it's PHP.

Netsurf build #891 here on Iyonix 5.1 -- same behaviour whether 
Javascript on or off.

The only item visible is smallprint links at the top right of the 
blank acre: "Contact | Make a complaint | Privacy & cookies" and 
Netsurf at bottom left reporting "Done (0.8s)".

The Google search for "telephone preference service" also shows a 
half-dozen sub-pages at the TPS site -- all blank in Netsurf.

-- 
Jim Nagelwww.archivemag.co.uk
   See you at Wakefield?   www.wakefieldshow.org.uk   April 20



Re: blank PHP output from Telephone Preference Service

2013-03-15 Thread ChrisF
In message 
  Jim Nagel  wrote:

> The Telephone Preference Service website (www.tpsonline.co.uk)
> produces a blank page in Netsurf.  The URL bar changes to show that
> it's PHP.

> Netsurf build #891 here on Iyonix 5.1 -- same behaviour whether
> Javascript on or off.


FWIW I see I'm using r13401 and see a wide blue bar across the top 
which includes their welcome frame at top left and a search window in 
the middle. Immediately below the bar the underlined words Privacy 
Policy are in blue.


-- 
BW Chris F. [Supporting British RISC OS computing.]
Skype: c.n.l.f Twitter: MrChrisGB Blogsite: mr-chris-gb.blogspot.com
Support active democracy with '@38_degrees'.



Re: blank PHP output from Telephone Preference Service

2013-03-15 Thread Peter Young
On 15 Mar 2013  Jim Nagel  wrote:

> The Telephone Preference Service website (www.tpsonline.co.uk)
> produces a blank page in Netsurf.  The URL bar changes to show that
> it's PHP.

> Netsurf build #891 here on Iyonix 5.1 -- same behaviour whether
> Javascript on or off.

> The only item visible is smallprint links at the top right of the
> blank acre: "Contact | Make a complaint | Privacy & cookies" and
> Netsurf at bottom left reporting "Done (0.8s)".

> The Google search for "telephone preference service" also shows a
> half-dozen sub-pages at the TPS site -- all blank in Netsurf.

Even more curious. If you look at that page in Windows Firefox it 
looks suspiciously like a phishing page, with links "Related searches, 
Loans, Mortgages, Credit Cards, Insurance". It's still a pretty 
skeletal page, and none of the links work, perhaps because I use 
Ghostery, which makes me more suspicious of this page.

However, http://www.tpsonline.org.uk/tps/index.html also produces a 
skeletal page in NetSurf, and I've reported this on the bug-tracker.

With best wishes,

Peter.

-- 
Peter Young (zfc Ta) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyo...@ormail.co.uk



Re: blank PHP output from Telephone Preference Service

2013-03-15 Thread Brian Jordan
In message <1555d02c53.pnyo...@pnyoung.ormail.co.uk>
  Peter Young  wrote:


[snip]


> Even more curious. If you look at that page in Windows Firefox it
> looks suspiciously like a phishing page, with links "Related searches,
> Loans, Mortgages, Credit Cards, Insurance". It's still a pretty
> skeletal page, and none of the links work, perhaps because I use
> Ghostery, which makes me more suspicious of this page.


[snip]

*whois tpsonline.co.uk

Domain name:
tpsonline.co.uk

Registrant:
K Askew

Registrant type:
UK Individual




-- 

Brian Jordan
Virtual RPC-AdjustSA on Windows 8
RISC OS 6.20



Re: blank PHP output from Telephone Preference Service

2013-03-15 Thread Tim Hill
In article , Jim Nagel
 wrote:
> The Telephone Preference Service website (www.tpsonline.co.uk)
> produces a blank page in Netsurf.  The URL bar changes to show that
> it's PHP.

Just realised, that's a URL squatters' page.

the Telephone Preference Service are here

www.tpsonline.ORG.uk

But that's no better...masses of javascript and a nearly blank page.

Both Firefox in the Pee Sea and NetSurf are struggling with the
complaints page security certificate. A dog's breakfast.

-- 
Tim Hill
..
www.timil.com




Re: blank PHP output from Telephone Preference Service

2013-03-15 Thread cj
In article ,
   Jim Nagel  wrote:
> Netsurf build #891 here on Iyonix 5.1 -- same behaviour whether 
> Javascript on or off.

If you do a full save of one of the pages, a bit of minor editing of
the html allows the page to be viewed (I assume) normally in NetSurf.
It may be a bit of dodgy CSS although there is some javascript at the
head of the page.

-- 
Chris Johnson



Re: blank PHP output from Telephone Preference Service

2013-03-15 Thread Tim Hill
In article <2c3bd42c53.br...@brian.jordan9.btinternet.com>, Brian Jordan
 wrote:
> In message <1555d02c53.pnyo...@pnyoung.ormail.co.uk> Peter Young
>wrote:


> [snip]


> > Even more curious. If you look at that page in Windows Firefox it
> > looks suspiciously like a phishing page, with links "Related
> > searches, Loans, Mortgages, Credit Cards, Insurance". It's still a
> > pretty skeletal page, and none of the links work, perhaps because I
> > use Ghostery, which makes me more suspicious of this page.


> [snip]

> *whois tpsonline.co.uk

> Domain name: tpsonline.co.uk

> Registrant: K Askew

> Registrant type: UK Individual


www.tpsonline.co.uk  < Squatter

www.tpsonline.org.uk < TPS

Hard to tell the difference in NetSurf thanks to both being extensively
javascript reliant but the latter is the TPS - the former a URL squatter.

-- 
Tim Hill
..
www.timil.com




Re: blank PHP output from Telephone Preference Service

2013-03-15 Thread Jim Nagel
Jim Nagel  wrote on 15 Mar:
> The Telephone Preference Service website (XXXwww.tpsonline.co.uk)
> produces a blank page in Netsurf.  The URL bar changes to show that
> it's PHP.

My error; sorry.  I was actually talking about, and meant to type, 
www.tpsonline.ORG.uk

As others in this thread have pointed out, the CO.uk site looks like a 
squatter attempting to do what might in other contexts be called 
"passing off".

Is my mention of PHP at all relevant?  Is the website's PHP code 
generating Javascript?


-- 
Jim Nagelwww.archivemag.co.uk
>> before emailing large files (>1Mb), please ask me for FTP details
   See you at Wakefield?   www.wakefieldshow.org.uk   April 20



Re: blank PHP output from Telephone Preference Service

2013-03-15 Thread Tim Hill
In article <0cdbd72c53@nails.abbeypress.net>, Jim Nagel
 wrote:

> Is my mention of PHP at all relevant? 

Not really.

> Is the website's PHP code
> generating Javascript?

It may be. PHP could be used for assembling pages from frequently-used
fragments which contain HTML, more PHP and Javascript; even the
statements may be assembled using PHP variables. There's really no other
link between them: the PHP script operates on the server and javascript
operates in your browser. PHP is no more at fault than if the pages were
assembled on the fly by BBC Basic. Here's a really simple PHP page from
one of my sites:



It constructs a news page from common elements. Things like the DOCTYPE
only have to be got right once and my frequent edits are made only to
news/body.htm. The first and other snipped fragments are used site-wide.

More complexity can be introduced with variables and conditionals to
write stuff to the HTML page which is delivered to browsers. PHP is very
useful if pages contain conditional content or PayPal and social media
buttons which can be kept discreetly and updated without having to resort
to wading though acres of HTML splat on one massive page. The complete
page isn't built by the PHP interpreter until news.php is requested.  

PHP isn't a sign of anything bad: it is merely an adjunct to a web
server. But a website which relies only on Javascript for layout without
providing an alternative when it lacks in a browser is jolly bad form and
generally frowned upon. Unfortunately, now that smartphones and other
portable kit has a clutch of reasonably capable browsers which can manage
javascript any complaints these days are likely to fall on deaf ears.

-- 
Tim Hill
..
www.timil.com