Recently I’ve been looking for some way to get rid of the insane limitations, restrictions and all that stuff that you find on your everyday shared-hosting provider. Here’s what I’ve found…
https://accounting.highspeedweb.net/whmcs/cart.php?a=add&pid=56
Good offer:
NetRockVPS – NetRock VPS
Description
15GB Disk Space
150GB Traffic
256MB Guaranteed Ram / 512MB Burstable Ram
CentOS 5.1 Default
Optional Fedora, Ubuntu, Debian, Gentoo, OpenSuse
20$ monthly price, or 10$ if you buy a full year.
I don’t know if it’s still available but it’s worth checking out. I found this offer and many more on http://www.webhostingtalk.com/ which serves as the no. #1 resource for webhosting.
[ This is currently a draft. will format and finish later ]
Eclipse all-in-one here:
Zend debugger here: http://downloads.zend.com/pdt/server-debugger/
How to allow Zend Debugger and Zend Optimizer to co-exist: http://blog.tigeryao.com/2008/how-to-allow-zend-optimizer-and-zend-debugger-coexist.html
XAMPP download:
Instructions on how to enable debugging for Eclipse:
Zend Debugger installation instructions
—————————————
1. Locate ZendDebugger.so or ZendDebugger.dll file that is compiled for the
correct version of PHP (4.3.x, 4.4.x, 5.0.x, 5.1.x, 5.2.x) in the
appropriate directory.
2. Add the following line to the php.ini file:
Linux and Mac OS X: zend_extension=/full/path/to/ZendDebugger.so
Windows: zend_extension_ts=/full/path/to/ZendDebugger.dll
Windows non-tread safe: zend_extension=/full/path/to/ZendDebugger.dll
(*) the windows non-thread safe is used only with Zend Core 2.0
3. Add the following lines to the php.ini file:
zend_debugger.allow_hosts=
zend_debugger.expose_remotely=always
4. Place dummy.php file in the document root directory.
5. Restart web server.
I’ve seen here the shortest xml2array implementation:
function xml2array($xml) {
$xmlary = array();
$reels = '/<(\w+)\s*([^\/>]*)\s*(?:\/>|>(.*)<\/\s*\\1\s*>)/s';
$reattrs = '/(\w+)=(?:"|\')([^"\']*)(:?"|\')/';
preg_match_all($reels, $xml, $elements);
foreach ($elements[1] as $ie => $xx) {
$xmlary[$ie]["name"] = $elements[1][$ie];
if ($attributes = trim($elements[2][$ie])) {
preg_match_all($reattrs, $attributes, $att);
foreach ($att[1] as $ia => $xx)
$xmlary[$ie]["attributes"][$att[1][$ia]] = $att[2][$ia];
}
$cdend = strpos($elements[3][$ie], "<");
if ($cdend > 0) {
$xmlary[$ie]["text"] = substr($elements[3][$ie], 0, $cdend - 1);
}
if (preg_match($reels, $elements[3][$ie]))
$xmlary[$ie]["elements"] = xml2array($elements[3][$ie]);
else if ($elements[3][$ie]) {
$xmlary[$ie]["text"] = $elements[3][$ie];
}
}
return $xmlary;
}