jpcody + php   24

Common Security Mistakes in Web Applications - Smashing Magazine
Web application developers today need to be skilled in a multitude of disciplines. It’s necessary to build an application that is user friendly, highly performant, accessible and secure, all while executing partially in an untrusted environment that you, the developer, have no control over. I speak, of course, about the User Agent. Most commonly seen in the form of a web browser, but in reality, one never really knows what’s on the other end of the HTTP connection.
development  php  security 
january 2011 by jpcody
YUICompressor or similar in PHP? - Stack Overflow
Is there a decent on-the-fly JS compressor implemented in PHP? The only thing resembling this that I was able to find was Minify, but it's more of a full-blown compression solution with cache and everything. I want to keep the files separate and have the minimised files follow my own naming conventions, so Minify is a bit too complex for this purpose.
php  javascript  performance 
october 2010 by jpcody
​R​u​b​y​ ​f​o​r​ ​P​H​P​ ​D​e​v​e​l​o​p​e​r​s​ ​|​ ​T​u​t​T​o​a​s​t​e​r
With our knowledge of PHP we can learn a lot about Ruby. Use of variables, loops, arrays, functions and classes, everything starting from PHP. In the end, there is an example to see all together where we’ll combine what we have learnt to see something really useful in action.
ruby  php 
september 2010 by jpcody
​P​H​P​ ​S​c​r​i​p​t​ ​T​o​ ​M​o​n​i​t​o​r​ ​F​T​P​ ​D​i​r​e​c​t​o​r​y​ ​C​h​a​n​g​e​s​ ​|​ ​f​r​a​n​z​o​n​e​.​c​o​m
I recently had the need to be able to monitor a directory on an FTP server for changes and to then be notified of those changes. I’ve been working a lot in PHP lately so I decided to use that to implement my script.
php  server 
september 2010 by jpcody
Defend PHP; convince me it isn't horrible - Stack Overflow
I made a tongue-in-cheek comment in another question thread calling PHP a terrible language and it got down-voted like crazy. Apparently there are lots of people here who love PHP.

So I'm genuinely curious. What am I missing? What makes PHP a good language?
php  stackoverflow 
july 2010 by jpcody
Object-Oriented PHP for Beginners | Nettuts+
At this point, you should feel comfortable with the object-oriented programming style. Learning OOP is a great way to take your programming to that next level. When implemented properly, OOP will help you produce easy-to-read, easy-to-maintain, portable code that will save you (and the developers who work with you) hours of extra work. Are you stuck on something that wasn’t covered in this article? Are you already using OOP and have some tips for beginners? Share them in the comments!
php  oop 
july 2010 by jpcody
PHP hide_email()
A PHP function to protect the E-mail address you publish on your website against bots or spiders that index or harvest E-mail addresses for sending you spam. It uses a substitution cipher with a different key for every page load. Look at the generated XHTML in the example while pressing the browsers "reload" button to see this in effect.
php  email  obfuscation 
february 2010 by jpcody
Prowl library for CodeIgniter | Phil Sturgeon.co.uk
CodeIgniter library to receive admin iPhone notifications via the Prowl application.
iPhone  php  codeigniter 
november 2009 by jpcody
Random Slogan Displayer
Create a text file called slogans.txt with permissions that it can be read by the server. Put each slogan on a different line, e.g.:

Building websites since before there was a web.
The internet is for lovers.
snippets  php 
november 2009 by jpcody

Copy this bookmark:



description:


tags: