borfast
Members-
Posts
3,271 -
Joined
-
Last visited
Everything posted by borfast
-
Hi Mike! First of all, allow me a small correction: you would use JavaScript, not a Java script. Java and JavaScript are two very distinct programming languages As for your question, I really don't know but I doubt there is a way to do it. As you've been told, using JavaScript is no use since even a 10-year old can bypass that "security" measure. I don't see how using a PHP or CGI script will help you either - there's no way you can prevent the user from interacting with the browser by using just a PHP or CGI script. You see, the problem is that if the image is displayed on someone's browser, then it's already downloaded to the that person's computer. It's only a matter of him/her knowing how to get it. It could be as simple as right-clicking the image and selecting "Save image as..." or, if somehow you devise an unbreakable method to prevent right-clicking, the user can still go to the browser's cache and the image will be somewhere around there. Or the user could simply press the "Print-Screen" key on his keyboard to create a screenshot and then crop the photo... So the only way you'd have to protect an image - that is, stopping your site visitors from stealing your photos, or something similar - would be to not allow them to see the image on their browser, because from the moment they see it on their browser, the image is already on their computer and they'll have tons of ways to get it. Basically: don't waste your time with that...
-
OK, I think I understand, now. But all those "sub-accounts" are accounts that you created through cPanel, right? If so, you have a username/password for each of them and that's what you have to use to configure those accounts in Thunderbird.
-
There's tons of such pre-made Flash things. You just need to pick the one you like the most http://www.google.com/search?q=flash+slideshow
-
"Tools" menu, "Account Settings"; on the left, below the options tree list, you'll have a button that says "Add account" EDIT: I just read your post again and I think I misunderstood your question the first time. Your problem is not that Thunderbird doesn't let you add an e-mail account, it's that it won't let you add an e-mail account with the same username than another already existing account. Is that it? But... if you have multiple accounts, each one should have it's own unique username, right?
-
SCO services? You mean SCO as Santa Cruz Operations -> www.sco.com ? If so, what services are you talking about? I only know SCO for their UNIX software. "keyword"??
-
Ehehe Yep, it's pretty cool I remember that one from my high school days. It's pretty amazing but once you know the solution, it's really really simple! Try this google search: http://www.google.com/search?q=mind+reader+solution Interestingly, most of the results - including the very first one - are directed precisely at the "Flash Mind Reader"
-
mr0w1, I'm not sure about this but I think the problem is because the cPanel installation uses the same database name for all the forums. This means that when you try to install a second forum, cPanel will use the same database and messes things up. I advise you to manually install the forum, because that way you're also sure that you have the latest version.
-
Well, that's probably the problem. Firebird uses a single directory for it's configuration files, etc, directory which is kept on your Windows user directory (C:\Documents and Settings\yourusername\Application Data\Phoenix\Profiles\default\randomstuff.slt\) and even if you install multiple versions in multipe directories, they will all use the same directory for storing the configuration files, etc (unless, of course, you change users).
-
Hi Kris. Glad you are liking Firebird! I never experienced the problems you mentioned but Firebird is still under construction, so I wouldn't be surprised to see some (a lot, actually ) bugs still laying around. Try searching the Firebird forums to see if you find something. If you don't, leave a message explaining the problem and perhaps someone has experienced the same and knows how to correct it. About the "never in a new window" question, I remember I did that some time ago but for some reason I didn't like it. I can't really remember what it was, though. Anyway, here's how to do it: http://texturizer.net/firebird/tips.html#beh_reuse By the way, if you like Firebird, you could give Thunderbird a try. With the enormous amount of virus/worms that take advantage of Outlook Express' vulnerabilities to infect a computer, I advise everyone to stop using it. If you want to give it a try, start here: http://texturizer.net/thunderbird/ PS - Have you tried clicking a link with the middle mouse button? And have you enabled the "Block Popup Windows" option under the "Web Features" section of Firebird's options window? And have you tried typing "about:config" in the location box and pressing enter? Now try those on IE...
-
Kasey, it doesn't work because the include() function does not read the file you're including by using an HTTP GET command and the $_GET[] array only contains variables that are sent to the server through an HTTP GET request - the "index.php?variable=something" stuff. To put it in another way, that would only work if you could do the equivalent of typing the address in your browser location box. Since PHP's include() reads the included file directly from the filesystem, I'd say your only solution is the one Vendlus described. And keep that "if it doesn't work, I want to know why" spirit. I think that's one of the most important things someone can do in order to learn about something! If you need any help, just ask
-
Just gave it a try and it's quite simple. Try something like this: >function db_row($Result) { $me = $_SERVER['PHP_SELF']; $row = mysql_fetch_row($Result) or error_log("Error getting row in '$me': ".mysql_error(), 0); return $row; } The error message goes into Apache's error log by default
-
Humm... I don't know how it works (never used it) but perhaps PHP's error_log() function is what you need. I suggested the die() function because I thought you didn't want that error. With the die() function, you could see where it is coming from and correct the problem but if you only need to log it, try the error_log() function. By the way, what exactly gets written on the error log? That warning shouldn't be written anywhere, I think...
-
It shouldn't go anywhere, the one you need is named .htaccess, not htaccess.txt. You can simply delete htaccess.txt since it is not needed
-
Glad to see it works Just a tip: remove the htaccess.txt file from that directory, or else, sometimes the selected file will be that one and you'll get no image displayed - just like right now
-
Robert, $_SERVER['PHP_SELF'] should work for what you want. Try this: >function db_row($Result) { $me = $_SERVER['PHP_SELF']; $row = mysql_fetch_row($Result) or die("Error getting row in '$me': ".mysql_error()); return $row; } $_SERVER['PHP_SELF'] will refer to the "primary" file being executed, even if the currently executing code is inside a function that resides in another file. As a reference, I tried this to be sure: >/* test1.php */ <?php echo "this is the first test file: ".$_SERVER['PHP_SELF']."<br />"; require_once("test2.php"); speak(); ?> ----------------------------- /* test2.php */ <?php function speak() { echo "this is the second test file: ".$_SERVER['PHP_SELF']; } ?> And when I pointed my browser to test1.php, the output was Hope this helps
-
You did quite some cleaning job, there. But I don't see anything that could be causing the error. The error message says that the script output started on line 2, which means that it started on the line with the opendir() function. This means there's something going wrong while opening the directory. Try adding this at the beginning of the script, right after the opening <? error_reporting(E_ERROR | E_WARNING | E_PARSE); That should make opendir() spit out the error that's making it fail and let me know what it says. I'd bet it has something to do with permissions but it's really strange
-
cloudrm, when I try getting http://www.cloudroomstudio.com/avatars/avatar.jpg, I get the following error message: So that means there's something wrong with the PHP code in avatar.jpg. Could you please copy/paste it here so I can try to figure out what's wrong? By the way, nice avatars Are you into some sort of circles fanatism thing? Just kidding, the avatars are cool. I bet it'll look nice to see them all different but maintaining the circle pattern
-
cloudrm, can you describe the problem? What exacltly doesn't work? I'd like to make those steps as simple and easy as possible and if you didn't manage to do it, then I guess I could still improve the text Ty, did you use it for the random song box, on your guitar lesson pages? Pretty cool! Been there yesterday and noticed it. Couldn't help thinking if you had used it ;)
-
A bit off the original topic but since it was talked about later... I have updated the "hijack" page on my site. I think it won't scare people away, like this. http://borfast.com/msie.php By the way, has anyone tried the random image/avatar script? http://borfast.com/random_avatar.php
-
Alan, the colored scrollbars only work in IE. There's nothing you can do about it - unless you can convince Gecko's developers (Gecko is Mozilla and Firebird's HTML rendering engine) to include IE-specific CSS extensions into it - which I don't think they are willing to do... The scrollbar-face-color and all it's companions are not part of the official CSS standard. They are extensions Microsoft invented and only work with their browser. Take a look in here: http://jigsaw.w3.org/css-validator/validat...&usermedium=all That's W3's CSS validation service. If you need to check if your web pages use valid CSS or HTML you can use their online services. The CSS validator is here: http://jigsaw.w3.org/css-validator/validator-uri.html And the HTML validator is here: http://validator.w3.org/
-
Well, first of all, I see another problem in the code above: it has "Achives" instead of "Archives" Anyway, it seems that the problem is not only about the code you write but also about the code your program writes - it's using relative links... If your program specifies the links as "Archives/history.shtml" (relative) like it's doing, then if you use that file somewhere else, it won't work. The link should be something like "http://duff2004.com/Archives/history.shtml" (absolute). About the space in the parentheses, you don't need it but you do need to close the double quotes <?include ("/include/head_sitemap.inc") ?>
-
Mozilla Firebird: http://texturizer.net/firebird/ or http://mozilla.org/products/firebird/ If you don't feel comfortable with using "beta" software, you can always get Firebird's older brother, Mozilla: http://mozilla.org/ There's also another option, wich used to be pretty darn good but both Mozillas have surpassed it some time ago: Opera -> http://www.opera.com/ And since you're in a changing mood, I'd advise you to change your e-mail client as well - assuming you're using Outlook Express. Both Opera and Mozilla have an integrated e-mail client. Mozilla Firebird doesn't but you can get it's e-mail companion, Mozilla Thunderbird: http://mozilla.org/products/thunderbird/
-
No problem! And if you need any more help, you know where the family forums are By the way, if you renamed the folder, now it should work with PHP too. Give it a try
-
Don't worry, I will. I always respect that kind of stuff Thanks again
