]> git.r.bdr.sh - rbdr/r.bdr.sh/commitdiff
Changes to fix old experiments
authorBen Beltran <redacted>
Sun, 7 Oct 2012 07:38:40 +0000 (02:38 -0500)
committerBen Beltran <redacted>
Sun, 7 Oct 2012 07:38:40 +0000 (02:38 -0500)
jekyll/gaby/nyawnyawnyaw.php
jekyll/gabyodiaaben/index.php

index d196098171d9ade67016ed4ff23827fd3aa181c4..f8a96fe70d707f03af10110e2411366ba85dcb96 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 
 <?php
 
-$db = mysql_connect("localhost","nsovocal_main","GimmehDB!!");
+$db = mysql_connect("localhost","abuguet","CambiamE!!");
 mysql_set_charset ( 'utf8', $db );
 mysql_set_charset ( 'utf8', $db );
-mysql_select_db("nsovocal_main");
+mysql_select_db("abuguet");
 
 //Prepare random Query
 mysql_query('SELECT @count := COUNT(*) FROM `gab_ascii`');
 
 //Prepare random Query
 mysql_query('SELECT @count := COUNT(*) FROM `gab_ascii`');
index b63fe65abc8bf4916f8aba69055ff62065379cf4..7a7e2074b46f22487f31fe6d93e937670c9ef4e5 100644 (file)
@@ -1,5 +1,5 @@
 <?php
 <?php
-$myFile = "/usr/home/nsovocal/public_html/gabyodiaaben/odio";
+$myFile = "/var/www/nsovocal/gabyodiaaben/odio";
 $fh = fopen($myFile, 'r') or die("can't open file");
 $string = fread($fh, filesize($myFile));
 if(isset($_GET['cerdos'])){
 $fh = fopen($myFile, 'r') or die("can't open file");
 $string = fread($fh, filesize($myFile));
 if(isset($_GET['cerdos'])){
@@ -10,7 +10,7 @@ if(isset($_GET['cerdos'])){
        }else{
                $string = "SI";
        }
        }else{
                $string = "SI";
        }
-       
+
        fwrite($fh, $string);
 
 }else{
        fwrite($fh, $string);
 
 }else{
@@ -28,12 +28,12 @@ fclose($fh);
 
 <body style="text-align: center; padding-top: 200px;">
 
 
 <body style="text-align: center; padding-top: 200px;">
 
-  <a href="http://nsovocal.com" 
-    style="font-weight: bold; 
-          font-size: 120pt; 
-          font-family: Arial, sans-serif; 
-          text-decoration: none; 
-          color: black;" 
+  <a href="http://nsovocal.com"
+    style="font-weight: bold;
+          font-size: 120pt;
+          font-family: Arial, sans-serif;
+          text-decoration: none;
+          color: black;"
     title="PHONE"
     id="answer">
     <?php echo $string; ?>
     title="PHONE"
     id="answer">
     <?php echo $string; ?>