• Download
  • Dream page
  • [STYLE]
  • Do we get to the other side?

    *cough* *cough* *cough*

    We are experiencing troubles with|in a|the tube(s). Please help us diagnosis this issue by verifying https://dave.thehorners.com/ is responding and displaying properly for you on your device. At this time, the main host is still

    OPERATIONAL,

    https cert is NOT locked on either http(s)! disturbance in the force. USE AT YOUR OWN RISK!

    it should work but lock may not show green and secure; that is expected. If you can't get to secure sites, please use http://dave.thehorners.com/. If your ISP has restrictions to certain sites, consider another provider or another VPN. Life is too short and precious to be controlled and manipulated. I pray for ALL those people who are endure under censor and control; This is the Land of the Free and the Home of The Brave....the always on always connected multi-verse Internet right?! What's your locale like? I hope it's not oppressive. See here, a beautiful view from satellite(s) below. God Speed; and Good Luck.

    .

    Ppl of the Internet. Right now, dave.thehorners.com is unavailable on the *[LTE AT&T network] (outage has been persistent for a long while; last personal report to ATT with no response 11/11/2018)

    I don' t know if it is an outage or what; but please do a tracert from your device and request access to dave.thehorners.com if it doesn't route from your ISP (at this time I only KNOW that LTE ATT is affected if you find otherwise, please post proof in deepdream. I was told 24 hours; but that was days and days ago. I would be interested in the help...frustrating figuring out a routing|sensor|censor problem. I will remove this message from my site when LTE is routing again from my phone. [DOWN NETWORK QUICK ACCESS NOTES] AT&T LTE - Customer service: 1 (800) 331-0500
    Pardon|Thank you|Merci|Gracias


    My current preferred deep dream site(s) are: fibFile dave.thehorners.com My last 3 deep dreams were:(b0caa;5141d;bcab1) the current time is 11/17/2018 at 01:56
    https://q4j2g5j9.stackpathcdn.com/ddg-dream/a9f99e2f09d974fdfc36e91384e18e453e9b0caa.jpg - AT&T
    https://q4j2g5j9.stackpathcdn.com/ddg-dream/01cce5bee4c316e5ae8e1a4f53957b527525141d.jpg
    https://q4j2g5j9.stackpathcdn.com/ddg-dream/70cebfdbcdeb8c09a0d9076a5c669d735cbbcab1.jpg


    If you are reading these bytes and you didn't have to hop around N+1 nodes to anon and make things confusing.....CONGRATULATIONS you're blessed to be free. Thank|Pardon|Garcias someone. It didn't happen by itself.
    and now back to the strange loop perspective of just another.

    Dave Horner's Website - Yet another perspective on things...
    Home Tech Talk Programming SCRIPT: Change password script for htpasswd files.
    74 guests
    Rough Hits : 3552272
    moon and stars
    how did u find my site?





     
    morning or night person?


     
    Programming is a Dark Art, and it will always be. The programmer is fighting against the two most destructive forces in the universe: entropy and human stupidity. They're not things you can always overcome with a "methodology" or on a schedule.
    --Damian Conway
    0, 1, 1, 2, 3, 5, 8, 13, 21, 34,...
    xn = xn-1 + xn-2

    SCRIPT: Change password script for htpasswd files.

    Wednesday, 03 May 2006 05:53
    Someday, I plan on setting up a SVN server for my personal projects.  Until then, here is a quick script I wrote for changing your password.  Just place this file in your web accessable folder.  Update the path to your htpasswd file and make sure the htpasswd file is owned by the as user as the webserver.

    (note, you are opening yourself up to some security risks by doing this.... this means that if someone can upload and execute a script on your server.... they can add, change, and delete users from your htpasswd file.  This may be OK, as it is for me in many cases.)

    <br/>
    <?<br/>
    ///////////////////////////////////////////////////////////////////////<br/>
    // Change Htpasswd Script.<br/>
    ///////////////////////////////////////////////////////////////////////<br/>
    // Quick script to change passwords for htpasswd files.<br/>
    //<br/>
    // Installation:<br/>
    //   Simply copy this file into a directory that is web protected and<br/>
    // update the script to point to the path of your actual htpasswd file.<br/>
    // Also, insure that the webserver has read and write permissions.<br/>
    //<br/>
    // Author: David A. Horner (DAH) http://dave.thehorners.com<br/>
    // License: Public Domain<br/>
    ///////////////////////////////////////////////////////////////////////<br/>
    if(!include('File/Passwd/Authbasic.php')) {<br/>
       echo "Error, you must install some files into your pear configuration before continuing.<br>";<br/>
       echo "At the commandline (you might want to be root, or anyone with access to pear)<br>";<br/>
       echo "Run the following commands<br>";<br/>
       echo "pear install Auth<br>";<br/>
       echo "pear install File_Passwd<br>";<br/>
       exit();<br/>
    }<br/>
    <br/>
    $HTPASSWD_PATH = "../htpasswd";<br/>
    $REDIRECT_URL = "/";<br/>
    $MIN_PASSLEN = 6;<br/>
    $MAX_PASSLEN = -1;<br/>
    <br/>
    if(strlen($_SERVER["REMOTE_USER"])==0) {<br/>
       echo "Failed reading username from enviroment!<br>";<br/>
       echo "This program must be run from within a protected HTTP directory!";<br/>
       exit(0);<br/>
    }<br/>
    $user=$_SERVER["REMOTE_USER"];<br/>
    $save_changes=false;<br/>
    <br/>
    echo "<html><head><title>Change Password Script</title></head><body>";<br/>
    $passfile = new File_Passwd_Authbasic($HTPASSWD_PATH);<br/>
    $ret = $passfile->load();<br/>
    if(!PEAR::isError($ret)) {<br/>
    <br/>
       echo "Hello $user, welcome to the password change script.<br>";<br/>
    <br/>
       $verified=false;<br/>
       if(strlen($_REQUEST["currpass"])) {<br/>
          if($passfile->verifyPasswd($user,$_REQUEST["currpass"])) {<br/>
             $verified=true;<br/>
          } else {<br/>
             echo "Failed current password validation!<br>";<br/>
          }<br/>
       }<br/>
       $confirmed=false;<br/>
       if(strlen($_REQUEST["newpass"])) {<br/>
          if(strcmp($_REQUEST["newpass"],$_REQUEST["newpass2"])==0) {<br/>
             $confirmed=true;<br/>
          } else {<br/>
             echo "Failed new password and confirmed password don't match!";<br/>
          }<br/>
       } else if($verified) {<br/>
          echo "Failed you must supply a new password!";<br/>
       }<br/>
    <br/>
       if($verified &amp;&amp; $confirmed) {<br/>
          $passfile->changePasswd($user, $_REQUEST["newpass"]);<br/>
          $save_changes=true;<br/>
       } else {<br/>
          echo "<table border=0>";<br/>
          echo "<tr><td colspan=2 bgcolor=cccccc>Change your password</td></tr>";<br/>
          echo "<form method=\"post\" action=\"$PHP_SELF\">";<br/>
          echo "<tr><td>Verify Current Password: </td>";<br/>
          echo "<td><input type=\"password\" name=\"currpass\"></td></tr>";<br/>
          echo "<tr><td>New Password: </td>";<br/>
          echo "<td><input type=\"password\" name=\"newpass\"></td></tr>";<br/>
          echo "<tr><td>New Password Again(to confirm): </td>";<br/>
          echo "<td><input type=\"password\" name=\"newpass2\"></td></tr>";<br/>
          echo "<tr><td colspan=2>";<br/>
          echo "<input type=\"submit\" name=\"submit\" value=\"Change Pass\">";<br/>
          echo "<input type=\"hidden\" name=\"redirect\" value=\"true\">";<br/>
          echo "</td></tr>";<br/>
          echo "</form>";<br/>
          echo "</table>";<br/>
       }<br/>
    <br/>
    /*<br/>
       if(strlen($_REQUEST["newuser"]) &amp;&amp;  $confirmed) {<br/>
          $newuser=$_REQUEST["newuser"];<br/>
          $newpass=$_REQUEST["newpass"];<br/>
          echo "Adding user $newuser with password $newpass...<br>";<br/>
          $ret=$passfile->addUser($newuser,$newpass);<br/>
          if(!PEAR::isError($ret)) {<br/>
             echo "Added user successfully!<br>";<br/>
             $save_changes=true;<br/>
          } else {<br/>
             echo "Failed to add user to password file!<br>";<br/>
             echo "(".$ret->getMessage().")<br>";<br/>
          }<br/>
       } else {<br/>
          echo "<table border=0>";<br/>
          echo "<tr><td colspan=2 bgcolor=cccccc>Add new user</td></tr>";<br/>
          echo "<form method=\"post\" action=\"$PHP_SELF\">";<br/>
          echo "<tr><td>New Username: </td>";<br/>
          echo "<td><input type=\"text\" name=\"newuser\"></td></tr>";<br/>
          echo "<tr><td>New Password: </td>";<br/>
          echo "<td><input type=\"password\" name=\"newpass\"></td></tr>";<br/>
          echo "<tr><td>New Password Again(to confirm): </td>";<br/>
          echo "<td><input type=\"password\" name=\"newpass2\"></td></tr>";<br/>
          echo "<tr><td colspan=2>";<br/>
          echo "<input type=\"submit\" name=\"submit\" value=\"Add User\">";<br/>
          echo "</td></tr>";<br/>
          echo "</form>";<br/>
          echo "</table>";<br/>
       }<br/>
    */<br/>
    <br/>
       if($save_changes) {<br/>
          echo "Saving password file...<br>";<br/>
          $ret=$passfile->save();<br/>
          if(!PEAR::isError($ret)) {<br/>
             echo "Password file successfully updated!<br>";<br/>
             if(isset($_REQUEST["redirect"])) {<br/>
                echo "The browser will request your new username/password in 5 seconds....<br>";<br/>
                echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"5; URL=$REDIRECT_URL\">";<br/>
             }<br/>
          } else {<br/>
             echo "Failed to write password file!<br>";<br/>
             echo "(".$ret->getMessage().")<br>";<br/>
          }<br/>
       }<br/>
    <br/>
    } else {<br/>
       echo "Failed to open password file!<br>";<br/>
       echo "(".$ret->getMessage().")<br>";<br/>
    }<br/>
    echo "</body></html>";<br/>
       //$users=$passfile->listUser();<br/>
       //print_r($users);<br/>
    ?><br/>
    <br/>


    < Prev  Next >
    Last Updated on Wednesday, 03 May 2006 05:54