borfast
Members-
Posts
3,271 -
Joined
-
Last visited
Everything posted by borfast
-
Hello again, Deno Could you please copy and paste the code up to (and including) line 38 so I can see where the problem is? Oh, and please indicate which one is 38. Thanks
-
Hi Ty. As I suspected, my previous post didn't help much... Well, that's a strange behavior indeed. If you right click the frame and then select "Reload this frame" (or something equivalent) then it should reload that frame only, not the entire frameset. I might try and install the darn thing (NN 7.1) on my computer to try it out. Can you provide an example (an URL) of where this happens? Or does it happen in any page that uses frames? About the tables, perhaps the text is being centered because the table inherits the text alignment from the table's parent element? Make sure you don't have the table inside another element that centers the text. Again, an example would be good, so I could take a look at the code.
-
Jessica Rabbit, Tinkerbell, Daphne, Batman, Bubbles from PowerPuff Girls... Seriously, this could benefit from a poll. It would be a neat voting
-
Hello Ty That's actually how many browsers (all of them?) behave when viewing a page with frames. Here's what happens behind the courtains: A page with, say, two frames, is composed of three files. The base file (let's call it index.html) is where the two frames' files (frame1.html and frame2.html) are inserted. When you browse a page with frames, the URL you feed your browser is the URL of the index.html file. This file has "instructions" in it that tell the browser to load frame1.html and frame2.html. The browser will then "dig two holes" on index.html and place each file in a hole. Each of these two files is just a regular HTML file and any link contained in it will replace the file in the respective hole, just like when you click a link on a regular page and it replaces the whole page. Everything's fine until here but when you hit the "Reload" button, the browser fetches the index.html file once again and it doesn't care about what files were loaded into the holes. It will read index.html again and once more index.html will "instruct" the browser to load frame1.html and frame2.html. There. Now that I've written all this, I've read your post again and I noticed that you didn't specifically say that this was the problem. I just assumed it was. So there's a chance that this won't help you at all and I've just wasted the minutes it took me to write all this... Oh, about the tables, I've never used any Netscape version above 4.x but 6.x and 7.x are based on Mozilla and I've been using Mozilla since before 1.0 and never had any problems with tables. What's wrong? Perhaps it's something in the HTML code. Let me know where you're having problems and I'll take a look.
-
Oh! So the problem is not quite with the functions but with their arguments! Well, the first function reporting an invalid argument (mysql_db_query()) says the "supplied argument is not a valid MySQL-Link resource", which means in fact that the problem is on the database connection - my apologies to whoever mentioned this on the help desk, seems you were right. I have never used the mysql_db_query() function, I always use mysql_query(), which doesn't need a MySQL-Link resource at all. Actually, now that I went to php.net looking for the documentation for mysql_db_query(), here's what they have to say about it: So just use it like I do (new code in green): Try it like this and let us know if it works PS - Notice the use of the mysql_error() function. It's really usefull when debugging PHP scripts that work with MySQL
-
No offense meant, and I may also be wrong but... I don't think your friend knows much about webpage construction or webservers, does he? First of all, XHTML has absolutely nothing to do with the type of server your website is hosted on. It only has to do with the browser people use to see it. If what your friend described actually happened, then I'd advise him to fire the responsible for his website... The only thing that might occur if you use XHTML is that some older browsers may have problems with it. Still, most (if not all) browsers used these days fully support XHTML, so this shouldn't be a problem at all. So, to put it in a simple way: there's no problem whatsoever in using XHTML to make your website and if you use it, the webserver has got nothing to do with possible speed (or other type of) issues that may arrise on a browser that's 10 years old Actually, you should use XHTML. Here's why. Hope this helps
-
I completely agree with Alan
-
Hi Wayne I migrated two phpBB2 foruns to Invision Power Board not very long ago and it was quite easy. I don't think I lost anything along the way but if you want to be sure, just try using Invision's converter on your home set up. It doesn't touch the phpBB2 tables so you'll be safe and you'll be able to see if it'w what you need.
-
I noticed those, too, Andy. But I don't think that's the source of the problem because if it was, then PHP wouldn't say that mysql_*() is an undefined function. It would say the script contained a parse error on line X. I'd say the " after the USERNAME is there in the original script but Deno inadvertently deleted it when changing the info to post the code. Not sure about the } being commented out but that wouldn't result in mysql_*() being reported as invalid functions either. Deno is reading these posts right now, so let's wait and see what he has to say
-
Welcome aboard the team, Dick!
-
Deno, check your PMs. I don't think the code they gave you has anything to do with the problem (the problem is not with the connection to the database) but before telling you to reopen the help desk ticket, I'll take a look at the problem myself.
-
Good luck Rob! Hope it goes well and let us know the results
-
Well, I guess you were right! window.resizeTo() is what you're looking for
-
I don't think there's a way to do what you want without opening a pop-up window - which I strongly discourage anyway. Actually, I'd advise you not to have that "entrance" page on your website. It may look neat the first time someone visits your site but the second time, the fun will be half replaced by frustration, since the visitor will have to wait ( = waste time, bandwidth and money) for the entrance page to load, click the logo on the center of the page and finally wait again for the main page to load up. Think about it: if people go to your website, it's because they are interested in the contents, not a splash entrance page.
-
That's something that needs to be custom made (or at least customized) because if you want to use a script made by someone else, it's almost impossible that the person who made the script used the same database table names, fields, etc. I'll keep an eye out and let you know if I come across something similar.
-
Rob, first of all, take a deep breath, calm down, meditate for a while if needed Now let's take this thing one step at a time. First of all, I think you should find out where the problem is coming from: Operating System or Hardware. I'm betting more on hardware than OS but then again, you never know. If you have the time and the patience, create a new partition on your HDD and install a different OS (e.g. if you use Windows, try Linux or *BSD). If it works under another OS, then it's probably a problem with the drivers. You mentioned your NIC using the same IRQ as your graphics card... if I'm not mistaken, that's not impossible to happen (can't remember for sure, though... it's been a couple of years since I took Computer Architecture on college). Still, it would be a good idea to remove the 3COM card, disable the onboard NIC and see what happens. If it works without any network stuff, it may still be a problem with the drivers so try to replace them. Another solution would be to force the IRQ using Windows' system configuration tools but you say it won't let you change the IRQ... I'm not sure about that, since I haven't been using Windows for a long long time but I think it's always possible to change that kind of thing. Sometimes it's disabled but if you check a "custom configuration" box (or something like that) it will let you configure it to your likings. Also, with one of the NICs enabled, check the device table that shows up when the computer is booting up. It should tell you which devices are using which IRQs. You can press the "Pause" key on your keyboard to pause the boot process and carefully look at the table. If the NIC and the graphics card aren't using the same IRQ, it means it's Windows that's changing them but it shouldn't. Am I making any sense? 'Cause I'm feeling a little dizzy and I'm not sure if I'm making any sense. Damned influenza, I feel the fever is getting back Well, off I go to bed.
-
Hi Deno. First of all, welcome to the family! I was about to say that the admin who set up the server forgot to compile PHP with MySQL support but from what you said, all other MySQL functions are working, right? If it said that you had invalid parameters or something like that, we could narrow the problem to some error on the script itself but if PHP says those are invalid functions... That's really strange... Could you please submit a help desk ticket so one of the admins can take a look at the situation? Let us know how it goes, OK? I'm curious about this one.
-
Seems pretty good news, Bill! Rock Sign
-
I can't see the "please wait" thingy you mentioned but I'd guess they do it with JavaScript. Here's some links I found with a Google search that may help you: http://www.webclass.ru/eng/Tutorials/JavaS..._preloader.html http://forums.devshed.com/archive/1/2002/9/3/43776 http://www.dynamicdrive.com/dynamicindex4/...adimage_dev.htm
-
Hi Dave. First of all, sorry for taking so long to reply. My internet connection went down and only got back a couple of minutes ago. I moved your post to this section because it's about script instalation. Now, as to your questions, the administrator is TCH, not the account user (in this case, you). As for Jack's ultimate formmail script, here's the original thread: http://www.totalchoicehosting.com/forums/i...?showtopic=2912
-
Hi Ty. That's strange. Are you using a scripting language on that page? If so, are you using any functions to process special characters, like PHP's htmlspecialchars()? Also, are you specifying the correct character set on the HTML code?
-
If you're looking for an open-source solution, try searching http://freshmeat.net.
-
Free Firewall And Antivirus (registered)
borfast replied to TCH-Dick's topic in Security Discussions
Didn't know about that. Guess I tried an older version. Well, in that case, forget what I said about the firewall and get it. Get both the firewall and the anti-virus. They're both very very nice products, especially being free -
Bill, shouldn't that be 12.01.2004?
-
Free Firewall And Antivirus (registered)
borfast replied to TCH-Dick's topic in Security Discussions
The anti-virus is pretty good, it updates its virus definitions almost every day, sometimes more than once a day. When I still used Windows, I started using EZ-Trust Anti-Virus when McAfee became a resource hog (I miss the good old McAfee DOS times ) and I liked it very much. It ran smoothly on the background and had a very small footprint on your system's memory. As for the firewall, I don't like it very much when compared to ZoneAlarm because it lacks the ability ZA has to allow/disallow programs to access the internet or local networks. Still, if you don't need that kind of funtionality, it's a pretty good firewall.
