Subject: Two questions... To: "Michael Moncur" Michael, First, how does one set-up a MyQSL database, are there php or Perl commands that can actually create the tables (create) and start a new database? Or does one need to use server-side tools to create the DB and/or name the tables? Second: Is there a way for me to "hide" a file so that a HTML/ JavaScript program on my site can read it but no one else can? Hey, Michael, are you a Dad? If so, happy father's day! (I am my daughter Elicia is 22 soon to be 23 & my son is 20.) pk ----- From: "Michael Moncur" Subject: RE: Two questions... Date: Tue, 24 Jun 2003 01:29:14 -0600 Phil, Sorry for the delay in answering, I'm in the middle of moving right now so things are a mess. > First, how does one set-up a MyQSL database, are there php or Perl > commands that can actually create the tables (create) and start a new > database? Or does one need to use server-side tools to create the DB > and/or name the tables? There's a command-line MySQL utility for that, but I don't think you have access to it. The easiest way is to (a) log into the admin console and click "Databases", then "Create", or (b) tell me a name for the database and I'll create it. :) > Second: Is there a way for me to "hide" a file so that a HTML/ > JavaScript program on my site can read it but no one else can? No. (JavaScript always runs with exactly the same privileges as everything else on the client, so if your script can read it, so can anyone.) I need to look over the JS password article you sent, you and Chris probably have some better ideas than me at this point. > Hey, Michael, are you a Dad? If so, happy father's day! (I am my > daughter Elicia is 22 soon to be 23 & my son is 20.) Not yet but possibly soon. (I procrastinate everything!) Happy dad's day to you. -- Michael Moncur ----- 06/24/03: Thanks Michael, was wondering what was going on, thought you were on vacation or something. I'll taking one first two weeks in July, but I'll still be sending out resumes. The article is almost all from Chris, I added & changed a few things when I sent it to him, but my additions are not in the one I sent to you, they were minor. I started it all by trying to show how difficult it would be since JS can't hide anything (that's what I had assumed) then he took the ball & ran with it using some encryption, & made it much better.) Phil