borfast
Members-
Posts
3,271 -
Joined
-
Last visited
Everything posted by borfast
-
OK, I knew there was a way to do that but since I couldn't find it anywhere, I decided it was better not to mention it in case I was wrong. But I just noticed the "interesting link" I pointed has a reference to Gecko's rounded corner borders. I *really* should start reading the stuff I suggest...
-
There's no way to do that using plain HTML/CSS. You have to use images for the round corners. The traditional Google search yielded some interesting results Edit: note the changed "interesting results" link. I pasted the wrong URL when I wrote it the first time.
-
Interesting! Looks like I had the wrong idea! Thanks for clearing it up (and for remindind me that I should read the stuff in the URLs I suggest instead of just trusting my memory, which sometimes may not be as trustworthy as I think ) As for the layout you're trying to achieve, try these links: thenoodleincident.com/tutorials/box_lesson/boxes.html bluerobot.com/web/layouts/ glish.com/css/ glassdog.com (thanks for this one, Don! Pretty good one, too! ) Or even this google search: http://www.google.com/search?q=css+layouts
-
Ie Security Flaw Upsets Microsoft Patch Schedule
borfast replied to youneverknow's topic in Security Discussions
Yep, no problems here, I have nice little dragon, too -
Well, it certainly is strange that all browsers have the exact same bug but I'm almost absolutely sure it is indeed a bug. Otherwise, it wouldn't make sense the "float: left" work and "float: right" not work. Besides, I can almost swear that I have read something about that not too long ago but I can't find it Here's a website that does talk about several bugs in various browsers' CSS implementations. http://positioniseverything.net/ Not the one I was looking for but may have interesting stuff
-
Here's a few other links you might also want to check: www.thenoodleincident.com/tutorials/box_lesson/boxes.html www.bluerobot.com/web/layouts/ glish.com/css/ Or even this google search: http://www.google.com/search?q=css+layouts
-
Calendars - Any Suggestions For Packages?
borfast replied to JavaJones's topic in Script Suggestions
Well, I don't know which programming language you prefer but hotscripts.com usually has some pretty neat PHP stuff. Try there. Other than that, I can only recommend a Google search for "PHP calendar" or "PERL calendar" -
Pretty cool, Rick! Well done!
-
Hi Rick. You can't do those modifications yourself - as you said, this is shared hosting, which means that every account on each server shares that server's configuration and so it would not be wise to let one client mess with the whole server configuration because it could cause problems to other clients. Still, you can ask if the admins can install this for you. For that end, you should open a help desk ticket, which is the faster way to get the process going.
-
Oh! OK, I got it! Took me some time looking at the screen but now I understood: you want the box height to grow, is that it? I thought you wanted the box width to grow and I'm really not sure if that's possible at all. If I'm not mistaken, that's a bug present in most (all) browsers I tried it in Mozilla Firebird 0.7, Opera 7 and Konqueror 3.1 and all of them displayed the page incorrectly. Somebody correct me if I'm wrong but I think this is what's going on and I also think I've read about this exact problem in a website just a few days ago but I can't find it again
-
That's odd... I think it should work. Try using a relative path to the file instead - instead of using ErrorDocument 404 /home/xxxxx/public_html/404.php use just ErrorDocument 404 404.php
-
Hi Dave. First of all, congratulations for having the courage to embark on such an adventure (tableless layouts)! I'm not sure I understood your problem. You want the outer box to grow depending on the inner box's contents? Meaning, you want the outer box to grow according to the inner box size, is that it?
-
My favorite used to be (before dropping Windows) WinRAR, no doubt about it. It's well worth it's price. I don't know Total Commander but it seems good, from what turtle says (sorry Don, I just had to use your "real name" once again ).
-
dieguy, ask them how are they accessing your website. Are they using 'www.******' or just '******'? I remember having a similar problem some time ago with phpBB and the problem had somthing to do with the cookie domain.
-
How To Create A Mysql Database Without Cpanel?
borfast replied to lardieb's topic in CPanel and Site Maintenance
Hi lardieb. Unfortunately that is not possible. The only way to create new databases or users is through CPanel's MySQL manager. It's a matter of security. -
It's not that complicated, really! The PHP code is probably the easiest part, as you don't even need to know what it does (though it would be good if you did). The part that may be difficult for you to understand is the one about creating the database and the table. After that, you only need to copy/paste the lyrics into the database. If you need any help, you know where to reach me
-
Hello Ty! From the template you posted, seems quite easy to get the lyrics from a database! The hard part would probably be to set up the whole stuff - transforming all those 21000 pages into.... ONE! Here's a piece of code to start: ><html> <head> <title>Dream On</title> <link rel=stylesheet href="/css/songpagestyles.css" type="text/css"> </head> <body> <!--#include virtual="/includes/songheader.html"--> <!--#include virtual="/includes/texttoggle.html"--> <table width=750 align=center border="0" cellpadding="5" cellspacing="1"> <tr valign=top align=center> <td align=left> <pre><h1><div id="lyr"> <!-------PASTE SONG LYRICS AND ALL INFO BETWEEN THESE TWO LINES---> <?php //******************************* // Get the lyrics from the database and print them to the HTML page //******************************* $db = mysql_connect(localhost, "dbusername", "dbpassword") or die ("Unable to connect to database."); mysql_select_db(<dbname>, $db) or die ("Unable to select database."); $id = $_GET['id']; // Gets the value of the 'id' variable passed in the URL $query = "SELECT * FROM lyrics WHERE id='$id'"; $result = mysql_query($query, $db) or die("Error executing query: " . mysql_error()); $row = mysql_fetch_array($result); echo nl2br(htmlentities($row['lyrics'])); ?> <!-------PASTE SONG LYRICS AND ALL INFO BETWEEN THESE TWO LINES---> </div></h1></pre> </td> <td align=right><!--#include virtual="/includes/google_ads.html"--></td> </tr> <tr valign=top align=center> <td colspan=2><hr></td> </tr> </table> </body> </html> That piece of code that replaced the actual lyrics is the PHP code that will fetch the lyrics from the database and write it up on the page. Now comes the hard part: you'll have to create a database (if you don't have one already - use CPanel for this) and inside that database you'll have to create a table (use phpMyAdmin) - I called it 'lyrics' on the SQL query but you can chage it's name as long as you adjust the $query statement. The table structure could be as simple as having a column named 'id', which would uniquely identify those lyrics and another column named 'lyrics', which will hold the actual lyrics' text. The first column (id) would be of type INTEGER and with the special 'flag' AUTO_INCREMENT set to true. The second one could be set to TEXT or MEDIUMTEXT - the difference is that the first one holds up to 65535 characters and the second can store up to 16777215; I'd say TEXT is enough but you'll know that better than me. And now, the real tough part: insert all the lyrics into the database! This can be done using phpMyAdmin, too. When doing this, leave the 'id' field blank (it will be incremented automatically). After having done all this, the lyrics can be fetched from the database by getting the URL in the form http://yoursite.com/lyrics.php?id=X where X is the database id of the lyrics you want to fetch. Well, this is a pretty good start. Try implementing this first with just a few lyrics inserted into the database and then, if you want to keep going, I'll help you with implementing the rest - getting the list of all the lyrics from the database, etc
-
Great program! Used it for years when I still had Windows. It's much better than the over-bloated and super-famous ACDSee (which I hate ).
-
I'm with Tracy, here. A Google search is probably the best place to start. You may also want to turn off the Help and Support service from starting automatically. I can't remember exactly how to do this but if I'm not mistaken, you can right-click "My Computer", select "Manage" and you'll have access to the system's services configuration. Change the Help and Support service start mode from automatic to manual. This way it will not eat up 18 Mb of memory (probably not that much but I remember it consumes *a lot*) every time you start the computer but it will still be accessible. The only difference is that it will take a little longer to start the first time.
-
Lunar Magic, if you want to do it yourself, it's quite easy. The image is not actually an icon (.ico), you just create a PNG, GIF or JPG and change it's file extension to .ico A quick Google search provided this link which seems to be good: www.basictips.com/tips/article_95.shtml Hope this helps
-
Thomas, RSS stands for RDF Site Summary, if I recall correctly. It's purpose is to provide a way for other sites to fetch news headlines and such stuff from your site and place them on their site. This is achieved by using a standard "language". A search for RSS on Google gives you plenty of stuff to read
-
Oh, one more thing: don't use just $Page to get the variable passed in the URL. If 'register_globals' is turned off, your script will fail. Instead, use $_GET['Page']. You should always use $_GET['variable_name'] for variables passed in the URL, $_POST['variable_name'] for variables sent through an HTML form, $_COOKIES['cookie_name'] for cookies, etc... because this way you know your script will always work, whether register_globals is on or off.
-
Deno, I forgot about one thing: be carefull when using such a method for including pages. Someone might try to retrieve files they shouldn't be able to access simply by putting the filename in the URL. Use a numbering method instead. like index.php?page=x, where x is a number and then, on index.php you'd have: >switch($_GET['page']) { case 1: include "page1.php"; break; case 2: include "page2.php" break; ... default: // Do nothing or include a default page here } Hope this helps
-
Perhaps you can include the whole file? It's the simplest trick of all, just place this: include("page"); where you want the script to "print" the file and it will be there. If you want it to print the page on another location, that's a different story.
-
I don't know if that's the problem but the only thing wront I see in the code is the ']' at the end of $DBName. I tried it on my computer and that's the only error I got.
