Giter VIP home page Giter VIP logo

dwes's Introduction

DWES

Practicas de "Desarrollo Web en Entorno Servidor" de 2º CFGS en Desarrollo de Aplicaciones Web Bilingüe (DAW).

Unit 1

Worksheet#1

  • 1- Some exercises to practice Arrays in PHP.

Worksheet#1.3

  • 1- Make a PHP page where you enter two words in two variables and say if they rhyme or not. If the last three letters match, you have to say that they rhyme. If they coincide only the last two have to say that they rhyme a bit and if not, they do not rhyme. Remember that words will rhyme regardless of whether they are written in uppercase or lowercase.

  • 2- Make a PHP page that allows you to check if a valid email address is entered in a text box. A valid email address must have the characters '@' and '.' If the address is valid write on one side the username and on the other the domain of that address.

  • 3- Sometimes we have to check the validity of a string of characters to see if it contains only those that we consider to be valid. For example, if we had to validate the previous username, we could allow numbers, letters and occasionally '-' or '_' characters, but not other characters like '' + ',' @ ',', ', etc. . Also, being a username, we can have a maximum and minimum number of characters set. Perform a check for the user name with two parts, the first to see if the length of the string is allowed (between 3 and 20 characters) and the second to ensure that the characters used are among those allowed (letters, numbers, hyphen high, low script).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.