www.webdeveloper.com

Search:

Type: Posts; User: Quidam

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    1,464

    Under what circumstances? This sounds like a...

    Under what circumstances?
    This sounds like a javascript issue.
  2. Replies
    0
    Views
    2,569

    htaccess rewrite file/dir and get params

    Hello!

    I'm not very good at the .htaccess scripts, so I thought maybe one of you guys are.

    What I want is a neat url with only forward slashes. No ? or &.
    However, the slashes are ambiguous....
  3. Replies
    7
    Views
    5,799

    function...

    <script language="javascript">

    function showDiv(div_number) {

    // hide all three divs
    document.getElementById('contact_div_1').style.display = 'none';...
  4. Thanks for your help, really appreciate it. ...

    Thanks for your help, really appreciate it.

    That query gave me the same result as this one, except that it had longer execution time (added the order by on that one as well)


    SELECT FileID,...
  5. Yeah, sorry 'bout that. I'm not really great at...

    Yeah, sorry 'bout that.
    I'm not really great at SQL, I thought that I could make it out if I just got a little push in the right direction.
    I also thought that if I got the max value out of it I...
  6. Alright, I have the `vhFiles` table: FileID,...

    Alright, I have the `vhFiles` table:
    FileID, Path, Data, Version, Filesize

    And I have the `vhVersions` table:
    Version, Date, Published

    The first table can contain multiple files with the same...
  7. Aye, however, if we add an ID to the fruit, it...

    Aye, however, if we add an ID to the fruit, it gets mixed up.

    Fruit, Quality, ID
    Apple, 5, 1
    Banana, 4, 2
    Banana, 3, 3
    Apple, 6, 4
    Orange, 4, 5

    Becomes
  8. Group by one column, with max value of other column

    I bet it's not as tricky as it sounds, but I cant figure it out.

    Let's say we've got a table with columns
    Fruit, Quality

    And they contain something like
    Apple, 5
    Banana, 4
    Banana, 3
    Apple,...
  9. Replies
    3
    Views
    1,311

    You're a genius NogDog, it works perfectly....

    You're a genius NogDog, it works perfectly.
    Thanks a lot :)
  10. Replies
    3
    Views
    1,311

    (MySQL) Order by part of word

    I got a database with filenames with path included like so:
    picture.jpg
    images/picture.jpg
    files/readme.txt
    images/animation/load.gif
    And so on...

    Now, I would like to sort these first by the...
  11. Replies
    4
    Views
    3,245

    utf8_encode()

    utf8_encode()
  12. Replies
    5
    Views
    1,562

    Ok, it ran for about 3 hours before it stopped,...

    Ok, it ran for about 3 hours before it stopped, the first hour without input.
    I got no echo, which means that it didn't break the loop


    private function receiveRequest() {
    ...
  13. Replies
    5
    Views
    1,562

    Thanks for the reply. To avoid php...

    Thanks for the reply.

    To avoid php configuration errors, I ran the cli with -n (run without php.ini), but there was no change.

    Then I replaced the
    while(true) with ...
  14. Replies
    2
    Views
    1,860

    If you want to update your page without...

    If you want to update your page without refreshing it, you should take a look at AJAX.
    Google it and you'll find a lot of stuff.
  15. Replies
    5
    Views
    1,562

    PHP to run indefinitely

    I've made a script that runs through a while(true) loop.
    However, the script break after 15-200 seconds, with no error message.

    It will run in CLI in the end, but the result is currently the same...
  16. I found the solution myself after a bit of...

    I found the solution myself after a bit of experimenting.

    If anyone wants to know, I added a comment after the image, which means that the source is updated, but it's still the same image
    ...
  17. [RESOLVED] Updating an image with same src name.

    Hello!

    I've made a simple ajax script that's supposed to update a captcha image.

    The only part that doesn't work is where the new image replaces the old one on the page.
    The problem is that...
  18. Replies
    2
    Views
    1,969

    Yes, I meant is_xhtml, sorry. Thanks for the...

    Yes, I meant is_xhtml, sorry.

    Thanks for the info though, I know some functions could have the default values changed, so I thought I'd give it a shot.
  19. Replies
    2
    Views
    1,969

    nlb2r, is_html = false, by default

    Is there any way to set the second parameter in nl2br to false by default.
    Either by php.ini or by some define() value.

    Any help is appreciated.
  20. Replies
    7
    Views
    1,238

    You can get the browser language through this: ...

    You can get the browser language through this:


    <script type="text/javascript">
    var lang = navigator.browserLanguage;
    alert("Browser language: "+lang)
    </script>


    I don't know how...
  21. Replies
    0
    Views
    512

    insert text at cursor (opera problem)

    Hello.

    I've been using this function to insert text at the selection in a text field.


    function insertAtCursor(myField, myValue) {
    //IE support
    if (document.selection) {...
  22. Replies
    6
    Views
    1,157

    This can be used if the xml document is on the...

    This can be used if the xml document is on the server machine.

    Lets say the xml looks like this


    <Root>
    <Name>Fred Flintstone</Name>
    <Name>Vilma Flintstone</Name>
    </Root>
  23. Thread: Old Computers

    by Quidam
    Replies
    25
    Views
    7,884

    I'm not that old. When I was 4 years old I was...

    I'm not that old. When I was 4 years old I was using a computer with MSDOS. I learned the commands to install and start games.
    A year later I got win95 and it was time for Quake. ;)
  24. Replies
    7
    Views
    1,722

    Poll: Windows 7 hands down. I'm currently using...

    Windows 7 hands down.
    I'm currently using windows 7 RC (legal release candidate) and I've gotta say that it beats the crap out of any other operative systems I've used, including win XP, 2000,...
  25. Replies
    2
    Views
    2,969

    Well yeah. I'm not sure which hosting company it...

    Well yeah.
    I'm not sure which hosting company it is since I'm only developing the site, I didn't rent the webserver.
    In the e-mails I receive it says the following:

    From:...
Results 1 to 25 of 234
Page 1 of 10 1 2 3 4
HTML5 Development Center



Recent Articles