php

Back Open Paginator
28.11.2025 09:16
mdione (@mdione@en.osm.town)

Installed modsecurity2 for my #apache server. Here a list of interesting things it picked up overnight:

* GET /owncloud/.env
* GET /twilio/.env
* GET /.env1
* GET /laravel/public/.env
* GET /crm/.env.production
* POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh <-- who leaves /bin/sh writable by the http server? Containers, I guess?
* GET /.git/config
* GET / HTTP/1.0 <-- 1.0?
* CONNECT httpbin.org:443 HTTP/1.1 <-- open proxy

#owncloud #nextcloud #php #laravel




Show Original Post


28.11.2025 05:23
decompwlj (@decompwlj@mathstodon.xyz)

A050931: Numbers having a prime factor congruent to 1 mod 6

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A050931.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0509
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research





Show Original Post


28.11.2025 05:17
decompwlj (@decompwlj@mathstodon.xyz)

A050813: Numbers n not palindromic in any base b, 2 <= b <= 10

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A050813.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0508
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research





Show Original Post


28.11.2025 03:13
emilyselect (@emilyselect@mastodon.social)

採用担当から見たプログラミングスクールの印象と真実

emilyselect.com/%e6%8e%a1%e7%9





Show Original Post


27.11.2025 22:13
lig (@lig@fosstodon.org)

I wrote a piece arguing that PHP kind of punishes you for writing good code — yes, a spicy take, but someone had to say it.

If you’ve ever tried to be “responsible” in PHP and ended up feeling like the language was quietly judging you, you’ll get where I’m coming from. Rust and Python show up mainly as contrast… and maybe as a gentle tease.

I expect some opinionated responses are in order:)

dev.to/justlig/php-punishes-yo

#PHP #Programming #Dev #Python #Rust





Show Original Post


27.11.2025 18:28
Xenograg (@Xenograg@dice.camp)

@oxidand @Crell #php

old way:

$state = pipeline(
(new AddBlogpostToDatabase())->blogpostUrl($url),
'getBlogpostId',
'getBlogpostTitle',
'getBlogId',
'getBlogName',
'persistBlogData',
'persistBlogpostData',
);

new way:

$state = (new AddBlogpostToDatabase())->blogpostUrl($url)
|> getBlogpostId(...)
|> getBlogpostTitle(...)
|> getBlogId(...)
|> getBlogName(...)
|> persistBlogData(...)
|> persistBlogpostData(...);




Show Original Post


27.11.2025 18:04
patchlevel (@patchlevel@phpc.social)

We released 1.13.0 of hydrator! See here for the changelog: github.com/patchlevel/hydrator
#PHP #Hydrator




Show Original Post


27.11.2025 16:48
patchlevel (@patchlevel@phpc.social)

We released 1.5.0 of worker! See here for the changelog: github.com/patchlevel/worker/r
#PHP #Worker




Show Original Post


27.11.2025 16:27
heiglandreas (@heiglandreas@phpc.social)

So what is everyone using to *parse* emails in PHP?

I don't want to send emails! I am receiving emails and need to parse them. Ideally I'd get a Symfony\Component\Mime\Message back...

Is there already something? Preferrably without too many unnecessary dependencies (looking at you, Carbon et al)...

Or do I need to write something?

#php #email #mime




Show Original Post


27.11.2025 16:07
Crell (@Crell@phpc.social)

RE: phpc.social/@nette_news/115620

Latte has long been my preferred PHP templating engine. The new version looks even better!

#php #templating




Show Original Post


27.11.2025 16:00
jclermont (@jclermont@phpc.social)

Usually better architecture leads to easier testing. But today I want to share an example where improving the architecture made testing a bit more cumbersome, and why I still think it was worth it. #php #laravel masteringlaravel.io/daily/2025




Show Original Post


27.11.2025 15:04
thepanz (@thepanz@phpc.social)

@brammm on "You don't need LLM to refactor your code, use #rectorphp"

Notable mention for #Phpstan too! :elephpant:

#symfonycon #symfonycon2025 #php





Show Original Post


1 ...291 292 293 294 295 296 297 298 299 300 301 ...526
UP