Skip to content

Commit

Permalink
08.- Ajax con Jquery🌇 de 0 a 100 [ Ajax con php ] (Archivo en php)
Browse files Browse the repository at this point in the history
  • Loading branch information
programadornovato committed Jul 21, 2019
1 parent c4f924d commit 8bbda95
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions convertir.php
@@ -0,0 +1,12 @@
<?php
header('Access-Control-Allow-Origin: *');
if( $_REQUEST['operacion']=='may' ){
echo strtoupper( $_REQUEST['texto']);
}
else if( $_REQUEST['operacion']=='min' ){
echo strtolower( $_REQUEST['texto']);
}
else{
echo $_REQUEST['texto'];
}
?>

0 comments on commit 8bbda95

Please sign in to comment.