Search:

Type: Posts; User: jonas-e; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,412

    IE problem - appendChild or other reason?

    I have a problem with this peace of JS - it works fine in Firefox and Chrome - but not in IE(7). I keep staring at it but I can't figure it out - any ideas which part is not supported in IE7 and what...
  2. I found the reason: I send an unauthenticated...

    I found the reason: I send an unauthenticated request to the Picasa feed from the server, but I was logged in to my Google account when viewing the feed in my browser.

    I feel rather silly not...
  3. file_get_contents() returns diff value on server and browser

    I want to get some xml data from another server and process it for my own page.

    So, to get startet I do something like this:

    $url =...
  4. Thanks for you help! I do not work on that...

    Thanks for you help! I do not work on that application anymore, though - it was in my previous job which I had until Dec 2007.

    Surprisingly, the application is still alive and kicking:...
  5. Thanks a bundle, I think I understand now. ...

    Thanks a bundle, I think I understand now.

    Please note significant corrected typo in my post above.
  6. Thanks, I will try that out at some point :) ...

    Thanks, I will try that out at some point :)

    Forgive me for asking weird questions - as I am not a developer, I do [EDIT TYPO: NOT] know how to structure code. I just try the best I can ..

    I...
  7. Twey: Thanks, I tried this.href - it returns...

    Twey:
    Thanks, I tried this.href - it returns "undefined".

    I figured out a different way of doing things - but basically, I wanted to create a href/button that would toggle the element it was...
  8. Quite often when you ask a question, you come up...

    Quite often when you ask a question, you come up with the answer yourself ..:



    <a id="tjek" href="javascript:alert(thisLink('tjek'));moveElement('wrap','200px','100px','0px','0px')">move&raquo;...
  9. use js call itself as a string within a function

    I need the js call itself as a string within a function ..

    Something like this:


    <div id="myElement" >
    <a...
  10. Thanks! Amazing that this thread is still alive!...

    Thanks!
    Amazing that this thread is still alive!
    :)
  11. Issue Solved!

    - through this thread:
    http://www.sitepoint.com/forums/showthread.php?t=513231

    Simply adding this:
    $text="SET NAMES 'utf8';".$text;
    - just before the:
    $sqls=explode(" $sep ",$text);
    - does...
  12. Please, someone out there must have an idea? I...

    Please, someone out there must have an idea?

    I have read the documentation of fread() and fopen() without finding out.

    I tried to add a "b" to the fopen argument:
    $fh = fopen($file, 'rb');
    -...
  13. Hi blm126 I just tested my function on your...

    Hi blm126
    I just tested my function on your example https://myforums.sweetsite.co.uk - it works fine - due to the {1,} part.

    (://[-/a-zA-Z0-9_\?=&;:#%!@\~]+)
    - defines the first part after the...
  14. Here is the code which reads and passes the dump...

    Here is the code which reads and passes the dump file to the mysql server:

    $file = "dump.sql";
    $fh = fopen($file, 'r');
    $text = fread($fh, filesize($file));
    fclose($fh);

    // insert seperator...
  15. special characters lost from dumpfile through mysql_query

    I have a script on my local machine which makes a dumpfile of the local database, then uploads it to the web-server by ftp. After that, a script on the web-server opens (fopen) and reads (fread) the...
  16. Yo - I seem to have found a way which is nearly...

    Yo - I seem to have found a way which is nearly fool proof:

    $text = "
    Here is a text - www.ellehauge.net - it has some links with e.g. comma, www.one.com,
    in it. Some links look like this:...
  17. Been busy with other things - I haven't tried out...

    Been busy with other things - I haven't tried out all of your options above - some of them created problems. I figured out this method which works fairly well:

    $text = "
    Here is a text -...
  18. Someone suggested to explode() the dump text by...

    Someone suggested to explode() the dump text by ";" into an array and run each command separately with mysql_query(). That nearly works, except that ";" also occurs in the database entries, e.g.:
    ...
  19. php mysql dump: recreate db from dump file through php

    I want to make a script that transfers my local database to my remote web host - I have come as far as making a dump file of my local db and upload it using ftp to the web host:
    ...
  20. what's image magik? part of php? i don't think...

    what's image magik?
    part of php?
    i don't think my webhost has that - but I could ask..
  21. Well, as my host has hundreds of thousands of...

    Well, as my host has hundreds of thousands of customers world-wide and very low rates (~1.5USD/month for 1GB web hotel), they usually do not make any custom changes whatsoever. But this is working...
  22. Thanks a lot for your elaborate answer! I tried...

    Thanks a lot for your elaborate answer!
    I tried it, and it doesnt seem to work on the remote host (www.one.com) - but I don't get any error message either.
    Anyway - it works on my localhost - I...
  23. how to allocate more memory for gd image resize

    Hi

    I am designing a cms for my site. The user will be taking photos with a digital SLR camera and these photos need to be resized and uploaded to the webserver, see php script below. Although the...
  24. Replies
    0
    Views
    3,712

    search: select similar, not like

    Hello

    I want to make a search feature to the content of my website. I suppose, the classic way to do that is by making a form where the typed value $typed becomes a part of a select statement like...
  25. Thanks! I haven't tried it out yet but will very...

    Thanks!
    I haven't tried it out yet but will very soon.
    Jonas
Results 1 to 25 of 48
Page 1 of 2 1 2