Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2022-03-14 05:12:53

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

7 PHP Mistakes

This is probably basic for many of. you here, but posting it for the rest of us. 7 PHP Mistakes that make websites vulnerable. Hackernoon


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2022-03-15 09:09:11

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Offline

#3 2022-03-15 18:32:49

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: 7 PHP Mistakes

gaekwad wrote #332915:

Accompanying reading:

textpattern.com/weblog/security-considerations-and-user-privileges-in-textpattern

I was thinking that this may not be safe.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2022-03-15 19:43:33

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: 7 PHP Mistakes

colak wrote #332918:

I was thinking that this may not be safe.

Correct.

Welcome back <txp:php>echo txpspecialchars(pcs('name')); </txp:php>

is better.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#5 2022-03-16 04:54:34

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: 7 PHP Mistakes

Bloke wrote #332919:

Correct…

Corrected! Thanks!


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB