We use web browser to download HTML, CSS and JS code and execute it. This HTML/CSS/JS code is an output produced by server after processing PHP or JSP pages. So this implies that actual process is completed by server. This is the only disadvantage with this kind of system. We can avoid this problem, if we use our new proposed system called PHP Desk. PHP Desk system does not bring any t ime overhead to load pages as it completes all processes on client side only. In other words it will make application work fas t enough to look like they are real - time projects or desktop applications. As we have said that PHP Desk makes a web script look like it is executing as desktop application. It means a web developer c an become desktop developer. He/she does not need to le arn any special programming language or any technology to develop desktop applications. With their current knowledge they can build good quality desktop applications using PHP Desk system. PHP Desk helps to use Graphic s of Web Standards for desktop applica tions with the same ease of their use in Web Applications. PHP Desk is also useful to utilize CMS technologies for rapid development of new applications. PHP Desk system has to deal with many issues like encryption and decryption to provide security to dat a and code. This code is actually a PHP code which carries critical business logic and data storage information or database connections. This code is not to be d isclosed to clients and other developers. But if we deploy the project to client then the code will be accessible to client. To avoid this we have developed concepts like HK, ECF, SCG, and SCD. We encrypt PHP code using DES algorithm for security purpose. A key of 56 bits is used for encryption which is then processed by SHA algorithm to generate HK (Hashed Key) to be included as Digital Certificate. Code after encryption is called as ECF (Encrypted Code Format) which is generated by SCG (Secure Code Generator).SCG is developers tool. Developer will utilize it to provide security to t he code. SCD is supportive tool to client side Apache, which is responsible for decryption of Apaches decrypted code and it also communicate s with apache server. U sing the above proposed techniques we can overcome the security issues associated earlier