Jump to content


  • Posts

  • Joined

  • Last visited

1 Follower

About Synook

  • Birthday 12/29/1990

Previous Fields

  • Languages
    (X)(HT)ML, CSS, PHP, SQL, JavaScript, Java, Python

Contact Methods

  • Website URL

Profile Information

  • Location
  • Interests
    Web development, Computer Science, and the pursuit of knowledge in general.

Recent Profile Visitors

51,769 profile views

Synook's Achievements

w3schools Guru

w3schools Guru (7/7)



  1. Any computer can run web server software, such as Apache, that you can use to serve your website.
  2. Validate your page, and use CSS. Otherwise, we'd probably need to see your code.
  3. To use the URL, you would need to dynamically change all the hyperlinks on the page to include the number (and if the user manually enters in a URL that won't work anyway).
  4. Unshuffle this for me: "wisadfpovsavnkkslda"! (Hint: the answer is "vnkksldavsaisadwfpo".) (Technically, the point is that shuffle() is not bijective and thus not invertible, that is, there is no "unshuffle" function shuffle-1() such that shuffle-1(shuffle(x)) = x for all x. Of course, shuffle() isn't even deterministic.) If you mean, how can you arrange the characters of a string in alphabetical order, then you may want to try something involving sort(). ... as Ingolme said, and I didn't see .
  5. You can use the file_get_contents() function or a HTTP library like cURL to retrieve the content from the third-party website. If they publish their statistics in RSS or another XML-based format, then of course you can use an XML library like DOMDocument to parse the results, otherwise if the information is only available on their HTML site, you can try using the XML library on the HTML anyway, but if that doesn't work your best best would probably be regular expressions. Once you have the data you can just insert it into your database as normal. To make the script run every day you can use cron (Unix) or Scheduled Tasks (Windows).
  6. Synook

    Web Caching

  7. Synook


    The concept of "breadcrumbs" on a website may also refer to a section of the page detailing the user's browsing history.
  8. http://www.phpdoc.org/
  9. You can use cron (Unix) or Scheduled Tasks (Windows) to make a PHP script run daily (by invoking the php executable with your script as an argument).
  10. You just want to change the window.location Javascript variable to the value of the text input when the user submits the form.
  11. SetImage() is not a standard Javascript function, so you have to provide that too. As Ingolme said, however, the use of Javascript is superfluous for a simple rollover.
  12. Assignment is just a normal statement that returns the value that was assigned — there is no requirement that it goes on a line by itself. This is why things like for ($row = mysql_fetch_assoc($query)) ... work. You could do anything: $a = "a" . ($a = 5) + ($a = 10) ? $a = 10 / $a = 5 : $a = "thing"; Maybe you are thinking about list()?
  13. http://dev.w3.org/geo/api/spec-source.html
  14. Synook

    Problem With Gchrome

    The W3C HTML validator doesn't "validate" your Javascript — the CDATA markup declaration indicates that the contained text is just text, not HTML, and so it doesn't care anymore. Similar with the comment markup declaration (except that tells the parser the contents is a comment).P.S.: XHTML is a dialect of XML, and HTML is a dialect of SGML, so when it checks well-formedness it will use the relevant one.
  15. You can use whatever markup you like. A table sounds like a good idea though.
  • Create New...