This file contains 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 | |
$expresion = '/page=[0-9]+/'; | |
$pages = [ | |
"http://localhost/ejemplo/pagina?page=1" => "http://localhost/ejemplo/pagina?page=2", | |
"http://localhost/ejemplo/pagina?page=1&foo=20" => "http://localhost/ejemplo/pagina?page=2&foo=20", | |
"http://regex101.com/?page=1" => "http://regex101.com/?page=2", | |
"http://regex101.com/?page=1&foo=20" => "http://regex101.com/?page=2&foo=20" | |
]; |
This file contains 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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^misitio.com.ar [NC] | |
Redirect 301 / http://www.misitio.com.ar/ | |
RewriteBase / | |
RewriteRule ^index.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<title>form</title> | |
</head> | |
<body> | |
<form action="send.php" method="POST"> | |
<div class="producto"> | |
<input type="" name="producto[0][nombre]"> |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<title>form</title> | |
</head> | |
<body> | |
<form action="send.php" method="POST"> | |
<div class="producto"> | |
<input type="" name="producto[0][nombre]"> |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<title>form</title> | |
</head> | |
<body> | |
<form action="send.php" method="POST"> | |
<div class="producto"> | |
<input type="" name="productos[0][nombre]"> |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<title>index</title> | |
<link rel="stylesheet" type="text/css" href="style.css" /> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="column left-column"> |
This file contains 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
var toXMLFirstValue = null, | |
toXMLSecondValue = null, | |
toXMlFirstName = null, | |
toXMLSecondName = null; | |
$(document).ready(function() { | |
var c = ""; | |
var b = $("input[name^='sp.af_1000']").val(); |
This file contains 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 | |
$notap = 88; | |
$notas_eval = array( | |
'Excelente!!!' => $notap <= 100, | |
'Muy Bien' => $notap >= 80, | |
'Esta Bien' => $notap >= 60, | |
'Te falta un poco' => $notap >= 40, | |
'No es suficiente' => $notap >= 30, |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<title>Login to Website</title> | |
<link href="css/style.css" rel="stylesheet" type="text/css" /> | |
<link rel="stylesheet" type="text/css" href="login.css" /> | |
</head> | |
<body> | |
<form class="login-form" action="login.php" method="POST" > |
This file contains 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 | |
$url = "productos.php"; | |
if (isset($_GET['pagina'])) { | |
$pagina = $_GET['pagina']; | |
} else { |