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...
Type: Posts; User: jonas-e; Keyword(s):
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...
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...
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 =...
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:...
Thanks a bundle, I think I understand now.
Please note significant corrected typo in my post above.
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...
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...
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»...
I need the js call itself as a string within a function ..
Something like this:
<div id="myElement" >
<a...
Thanks!
Amazing that this thread is still alive!
:)
- 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...
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');
-...
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...
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...
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...
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:...
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 -...
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.:
...
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:
...
what's image magik?
part of php?
i don't think my webhost has that - but I could ask..
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...
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...
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...
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...
Thanks!
I haven't tried it out yet but will very soon.
Jonas