Alex Ivaylov web developer blog.
 

 

Show IIS PHP server2server connections in Fiddler

Posted on April 24th, 2017 in category Uncategorized

So I am running PHP on Microsoft IIS web server. I have to open some sort of a socket to a remote host. I would like to inspect that socket because I would like to see the data being exchanged between PHP and the remote web service. In our case you could call this a server to server connection. But remember that as far as the remote web service is concerned PHP is acting as a client. Fiddler is an irreplaceable tool. I have been using it for years and I really can’t imagine my life without it.

Read more »


Copy Mac OS X installation from physical to virtual machine

Posted on April 10th, 2016 in category Uncategorized

I am writing this guide because I couldn’t find a working solution to the problem where you might want to clone a complete installation of Mac OS X on a physical hardware Mac to a Parallels virtual machine. In order to do that you would need to take full DMG image of the whole hard drive. Most solutions out there suggest that Parallels should automatically prompt you to conver the DMG file to its .HDD format when you add it to the VM, so you should try that first. However, that method did not work for me.
Read more »


dynamically manipulate a jQuery Mobile Control Group

Posted on May 18th, 2015 in category Articles

I could not find a working answer to the question How to dynamically populate a control group in jQuery Mobile and programatically change its selected value in the search engines, so I though I would write this quick article.

Now, lets say your HTML looks like this:
Read more »


Enabling PHP in a single directory

Posted on March 10th, 2015 in category Articles

I am writing this because I couldn’t find any information on how to enable PHP for a single directory.

Let’s say we have a website example.com, whose documentRoot is in /var/www/vhosts/example.com. I want PHP disabled for the entire website apart from the directory /myApp.
Read more »


Upgrading PHP?

Posted on January 27th, 2014 in category Articles

If you think that by upgrading to the latest version of PHP you will be more secure than before you might be wrong. Some security features such as magic quotes GPC and safe mode have been removed as of 5.4.

In HTTP all of the communication coming into a web app from the outside world happens via one of the 3 channels (Get, Post and Cookie). The magic quotes GPC feature automatically escapes the input.

Read more »


Kitchens Website

Posted on November 23rd, 2013 in category Projects

I’ve just finished working on this website for my uncle in Bulgaria who has a kitchens company. Check it out: Nantucket kitchens in Plovdiv.


Copying a LAMP web application

Posted on June 12th, 2013 in category Articles

One of the most common things a web professional does is copying a website from one web server to another. Whatever the reason – deploying, debugging, upgrading – it doesn’t matter. A few years ago when I started working with the web – I was using FTP. The more I was digging into the Linux Command Line the less I was using things like FTP until the point I completely stopped using it. You will see how quicker it is doing a copying via SSH compared to downloading all files via FTP and then uploading them again. The 5 main steps you need to take when copying a website are described below:
Read more »


June 2013 already?

Posted on June 12th, 2013 in category Articles

Is it June already? Time flies when you are having fun! haha… Last time I wrote here was in January, so I guess the plan to start writing here more often failed. The truth is that I have been busy with soo many different things.

On the personal side of things – it’s all the same (partying, travelling, socialising, living life to the full and enjoying the small things). I must admit – the weather in Scotland has been lovely for the last few weeks. I think that Europe and Scotland exchanged – while EU gets all the rain – we got the sunshine in Scotland ūüôā

On the technology side of things I have been digging deep into the mobile side of the web (building HTML5/CSS3/jQueryMobile web apps in Cordova) as well as trying to build the perfect MVC PHP framework to use for my own projects (I might release it under the GNU/GPL one day).

Read more »


The Modulus operator, The Ternary operator and FizzBuzz in PHP

Posted on January 6th, 2013 in category Articles

Happy new year! I’ve disabled my Facebook so I think I will start writing here more often..

Anyway, I wanted to talk about the Modulus operator % in PHP (which is very similar to most other programming languages).

From the PHP docs, we know that it returns the “Remainder of¬†$a¬†divided by¬†$b“. But what does that mean?

Read more »


From MySQL to SQL server for PHP devs

Posted on November 16th, 2012 in category Articles

As you know, I have been a LAMP developer for years. I simply love all the things that make LAMP amazing РApache, PHP, MySQL and Linux. Last year some fellow developers were trying to convince me to move away from Apache and switch to nginx but they failed. I am that type of developer who always try to use the most used technologies. The reason for that is because they are usually the most stable.

Recently, I have been asked to develop a PHP application that runs on Windows Server’s IIS and uses Microsoft SQL server as a RDMS. As you might have expected this has been a new experience for me and it has been rather bad.

The reason why I am doing this post is to try and help other developer with PHP/MySQL background switch better. So lets get started!
Read more »


a hotel website

Posted on September 6th, 2011 in category Projects

Me and the Sco.Biz team have just finished working on Lunin Links Hotel’s website (those of you who are from Fife know this hotel for sure), so check it out: lundinlinkshotel.com


printing website

Posted on August 13th, 2011 in category Projects

We have just finished working on an online printing e-commerce website. See extant-print.co.uk/


a new fancy dress website

Posted on July 28th, 2011 in category Uncategorized

Me and the guys from Sco.Biz have just finished working on the Chicken Shop’s website: http://chickenshop.co.uk


about passwords and web security in general

Posted on June 30th, 2011 in category Articles, Usability

The topic about passwords never gets old. They are the unique string which a user has to enter into a web site in order for the system of that site to know who the user is.. But you already know that of course.

In the beginning passwords could be anything from just a single letter to 20 chars. Then password polices got a little stricter and most of the websites made a requirement for at least 4 characters, then the limit was lifted to 6 characters. Now in the last few years some websites have lifted the limit to 8 characters and others have also added additional security requirements such as having both upper and lower case characters and numbers in the password.
Read more »


flooring website

Posted on June 28th, 2011 in category Projects

OK, this is our latest project. It’s a flooring website for a flooring company based in Fife. See http://ukwoodenlaminateflooring.co.uk/


Older Posts »