PHP workshop

  • Handbook Articles

  • 1

    Before getting into the subject, it is essential to know the main characteristics of the language and other information that guides you to start working with it.

  • two

    We are going to see how to integrate in PHP the verification that you are not a robot in a form, with the captcha reCaptcha in web applications with Laravel and only with PHP.

  • 3

    Using the PHP function fopen we verify the existence of an external page, given a URL.

  • 4

    We easily calculate the number of visitors to our site.

  • 5

    One of the advantages of PHP is that it has many free and ready-to-use programs that implement many processes typical of web applications.

  • 6

    Steps to follow for the correct installation of phpMyAdmin on a machine with Debian.

  • 7

    We created a counter, programmed in PHP, that keeps track of the impressions that have been made on a web page, using a text file as support.

  • 8

    Explanation of how to send emails from PHP pages and simple and complex examples to perform the task.

  • 9

    Check the validity of an email address, that is, validate the good writing of an email.

  • 10

    Sample paging technique, to display the results of a query to the database on different pages. The example is developed in PHP and MySQL.

  • eleven

    We show a script to perform the pagination of results with PHP and MySQL. We offer the script for download with instructions to get it up and running.

  • 12

    Some of the PHP date calculation functions use the Unix timestamp which is restricted to dates between certain years. We explain how to use a much larger range of years.

  • 13

    We show how to create a table to display items in rows whose background color alternates between two different colors.

  • 14

    A couple of functions that will allow us to convert dates between the Spanish language and the MySQL format, useful when working with dates in PHP.

    See also  Configuring PHP as an Apache module on Windows

  • fifteen

    Let’s look at a script to paginate data using pear and templates. Made in PHP.

  • 16

    PHP counter script that stores the month number of the last visit, the number of visits in the month and the total visits.

  • 17

    Creation of a simple counter of visits to a page with the PHP language, which uses images to show the number of hits.

  • 18

    We offer the meaning and use of variable variables in the PHP programming language.

  • 19

    Code to get the last insert ID of a tuple.

  • twenty

    How to declare and initialize a set of global variables from a row of a recordset.

  • twenty-one

    PHP script that formats a string to be entered into a database, to ensure that it does not break an SQL statement.

  • 22

    This chapter provides a description of how to transfer data using the Flat File model, for those applications that require processing.

  • 23

    Detailed explanation of the installation of PhpAdsNew, a powerful free open source banner server.

  • 24

    Script that prompts a user to visit the website, via e-mail.

  • 25

    The chapter develops a script to access the Flat File Index records.

  • 26

    This script teaches the technique necessary to access the selected elements of a multiple select.

  • 27

    Inside there is a function that will write, in a form, a select field with values ​​resulting from the return of a query. Comfortable and effective.

  • 28

    A script that has an array of books and displays one of them, chosen at random, in a box on a web page.

  • 29

    Here I post an adaptation of the paging script, made for the Sybase database engine.

  • 30

    To lighten the loading time of our pages generated with PHP, we can send them to the browser compressed with GZip

  • 31

    How to create a file that stores the errors that have occurred during the execution of a program, add an error log to our page.

    See also  ASP.NET MVC Framework Manual

  • 32

    We discuss the characteristics of a script to paginate results with PHP and MySQL. Free and totally in Spanish.

  • 33

    How we can execute a PHP page as a scheduled task using CURL.

  • 3. 4

    The functions to transfer files using the FTP protocol from PHP pages are explained. Code example to learn how to upload files to the server.

  • 35

    Everything necessary for the creation of a PHP Nuke portal, from the installation of Apache and PHP, to the installation of the web-portal system itself.

  • 36

    Step by step detail of the installation and configuration of the PHP system for Helpdesk and One or Zero task planning.

  • 37

    Introducing the Maguma Studio Light PHP editor. We show how to configure it to be able to use the debugger, very useful for debugging our PHP codes.

  • 38

    The following PHP script sends the country and language code when requested by the browser.

  • 39

    A search system, made in PHP and MySQL, which is capable of indexing the contents of one or several websites, offering results ordered by importance and configuring itself for various uses or designs.

  • 40

    We see the type of syntax with which a class is defined.

  • 41

    In the images worked automatically with Php we face the loss of color and their quality.

  • 42

    PHP workshop in which we are going to use a series of functions that will allow us to verify if the domain of a given email exists.

  • 43

    We teach you how to create your own BBCode with PHP.

  • 44

    We present this CMS (content manager system) created in PHP and with a MySQL database that will help us to easily create web pages quickly and professionally.

  • Four. Five

    See also  Text Reflection Effect in Photoshop

    Function that allows us to find out the hours or minutes between two given times of the same day.

  • 46

    How to place our contents in a database and call it from the Url.

  • 47

    Presentation of the JpGraph library, which is used to generate images with all kinds of data graphs in PHP.

  • 48

    System created in PHP and MySQL to implement the possibility that users can vote on a web page.

  • 49

    Code to track the behavior of a search engine or its interactivity with our website.

  • fifty

    Function to round decimal places in PHP, that is, format a float so that it has any number of decimal places that you want.

  • 51

    PHP code for sending newsletters to emails stored in a database.

  • 52

    The code needed to add expressions or smileys to our system.

  • 53

    Way to make urls look good, without showing all the parameters that are passed through the url.

  • 54

    Steps to follow for the creation of a search engine with PHP and MySQL.

  • 55

    Way to obtain the color code starting from red, green and blue, as well as obtaining the RGB color code starting from the red, green and blue values.

  • 56

    How to get an approximate reflection of the internet connection, measured in Kbps.

  • 57

    How to convert a number of seconds to Hours (if any), Minutes (if any) and Seconds.

  • 58

    PHP script to bring up a menu where you can choose the desired time zone.

  • 59

    Script to know the country of the visitor of your web page in php.

  • 60

    How to make global variables such as GET, SESSION and POST treated as variables…

  • Loading Facebook Comments ...
    Loading Disqus Comments ...