What version of php?

Things that don't belong anywhere else. (Check first).

Moderators: Moderators General, Prelates, Magistrates

User avatar
MisterGC
Posts: 9
Joined: Sat Feb 18, 2017 11:41 pm UTC
Location: Australia -SOUTH MORANG, Northern suburb of MELBOURNE in the state of Victoria

What version of php?

Postby MisterGC » Fri Jun 30, 2017 1:52 am UTC

May I ask which version of php this site uses as the code Select All option works here but on another site which i frequently visit it does not. My browser is Firefox.
Thanks
George

When we're gaun up the hill o’ fortune, may we ne'er meet a frien' comin' doun!

A guy broke into my apartment last week. He didn’t take my TV, just stole the remote. Now he drives by at night and changes the channels.. :smile:
____________________________________________________________________________________________________

User avatar
ucim
Posts: 5509
Joined: Fri Sep 28, 2012 3:23 pm UTC
Location: The One True Thread

Re: What version of php?

Postby ucim » Fri Jun 30, 2017 2:07 am UTC

Dunno the version, but I suspect that "select all" is not built into PHP, but is coded (in PHP) into the site. Perhaps the other site has a bug, or the option is disabled. In any case, if it's a version issue, I'd look at the version of phpBB, not the version of PHP. The site is not coded in raw PHP, but in a content manager called phpBB. This content manager allows customization; the site's customization (if it's done) may be at fault.

Jose
Order of the Sillies, Honoris Causam - bestowed by charlie_grumbles on NP 859 * OTTscar winner: Wordsmith - bestowed by yappobiscuts and the OTT on NP 1832 * Ecclesiastical Calendar of the Order of the Holy Contradiction * Please help addams if you can. She needs all of us.

User avatar
chridd
Has a vermicelli title
Posts: 753
Joined: Tue Aug 19, 2008 10:07 am UTC
Location: ...Earth, I guess?
Contact:

Re: What version of php?

Postby chridd » Fri Jun 30, 2017 3:48 am UTC

"Select all" has nothing to do with PHP—it's JavaScript which is entirely executed in the browser (whereas PHP is executed on the server). This particular piece of code is part of phpBB (the software that runs the forum, which is mostly written in PHP, but phpBB is not the same as PHP). If the site isn't using phpBB (you can tell by looking at the bottom of the page, if it says "Powered by phpBB"), then they're probably using completely different code to select code blocks, and it's whatever software that site is using that's relevant. If they are using phpBB, it appears the last time the function to select code was changed was phpBB version 3.1.7, from 2015, so if the site is using any version newer than that it shouldn't make a difference.
~ chri d. d. /tʃɹɪ.di.di/ (Phonotactics, schmphonotactics) · they (for now, at least) · Forum game scores
mittfh wrote:I wish this post was very quotable...
flicky1991 wrote:In both cases the quote is "I'm being quoted too much!"

User avatar
ucim
Posts: 5509
Joined: Fri Sep 28, 2012 3:23 pm UTC
Location: The One True Thread

Re: What version of php?

Postby ucim » Fri Jun 30, 2017 4:02 am UTC

chridd wrote:"Select all" has nothing to do with PHP—it's JavaScript...
Oh yeah... duh! In order for javascript to work, your browser has to permit it. By default pretty much all browsers do (personally I think this is a mistake with Bad Consequences to the people learning about and using the net, but that's a rant for another time). Because of the problems that javascript causes, an addon called "noscript" has been developed for browsers that stops scripts cold, and then lets you allow them one by one.

If you are using this, it might be that you have blocked scripts from wherever this one originates. To see whether noscript is active, look for an "S in a circle" logo at the bottom right or top right of Firefox (if it's set up in the standard manner). You can also check the addons submenu.

Jose
Order of the Sillies, Honoris Causam - bestowed by charlie_grumbles on NP 859 * OTTscar winner: Wordsmith - bestowed by yappobiscuts and the OTT on NP 1832 * Ecclesiastical Calendar of the Order of the Holy Contradiction * Please help addams if you can. She needs all of us.

User avatar
Flumble
Yes Man
Posts: 1939
Joined: Sun Aug 05, 2012 9:35 pm UTC

Re: What version of php?

Postby Flumble » Fri Jun 30, 2017 9:11 am UTC

To follow up on finding out what the problem is:

If the admin(s) of that other site don't know what the issue is, you can help them and/or us by doing the following:
  • go to a page with a Select All
  • press F12 (to open the browser's debugging tools)
  • go to the Console tab (in the debugging tools)
  • click the Select All on the page
  • take a screenshot of the console view (masking any information you deem private, like the site name)
  • send in the screenshot (on this forum you can add it as an attachment to your post)

It could be anything from the script not being present, to containing errors, to being blocked for not matching the site's own security policy.


Return to “General”

Who is online

Users browsing this forum: No registered users and 18 guests