March, 2008 Archive

VB.NET 2005 – WebClient.UploadString – POST Data Appearing Not To Be Sent

Once again ran into this issue while working on a small VB.NET project for a client.
Problem: When using the webclient to upload a string of data to a PHP/ASP/etc script with the following code (or similar), you aren’t able to pick the posted data up within your receiving script:

Dim wc As New WebClient
wc.UploadString(url, data)

I found [...]

March 15th, 2008  |  By Oliver  |  Tags: ,   |  Posted in Web Development  |  No Comments »
(1 votes, average: 5.00 out of 5)
Loading ... Loading ...

Cpanel / WHM – Couldn’t find MySQL manager or server or missing mysql.sock or missing hostname.pid

We have just leased a nice new dedicate box to run a few high-hit ecommerce sites. Our new dedicated servers are usually pre-loaded with WHM/Cpanel (Cuts ttl) as was the case with this one.
We recieved confirmation that the server had been setup and was live and proceeded to re-configure it for the specific sites. WHM [...]

March 13th, 2008  |  By Oliver  |  Tags: , ,   |  Posted in Web Platforms  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...

How to pipe logs from Apache to PHP / How to seperate Apache log files with PHP

I recently needed to do this for a client to customise and merge the logged data from Apache into a presentable format. A by-product of this was the ability to also roll the log file on a daily basis.I found limited information regarding how to do this most of which were methods that were faulty [...]

March 6th, 2008  |  By Oliver  |  Tags: ,   |  Posted in Web Platforms  |  1 Comment »
(No Ratings Yet)
Loading ... Loading ...