Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!
Strony WWWSerwery VPSDomenyHostingDarmowy Hosting CBA.pl

Archive for Listopad, 2017

Fabien Potencier: Symfony Flex Private Repositories

Fabien Potencier: Symfony Flex Private Repositories

Fabien Potencier has a new post to his site covering the addition of support for private repositories to the features Symfony Flex provides.

Many Flex early adopters asked for it. The Symfony Flex server now supports private recipes repositories as announced during my keynote at SymfonyCon Cluj.

Creating a repository for your private recipes is easy. Create a regular Github repository (probably a private one) to store the recipes. The directory structure is the same as for the official Flex recipes repositories. Then, register the repository as a recipes repository. Done.

The private repositories will behave just like the other public ones in your application. You can also use them to override aliases. There are a few differences between public and private, however, like auto-merge not being supported.

Source: http://www.phpdeveloper.org/news/25751

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Fabien Potencier: Symfony Flex Private Repositories

Fabien Potencier: Symfony Flex Private Repositories

Fabien Potencier has a new post to his site covering the addition of support for private repositories to the features Symfony Flex provides.

Many Flex early adopters asked for it. The Symfony Flex server now supports private recipes repositories as announced during my keynote at SymfonyCon Cluj.

Creating a repository for your private recipes is easy. Create a regular Github repository (probably a private one) to store the recipes. The directory structure is the same as for the official Flex recipes repositories. Then, register the repository as a recipes repository. Done.

The private repositories will behave just like the other public ones in your application. You can also use them to override aliases. There are a few differences between public and private, however, like auto-merge not being supported.

Source: http://www.phpdeveloper.org/news/25751

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Aaron Saray: Anatomy of a PHP Hack

Aaron Saray: Anatomy of a PHP Hack

Aaron Saray has a post to his site sharing the "anatomy of a PHP hack" – the evidence that he found and pulled apart based on a recent hack he experienced.

It’s hard to come up with a title for this – but – basically I found some rogue code the other day that I thought was pretty interesting. I was fixing a “hacked” website when I came across the source of the symptoms of the hack.

He starts with the code he found in the hacked website, obfuscated to hide the true intent and how he disassembled it to find the true intent. He walks through the method he used to reverse the code ultimately ending up with a simple call to base64_decode a value that comes in from a $_POST request.

Source: http://www.phpdeveloper.org/news/25750

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Aaron Saray: Anatomy of a PHP Hack

Aaron Saray: Anatomy of a PHP Hack

Aaron Saray has a post to his site sharing the "anatomy of a PHP hack" – the evidence that he found and pulled apart based on a recent hack he experienced.

It’s hard to come up with a title for this – but – basically I found some rogue code the other day that I thought was pretty interesting. I was fixing a “hacked” website when I came across the source of the symptoms of the hack.

He starts with the code he found in the hacked website, obfuscated to hide the true intent and how he disassembled it to find the true intent. He walks through the method he used to reverse the code ultimately ending up with a simple call to base64_decode a value that comes in from a $_POST request.

Source: http://www.phpdeveloper.org/news/25750

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Aaron Saray: Anatomy of a PHP Hack

Aaron Saray: Anatomy of a PHP Hack

Aaron Saray has a post to his site sharing the "anatomy of a PHP hack" – the evidence that he found and pulled apart based on a recent hack he experienced.

It’s hard to come up with a title for this – but – basically I found some rogue code the other day that I thought was pretty interesting. I was fixing a “hacked” website when I came across the source of the symptoms of the hack.

He starts with the code he found in the hacked website, obfuscated to hide the true intent and how he disassembled it to find the true intent. He walks through the method he used to reverse the code ultimately ending up with a simple call to base64_decode a value that comes in from a $_POST request.

Source: http://www.phpdeveloper.org/news/25750

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Site News: Popular Posts for This Week (11.24.2017)

Site News: Popular Posts for This Week (11.24.2017)

Popular posts from PHPDeveloper.org for the past week:

Source: http://www.phpdeveloper.org/news/25749

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Site News: Blast from the Past – One Year Ago in PHP (11.23.2017)

Site News: Blast from the Past – One Year Ago in PHP (11.23.2017)

Here’s what was popular in the PHP community one year ago today:

Source: http://www.phpdeveloper.org/news/25748

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Recent posts from PHP Quickfix (11.22.2017)

Community News: Recent posts from PHP Quickfix (11.22.2017)

Recent posts from the PHP Quickfix site:

Source: http://www.phpdeveloper.org/news/25747

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Recent posts from PHP Quickfix (11.22.2017)

Community News: Recent posts from PHP Quickfix (11.22.2017)

Recent posts from the PHP Quickfix site:

Source: http://www.phpdeveloper.org/news/25747

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

SitePoint PHP Blog: How to Read Big Files with PHP (Without Killing Your Server)

SitePoint PHP Blog: How to Read Big Files with PHP (Without Killing Your Server)

On the SitePoint PHP blog, there’s a tutorial posted showing you how to deal with large files without "killing your server". In this case, it’s not about the upload process but about the handling of large files on the server side.

It’s not often that we, as PHP developers, need to worry about memory management. The PHP engine does a stellar job of cleaning up after us, and the web server model of short-lived execution contexts means even the sloppiest code has no long-lasting effects.

There are rare times when we may need to step outside of this comfortable boundary — like when we’re trying to run Composer for a large project on the smallest VPS we can create, or when we need to read large files on an equally small server. It’s the latter problem we’ll look at in this tutorial.

They start off by describing how they plan to measure the success of the improved file handling, mostly around the memory usage required to work with the file. It then gets into some of the options available including:

  • reading files line by line
  • piping between files
  • using filters

The last option, the filters, seems to be the best one. He uses this one and customizes the handling with different configurations and custom protocols. All related code is included in the post and is avaialble on GitHub.

Source: http://www.phpdeveloper.org/news/25746

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>