Php File Handling

First of all, an important aspect to keep in mind when working with files, is that Windows and Mac OS X filenames are not case-sensitive, but Linux and Unix ones are. So is a good practice to assume that the system is casesensitive and use a convention such as all filenames are lowercase. How to …

Working with strings in PHP

In PHP a string is a set of characters, where a character is the same as a byte. A string can be defined in four different ways: single quoted double quoted heredoc syntax (Behaves like single quoted) nowdoc syntax (Behaves like double quoted) single quoted string The simplest way to define a string is to …

Working with Git And GitHub

How to work with Git and GitHub? 1. Install Git and create a GitHub account The first two things that You will have to do are to install Git and create a free GitHub account. Install Git here. If you already have Git installed, check its version using the command git –version Create a GitHub …

PHP dates and times

time() time() function returns the current time in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT) Epoch time = Unix timestamp The valid range of a timestamp correspond to the minimum and maximum values for a 32-bit signed integer, for example zero = January 1 1970 00:00:00 32bit = timestamp …

Deep learning useful links and resources

Lobe Lobe – Build, train, and ship custom deep learning models using a simple visual interface. Lobe lets you build custom deep learning models, quickly train them and ship them directly in your app without writing any code.

Basics of UiPath, Tips & tricks

Projects created in UiPath Studio, can be organized in two ways: as flowcharts (execute each action from the start node down, following the arrows) as sequences (simple list of actions, that are executed one after the other) Those two structures above enable us to control which action take places and when that should happen. Attention! …

How to deal with 404 error pages, best practices

Best Practices for Error Pages What mean 404s? Wen someone requests yoursite.com/tftfgfgvt URL that doesn’t actually exist, most of the time, especially when using a framework the server will return an eror 404 page not found. In short, the server cannot find the file that the user is looking for. Where the 404 error pages …

PHP useful links

Here I will update the most interesting and useful links which I found related to php. I encourage you to fill out this list posting your favorite php links in your comments. HTTP Status Code Checker Bulk url http status checker – check status codes, response headers, and redirect chains. Web-sniffer.net – View HTTP Request …

About Codeigniter, Tips & Tricks

Why to use CodeIgniter? CodeIgniter is a php framework, with a small footprint, based on model-view-controller(MVC) architecture, but very flexible and permissive with regard to organizing the code. Codeigniter tips & tricks Create a custom Codeigniter 404 page not found As I explained in his articol, How to deal with 404 error pages, best practices …

Smart Search for PHP

Creating Autocomplete or Search Suggestion Functionality with PHP What is Fuzzy matching Fuzzy matching treats two words that are “fuzzily” similar as if they were the same word. In 1965, Vladimir Levenshtein developed the Levenshtein distance, which measures the number of single-character edits required to transform one word into the other. He proposed three types …