Opinions Sought for a Chronicle Feature  php

2 years ago | 1 comment | github.com | Score: 2 Reddit

Latest Comment

Cross-signing and replication are already implemented. I'm looking for peoples' thoughts on ways to make the replication more useful.


2 years ago


a php $_POST parser of Golang.  php

2 years ago | 1 comment | github.com | Score: Reddit

Latest Comment

its can be parse php post format request body. a[b][c]=1&a[b][c]=1&a[b][d]=1&f=1&g[h][i]=1&g[h][i][t]=1 can be parse to map[string]interface{},like $_POST.


2 years ago


rfc1867 for PHP(form upload protocol)  php

2 years ago | 2 comments | github.com | Score: Reddit

Latest Comment

Probably shouldn't use rand() here. Use random_int() instead.


2 years ago


How can i sum a database column in yii 1  php

2 years ago | comments | self.PHP | Score: Reddit


PHPMetrics is safe?  php

2 years ago | comments | self.PHP | Score: 1 Reddit


Junior PHP developer job requirments  php

2 years ago | 9 comments | self.PHP | Score: 1 Reddit

Latest Comment

basic MVC, OOP, a little bit of design patterns, maybe able to write a recursive function is al you need for a junior position..no one expects a junior to have real experience..they expect to have a little experience and a little more formal knowledge..what is important is willingness to learn and improve..so most of the time we look more for personal qualities as skills..because you will need to educate a junior..and hopefully he will stay with you long enough to get your investments back..so don't worry based on your description you are good to go :)


2 years ago


The PHP Exception Class Hierarchy  php

2 years ago | 5 comments | airbrake.io | Score: Reddit

Latest Comment

The only general-purpose distinction that matters here is between Error and Exception. Everything else was thrown in because Java has a similar hierarchy so we had to blindly imitate without understanding.

Of course, also the specific exceptions thrown by PDO etc. are interesting, but you don't need to see where in the hierarchy they are, you only need to notice that as you use extension XYZ it throws a XYZException.


2 years ago


I have created a PHP script that can defend websites by responding with a ZIP bomb to hackers  php

2 years ago | 51 comments | blog.haschek.at | Score: 86 Reddit

Latest Comment

can someone please explain me this condition ? Why is he testing for theese?

if (strpos($agent, 'nikto') !== false || strpos($agent, 'sqlmap') !== false || startswith($url,'wp-') || startswith($url,'wordpress') || startswith($url,'wp/'))


2 years ago


Authenticate users with Passport in PHP  php

2 years ago | comments | ibm.com | Score: 5 Reddit


Easily optimize images using PHP (and some binaries)  php

2 years ago | 4 comments | self.PHP | Score: 10 Reddit

Latest Comment

I noticed in the section of the README about logging, that it says to use setLogger(). From what I can tell, it is uses useLogger().


2 years ago


Forced FIFO Queue Library  php

2 years ago | 12 comments | self.PHP | Score: Reddit

Latest Comment

how could messages end up out of order on a FIFO queue? if pushing and popping to the queue are not locking atomic operations then it's not really a FIFO queue. regardless, putting a message back if it has an error in processing it is also a violation of FIFO behavior. as a user I would expect a message that throws an error to throw the error and then vanish. it's up to the user whether or not the message should be requeued.


2 years ago


5 Common Mistakes PHP Developers Make when Writing SQL  php

2 years ago | 18 comments | eversql.com | Score: Reddit

Latest Comment

I followed your link to OWASP to find what they say about utf8mb4. I see :

Use UTF-8 as your database and application charset unless you have a mandatory requirement to use another encoding.

Looks like OWASP is recommending UTF8. Am I missing something?


2 years ago


Jokes IRL: A man and a genie or a Failed singleton.  php

2 years ago | 2 comments | phpdelusions.net | Score: Reddit

Latest Comment

The joke was funny. Not thigh-trashing funny, but it gets by.

I fail to see the fun in the code example, though. It's just an example of a flawed implementation. Not only should the constructor be utilized, as pointed out in the gist (https://gist.github.com/rob-murray/5454707). This will also open a new connection every time it is called, which - in turn - may bring the code execution (and if improperly configured, the database) to a grinding halt when the connection limit is reached.

Also kids: Use factories.


2 years ago


How to Install Apache, PHP 7.1, and MySQL on Ubuntu with Vagrant  php

2 years ago | 4 comments | taniarascia.com | Score: Reddit

Latest Comment

A lot of the shell commands could be done in with Vagrantfile's config.vm.provision "shell".

Alternatively, you could probably just install Laravel Homestead and be done with it lol. Note that Laravel Homestead has nginx and not Apache.


2 years ago


Heatmapping what do you use?  php

