Skip to content

Instantly share code, notes, and snippets.

Avatar

Henrique Carvalho HenriqueCarvalho

View GitHub Profile
View lyrical
#
# STUDENT: Henrique Carvalho
#
# lyrical.rb is your first assignment. It takes a song's input and lets you
# see how many times a word occurs in the song.
#
# Save this file as lyrical.rb. Edit it with your text editor and run the tests
# in Terminal. The command to run the tests is:
#
# ruby lyrical.rb
View SQL injection
<html>
<head>
<title>MySQL Database</title>
</head>
<body>
<?php
$user = 'root';
$password = 'root';
$db = 'sql_injection';
$host = 'localhost';