Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. You can choose for your self. However, */* is obviously rubbish. It would mean that e.g. asldkjasdlk/laksdjlkj is supported, but that doesn't even exist. By the way, it's not the server that returns it, but rather the client that claims it.
  2. No shit. I overheard to medicine students talking today. One of them complained about having to purchase a book at 4000 DKK (720 USD).
  3. My point was just that if you want to get it, you'll get in regardless of the OS.
  4. Oh, no that wasn't what I meant. Compare this: hello <?php echo 'hello'; ?> hello with: hello <?php echo 'hello'; ?> hello
  5. See, I've never understood that argument. Surely all the hype behind Macs not having viruses ensures that no Mac owner installs a virus scanner, therefore these millions of 'unprotected' Macs would be a 'good' target. Millions of baffled users unsure why their Mac has gone tits-up... It can't be a virus, Macs don't get viruses! I'd imagine it just comes down to OS X being a lot more secure than Windows, I assume, to a degree, this is down to it being based on BSD. Oh yeah? http://www.engadget.com/2007/04/22/safari-browser-exploit-produced-within-9-hours-in-hacking-compet/ http://www.engadget.com/2008/03/27/pwn-2-own-over-macbook-air-gets-seized-in-2-minutes-flat/
  6. You'll want to look for requests with URIs in the query string. Sort of like http://example.com/?foo=http://something.com/hello.php.
  7. Probably some sort of RFI vulnerability.
  8. does, but only within PHP tags.
  9. Hence the reason why we wanted you to post the input value
  10. I'm not sure how one site alone could cause massive memory consumption. Memory leaks is generally a problem in FF though.
  11. Here is yet another alternative: http://devzone.zend.com/article/4571-Fetching-multiple-random-rows-from-a-database
  12. Å should be AA, å should be aa, Ä should be AE and ä should be ae. You might also what Ø to OE, ø to oe, and Æ to AE. You'll run into trouble with the double characters though. You can't know if Æ should be AE or Ae without checking the surrounding characters.
  13. Considering images are always rectangular, that's a moot point. Just make the surrounding pixels transparent.
  14. The input string is the string your put into something, in this case the string you put into the function.
  15. http://www.php.net/manual/en/install.windows.php
  16. One book that's supposedly really good is Database Systems: The Complete Book. It's crazy expensive though.
  17. Generally speaking, there is no inherent relationship between PHP and any other language. However, many languages are frequently used together. PHP is often used to create web pages, and that means it is often used along languages like SQL, HTML, CSS and Javascript. In order to be a good web developer you would need experience with all of the aforementioned languages. In regards to XML, as premiso already said, it's a markup language. It's designed to describe data without any information about things like look or behavior. This means that it's good for transmitting data between programs, places, servers, etc. Examples of other languages like that would be YAML or JSON.
  18. sry for my misbehaviour,if any... No misbehavior of any kind. I'm simply saying that if you don't have a bunch of time then you're not going to learn to program. Learning anything requires time and effort.
  19. Then you won't learn it.
  20. [quote author=jackpf link=topic=54859.msg1176631#msg1176631 date=1241463323] It'd be cool if it weren't for the prompt...it'd pretty much be a CVS. Except without the concurrent version and stuff :P [/quote] Unless you already have projects under CVS, I'd probably go with SVN, Git or Mercurial instead.
  21. Most everything you said about the singleton pattern. Not in the sense that the language is not understandable, but rather in the sense that most of it is either untrue or bad practice. The tutorials he wants you to read are probably the ones listed on this page: http://www.phpfreaks.com/profile/448191
  22. [quote author=premiso link=topic=54859.msg1176626#msg1176626 date=1241463151] [quote author=jackpf link=topic=54859.msg1176622#msg1176622 date=1241462805] Shit, I download file over FTP all the time; I find it damn tedious. [/quote] Setup a CVS on the server. Makes it much easier than FTPing for code changes. Simply commit the file and it should push it to the server. Mine is setup so that there are 2 directories dev and prod. If the dev file changes do not break it I copy those to the prod svn which is where I commit it. This way I can easily go back a version if I screwed it up on the dev part :) But it did take me a while to get cvs working on my dedicated box and I do realize not everyone has full root access to their server. But I cannot begin to say how much time this has saved me from accidentally overwriting a file or truncating it or FTP dropping the connection at a bad time. CVS is the only way to go :) [/quote] What those do is essentially to download the file to a temporary location so you can modify them. They'll then upload them back to the server when you save. FTP doesn't support editing per se.
×
×
  • 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.