Posts Tagged ‘PHP

It’s been some time since I last posted, due a rather hectic schedule and today I fly off to Loret De Mar, Spain for a week with the lads and two weeks after that to Miami. I’m sure this will help to take my mind of things. As with anything you constantly learn from your [...]

Share

I wrote this a while ago, whilst playing with SQL Injection, however a little unfinished, the idea was to try to write out entire files, through an SQL Injection attack. I thought I would expand, on my previous post Exceptions, Exceptions, Exceptions, and see what is possible with a simple a SQL Injection attack. I [...]

Share

Well, i’ve been rather busy at work, which is nothing short of typical now, however I thought I would post up a script that I wrote to automate the installation of PHP on Windows. In general I’m a very lazy person, and found it irritating going to the PHP site, downloading and manually installing PHP [...]

Share

Plesk API Error Resolved

In: PHP

14 Mar 2006

After upgrading to the very latest build of Plesk the API error seems to have been resolved, and no longer causes an API error of “Domain adding was failed. Error: Can`t resolve ID for IP ()“. Previously: [Server 3]# rpm -qa |grep -i psa-api | sort psa-api-cli-7.5.2-rhel3.build75050130.17 psa-api-common-7.5.2-rhel3.build75050130.17 psa-api-rpc-7.5.2-rhel3.build75050130.17 psa-api-rpc-doc-7.5.2-rhel3.build75050130.17 psa-api-rpc-protocol-7.5.2-rhel3.build75050130.17 Now: [Server 3]# rpm [...]

Share

I found this a little amazing, but SWSoft don’t actually fully support their own software. “Unfortunately, SWSoft does not fully support the API that is built in to Plesk and more than likely, they will request that we first perform an upgrade to the latest version of Plesk before they provide any further support.”, Rackspace. [...]

Share

Lately, i’ve been reading Advanced PHP Programming, by George Schlossnagle, which I must say is an excellent book. Below is an excerpt, which I find particularly interesting on the topic of error handling. “Production Display of Errors How to notify users of errors is often a political issue. All the large clients I have worked [...]

Share

Update: I tested the script in my previous post to generate domains on an alternative server and it worked flawlessly (Not quite sure why, and I need to test further). However, one of the features that are missing from Plesk is to create aliases of domains. Through the Plesk API, you can create a redirect [...]

Share

Today I was trying to generate domains through Plesk with the RPC API, the following actually creates the domain, despite throwing the following error. Looking at the domain in plesks admin it states “Hosting (Domain has no hosting configured)”. Once configuring the domain through the “Physical hosting setup page for domain testdomaingeneration3.waidev6.com” interface page successfully [...]

Share

Sharepoint & PHP

In: PHP

8 Dec 2005

I was interested in integrating PHP and SharePoint services, and using Microsoft Word 2003 (Or other MS Office Products) to upload documents directly to PHP, here are some of my observations. There are two processes winword.exe itself pyshically POST’s the word document on the server, another process called dssm.exe (Microsoft Office Document Update Utility), which [...]

Share

It’s been a little while since I published something, so I’ll make something live. I tend to forgett about a silly quirk in internet explorer that I continually bump into, which generally takes me time to figure out why page does not load… Usually this is when downloading documents and is a very simple fix [...]

Share

About this blog

Andrew Johnstone is a software engineer / lead developer working at Everlution Software.

Photostream