borfast
Members-
Posts
3,271 -
Joined
-
Last visited
Everything posted by borfast
-
Sarah, there must be something wrong with your code, then If you paste the relevant parts here (remember to strip out usernames, passwords and other sensitive information), perhaps we can figure out what the problemis - sometimes one can miss the obvious (because of being tired, bored of coding the darn thing and not being able to get rid of that error message, etc...) but ask someone else to look at the code and that person will tell you right away where the problem is Edit: Robert may also be right, have you closed all browser instances?
-
Sarah, by default, PHP stores session information in a browser cookie. If that isn't available *and* PHP is configured for this, it will then try to use a variable from the URL. When you see an URL such as http://******/index.php?PHPSESSID=a22e6a8c5dcbb91fe6384d21cead7990, it means PHP wasn't able to store the session information in a cookie and used the PHPSESSID variable in the URL instead. Now about your problem: if you don't have such a variable in the URL, it means PHP is using cookies to track your sessions. By default, that cookie should be deleted when you close the browser but for some reason, it's not getting deleted (perhaps PHP is configured differently on your server? or perhaps you changed the session.cookie_lifetime configuration directive?). You can try add this to your code: session_set_cookie_params(0); If something changed the default cookie lifetime, that will put it back to the default (cookie getting deleted when you close the browser). Other than that, I can't figure out any other way of getting the session to terminate - assuming you're using session_destroy() correctly (not much to get wrong, anyway).
-
Glad you could make it work
-
Thomas, you need to provide some more info about what you're trying to do. From what I understand, you're trying to get the 10 latest posts from the forum to be displayed somewhere else. Don't you have to be logged in to check those? I tried fetching the URL you're including and got the same error...
-
1. What browser did you use? Mozilla Firefox 0.8 Opera 7.23 Konqueror 3.2 All under Linux 2. What do you think of the font size? Looks good on Konqueror and Mozilla. On Opera it's a lot smaller. If you do decide to make it smaller, be carefull, don't make them too small. 3. Are the colors OK? (I am a bit colorblind. I like the colors very much! Really nice! 4. Did anything look broken? Just the subscription box, on Firefox and Konqueror. It's fine on Opera. I also don't have the problem Don described about the alternate row colors on the Weekly Lineup. And it all passes the tests for valid XHTML and CSS! Nice work, congratulations!! Thumbs Up If you want to take a look at how the site looks on my browsers: http://borfast.com/tch/firefox.png http://borfast.com/tch/opera.png http://borfast.com/tch/konqueror.png
-
Try Jack's Ultimate Form Mail: http://surefirewebdesign.com/scripts/
-
Hi Sergey. The best way to do that would be to dump the database contents as SQL statements into a file (phpMyAdmin does that pretty well) and then, through phpMyAdmin on your cPanel, import the data into the database on the server.
-
I've never used that script but from the code you posted, the problem appears to be on the path you're passing to the script: <input type="hidden" name="SoupermailConf" value="/home/integra5/html/formconfig.txt"> should probably be <input type="hidden" name="SoupermailConf" value="/home/integra5/public_html/formconfig.txt">
-
I believe that's a mistake on the new site design. Those are the monthly prices, not yearly prices.
-
Yes, that was probably it. I really don't know what I was thinking at the time I wrote that For those of you wondering, the Fedora Project was a community project that aimed to provide Red Hat Linux users with RPM packages of the most recent versions of lots of software. They merged with Red Hat and Red Hat Linux 9 was the last official version from Red Hat. After that, Fedora Core is the Linux OS that is built by a community with the same goals of the Fedora Project and the expertise of Red Hat, which still contributes to the project and derives it's own Enterprise Linux from it. Fedora Legacy: http://fedoralegacy.org/ Fedora Project: http://www.fedora.us/
-
Try these guys: http://www.gericom.com My dad bought a Notebook from them a couple of months ago and it's really good!
-
Yep, 20. Pretty cool, huh... Dick, you've been using Red Hat? If you're considering a switch or even a parallel installation with windows, I'd say go for Fedora Core. I't much more up to date and it's still free. Version 2 is coming out May 17 so if you want to wait one more month, upgrade to Fedora Core 2 at that time. Also, I guess I don't need to reminf you of reading through the various threads about this topic we have here on the forms, right? EDIT: I don't know what I meant by "and it's still free". I was probably still asleep. I had just got up from bed
-
Ready for some more? You better be, this time there's 20 of them! http://www.techweb.com/wire/story/TWB20040413S0009
-
That sounds like the message you get when you turn your site offline. Go to the administration panel (assuming you installed Mos on the root: http://yoursite.com/administrator ) and turn it back on.
-
Glad you found the way, Lisa! Another soul set free from the oppression of M$
-
I've never used FreeBSD apart from tinkering a bit with some friends' computers that use it. Perhaps Rob can help you here, since he's dumped Windows for FreeBSD a few weeks ago. Rob, you there?
-
Yep, I agree with Mike, that's probably where the problem is, because that's the only part of the query that we can't see in it's final form. Other than that, I don't see any error. I prefer to use all caps for the SQL statements but I don't think it makes a difference. Try adding a bit more of error checking to the mysql_query() line, like this: >$Result = mysql_query($Query,$Link) or die("Query: $Query<br /><br />Error when querying the database: ".mysql_error()); That way you'll be able to see the whole query and check that $article variable to see if it's ruining the whole thing. Hope it helps
-
This thread is being closed. These are family forums and such a hot topic may easily result in a flame war. I'm sorry, I know your intentions were good but we can not allow this to get out of hand. I hope you understand.
-
Deno, what's the SQL query you're trying to execute?
-
Robert, that's exactly what I meant. I wasn't saying MS should be held responsible for the acts of those who take advantage of the security holes in their OS but they should be held responsible for correcting the flaws as fast as possible, once they know about them.
-
Well, you have two choices: either you use an emulator or you use a virtual machine. Wine is the best emulator (though their creators don't like to call it an emulator. Even the name means "Wine Is Not an Emulator" ) for running Windows apps. It basically takes your windows programs and executes them on Linux. Performance really depends on the power of your machine. If you have a fast computer, you probably won't notice much difference except for when you start the application. You can get it at winehq.com . Then there's the other approach, which is to use a virtual machine, like VMWare or Win4Lin (www.vmware.com and netraverse.com , respectively). A virtual machine can also be considered an emulator but at a much lower level: it doesn't emulate the operating system where the applications run; it emulates the hardware itself. So a virtual machine pretends to be the computer, allowing you to install a full operating system in it's virtual hard drive. Personally I prefer the virtual machine method simply because Wine is too much trouble to set up and use. It's a fine piece of software but it still has too many compatibility problems. Hope this helps.
-
Steve's right, Jack's script is pretty good. Moving the post for better organization.
-
Deno, I tried submitting some data through the form a few times and it went through just fine. I tried with a very long text and even typed a few "dangerous" characters (á, ' and " ) but it went through. Not sure what the problem could be...
-
LOL Yep, I got that patch a long time ago, too! And Bruce is right, the big problem is that the people who discover the vulnerabilities usually warn MS about it and after weeks with no response, they release the vulnerability to the public. It is indeed a shame that they come to this. I think there should be a law that would force software makers to release patches as soon as possible, once someone reports a vulnerability to them. That way, when someone would find a hole, they'd report it both to MS and to the authorities. If MS wouldn't release a patch in X days from that date, they'd be punished. Otherwise, this will never change And of course, there are also those who like to release their findings to the public even without contacting MS about it first. Not sure which one's worst. Anyway, when I saw that, I thought I'd post it here, so folks would be warned and keep an eye out for updates.
-
From a Slashdot.org article:
