Skip to main content

Search

Items tagged with: php


 
I support so many Thai programmers code in #PHP, and they can avoid errors for writing for-loop or while loop by moving to #LINQ.

https://github.com/Athari/YaLinqo
Bild/Foto
#php #linq


 
Laminas: Linux Foundation führt Zend Framework weiter #PHP #LinuxFoundation #Programmiersprache #Server-Applikationen #Zend #Applikationen #OpenSource #Softwareentwicklung


 
Linux Foundation übernimmt Zend Framework #Laminas #LinuxFoundation #PHP #RogueWaveSoftware #Zend


 

PHP Puzzle: Wordpress hack


One of the WordPress websites I'm managing for a friend got hacked recently, and I've retrieved the malicious file. I started reverse-engineering it, and I quickly fell down a rabbit hole of Russian dolls.

I've grown tired of it, but if someone is interested in a #php treasure chase, I can provide the starting file and the domain that was targeted (it's important).

Anyone up for it?
#php


 
E-Learning-Plattform: Mysteriöses Datenleck bei Oncampus #E-Learning #Datensicherheit #PHP #Programmiersprache #Sicherheitslücke #Spam #Server #Applikationen #Internet #Security


 
To php devs, how do you deal with a such array for passing it to a post call via curl: foo[]=1&foo[]=2&foo[]=3?

Using $params["media_ids"] = \json_encode($media); didn't work, media are ignored. ($media is an array of ids).

I also tried:
$curl->setOpt(CURLOPT_HTTPHEADER, ['Content-Type:application/json']);
$curl->setOpt(CURLOPT_POSTFIELDS, json_encode($params) );
with no success
I use: https://packagist.org/packages/curl/curl

Thanks for helping.
Work in progress for https://mastodon.social/web/statuses/101862779512540706
#help #php
#help #php


 

I got tired of PHP and Perl, so I tried bash


Web framework in Bash. Contribute to nerdgeneration/www.sh development by creating an account on GitHub.
Article word count: 34

HN Discussion: https://news.ycombinator.com/item?id=19649761
Posted by nerdgeneration (karma: 93)
Post stats: Points: 141 - Comments: 68 - 2019-04-12T22:53:28Z

#HackerNews #and #bash #got #perl #php #tired #tried
Article content:

Bild/Foto

You can’t perform that action at this time.

You signed in with another tab or window. [1]Reload to refresh your session. You signed out in another tab or window. [2]Reload to refresh your session.

References

Visible links
1. file:///dev/
2. file:///dev/

HackerNewsBot debug: Calculated post rank: 116 - Loop: 94 - Rank min: 100 - Author rank: 465


 
Nachdem mir Nextcloud 16 Beta über den Beta-Kanal nicht angeboten wurde, habe ich nun selbst versucht, zu installieren. Die Holzhammer-Methode ist, das Zip-Archiv auszupacken und dann mit rsync über die alte Installation zu spielen, vorher aber die Datei config.php sichern. Hinweis: Ich habe das alles mit meiner Test-Instanz und nicht mit der produktiven Nextcloud gemacht! Deswegen auch ein paar krude Schritte, […] #Apache #Nextcloud #osbn #PHP #RaspberryPi #Raspbian #Server #Ubuntu #XenialXerus #


 
Programmiersprache: PHP 8 bekommt JIT-Engine #PHP #HHVM #Programmiersprache #Server-Applikationen #Virtualisierung #jit #Zend #Applikationen #OpenSource #Softwareentwicklung


 

PHP 8 to Add a JIT


Fig 1. A chap performing the Detroit JIT Unless you have been living under a rock, or are from the past (in which case, welcome), you wi...
Article word count: 1795

HN Discussion: https://news.ycombinator.com/item?id=19535564
Posted by Supermighty (karma: 1357)
Post stats: Points: 289 - Comments: 159 - 2019-03-31T13:48:14Z

#HackerNews #add #jit #php
Article content:

... show more


 
PHP bekommt einen JIT-Compiler #PHP
#PHP


 
Sicherheitslücke: SQL-Injection gefährdet Magento-Shops #Magento #Datensicherheit #E-Commerce #Onlineshop #PHP #Programmiersprache #SQL #Server-Applikationen #Sicherheitslücke #Adobe


 
[url= [url]https://www.kitaadmin.com/2019/03/pengertian-easyengine.html]easyengine[/url] adalah[/url]

#server #nginx #php #mysql #linux #easy #engine # Debian #ubuntu


 
Datenschutz: Facebook speicherte Millionen Passwörter im Klartext #Passwort #BrianKrebs #Cookies #DSGVO #Datenschutz #Datensicherheit #Git #Microblogging #MySQL #PHP


 
Anyone an idea about that #php #msmtp problem with #Arch #Linux.


 

PHP 7.3 update


Not sure what you think of #PHP, but it's still powering quite a lot of pages out there. So I decided to do the update from 7.2 to 7.3 - slightly nervous I just swapped out the FPM and you won't believe it: It #justworked out of the box. I'm impressed!


 

rss-bridge

RSS-Bridge is a PHP project capable of generating RSS and Atom feeds for websites which don't have one. It can be used on webservers or as stand alone application in CLI mode.
#rss #bridge #selfhosting #foss #php #atom #feed


 
Content Management System: Unterstützung für Drupal 7 endet 2021 #Drupal #CMS #Datensicherheit #PHP #Programmiersprache #Server-Applikationen #Sicherheitslücke #Technologie #Applikationen #Internet


 
!The Lazy Admin Club

I'm going to be moving to a dedicated server in the next month or so and am currently planning my setup with regards to PHP-FPM.

As I'll be running various PHP driven sites, I thought it best from a security point of view to use FPM pools properly this time, and having a seperate owner for each website.

This still leaves the potential security issue of the opcache and apcu cache being shared by all sites as it's controlled by the PHP master process.

I've read that the solution is to have multiple PHP master processes - one for each site, which means that each site will have it's own seperate opcache and apcu cache. I'm just wondering if this is still the correct approach as the articles I can find advising this all tend to be a few years old.

Those that are using FPM and are hosting multiple sites, have any of you taken this approach?

This is an example of one of the articles I've been reading:
https://ma.ttias.be/a-better-way-to-run-php-fpm/

#php7 #php #fpm #opcache


 
Стал сегодня разбираться с импортом #RSS потоков в #Hubzilla.
Причиной стала безуспешная попытка создать неофициальный канал для трансляции новостей finanz.ru (кстат... show more


 
Стал сегодня разбираться с импортом #RSS потоков в #Hubzilla.
Причиной стала безуспешная попытка создать неофициальный канал для трансляции новостей finanz.ru (кстат... show more


 

PHP Notice


Hello !Friendica Support

since the last git pull this PHP Notice appears in my php error log.
PHP Notice: Undefined property: Friendica\App::$performance in /addon/rendertime/rendertime.php on line 28

#friendica #php


 
HipHop Virtual Machine 4 verabschiedet sich endgültig von PHP #Facebook #HHVM #HipHopVirtualMachine #PHP


 
HHVM: Facebooks PHP-Alternative erscheint ohne PHP #HHVM #Datensicherheit #Hacker #PHP #Programmiersprache #Server-Applikationen #Virtualisierung #Applikationen #OpenSource #Security


 
Bonjour,

Je cherche une solution pour rendre disponible en ligne et de façon agréable des documents #PDF.
C’est pour partager en ensemble de fichiers de 10Go sur l’ #autonomie, la #permaculture, la #résilience, l’ #écologie, etc…
Je cherche donc quelque chose de #libre, que je peux faire tourner en #autohébergement, j’ai déja le serveur.
Fonctions que j’aimerais idéalement :
- possibilité de faire de la reconnaissance de caractère et d’indexer au moins quelques pages (tables des matières, glossaire) en base de données pour y faire des recherches textuelles.
- classement par dossiers
- ajout de tags
- lecteur PDF intégré

#logiciel #libre #linux #apache #php #sql #ocr


 
Bonjour,

Je cherche une solution pour rendre disponible en ligne et de façon agréable des documents #PDF.
C’est pour partager en ensemble de fichiers de 10Go sur l’ #autonomie, la #permaculture, la #résilience, l’ #écologie, etc…
Je cherche donc quelque chose de #libre, que je peux faire tourner en #autohébergement, j’ai déja le serveur.
Fonctions que j’aimerais idéalement :
- possibilité de faire de la reconnaissance de caractère et d’indexer au moins quelques pages (tables des matières, glossaire) en base de données pour y faire des recherches textuelles.
- classement par dossiers
- ajout de tags
- lecteur PDF intégré

#logiciel #libre #linux #apache #php #sql #ocr


 
Bonjour,

Je cherche une solution pour rendre disponible en ligne et de façon agréable des documents #PDF.
C'est pour partager en ensemble de fichiers de 10Go fournie sur l'#autonomie, la #permaculture, la #résilience, l'#écologie, etc...
Je cherche donc quelque chose de #libre, que je peux faire tourner en #autohébergement, j'ai déja le serveur.
Fonctions que j'aimerais idéalement :
- possibilité de faire de la reconnaissance de caractère et d'indexer au moins quelques pages (tables des matières, glossaire) en base de données pour y faire des recherches textuelles.
- classement par dossiers
- ajout de tags
- lecteur PDF intégré

#logiciel #libre #linux #apache #php #sql #ocr


 

PHP Warnings


Hello !Friendica Support

this warnings appears in my php error log since the last git pull.
PHP Warning:  A non-numeric value encountered in /src/Core/Worker.php on line 726
PHP Warning:  Division by zero in /src/Core/Worker.php on line 726


#friendica #php


 

Friendica Dev Environment


Alright! After many hours getting up to speed on #PHP #phpstorm and #LAMP in general finally got a dev environment running with #friendica ...I think I'll celebrate with a little Stardew Valley before moving on 😀 #fediverse


 
In the last days, i wrote a new PHP based, systemd state parser.
Check out here: https://github.com/CyberLine/systemd-state
#php #systemd #linux #github


 
DSGVO: Mehr als 12.000 Datenpannen in Deutschland gemeldet #Passwort #Cookies #DSGVO #Datenschutz #Datensicherheit #Git #Microblogging #MySQL #PHP #Programmiersprache


 
Datenbank: Lange bekannte MySQL-Lücke führt zu Angriffen #MySQL #Datenbank #Datensicherheit #Magento #Malware #MariaDB #PHP #Programmiersprache #Server-Applikationen #Sicherheitslücke


 


 
Instalar el repositorio REMI en RHEL, Centos y Scientific Linux https://www.ochobitshacenunbyte.com/2019/01/25/instalar-el-repositorio-remi-en-rhel-centos-y-scientific-linux/ #ScientificLinux #epel-release #SYSADMIN #remirepo #centos #epel #GLPI #remi #RHEL #PHP
Instalar el repositorio REMI en RHEL, Centos y Scientific Linux


 
Also I've had to increase my PHP memory limit from 256mb to 384mb as I was getting regular out of memory errors in the #PHP log. This is also something I've not been getting in the past.

MariaDB is set to 'max_allowed_packet 16777216' - is this sufficient?
#PHP


 
So my jpm (jobs per minute) on my #Friendica server is pretty low. I know my poerformance tuning is not good, but @Michael Vogel and I had the idea that it might be because of non working locking for worker tasks. Well, so I looked around a bit and found (after tips of @Michael Vogel again) that memcache is not activated, so I thought I'd install and activate that php extension.

1. Problem, memcache seems not to work with PHP 7 and later. (grep for "DOES NOT WORK" here)
But there is memcached (additonal d).
2. pecl install memcached
3. Activate memcached.so in php.ini.
4. No improvement in jpm numbers, still pretty bad.
2019-01-04T12:26:00Z@log:4685:5c2f50d6d2e262099 [Debug]:Worker.php:705:tooMuchWorkers ... show more


 
Open-Source-IDE: Apache NetBeans 10.0 veröffentlicht #Entwicklungsumgebung #Java #NetbeansIDE #PHP


 

PHP


Da PHP7.0 keine Updates mehr bekommt, habe ich bei #Hubzilla mal auf PHP7.2 gewechselt.

#Admin #PHP #internet #server