2 years ago | 8 comments | self.PHP | Score: Reddit

Latest Comment

on a trial of fullstory.com right now through affiliate link fullstory.com/boag

I released a wordpress.org plugin for it, as I found it interesting. they do heat-maps, visitor recording & playback and a pretty powerful user segmentation and filter area (with built-in hiding of password and cc fields).

TBH I'm not going to sign up as it's 500/pcm and one thing I never thought about was what happens in nations with specific policies on what you can monitor, what you can keep and transmit, and where to etc...


2 years ago


H2 push on CGI  php

2 years ago | 8 comments | self.PHP | Score: Reddit

Latest Comment

If the size of the body is negating the impact of preload via Link: thing.css;rel="preload";as="style", do you perhaps need to load in your body via fetch/ajax as well ?


2 years ago


Top 10 Programming Languages of 2017 So Far  php

2 years ago | comments | evontech.com | Score: Reddit


Do we as PHP community need MQ standard such as Java JMS?  php

2 years ago | 17 comments | self.PHP | Score: 14 Reddit

Latest Comment

If you need Java, write Java. Trying to turn PHP into java isn't healthy for either ecosystem.


2 years ago


FOPO - Free Online PHP Obfuscator  php

2 years ago | 9 comments | fopo.com.ar | Score: Reddit

Latest Comment

Useless. My code is already incomprehensible when I write it.


2 years ago


PHP Application Development Services  php

2 years ago | comments | indianic.com | Score: Reddit


What is PHP Point of sale software?  php

2 years ago | 2 comments | blog.webprojectbuilder.com | Score: Reddit

Latest Comment

A POS article about POS systems.


2 years ago


Any other sites like bestpractices.thecodingmachine.com ?  php

2 years ago | 8 comments | bestpractices.thecodingmachine.com | Score: 40 Reddit

Latest Comment

You can read through my own best practices deck at https://ocramius.github.io/extremely-defensive-php/


2 years ago


PHP 7.1 added to Apache Openwhisk  php

2 years ago | comments | github.com | Score: 2 Reddit


Learn php from scratch with these top courses  php

2 years ago | comments | onlinecoursesgalore.com | Score: 2 Reddit


PHP: Full-Stack Framework vs Micro Framework  php

2 years ago | comments | paper.li | Score: Reddit


https://onlinecoursesgalore.com/best-php-online-courses/  php

2 years ago | comments | self.PHP | Score: 1 Reddit


The Y2k38 Bug: The biggest news craze of the year 2038  php

2 years ago | 22 comments | frederickvanbrabant.com | Score: 48 Reddit

Latest Comment

How is this even a story? This bug has been known for as long as I can remember programming, nothing but click bait.

Laravel had this problem when it was using the Carbon library for setting expiry dates on API access tokens only last year.


2 years ago


Who makes good YouTube videos on basic concepts?  php

2 years ago | 3 comments | self.PHP | Score: Reddit

Latest Comment

TheNewBoston

PhpAcadamy

TraversyMedia

TheNetNinja (although I'm not sure about php)


2 years ago


PSA: php.exe considered malicious by Webroot - PHP5.6.30 x86  php

2 years ago | 12 comments | self.PHP | Score: 9 Reddit

Latest Comment

Are they detecting all php versions or is this a specific version?


2 years ago


Symfony 4: Directory Structure Updates  php

2 years ago | 35 comments | fabien.potencier.org | Score: 42 Reddit

Latest Comment

super.... best post now in r/php


2 years ago


Type-hint all the things!  php

2 years ago | 42 comments | thecodingmachine.com | Score: 44 Reddit

Latest Comment

Er... let's not mistake Jeffrey's video for some sort of bit argument amount the pros and cons of type hinting.

The video was a small rant aimed towards beginners about not doing it simply because it's trendy.


2 years ago


Courses on Optimizing Laravel's Performance  php

2 years ago | 9 comments | serversforhackers.com | Score: 13 Reddit

Latest Comment

Nice videos. I installed lets encrypt on my server following one of your tutorials. As a suggestion, please add a comments section to the video pages. I would recommend disqus or facebook comments.


2 years ago


Easily convert webpages to images using PHP  php

2 years ago | 24 comments | murze.be | Score: 14 Reddit

Latest Comment

"Easily ... do something ... in PHP"

Follows the installation of a bloated library that will just call another binary, but in a more complex, slow and insecure way.

Great.


2 years ago


PHP development tools for Windows  php

2 years ago | 2 comments | kibohutchinson.tumblr.com | Score: Reddit

Latest Comment

No composer, No PHPstorm, no docker/vagrant, no xdebug, no blackfire, no zephire. and all the tools listed here are shit.

  • phpDesigner 8 - Just use PHPstorm
  • PHPDebugbar - Just us xdebug
  • NuSphere - the fact this support perl shows how shit it is
  • PHP-CPP - Its ok I guess, but if you want to make a low levelphp extention use PHP's sdk.
  • Directus - Just us CLI
  • SublimeText - ehh cant argue against it, but for larger projects use phpstorm
  • PlatesPHP - Never heard of it, so must be shit
  • mink - no comment
  • GuzzlePHP - no comment
  • Parsedown - never used it before

indian spam is indian.


2 years ago


PHP Development Services at XongoLab  php

2 years ago | comments | xongolab.com | Score: Reddit


Reducing a programmer's cognitive load  php

2 years ago | 36 comments | stitcher.io | Score: 48 Reddit

Latest Comment


2 years ago


Legacy framework migration  php

2 years ago | 18 comments | self.PHP | Score: 7 Reddit

Latest Comment

Focus first on reducing any dependencies you have on your current framework. If you can spend some time doing that, you'll probably have a good idea of the scope of doing a migration over to a new one.


2 years ago


PHP Weekly Discussion (July)  php

2 years ago | 1 comment | self.PHP | Score: 4 Reddit

Latest Comment

Which javascript framework should I learn? I use Symfony framework, I used angularjs 1.x not sure if I like. I do like datatables and jquery.


2 years ago


Hiraeth | Creating an ADR-like Baseline for the Hiraeth Nano-Framework  php

2 years ago | 13 comments | hiraeth.dotink.org | Score: 1 Reddit

Latest Comment

OP, I'm afraid you keep driving yourself in tighter and tighter niches. ADR is niche, and now you have your own variation of it, RAD, that's even more niche. You have a niche type of autoloading structure, and using it all with a niche kind of framework.

I'm not saying you should mindlessly align with the masses, but if you want to be understood, you need to carefully choose the battles worth fighting, or else everything you do will seem different for the sake of being different, and keep people away from trying your stuff.


2 years ago


SMS Security  php

2 years ago | 12 comments | en.rmcreative.ru | Score: Reddit

Latest Comment

TL;DR

Do not use SMS to restore password or authenticate.
It is OK to use SMS as a second authentication factor.

2 years ago


I wrote a library to augment Hack async iterators  php

2 years ago | 6 comments | self.PHP | Score: 15 Reddit

Latest Comment

So this is a fascinating project, I wonder if Hack is used by any major companies. I know that most of today's code can be transferred to Hack it's self, but I'm curious as to who's using hack in production.

On that note, did you end up writing a PHP library that would do something similar?


2 years ago


PHP 3 - Triggering a PHP command  php

2 years ago | comments | reddit.com | Score: Reddit


PHP #2  php

2 years ago | comments | reddit.com | Score: Reddit


Call to undefined method mysqli_stmt::get_result on Godaddy Shared hosting.  php

2 years ago | 2 comments | self.PHP | Score: Reddit

Latest Comment

I have already enabled mysqlnd to no avail

You did not. This is not a godaddy issue, this is mysqlnd issue. Have mysqlnd have mysqli_result. May be you enabled it wrong


2 years ago


php better code scenarious training in Bangalore  php

2 years ago | comments | traininginbangalore.com | Score: Reddit


Allowed memory size of 2MB exhausted !? - have been fighting with this since yesterday.  php

2 years ago | 23 comments | self.PHP | Score: 14 Reddit

Latest Comment

check your PHP.ini file noob boy


2 years ago


PhalconPHP 3.2 released  php

2 years ago | 16 comments | github.com | Score: 36 Reddit

Latest Comment

This is my favourite framework now. I've built a bunch of stuff with it over the last twelve months and ported a huge monolith from slim to phalcon micro.

I really like being able to create a simple rest api in a single index.php with all to bells and whistles.


2 years ago


editorconfig-checker v6 released, now with autofix-feature  php

2 years ago | comments | github.com | Score: 1 Reddit


envman: Tool for managing env configs written in PHP  php

2 years ago | 2 comments | self.PHP | Score: 9 Reddit

Latest Comment

That's cool, but did you look around first?

I personally use this one: https://github.com/arrilot/dotenv-php since it can be used within the web root (php files aren't exposed).

But more popular ones are:


2 years ago


Recommend me a book on SQL/Doctrine  php

2 years ago | 11 comments | self.PHP | Score: 3 Reddit

Latest Comment

I'm guessing from your post you're using MySql as well so I would recommend High Performance MySQL link here: http://shop.oreilly.com/product/0636920022343.do

I know it gets recommended a lot in this sub but its wholly justified. I got this book many years ago on the first edition and the majority of the content is still relevant today so you might want to look on Amazon or eBay for an earlier edition if you want something cheaper.


2 years ago