Autostart HHVM service on Ubuntu
After installing HHVM, run this command in your shell: More information here:
PHP was the first language I used more seriously in my web developer career. I regard it with a bit of nostalgia, but also see strength in its case, for a certain kind of projects.
After installing HHVM, run this command in your shell: More information here:
Reset the term count:
To make links inside a text, use the following code:
This project is a custom WordPress theme designed for presenting images. It was built after the provided design.
Use the following code in your script to set the internal php encoding to UTF-8: Also, for mysql and postgres you should take into consideration the following two commands:
Recently, I have had this request from a friend of mine, who had trouble with adding images into their post.
The following two lines have been lifesavers for the situation where a picture is properly inserted into the PostgreSQL, but cannot be taken out and displayed, even if the headers and whatever else needed is properly in place.
The script checks if a droplet is alive by opening a specified port. If the connection is successful, then it tries to retrieve a php file which locally checks the services on the droplet (in our example, just the MySQL…
PHP Javascript Proxy acts like a PHP proxy, especially for avoiding JavaScript cross domain issues.
verysimplecaching is a yet not-very-friendly standalone php one-file caching system. This file was created for usage with WordPress, in order to bypass the heavy MySQL queries on rather “static” websites. It is intended to be used together with WordPress Total…
This proiect uses PHP, Javascript, CSS, HTML and PostgreSQL
As the title specifies, this is a PHP framework, simple enough not use up too much resources and complex enough to cover the needs of a programmer.