Skip to content

Instantly share code, notes, and snippets.

View ricardosiri68's full-sized avatar

Ricardo Agustin Siri ricardosiri68

  • Nubi
  • Capital Federal
View GitHub Profile
<?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"
];
# 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]
<!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]">
<!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]">
<!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]">
<!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">
var toXMLFirstValue = null,
toXMLSecondValue = null,
toXMlFirstName = null,
toXMLSecondName = null;
$(document).ready(function() {
var c = "";
var b = $("input[name^='sp.af_1000']").val();
<?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,
<!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" >
<?php
$url = "productos.php";
if (isset($_GET['pagina'])) {
$pagina = $_GET['pagina'];
} else {