Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. Also read my tutorial on this: http://www.phpfreaks.com/tutorials/151/0.php You can probably skip page one and two.
  2. Nameless12: There is a problem with doing templates like you do. Not all servers has short tags enabled, which will break the code if moved to a such server.
  3. Do you mean a line break?
  4. If it is at work you can't, and you think they might have blocked the port, then setting up a SSH tunnel might work.
  5. Yeah, I'm sure. It's apparently some 16-bit OCX file (I think) I have to register. regsvr32 fails and I've read that I need to use regsvr16. regsvr32 is present in my system32 folder, but it does unfortunately not work. If it is any help, the OCX I need to register is called threed16.ocx. I need it to get a Danish-Spanish/Spanish-Danish dictionary to work.
  6. Is there anyone who has regsvr16.exe or knows where I can download it? When searching on Google a lot of Visual Basic stuff comes up, so I tried installing Visual Basic 2005 (Express Edition though), but it isn't in there...
  7. Daniel0

    Hi!!

    Hey and welcome to the forums :)
  8. You need to declare the $userdata as global: [code]function timezone() { global $userdata; $timezone = $userdata['user_timezone']; $serverTime = "1.0"; $difference = ($serverTime - $timezone); }[/code]
  9. There is no property called "hidden".
  10. I'm not entirely sure, but I don't think Bluefish support HEREDOC. It may be some other one I'm thinking of though.
  11. Then try [url=http://quanta.kdewebdev.org/index.php]Quanta Plus[/url]. It is also supposed to be pretty good. I haven't tried it though. If you need support for multiple languages. Try [url=http://www.eclipse.org/]Eclipse[/url]. It is a Java IDE, but it has a [url=http://www.eclipse.org/cdt/]C/C++ plugin[/url] and a [url=http://www.phpeclipse.de/]PHP plugin[/url] (haven't tried that either). For the drivers: I haven't had any driver issues with Ubuntu (neither on my laptop or desktop). With Gentoo I have had that though, so I gave up on that one.
  12. MSN: Gaim Limewire: Has Linux support as well. Driver support: Ubuntu supports a lot of hardware by default. Don't know about the other ones. For dreamweaver replacement you could use Zend Studio, but it isn't a WYSIWYG editor...
  13. Links doesn't work.
  14. Why did you feel like bumping a topic that hasn't been replied to for five months to the top? Also, the decision was already made and AjaxFreaks exists (even though I don't think it is very active).
  15. I don't get what you mean... there are time stamps on every single post.
  16. [quote author=Nameless12 link=topic=123396.msg509976#msg509976 date=1169415089] Does anyone know short tags are no longer default in php5.20? [/quote] It is on by default in PHP5.2. Also, I do think that code highlighting on code with short tags would be a good idea.
  17. [quote author=bibby link=topic=123336.msg509682#msg509682 date=1169371572] It's not a bad thing if it's the right thing. [/quote] The problem is that the page would break if the user does not use Javascript.
  18. If you can create a script that checks the online status then it should be very easy. Just get the list of servers to check from a database and then let users add to the database via a form.
  19. It selects all text after using the buttons. It's a bit annoying.
  20. Great job on repeating what I said... Besides, it mustn't be retrieved be retrieved with [url=http://php.net/time]time()[/url], there are several other functions that will give you the time of the server.
  21. PHP's time functions return times based on the time of the server. About subtracting and adding to time: If you use time() just do it like regular calculations with + or - If you use a formatted time stamp you can use [url=http://php.net/strtotime]strtotime()[/url]
  22. I don't get your database layout and what does get_one() do?
  23. Try: [code]$sel = mysql_query("SELECT photo_id FROM tra_photo WHERE album_id='".$_GET['a']."' AND photo_id=photo_id-1")or die(mysql_error()); $back = mysql_fetch_array($sel); $sel = mysql_query("SELECT photo_id FROM tra_photo WHERE album_id='".$_GET['a']."' AND photo_id=photo_id+1")or die(mysql_error()); $next = mysql_fetch_array($sel);[/code] instead
  24. Yeah I know that it might be a little harsh, but that "windows is bad, they deserve every virus they can get ^^  :P" comment really ticked me off, then the article I linked to came to my mind and I got even more annoyed so I had to add some more before posting. Edit: This was in response to redbullmarky's post. [quote author=redbullmarky link=topic=122346.msg508884#msg508884 date=1169250162] Personally, I have chipped in a few £ worth in anti-Microsoft arguments [...] [/quote] Just curious, how would you make money from that?
  25. That thing about Windows always getting spyware and virus is just crap. I run without a firewall and without antivirus, and I haven't had any problems for several years, that that thing about virus/spyware/adware is just plain BS. I personally have a problem with people who use Apple computers (Mac/OSX/whatever) since they almost always (yeah, I know may be some who don't) say that Windows is crap and that Windows users are stupid because they do not have a mac computer and that Apple's computers are the only good computers. THAT is the very reason why I don't even want an Apple product. You Mac users haven't considered that somebody actually might have another opinion that you? That somebody might not like Macintosh. Just look at this: http://digg.com/apple/Ignorance_of_College_Students_is_Keeping_Windows_On_Top_of_Mac (both the article and the comments on Digg) It's a perfect example of a such person. Quotes from Digg comments (Warning: Some quotes contain profanities. Read at own discretion): [quote=Digg user]This is a perfect example of a typical mac fanboy. They don't stop to think that maybe a Mac is not the answer to a lot of people. And their response is to call them ignorant and brainwashed for not using Macs. Looks like the author has had a drink from the Mac kool-aid and is brainwashed himself or at least has deluded himself.[/quote] [quote=Another Digg user]Dude, not everyone cares about macs here. I thought about getting one for a while, but then I realized that it turns you into an asshole to every one else.[/quote] [quote=Yet another Digg user]College students don't have Macs because they are more expensive. I have an Centrino Duo HP Notebook that's almost half the cost of a MacBook with the same hardware. Another reason colleges teach around Windows is because the business world does not use Macs. Apple would even admit they are not built for business. Apple fans are probably going to digg me down for this comment but you have to admit, when was the last time you saw a job opening for an Apple Network administrator.[/quote] [quote=another one]Hey fuck you. How's that for being ignorant? I buy whatever the hell I want. Maybe people don't buy into the whole "Macs are better" crap. (Even if they are).People should be able to buy what they want without being sneered at by some asshole that has a computer brand fetish.[/quote] I think it is fine that some people like Macs, and I am glad that you are happy with your choice of computer/OS. Some people like Windows, some like Linux, some like Mac. FINE, if they weren't happy with what they chose, then I guess they would probably switch. I use both Linux and Windows and I am happy with both, the only difference that I don't go around saying that Mac (and its users) deserve anything. If you really want people to switch to Mac then I suggest you don't go flaming the Windows users. I doubt that many people would think "ah, those guys insult me, I better switch to what they use and be like them".
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.