Jump to content

Synook

Moderator
  • Content count

    7,416
  • Joined

  • Last visited

  • Days Won

    4

Synook last won the day on July 2 2014

Synook had the most liked content!

Community Reputation

47 Excellent

About Synook

  • Rank
    53 79 6E 6F 6F 6B 0D 0A
  • Birthday 12/29/1990

Contact Methods

  • Website URL
    http://aspektas.com/
  • ICQ
    0

Profile Information

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

Previous Fields

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

Recent Profile Visitors

48,945 profile views
  1. A really great question?

    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. Simple Data Transfer

    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. Shuffle -> Unshuffle A String...?

    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. Web Caching

    http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html
  7. Breadcrumbs

    The concept of "breadcrumbs" on a website may also refer to a section of the page detailing the user's browsing history.
  8. Php Docblocks Export

    http://www.phpdoc.org/
  9. Calling Php File Daily

    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. Highlighting A Button With A Mouseover Event

    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. Set Multible Variables On One Line.

    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. Address Location Based On Ip

    http://dev.w3.org/geo/api/spec-source.html
  14. 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. Calendar With Javascript

    You can use whatever markup you like. A table sounds like a good idea though.
×