Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. No. That will only happen if you release it to the public domain. CC by-nd only prohibits redistribution of derivative works. It doesn't prohibit people from modifying it as long as they don't redistribute it.
  2. I'm sure AlexWD's and mjdamato's solutions work fine, but you can also try taking a look at line drawing algorithms such as Bresenham's line algorithm.
  3. Uh, tables were used for layout because of CSS' shortcomings...
  4. I'll do it for free if you donate some money to me
  5. Profile > Look and Layout http://www.phpfreaks.com/forums/index.php?action=profile;area=theme
  6. Visit http://www.vuvuzela-time.co.uk/www.vuvuzela-time.co.uk/www.vuvuzela-time.co.uk/www.vuvuzela-time.co.uk/www.vuvuzela-time.co.uk/www.vuvuzela-time.co.uk/www.vuvuzela-time.co.uk/www.vuvuzela-time.co.uk/www.vuvuzela-time.co.uk for the true experience!
  7. That's not what I'm saying. I'm saying that your data's tabular nature justifies the use of tables. HTML tags are given default presentational information by your browser, this can be changed using CSS. You can make tables look non-tabular and you can make non-tables look tabular in certain contexts. The fact that people sometimes use tables for aligning their content in specific ways proves this point. Tables provide additional metadata about your data that user agents can use specifically because they describe the semantics of your data. Using this, the user agent can decide how it will use that information, and how it does that depends on the context and its purpose. A "normal" browser, a console based browser, a screen reader and a search engine would all apply this information differently. When you print a page in your browser, it may also decide that it should look differently because the context is entirely different. This is also the reason why tables are inappropriate when your data is non-tabular; you would be claiming that your data is something it is not. So no, it would not be using it for layout. It would be using it for the connotations associated with data being tabular. It's the same thing as adding header tags because you want to define the structure of your text and not because you want the text within the tags to be larger.
  8. If you were creating a report for a web admin, lets say in a CMS system, that shows the top ten users on your website, number of pages viewed, last login time etc, and you want in a spreadsheet style view with headings for totals, etc. Are you going to do this using a table element or div elements with a complex stylesheet for positioning. Consider that the end user may want to add extra heading columns. In that case, the data is tabular by nature, so the use of table tags would be the most appropriate tag to describe the semantics of the data. That would not be the same thing as using it for layout.
  9. Why not just check against a cryptographic key on the memory stick?
  10. http://dk.php.net/manual/en/function.mail.php
  11. $str = '10,45'; $str = str_replace(',', '.', $str); var_dump(floatval($str)); gives float(10.45) as expected. You'll have to show some code.
  12. Cool. It'll be $1000 to do that.
  13. Red for delete because it signifies danger. I don't naturally associate adding and editing with any color.
  14. Sure. Some guys from Google created a Quake II port using Javascript and HTML 5. http://code.google.com/p/quake2-gwt-port/
  15. The Dell has got a poulsbo graphics chipset, so I wouldn't go with that one. You might not care about that if you don't have any intention on installing Linux on it though.
  16. You'll have to talk to your host about that. Seems they haven't got iconv installed.
  17. glob returns an array of files that matches a pattern. In my example, it would match all files in the pages folder ending on .php.
  18. Bad idea, just assume I crafted the URL: index.php?page=../your/secret/config you would get a 404 error hehe but no i see what you are saying so have you an better code example that i would work with that has ease of use but still the function i require? Here you go: http://www.phpfreaks.com/forums/index.php/topic,300990.msg1424520.html#msg1424520
  19. Fuck Java applets. I don't have anything else to add.
  20. Then don't post in the topic...
  21. You can use strftime, which is locale aware.
  22. In PHP you would be better off using the DateTime class, and in MySQL by using the DATE or DATETIME data types.
  23. It's the magic function that reads your mind to make sure it's not whatever you think of
  24. Why would you create your own "custom timestamp"? Anyways, use DateTime::createFromFormat().
×
×
  • 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.