Jump to content


  • Posts

  • Joined

  • Last visited

Mensuo's Achievements


Newbie (1/7)



  1. So it does work just fine with a swf, but can you tell me how to do it with a PDF as well?Thanks again for all the help so far, Charley
  2. Thank you so much, I've been trying to figure it out for quite a while now. I know it couldn't be all that hard. I really do appreciate it.Charley
  3. Does anyone know of a list menu that will pop up in front of an embedded PDF or swf file? Or what to do to the embedded file to make it come in behind the menu. I’m hoping to find something that is <ul> and css based to make Google happy. I tried setting the z-index on the menu to 10 and the z-index on the embedded file to 1, that didn’t seem to do anything.If anyone can point me in the right direction I’d greatly appreciate it.Thanks, Charley
  4. Mensuo

    Apache and MySql

    You’ve been so much help so far and again I really do appreciate it!I can see that everything is running fine when I upload everything to the hosting server, everything does what it’s supposed to. But when I try to run it from my testing server it says “Unknown MySQL Server Host 'db123.abc.net'”. Everything works just fine if I manually change the MYSQL_CONNECT() server variable from ‘db123.abc.net’ to ‘localhost’, but of course I don’t want hard code every page before I upload it.So is there a way to rename localhost or forward any server request to localhost? Or am I just going in the wrong direction on this one?Thanks, Charley
  5. Mensuo

    Apache and MySql

    Alright, now PHP and MySQL are all playing nice with each other! I can create and view data through a web page. I think there is just one thing left and I’ll really be all set this time.Now what I’m trying to do is use SSH to connect to the local host so that I can run SQL statements without hard coding them into a webpage first. If I try to connect to the localhost on port 22 it tells me that ‘The host “localhost” is unreachable”. If I try to connect on port 3306 it tells me ‘Server responds “Connection closed by remote host”.’I’d really appreciate do appreciate all the help you’ve given me this far.Thanks, Charley
  6. Mensuo

    Apache and MySql

    Thanks so much for your help! I really do appreciate it. Now I’m getting the error I was getting before (which is a step in the right direction). When I run the script the output is:Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in C:\Program Files\Apache Group\Apache2\htdocs\test.php on line 6Could not connect: Can't connect to MySQL server on 'localhost' (10061)I’ve tried changing the mysql.default_user and mysql.default_password to fit with the script, and taken the username and password out of the script and left them blank (like the php.ini file was when I found it). I think once I can figure this one out I’ll be set.Thanks, Charley
  7. Mensuo

    Apache and MySql

    I’ve gotten pretty good with PHP and MySql. Up until now I was uploading everything up to my hosting server and viewing it online to test my PHP. I’ve just installed Apache, PHP, and MySql on my machine. I’m just trying to use this as a testing server.Here’s the little bit of code I’ve run so far: <html><body><?php$con = mysql_connect("localhost","peter","abc123");if (!$con) { die('Could not connect: ' . mysql_error()); }if (mysql_query("CREATE DATABASE my_db",$con)) { echo "Database created"; }else { echo "Error creating database: " . mysql_error(); }mysql_close($con);?> </body> </html> And here is the output:Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\test.php on line 6I was getting a message saying that it couldn’t connect to the localhost. All I really need to know is how to connect and make a database. Any help anyone can give me, or even just point me to a simple tutorial that starts at the very beginning (since this is the first time I’m really dealing with my own testing server) would be greatly appreciated.Thanks, Charley
  8. Mensuo

    Scroll or Marquee

    I'm trying to find the best way to have scrolling text on my website. I would just use <marquee>, but I know it doesn't show up on all browsers, and I would like it to stop scrolling when you mouseover if possible. I know I can do it with javascript, but I would like to have something more universal and something that won’t force people click the pretty yellow bar and allow.Thanks, Charley
  • Create New...