Archive: php

 

A nice little shell script for quickly install WordPress on Linux::
#!/bin/bash
wget http://wordpress.org/latest.zip
unzip latest.zip
cp -rf ./wordpress/* ./
More Reading:Magento Wins Best of Open Source Enterprise Software



 

We are currently looking for a new PHP developer to join our team.
The ideal candidate will be a highly competent PHP developer comfortable working with both procedural and object oriented PHP code. We focus nearly entirely on ecommerce, mainly osCommerce (and derivatives such as Zen Cart, CRE Loaded etc) and of course Magento.
More and [...]



 

Very interesting this one:
http://developers.facebook.com/news.php?story=358&blog;=1
With HipHop we’ve reduced the CPU usage on our Web servers on average by about fifty percent
sounds good to me
HipHop for PHP isn’t technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to [...]



 

If you are browsing around a load of files on your object oriented project using the great features like right click -> go to definition, then you like me are probably also hankering after a nice backwards and forwards functionality so you can easily jump between places in your project.
After a bit of looking around, [...]



 

If you work with Symfony, or would just like to ape the colour scheme they use on the symfony site – check out this Netbeans symfony colour scheme.
http://www.google.com/url?sa=D&q=http://piwam.googlecode.com/files/SymfonyColorScheme.zip&usg=AFQjCNFYZWqUVXAXSrsE7rLejL-p99bnMw
I have got it working on Netbeans 6.8 (though it did crash when I imported it – it seems to be working fine)
More Reading:Easily Create Colour SchemesSymfony 2 [...]



 

If you have a script that is receiving posted XML for whatever reason and are trying to access this XML without any filtering, escaping etc then this is the solution you are looking for.
Instead of trying to access via $_POST etc, you can simply call the following:
PLAIN TEXT
PHP:

$xml = file_get_contents('php://input');

This will then allow you [...]



 

If you have dutifully installed the required PEAR libraries for your application (eg PHPList HTTP/Request) but its still saying that you haven't, see if you have an open_basedir restriction in place.
If you do, there is a good chance that this is your problem.
More Reading:Symfony 2 Looking Good :) Symfony Training UKPHP Developer Job – Come [...]



 

I've just finished my first delivery of a Zend PHP course module. It was the databases section of the higher structures course. Everyone seemed to enjoy it and I think it went really well. Its great to be able to help newcomers to PHP to get a better understanding of the language and see the [...]



 

Netbeans is great for speeding up development, but learning some keyboard shortcuts can speed things up even more. Here is a nice blog post I found with a few new shortcuts (eg [ctrl]+[k] == cool )
More Reading:no matching posts found..



 

I seem to be incredibly busy this month...
Managed to do a lot though. One cool thing is the creation of a shared hosting friendly (and also wysiwyg designer friendly) MVC framework. It doesn't require anything more fancy than PHP5 with PDO. No open base dir problems, no modifying the include path problems, no bloat problems, [...]