This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Video de como instalar o PHP no Ubuntu 15.04 | |
https://www.youtube.com/watch?v=euv9O_7DZdo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//////////////////////////////////////////////////////////////////// | |
/* | |
Estudante: Valdiney França | |
Data: 26/08/2014 | |
Função mostra há quanto tempo o usuário está cadastrado no sistema. | |
01 Recebe três argumentos, sendo os dois primeiros datas contendo dia,mês,ano, ou seja, o formato Brasileiro. | |
02 O terceiro argumento trata-se de um array contendo as legendas de saída apresentadas pela função | |
*/ | |
/////////////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once('conecxao.php'); | |
$pdo = conecxao(); | |
//////////////////////////////// | |
// Class ModelProfessor... | |
/////////////////////////////// | |
class ModelProfessor { | |
protected $nome; | |
protected $disciplina; | |
protected $complemento; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once('conecxao.php'); | |
////////////////////////////////////////////// | |
// Class 'CadastrarArtigo'... | |
///////////////////////////////////////////// | |
class CadastrarArtigo { | |
protected $titulo; | |
protected $categoria; | |
protected $artigo; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function retira( $array, $posicao ) { | |
if( array_key_exists( $posicao, $array ) ) { | |
unset( $array[ $posicao ] ); | |
return $array; | |
} | |
} | |
$arr = array(80,10,10); | |
$soma1 = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Created by SharpDevelop. | |
* User: ruan | |
* Date: 11/05/2014 | |
* Time: 11:00 | |
* | |
* To change this template use Tools | Options | Coding | Edit Standard Headers. | |
*/ | |
using System; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Created by SharpDevelop. | |
* User: ruan | |
* Date: 10/05/2014 | |
* Time: 11:15 | |
* | |
* To change this template use Tools | Options | Coding | Edit Standard Headers. | |
*/ | |
using System; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Created by SharpDevelop. | |
* User: ruan | |
* Date: 09/05/2014 | |
* Time: 03:55 | |
* | |
* To change this template use Tools | Options | Coding | Edit Standard Headers. | |
*/ | |
using System; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
class Inicio | |
{ | |
static void Main(string[] args) | |
{ | |
MinhaClasse novo = new MinhaClasse(); | |
Console.ReadKey(); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onload = function() { | |
"use strict" | |
function Conta( numero ) { | |
var saldo = 0; | |
this.numero = numero; | |
this.saldo = saldo; | |
} // end ... | |
Conta.prototype.depositar = function( valor ) { |