67 results for: echo
The best and most amazing Alexa Hacks you should know about
The best and most amazing Alexa Hacks you should know about Alexa, Amazon's talking Artificial Intelligence contained in the Echo, can entertain you and your family if you know the right words. Alexa is a versatile assistant, but Alexa's fun tricks can be the best form of entertainment at home. From playing…
Category : Operating systems 30-06-2023 by Janeth Kent
How to Track Flight Status in real-time using the Flight Tracker API
The Flight Tracker API provides developers with the ability to access real-time flight status, which is extremely useful for integrating historical tracking or live queries of air traffic into your website. With this API, you can easily track the status of a flight and access airport schedules. There are several Flight Tracker…
Category : Php 12-06-2023 by Janeth Kent
Infinite scrolling with native JavaScript using the Fetch API
I have long wanted to talk about how infinite scroll functionality can be implemented in a list of items that might be on any Web page. Infinite scroll is a technique that allows the user to interact with the mouse by scrolling down to load new dynamic content. In this way, the…
Category : Javascript 15-05-2023 by Janeth Kent
Node.js and npm: introductory tutorial
In this tutorial we will see how to install and use both Node.js and the npm package manager. In addition, we will also create a small sample application. If you have ever used or thought about using a JavaScript-based development tool, you have probably noticed that you need to install…
Category : Javascript 05-11-2021 by Silvia Mazzetta
How to Send Email from an HTML Contact Form
In today’s article we will write about how to make a working form that upon hitting that submit button will be functional and send the email (to you as a web creator and to the user or customer as well). If you’re a PHP developer, there's a high probability that you…
Category : Programming 10-05-2021 by
Network attacks and how to avoid them
Nowadays it is impossible to list all the different types of attacks that can be carried out on a network, as in the world of security this varies continuously. We bring you the most common ones according to the network attack databases, so that we can keep up to date…
Category : Security 03-05-2021 by Silvia Mazzetta
HTTP Cookies: how they work and how to use them
Today we are going to write about the way to store data in a browser, why websites use cookies and how they work in detail. Continue reading to find out how to implement and manage them - if you're looking for code! Understanding HTTP COOKIES - What are they? Cookies and other types…
Category : Programming 27-11-2020 by
The most popular Array Sorting Algorithms In PHP
There are many ways to sort an array in PHP, the easiest being to use the sort() function built into PHP. This sort function is quick but has it's limitations, especially when sorting things like dates as PHP usually guesses which value is higher than the other and can produce…
Category : Php 25-08-2020 by Luigi Nori
How to setup Free Let’s Encrypt SSL certificates with ISPConfig 3
Let’s Encrypt is an initiative to provide a better way of enabling encryption on websites. It is open, automated and above all: it offers free SSL certificates. Obtaining SSL certificates was always a bit of a hassle and now thanks to Let’s Encrypt and Certbot, finding a certificate authority, doing regular payment,…
Category : Servers 03-12-2019 by Luigi Nori
How To Disable Right Button of Mouse in Web Pages
In this snippet we are going to see how to block the right mouse button to prevent the user from taking out the context menu. This is good because in this context menu appears, among other options, to show source code. Now that we can think that by deleting this context…
Category : Javascript 12-08-2019 by Luigi Nori
Rare earths: here is the 'endgame' threat of China that led to the immediate freezing of the U.S. ban in Huawei
The US move to put Huaweion its so-called Entity List — requiring American companies to obtain a government licence to sell to it — is a pivotal moment for the global technology industry. The action against the Chinese telecoms flagship has made global noise, monopolizing not only the political or economic news but…
Category : Technology 23-05-2019 by Janeth Kent
JavaScript Manual for Beginners
The JavaScript Manual shows you how to use JavaScript and gives an overview of the language. I GETTING STARTED ABOUT Created by Netscape in 1995 as an extension of HTML for Netscape Navigator 2.0, JavaScript had as its main function the manipulation of HTML documents and form validation. Before winning this name so…
Category : Javascript 04-09-2018 by Janeth Kent
10 PHP code snippets to work with dates
Here we have some set of Useful PHP Snippets, which are useful for PHP Developers. In this tutorial we'll show you the 10 PHP date snippets you can use on your webpages by just cutting and pasting! Get current time, formatted Super basic function, takes no parameters and returns the current date.…
Category : Php 02-08-2018 by Janeth Kent
Best Websites to Learn Coding Online
You know and we know that it’s totally possible to learn to code for free... If you can teach yourself how to write code, you gain a competitive edge over your peers, you can think more algorithmically and thus can tackle problems more efficiently. But what are the best resources to achieve…
Category : Programming 19-06-2018 by Janeth Kent
Send Push Notification to Users Using Firebase Messaging Service in PHP
Today I will show you how to send unlimited free push notifications to your clients using Firebase Cloud Messaging (FCM) in your PHP web application. Push Notifications are clickable messages that come from a website. They are used to show notifications outside the web page context even if the user is not browsing…
Category : Php 14-05-2018 by Janeth Kent
Install Java in Ubuntu 16.04
Java and the JVM (Java's virtual machine) are widely used and required for many kinds of software. This article will guide you through the process of installing and managing different versions of Java using apt-get. Installing the Default JRE/JDK The easiest option for installing Java is using the version packaged with Ubuntu.…
Category : Networking 23-11-2017 by Janeth Kent
ArangoDB, install and configure the popular Database in ubuntu 16.04
Introduction to ArangoDb, open source, NoSQL, multi-model database BigData seems to be getting stronger every day and more and more NoSQL databases are coming out to the market, all trying to position themselves in the lead to be the reference. This week I tried ArangoDB! Another NoSQL database? Today I'm going to…
Category : Databases 14-11-2017 by Janeth Kent
How to Install Syncthing on Ubuntu 16.04
This tutorial shows how to install Syncthing on Ubuntu 16.04 Desktop LTS Xenial Xerus. Syncthing is a free continuous file synchronization tool that lets you synchronize your files across desktops, tablets, mobile phones or even servers. It’s an open source alternative to the popular BitTorrent Sync (aka btsync) application. The creation,…
Category : Networking 17-02-2017 by Janeth Kent
Setup FTP server with VSFTPD in Ubuntu 16.04
Introduction FTP, short for File Transfer Protocol, is a network protocol that was once widely used for moving files between a client and server. It has since been replaced by faster, more secure, and more convenient ways of delivering files. Many casual Internet users expect to download directly from their web…
Category : Servers 14-02-2017 by Janeth Kent
Php: How to extend the highlight_string function
PHP has a cool function that automatically highlights PHP code called highlight_string(); Theoretically this could be used to roll your own code highlighting on a site, rather than rely on JavaScript or some kind of external service to do it. In this article I'll show you the basics of how…
Category : Php 11-02-2017 by Janeth Kent
How to force screen/s resolution in Ubuntu and make it permanent
Sometimes our ubuntu drivers don't work so well as we espect with our screens, most of the time we get a low resolution in our screens and cannot change it via GUI, fortunately using xrandr we can easily configure our screens to force them to a better resolution. First of all,…
Category : Software 09-11-2016 by Janeth Kent
Ubuntu servers security: 25 security tools to armor your system
The Ubuntu repositories contain several useful tools for maintaining a secure network and network administration.This security tools include network scanning,attack detection,Virus Detection etc. 1) Wireshark -- network traffic analyzer Wireshark is a network traffic analyzer, or "sniffer", for Unix and Unix-like operating systems. It is used for network troubleshooting, analysis, software and…
Category : Servers 14-09-2016 by Janeth Kent
Install Syncthing on Ubuntu 16.04 using Debian Repository
Syncthing is a free continuous file synchronization tool that lets you synchronize your files across desktops, tablets, servers. It’s an open source alternative to the popular BitTorrent Sync (aka btsync) application. The creation, modification or deletion of files on one machine will automatically be replicated to your other devices. Syncthing…
Category : Servers 19-08-2016 by Janeth Kent
PHP Libraries For Summer 2016
Here are our picks for the 12 most useful and interesting open-source PHP libraries that you should check out this summer! Monolog With Monolog you can create advanced logging systems by sending your PHP logs to files, sockets, databases, inboxes or other web services. The library has over 50 handlers for various…
Category : Php 11-08-2016 by Janeth Kent
PHP7: Guide and References to all the changes between version 5.x and 7 of PHP
PHP 7 was released on December 3rd, 2015. It comes with a number of new features, changes, and backwards compatibility breakages that are outlined below. Performance Features Combined Comparison Operator Null Coalesce Operator Scalar Type Declarations Return Type Declarations Anonymous Classes Unicode Codepoint Escape Syntax Closure call() Method Filtered unserialize() IntlChar Class Expectations Group use Declarations Generator Return Expressions Generator Delegation Integer Division with intdiv() session_start() Options preg_replace_callback_array() Function CSPRNG Functions Support…
Category : Php 27-12-2015 by Janeth Kent
PHP Filters: the best way to sanitize and validate datas
What are PHP filters? One of the most amazing strengths of PHP is its convenience. Shockingly this same profit has worked against PHP as numerous new coders have forgotten any security to establish safety or fails to offer the adroitness to make a class to validate their variables from end users. One…
Category : Php 02-03-2020 by Janeth Kent
200+ sites, apps & books for designer
Design is fundamental to any digital strategy. We are in a digital era where visual stimuli make the difference when the user makes a decision. It is necessary that when faced with a good idea there are creative elements that differentiate us from the competition and attract our audience in…
Category : Web design 10-09-2020 by Janeth Kent
PHP: list of best awesome PHP libraries
It is an exciting time to be a PHP developer. There are lots of useful libraries released every day, and with the help of Composer and Github, they are easy to discover and use. Here is a complete list of the coolest that We’ve come across. Package Management Libraries for package and…
Category : Php 27-04-2014 by Janeth Kent
HowTo Create Linux Swap On Ubuntu 12.04
About Linux Swapping Linux RAM is composed of chunks of memory called pages. To free up pages of RAM, a “linux swap” can occur and a page of memory is copied from the RAM to preconfigured space on the hard disk. Linux swaps allow a system to harness more memory than…
Category : Networking 10-02-2014 by Janeth Kent
Install Bit Torrent Sync on Ubuntu
There are some great tools for syncing files over the internet available to us, but one stands out from the rest in regards of technology used and possible use cases. A public beta version was released in June this year and now it’s available for Windows, Mac, Linux, FreeBSD, Android and…
Category : Networking 15-01-2014 by Janeth Kent
PHP: Storing arrays in database
When working with databases, sometimes it is necessary to store an array in a MySQL field. Unfortunately, there is no way to directly pass in an array as a parameter. Storing these data structures is a bit more complex, but by no means hard or impossible. To convert any array (or…
Category : Databases 18-11-2013 by Janeth Kent
Tutorial: Introduction to PHP:PDO
Many PHP programmers learned how to access databases by using either the MySQL or MySQLi extensions. As of PHP 5.1, there’s a better way. PHP Data Objects (PDO) provide methods for prepared statements and working with objects that will make you far more productive! PDO Introduction “PDO – PHP Data Objects…
Category : Databases 15-10-2013 by Janeth Kent
How to Store HTML View File In A Variable
If you are familiar with th MVC language before you certainly know the practice of separating your business logic from your HTML. The way this works in MVC language is that the framework will allow you to assign a view (HTML) to a controller (class). In this tutorial we are going to…
Category : Php 26-08-2013 by Janeth Kent
15 Advanced CSS3 Text Effect Tutorials
If you want to give your website more visually appealing text - CSS Text Effect Tutorials can help you achieve this goal. For many year Photoshop have been the only solution for Text Effects, but CSS3 now can help us to create awesome text effects. In this post we've gathered 15 Advanced CSS3 Text Effect…
Category : Css 13-08-2013 by Janeth Kent
17 Useful Code Snippets for WordPress Developers
When coding WordPress themes, especially if you do it regularly, its really useful to have a selection of code snippets in your toolbox to just 'copy-n-paste' as and when the functionality needs. Not just your most commonly used code, but also some snippets that can, when required, extend WP even…
Category : Php 09-08-2013 by Janeth Kent
PHP: Getting started with Object Oriented Programming in PHP5
This is a tutorial covers some main concepts of OOP in PHP5 with usable examples (however useless the something may be). The tutorial only covering a few fundamental subjects, all subjects are complete in and of themselves. What is OOP? Object Oriented Programming, referred to as OOP is a way to efficiently…
Category : Php 12-08-2013 by Janeth Kent
21 PHP Libraries You Should Know About
The aim of the Standard PHP Library-or SPL is to provide a standard library of interfaces which allows developers to take full advantage of object-oriented programming in PHP. Therefore in this article we have collected 21 of the best PHP Libraries which will assist and help developers to simplify their work and serve…
Category : Programming 24-07-2013 by Janeth Kent
Top 16+ free JavaScript resources for intermediate users
JavaScript is a programming language. Before learning JavaScript, we advise you to learn the basics of HTML and CSS. Because, as you will see, HTML, CSS and JavaScript always work together at the same time. These three languages together are known as the frontend languages and each of them has…
Category : Javascript 10-09-2020 by Janeth Kent
How to Retrieve Twitter Timeline and Hashtags in PHP
How to Retrieve Twitter Timeline and Hashtags in PHP (Twitter OAuth API 1.1) So, here we offer a guide that explains how to retrieve user timeline and hashtag with Twitter REST API 1.1. Before we start, we need: You need to create an application.https://dev.twitter.com/apps. Now, you need to get your consumer key, consumer secret,…
Category : Programming 12-07-2013 by Janeth Kent
Face detection methods and classes in php
Face detection is a computer technology that determines the locations and sizes of human faces in arbitrary (digital) images. It detects facial features and ignores anything else, such as buildings, trees and bodies. There is so much to say about face detection and all its algorithms, but first we want to…
Category : Programming 11-07-2013 by Janeth Kent
Top 15 Free Hacking Tools for Ethical Hackers
Intrusion tests, known as "Penetration Analysis" or "Ethical Hacking", are now a common practice to know the level of security a website has. These tests assess the type and extent of system and network vulnerabilities in terms of confidentiality and integrity. They check the security of the network and empirically verify…
Category : Security 19-06-2020 by Silvia Mazzetta
WordPress tips and tricks: how to custumize your theme
When you're in the process of writing a WordPress theme, there are a few behaviors you can change. Some of them are pretty basic, but they can really enhance the theme my making it go that extra mile. How to Customize The Login Page It’s quiet easy to customize the existing Login…
Category : Web design 10-07-2013 by Janeth Kent
PHP 5.5: Introduction To The New Functionalities
PHP 5.5.0 has been released, bringing with it a host of new features and fixes. Here we post a review; Generators are now available Generators provide a simple way to iterate through data without having to write a class implementing the Iterator interface. Just like any other function a generator is defined with…
Category : Programming 02-07-2013 by Janeth Kent
Convert HTML Special Chars Entities Inside Code and Pre Tags
If you're ever posting a piece of code on your blog or whatever, you've probably realized that it's a pain to have to convert any special character to its HTML entity. Why not take the pain away and let PHP handle that for you? There really isn't a foolproof method to…
Category : Web design 02-07-2013 by Janeth Kent
Predis: PHP Library for REDIS
Redis is an open source data structure server with an in-memory dataset that does much more than simple key/value storage thanks to its built-in data types. It was started in 2009 by Salvatore Sanfilippo and because of its popularity quickly grew, being chosen by big companies like VMware (who later hired…
Category : Programming 01-07-2013 by Janeth Kent
Get Disqus Comments With Php
This script will create a configurable widget that will display the latest Disqus comments from your site. Note: You need to signup with Disqus and register a new application in order to use this script. Using the Script This script should work on any server running PHP v5+.I haven't tested it on PHPv4,…
Category : Programming 27-06-2013 by Janeth Kent
Setting the Hostname (FQDN) in Linux Servers
Here we will show how to set your system's hostname and fully qualified domain name (FQDN). Your hostname should be something unique. Some people name their servers after planets, philosophers, or animals. Note that the system's hostname has no relationship to websites or email services hosted on it, aside from providing…
Category : Networking 29-05-2013 by Janeth Kent
Million of visitors per day with a super cheap php mysql server using nginx and varnish
These instructions are the rather verbose, but hopefully easy enough to follow, steps to build a new Linux server using Varnish and Nginx to build a php application on a cheap server , all costing under $15 a month, capable of sustaining million hits per day, (we use blitz.io to…
Category : Networking 28-05-2013 by Janeth Kent
Ubuntu UFW Firewall - Uncomplicated Firewall for Ubuntu
Introduction to UFW - Uncomplicated Firewall The default firewall configuration tool for Ubuntu is ufw. Developed to ease iptables firewall configuration, ufw provides a user friendly way to create an IPv4 or IPv6 host-based firewall. By default UFW is disabled. Gufw is a GUI that is available as a frontend. Basic Syntax and…
Category : Networking 27-05-2013 by Janeth Kent
10 most used PHP features
We have compiled a selection of top 10 PHP native functions, classes and features. We know first-hand how invaluable these features are, so we hope you find them to be useful too. 1. PDO Class We use the PDO (PHP Data Object) exclusively for connecting to our MySQL databases. PDO provides a nice abstraction layer…
Category : Programming 22-05-2013 by Janeth Kent
Memcache: Installation and Usage on Ubuntu 12.10
About Memcache Memcache is a system that works to speed up virtual private servers by caching server information. The program allows you to allocate a specific amount of the server ram toward caching recently queried data for a certain amount of time. Once the data is requested again, memcache speeds up…
Category : Databases 03-05-2013 by Janeth Kent
Setting headers for dynamic images with PHP
PHP provides an amazing library called Graphics Draw ( GD ) to generate images. You can create and output the images directly to the browser or you can store it as a image file. For example Google Charts API generates QR Code images and outputs it directly to the browser.…
Category : Programming 30-04-2013 by Janeth Kent
How to Get Over the One Hurdle Keeping You From Creating Awesome Content
In the last 12-18 months, several factors have come together to form what could be described as a digital marketing perfect storm, transforming content into the foundation of both search and social: Search algorithm changes that deemphasized thin content in the SERPs pushed marketers to focus on quality content. As is evident from the…
Category : Web marketing 25-04-2013 by Janeth Kent
Exploring the Power of Loops in PHP 8
Loops are an essential part of any programming language, including PHP. They allow you to repeat a block of code multiple times, making it easier to handle repetitive tasks and iterate over data structures. In PHP 8, there are several types of loops available, including the for, while, do-while, and…
Category : Php 23-06-2023 by Janeth Kent
Learning Loops in Php: FOREACH
Loops come in several different flavors in PHP: for, while, do-while, and foreach. We will introduce you to each of them in 3 lessons and we will show you how they can making repetitive tasks straightforward and easy to maintain. Lesson #3: The foreach Loop To understand FOREACH loops you have to know the arrays. When using a loop with…
Category : Php 11-04-2013 by Janeth Kent
Learning Loops in Php: FOR
Loops come in several different flavors in PHP: for, while, do-while, and foreach. We will introduce you to each of them in 3 lessons and we will show you how they can making repetitive tasks straightforward and easy to maintain. Lesson #1: The for Loop The syntax of a for loop is: for (expr1; expr2; expr3) statement The first expression (expr1) is evaluated…
Category : Programming 11-04-2013 by Janeth Kent
Six Useful PHP code snippets
Here’s a mini list of useful PHP code snippets that we find using on a weekly basis. You could use these as is or expand them as part of other applications or add them to a php class. Adjust server time Useful if you have a server in a different timezone, like…
Category : Programming 11-04-2013 by Janeth Kent
PHP JSON: An Example Javascript JSON Client With PHP Server
While JSON has many uses, probably the most common use is to pass data structures to Javascript. JSON is simply a standard format for data structures. In this example we’ll use a PHP page as a JSON server; we’ll use an HTML page with embedded javascript to contact the server, retrieve…
Category : Programming 30-03-2023 by Janeth Kent
Php Snippet: parse url and separate all it's parts
Use this snippet to get some value iside urls, for example the last directory. $url = 'https://aplicaciones.org/wp-content/uploads/2011/09/skypevideo-500x361.jpg?arg=value#anchor'; print_r(parse_url($url)); $url_path = parse_url($url, PHP_URL_PATH); $parts = explode('/', $url_path); $last = end($parts); echo $last;
Category : Php 11-04-2013 by Janeth Kent
PHP:EZSql class, manage your database connection easily
EZSql is a php class to make it very easy to deal with database connections, there’s already an ezsql documentation: Extensive ezsql documentation Requirements Wampserver ezsql library Installation First you need to download wampserver and ezsql library. I’ve already included the links in the requirements section. Next, setup your test folder. Then create your database configuration file…
Category : Php 11-04-2013 by Janeth Kent
PHP-MongoDB Beginners Guide
Over the last year or so, there's been a small revolution taking place in the database world, with the advent of "schema-less" database systems like Apache CouchDB. These databases follow a different approach to data storage as compared to the traditional relational model, and they're quickly becoming popular with Web…
Category : Databases 11-04-2013 by Janeth Kent
Learn PHP: Handy Functions for Beginners
If you’re new to PHP language, we’ll introduce you to seven really handy PHP functions in this quick tip! Function 1 : isset Check if a variable has been set. You just pass it a variable name, and it will return true if that variable exists, and is set to something other than NULL. $name = "Joe"; isset($name); // true isset($age); // false This function also…
Category : Php 11-04-2013 by Janeth Kent
Import data from Mysql to MongoDb with EzSql class
This simple php class to demonstrate how to import data from a MySql database to a Mongodb with out complications. // It uses the ezsql database class from Justin Vincent: // http://justinvincent.com/ezsql include_once "ezsql/shared/ez_sql_core.php"; include_once "ezsql/mysql/ez_sql_mysql.php"; class mongodb_importer { public $user; public $pass; public $databse; public $server; public function import($table_name,$mongo_db) { $db = new ezSQL_mysql($this->user,$this->pass,$this->database,$this->server); $m = new Mongo(); $mongo_db = $m->selectDB($mongo_db); $collection = new MongoCollection($mongo_db, $table_name); $res = $db->get_results("select * from ". $table_name); $i = 0; foreach($res as $r) { $i++; $collection->insert($r); } return $i; } } ?> And here it is an example about how to use this! // create a new object $importer = new mongodb_importer(); // set your Mysql information $importer->database = "my_databse"; $importer->pass = "my_secret_password"; $importer->user = "my_user_name"; $importer->server = "localhost"; // import the data $count = $importer->import("user","new_db"); // print the result echo "Imported " . $count . " records."; ?>
Category : Databases 11-04-2013 by Janeth Kent
SEO from Php with PhpSEO class in PHP
Here we present a class to make better SEO in your PHP. I want to post about SEO functions and classes for PHP and this is my first post about it. Let me show a demonstration of PhpSEO. Basic usage: $seo = new phpSEO("some long text here"); $keywords = $seo->getKeyWords(); $desc = $seo->getMetaDescription(); Advance usage: $seo =…
Category : Php 29-05-2013 by Janeth Kent
Setup VNC server for remote desktop management in Ubuntu 12.04
VNC is a protocol that is used to share the desktop with other users/computers over the network/Internet.In order to share a desktop, VNC server must be install and configure on the computer and VNC client must be run on the computer that will access the shared desktop. When we install…
Category : Networking 24-04-2013 by Janeth Kent
A list of Great PHP libraries and classes you should know
It is an exciting time to be a PHP developer. There are lots of useful libraries released every day, and with the help of Composer and Github, they are easy to discover and use. Here are 24 of the coolest that I’ve come across. Your favorite is not on the list? Share it in…
Category : Programming 26-03-2021 by Janeth Kent
Php: Introduction to Mysqli Extension
Experienced developers eschew the original MySQL extension because of its abandoned status in PHP. Nascent web developers, however, may be completely oblivious to its dormant past and dying future. Introductory tutorials for connecting to MySQL from PHP are certainly abundant, as is evident from a simple “php and mysql tutorial” Google…
Category : Networking 11-04-2013 by Janeth Kent