Jump to content

MikeW

Members
  • Posts

    9
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://diamondlakeil.net

Profile Information

  • Gender
    Male
  • Location
    Diamond Lake, Illinois

MikeW's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. I've received all the Emails, like the gent above this post (or a couple above). The 90 day, then the 60 day. I was in the process of renewing the domain name (no prob there...know how to do it). Figured I'd renew the hosting at the same time, as I purchased them at the same time. How do I renew my hosting here with TCH? Is there a renew option, or is it simply just purchasing a new package and tie the domain to it? Thanks
  2. Thanks! Those do look like I can use them.
  3. Basically we are going to bring in a LIMS system (XT-LIMS to be exact - http://www.xt-lims.com/index.html (doesn't give much info at all at the site)). The LIMS System will generate a report; to which, then will be converted to a PDF file and saved to a drive somewhere. Now, they were going to set it up here in-house going with an assumption that we have a INTERnet web server in place already; however, we don't so they (the vendor of the app) state that they simply set up this LIMS Server (Win2K3 Server with their app and an Oracle Dbase) to export the said PDF Files to what they call the Client Access to Files Server, which is simply a Win2K3 Web server with Apache and Tomcat on it here at our site. With us being such a small company, I'd prefer not to bring in a INTERnet web server. I guess I basically want to know if it is possible for an internal application server to export files to an external webserver via mapped drives OR if anyone has any other idea on how I might be able to get us to use TCH and get these files "automagically" on to the web server. Does that explain it any better?
  4. I didn't think it would be too wise. I know I can do it for an INTRAnet site. I'm basically trying to come up with a way that I can get the company to utilize TCH as their Web and Email host AND get these files to the web server in some sort of automatigical way.
  5. The company I work for is quite small, so it isn't really too feasable to host our own site/email. We are bringing in a new application that utilizes some web services. The new app will create PDF files that get saved to a mapped drive on a web server. Now, I know I can easily do this if we host our own site. Would I be able to do this if I were to have our company move our site and email services to TCH (we're moving hosting providers anyway so...I couldn't think of a better place than where I host my site - TCH). Thanks, MikeW
  6. I couldn't figure out where else to post this. I've basically just started working on my site. http://diamondlakeil.net/index2.php I've uploaded SMF and Coppermine (uploaded the latest code from both sites). SO... Even if I have to start all over, it's not a total loss as well uhh...Again I just started Anyway, I'm wondering how I can find out how they got in to the site to upload their stuff. In my uploading files today, I noticed a folder called "Source" under the public_html folder. I downloaded it to my local computer, as I didn't want to simply open it via the web. Anyway there were only two files uploaded fire.mafia.htm and QueryString.php. All I can find are these...There are no posts in the forums or gallery (heck, I'm the only member). Anyway, how can I figure out how to prevent this from happening in the future? I tried Googling "Mafia Hacking Team" (they were the ones that got me) and all I can find are other sites that had been hacked.
  7. Thanks Got it working It wouldn't take that path either, I went with the blank path and let the install script discover GD on it's own. All's working !! Thanks Again
  8. Trying to install Coppermine All seems to go well, with the install.php file so far.. However, I'm getting stuck at the ImageMagick path within the install.php page. I've tried /usr/bin /usr/bin/convert /usr/local/bin /usr/local/bin/convert I'm simply not having any luck whatsoever. Can someone point me in the right direction please.
  9. Hiya All, First time posting within the family forums in a long time (just got another domain after being away fer a bit) Anyway, lookin' for some help Have a MySql Dbase with a Users table, to which of course holds user info - username and password I have inserted the user info into the dbase with a config *.sql file. The syntax I used was >insert into users(username, password, fullname, company, email, phone) values ('mwells', sha1('Te5t3r'), 'Mike Wells', 'EMT', 'mwells@emt.com', '847.123.1234'); Now the problem I am having is that, whenever I test authentication, it does not seem to pass and I get my "Failure" message (within the login.php file). If I echo the $_REQUEST the info passed to the login script is correct. Any ideas on why I cannot get this to start my session?? login.php ><?php // Set up error reporting display ini_set('display_errors', 1); error_reporting(E_ALL); include_once('cafs_fns.php'); if ( (!isset($_REQUEST['username'])) || (!isset($_REQUEST['password'])) ) { echo 'You must enter your username and password to proceed'; exit; } $username = $_REQUEST['username']; $password = $_REQUEST['password']; if (login($username, $password)) { $_SESSION['auth_user'] = $username; header('Location: '.$_SERVER['HTTP_REFERER']); } else { echo '<br>'; echo 'The credentials you have entered are incorrect<br>'; echo 'You must enter in a valid Username & Password to continue'; exit; } ?> cafs_fns holds my connect to...script and an auth_fns script, to which also includes the login form itself auth_fns.php ><?php // Set up error reporting display ini_set('display_errors', 1); error_reporting(E_ALL); // Check username and password with db function login($username, $password) { // connect to db $handle = db_connect(); if (!$handle) return 0; $result = mysql_query("select * from users, where username='$username' and password = sha1($password)", $handle); if (!$result) { return 0; } if ($result->mysql_num_rows>0) { return 1; } else { return 0; } } function check_auth_user() // see if somebody is logged in and notify them if not { global $_SESSION; if (isset($_SESSION['auth_user'])) { return true; } else { return false; } } function login_form() { ?> <p> </p> <div id="global"> <form action='../cafs/admin/login.php' method='POST'> <table border=0> <tr> <td>Username</td> <td><input size='16' name='username'></td> </tr> <tr> <td>Password</td> <td><input size='16' type='password' name='password'></td> </tr> </table> <input type='submit' value='Log in'> </form> </div> <?php } function check_permission($username, $file) // check user has permission to act on this record { // connect to db $handle = db_connect(); if (!$handle) return 0; if(!$_SESSION['auth_user']) return 0; $result = mysql_query("select * from user_permissions up, uploads d where up.user = '{$_SESSION['auth_user']}' and up.company = d.client and d.id = $file ", $handle); if (!$result) { return 0; } if ($result->mysql_num_rows>0) { return 1; } else { return 0; } } ?> Thanks Ahead of Time All!!
×
×
  • Create New...