Skip to content

Instantly share code, notes, and snippets.

@scamba
scamba / remove-accents.php
Last active July 18, 2017 10:20
Function to change accents letters for his simple one
<?php
/*
-- ========================================================================
-- Author: Sergio Camba (https://github.com/scamba)
-- Technologies: PHP
-- Create date: 18/07/2017
-- Update date: 18/07/2017
-- Description: Function to change accents letters for his simple one.
-- ========================================================================
@scamba
scamba / location.php
Last active July 18, 2017 10:22
Small library of functions to show how to get Google Maps location data from the coordinates (latitude and longitude).
<?php
/*
-- ==============================================================================
-- Author: Sergio Camba (https://github.com/scamba)
-- Technologies: PHP & Google Maps API
-- Create date: 18/07/2017
-- Update date: 18/07/2017
-- Description: Small library of functions to show how to get Google Maps
location data from the coordinates (latitude and longitude).
@scamba
scamba / string-functions.php
Last active July 18, 2017 10:54
Function library for strings (will be updated soon)
<?php
/*
-- ==========================================================
-- Author: Sergio Camba (https://github.com/scamba)
-- Technologies: PHP
-- Create date: 18/04/2017
-- Description: Function library for strings
-- ==========================================================
*/
@scamba
scamba / moz-functions.php
Last active May 7, 2022 01:44
PHP script for get DA from MOZ's API
<?php
/*
-- =========================================================================================
-- Author: Sergio Camba (https://github.com/scamba)
-- Create date: 18/04/2017
-- Description: Function library for MOZ API
-- More info: https://moz.com/products/api
-- =========================================================================================
@scamba
scamba / db-functions.php
Last active July 18, 2017 10:29
Basic PHP functions for connecting to database using PDO
<?php
/*
-- ===================================================================================================
-- Author: Sergio Camba (https://github.com/scamba)
-- Create date: 17/04/2017
-- Update date: 15/07/2017
-- Description: Function library for connection to database using PDO and compatible
                    with a multitude of databases such as MySQL, PostgreSQL, SQLite, Cubrid, ODBC,
                    MS SQL Server, Oracle, Firebird / Interbase, DB2, 4D, IBM and Informix.