yes! this is another of those questions about "Is this not working in Firefox???". I can't help it :-)
I have a line in my code that goes:
<script type="text/javascript">setTimeout('top.focus()', 10000);</script>
It works great in Internet Explorer 6, but does nothing in FireFox 1.0.7 or...
Hi,
I'm trying to configure my XP Pro computer to know that any address that ends with .local (e.g. http://mysite.local http://anotherone.local) accessed by it will go to my local Linux server, but any other web address (e.g. http://www.tek-tips.com :) ) will go to the outside world.
My home...
Quoting from Zend newletter from May 7, 2001
As it looks to me, PHP5 is still case insensitive when it comes to functions and classes.
Does anyone know if there is a way to force PHP5 to be case sensitive? so that if I have
class Foo() {
function Goo() {
print ("Hello world!");
}
}...
Hello all,
I've been a PHP programmer for a while and want to try some ASPing. There is a function in PHP that gives a list of all the environment info + installed libs [ phpinfo() ].
It gives out a list of the global variables and their values, the environment info (such as which DB libs are...
I was trying to create a small function that will convert any given string into a "safe" regular expression by replacing any non alphanumeric character X into a \X (add the backslash before it)
I was counting on the fact that if the non-alphanumeric character is preceded by a backslash, the...
I've been trying to solve this one using regular expressions (preg_replace) but can't find the solution. Thought I'd ask for the good people's advice. B-)
I have a string which has a few [tags] in it. I want to replace everything between the start and the end with some character (same one)...
I'm trying to avoid multiple calls to SQL and saving info in arrays... trying to find an elegant solution for a query...
I have two tables in my DB for controling which pages each user can reach-
user_access (user_id, page_id)
user_pages (page_id, page_name)
now I want to create a SELECT...
I've been trying to find a way through this, but it's just getting frustrating... The closest info I've found about this was in thread434-523609 but the problem there is different from mine.
I need to go over an html file and highlight words or part of words in it (kind of what you get at the...
Just 2 general Qs...
1. Does a session-only cookie (document.cookie) have to have an 'expires' field?
2. What happens if I call the SetCookie() twice with the same info? will the second call overwrite the first or will I have two cookies?
(for example - 1st cookie: "MyC=1; ratio=0.5;"...
Let's assume I'm trying to do something like
SELECT table1.field1, table1.field2, table2.field1 FROM table1, table2 WHERE (table1.field2 != table2.field1)
where table1.field2 and table2.field1 are both strings.
3 questions -
a. do I use the '!=' for not-equal or the '<>' ? (Which is the...
Hi,
I'm using MySQL with php3 and I encountered a problem when trying to update the DB using an update string like this -
$update_sql_str = "UPDATE table SET field='$string' WHERE id = $id ";
Now, the problem is that $string is a variable containing a string that has both 's and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.