borfast
Members-
Posts
3,271 -
Joined
-
Last visited
Everything posted by borfast
-
Rob, $_SERVER['DOCUMENT_ROOT'] doesn't give you the site URL, it gives you the document root, which means the base directory *in the filesystem* of your site, which is: /home/username/public_html/ In this case it works probably because menu-ho.php contains only HTML code and no PHP code that needs to be parsed along with the script that's including it. Read the explanation above.
-
A couple of things to note: 1 - $_SERVER['DOCUMENT_ROOT'] is evaluated into something like /home/yourusername/public_html/ so the first line you wrote would work, just as you said. The resulting path would be something like /home/yourusername/public_html/inc/menu-ho.php and that's the kind of path you should use when including files in PHP. Why? Point 2... 2 - include() is usually used to include separate PHP scripts into the currently running script, meaning you usually want the *PHP code* to be included. But if you include the PHP file via an HTTP URL, then an HTTP request will be made to get the script, which means that the script will be processed by the server before being delivered, resulting in HTML code or something else (whatever the script outputs). It will work just as if you had requested the file yourself. That's why you should always use filesystem paths and not HTTP URLs.
-
Big Problem With Perl Script Limit!
borfast replied to shop-et's topic in CPanel and Site Maintenance
Lisa did what shes had to do to keep the forums organized. If we leave topics out of place, the forums willl become a mess. Besides, Lisa left the "moved" link in the previous forum, so instead of having your topic in just one forum, you may consider that you have it in two forums, which means the chances for you to get an answer were doubled As for your problem, that's a technical question to which only the techs can answer. Considering that it's sunday and the time you posted your question at, demanding an answer in little over an hour (first post at 06:36 AM, second post at 07:47 AM - GMT times) is bit too much, wouldn't you say? And finally, the $5M question: have you submited a help-desk ticket? You do know that the help-desk is the fastest way to get your problems solved and any urgent issues should go through there first, don't you? -
I also seem them both on the page and in the source code.
-
Steve, I moved your post to the Backend Services forum because it's more related to the mail service. This way we keep things nicely organised As for your problem, I have no idea what could be wrong but I'm sure one of the techs will say something soon. PS - Your website URL in your forum signature has one extra 'v', like dvdvspot.com
-
Just in case you need to know more stuff about the PHP configuration in your server, you can create a PHP file with the following contents: <?php phpinfo(); ?> When you access that file, it will give you all the info about how PHP is configured
-
Wave files? Humm.... I don't have a clue... that's the kind of things I usually disable in my browsers... Have you tried some media players? I know there are a few of them on the Firefox extensions page...
-
Check again, Alan http://www.totalchoicehosting.com/forums/i...?showtopic=9928
-
I don't have the time, right now but send me a PM so I don't forget it and I'll take a look at it.
-
I know all those things work with Firefox. What I didn't know was that it is possible to make the background of a Flash animation to be transparent. I thought it was only possible with IE. Need to update myself
-
Hey hey, a fellow portuguese on the family I don't know how to add language packs to WHM but I welcome you to our family Regards from Almada
-
amansker, that error does not mean you're using the wrong database host, it means there was an error while processing the SQL query. Try adding or die("Error: ".mysql_error()) at the enq of the query line, like this: $result = mysql_query($query) or die("Error: ".mysql_error()); That should outupt the problem.
-
I don't know, it may work... but then again, it may not. I have no idea what triggers this behavior in IE, I know I noticed it a few times but I never associated it with anything, so I can't tell you what you need to change to make it work.
-
I wouldn't call it strange, Bruce. And it's not necessary to use particular codes in html to make it work with IE, either. It's just the way the browser makers implemented things. IE coders decided that DIV blocks under those circumnstances could only be selected as a whole block. As far as I know, there's no way around it. Once again Firefox - 1 IE - 0
-
I may be wrong but I still think it's a problem with IE, because I can select any portion of text I want (I'm using Firefox 0.8), both in the homepage and in the individual entry page... Edit: I just tried with Opera and Konqueror and it works fine in both browsers. Here's some screenshots: Firefox: http://borfast.com/tch/rolli-firefox.png Opera: http://borfast.com/tch/rolli-opera.png Konqueror: http://borfast.com/tch/rolli-konqueror.png
-
Ty, that means the e-mail messages will be delivered, they will not be filtered out by SpamAssassin. I also used to have various forwards set from accounts that did not exist and they always worked.
-
Humm... time for me to review my Flash knowledge... I could swear that only worked in IE... sorry for the misdirection above, guys.
-
Welcome to the world of Free Software, where things work as you expect them to. Well, at least more often than MS products, anyway... Try hitting CTRL+T to see what happens Or clicking a link with your middle mouse-button (if you don't have a three-button mouse, CTRL+click the link). About the e-mail, you can always try Thunderbird without leaving Outlook Express. Just tell it to import your e-mails from Outlook and not to delete the e-mails from the server when you receive them. That way you'll still be able to use OE as your default mail client but you can try Thunderbird. You just need to be a little carefull so you don't mess up the e-mails by storing a message in one of them and then looking for it on the other
-
The problem is that the patents will not apply specifically to the source code but to the ideas/concepts! So if someone thinks of patenting, for instance, "tabs as a means of separating various parts of related information through several 'sheets' in the same program window" or something similar, you can say bye-bye to tabbed browsing and all those things that make use of tabs. Well, unless the makers of that software are willing to pay the fees, and thus increasing the software price for the end-user, that is.... Note that I'm not against people receiving money for their inventions! But there has to be limits...
-
I'm not sure I understand the first problem. I can select any portion of text I want. Perhaps it's a problem with the browser you're using? About the second problem, if you're designing the site with a static width, it's easy to center it with CSS; just set the widht of the DIV you want to center to whatever you want and then set "margin-right: auto" and "margin-left: auto;". That should do it
-
I hope this falls right on their feet, so they can feel the weight of their own actions... http://yro.slashdot.org/yro/04/05/18/186228.shtml?tid=123&tid=155&tid=99
-
mike, I'm not anti-microsoft, I just hate their browser, their mail clients, their web servers, their operating system and their business model... Seriously, I think MS has some products that could be really good pieces of software but they have too much against them for me to use their products. Now, about my browser preferences... I use Mozilla Firefox at all times. I switched to Opera (both for web browsing and e-mail) a long long time ago, when I still used Windows, because I had enough of IE's and OE's stupid bugs and security holes and I wanted tabbed navigation - once I tried it, I could never go back to the traditional way of one-browser-window-per-website I wanted to switch to Mozilla because it was Open Source / Free Software but at the time, Mozilla was still pre-release quality and lacked the tabbed browsing feature. By the time Mozilla included tabbed browsing by default (there were some plugins to add tabbed browsing to Mozilla but I didn't like them), I switched to it both for web browsing and e-mail and I've been using Mozilla since then. I started using Firebird when it was pre-0.6 (because Mozilla was a bit heavy on system resources) and I still use it today - Firefox is the same as Firebird but the Mozilla foundation had to change it's name due to some problems with another product by another company. I do have IE6, Opera 7 and Konqueror 3.3 installed so I can test the websites I build and make sure they all work well on all these browsers - clients pay me for that, so I have to do it. But my personal website is built (or should I say, being built, since it's been "under construction" for more than I can remember ) with web standards. If my site visitors use IE, tough luck. They're automatically redirected to a page that warns them about the dangers of using IE and lets them know that I don't give a !"#$ about IE, so if something looks wrong, they should get a browser instead of a toy.
-
Hey, welcome to the family, Mariann!
-
Welcome to the family, David About the script, can you paste some code here, so we can take a look at it? Remember to strip out sensitive information.
-
The transparent flash background only works with IE, since it uses one of it's many proprietary "toys". About the Amber ticker, it's probably using some non-standard DOM/JavaScript code, just like Lisa suggested. Not much to do about that, unless you want to recode it to be standards compliant and send it to the guys who created it
