"http://www.css-discuss.org/ :-)"
I tried that also :)
Had to put this to stylesheet to get it 'fire'
select.menu {}
But it didn't solve the problem...
thanks for the effort anyway.
-Will
"Kim Christensen" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
On 2/17/06, William Stok
Hi to all,
I just reinstalled one of our servers last week, and I am noticing a wierd
problem.
On the old one was php4 running. Suse 9.1 OS. Everything worked very well.
On the new one Suse 10. Php5.
Only with firefox (sometimes and not always) and only on some computers
the umlauts öäüüü c
i have a question about what i beleive to be called archiving...
i am building a news script and would like to limit post to be displayed per
page i have done this successfully. what i am having probplems with is
displaying the next set of news.
here is my code:
Posted By: , On @ Edit
benifactor wrote:
i have a question about what i beleive to be called archiving...
i am building a news script and would like to limit post to be displayed per
page i have done this successfully. what i am having probplems with is
displaying the next set of news.
here is my code:
include("cor
Andy wrote:
Hi to all,
I just reinstalled one of our servers last week, and I am noticing a wierd
problem.
On the old one was php4 running. Suse 9.1 OS. Everything worked very well.
On the new one Suse 10. Php5.
Only with firefox (sometimes and not always) and only on some computers
the um
Barry wrote:
benifactor wrote:
i have a question about what i beleive to be called archiving...
i am building a news script and would like to limit post to be
displayed per page i have done this successfully. what i am having
probplems with is displaying the next set of news.
here is my co
From the DB I get the text correctly.
This is a good question I have to check it.
The DB encoding is : iso-8859-1.
Now, the strange thing is that is does not appear ALWAYS and only sometimes
and only in firefox.
So.. I cannot really reproduce the error every time which is hard to
THIS CODE
php -r '
$a = array(0, 1);
$b = array(1 => 0, 0 => 1);
var_dump($a < $b); // true
var_dump($a > $b); // true
var_dump($b < $a);
var_dump($b > $a);
echo "\n\$a:\n"; var_dump((bool)$a, (int)$a, (string)$a, intval($a),
Richard Lynch wrote:
On Thu, February 16, 2006 9:38 am, tedd wrote:
Gustavo said:
This great programming language is *much more* than a Hypertext
Pre-Processor!
It is?
I've seen a fair number of PHP applications that had nothing to do
with Hypertext...
GD, libPDF, Ming, GTK...
Hell,
I'm a bit confused by the need for this debate. As far as I'm concerned
PHP stopped being an acronym a while back. Why can't it just be PHP? Why
does it need to be redefined? Does anyone actually use the full name
these days? In essence, does it really matter?
-Stut
--
PHP General Mailing Lis
Curt Zirzow wrote:
If I was scouting for postions that need to area specific, i'd first
look for a php group that is located within the area. Go to local
colleges post announcments. Look at any sort of group that is
related to php like a linux group.
I second that. I lean on the Buffalo LUG
[snip]
Hell, for the past year or two, I've been replacing/writing new shell
scripts written in BASH/Perl with PHP. None of them output HTML. ;)
[/snip]
Pretty Hot Performer
Actually I had done a lot of this as well. Sometimes much quicker than SED
and AWK are for getting the command line wid
on 02/17/2006 01:55 AM tedd said the following:
> Most of those who are aware of disability issues, don't use any
barriers
> at all.
CAPTCHA is often used to prevent abuses from people using automated
robot programs.
To solve the problem of visually impaired people, there are audio
CAP
Whats that Japanese spam mail on this list about Oo
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey all,
I've got some code from someone else I've inherited and need to sort out
some problems with. The programmer that wrote it originally was much
better than I and programmed a little over my head to say the least.
One function that I've come across that has 5 variables as input:
function(
Jeff wrote:
Hey all,
I've got some code from someone else I've inherited and need to sort out
some problems with. The programmer that wrote it originally was much
better than I and programmed a little over my head to say the least.
One function that I've come across that has 5 variables as inp
boolean Not operator
- Original Message -
From: "Jeff" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 17, 2006 4:06 PM
Subject: [PHP] "!" in front of a variable?
Hey all,
I've got some code from someone else I've inherited and need to sort out
some problems with. The programmer th
John Nichel wrote:
Jeff wrote:
Hey all,
I've got some code from someone else I've inherited and need to sort out
some problems with. The programmer that wrote it originally was much
better than I and programmed a little over my head to say the least.
One function that I've come across that h
[snip]
I've got some code from someone else I've inherited and need to sort out
some problems with. The programmer that wrote it originally was much
better than I and programmed a little over my head to say the least.
One function that I've come across that has 5 variables as input:
function($va
On 17/02/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
> THIS CODE
>
>
> php -r '
> $a = array(0, 1);
> $b = array(1 => 0, 0 => 1);
> var_dump($a < $b); // true
> var_dump($a > $b); // true
> var_dump($b < $a);
> var_dump($b > $a);
>
Just wanted to thank everyone for the helpful suggestions and ideas regarding
these two topics. I've had to put my web hosting decision on the back burner
for now while I deal with other big projects and other fun issues so I
apologize for not getting back to the people who responded (publicly
I've got the following code and I am not doing something right. Either my
function is wrong, or the way Im using array_map is wrong, as slashes are
still making it into the data, and the asdf iosn't getting appended to each
value.
Thanks, Mark
// function to remove stripped slashes
function det
Hello,
on 02/17/2006 01:19 PM tedd said the following:
>> I am not sure what you mean. Are you saying that nobody should use audio
>> CAPTCHA because one user was not able to configure his browser to play
>> the audio CAPTCHA? I am sure that it is something easier to achieve than
>> screen reader
Robin Vickery wrote:
On 17/02/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
THIS CODE
php -r '
$a = array(0, 1);
$b = array(1 => 0, 0 => 1);
var_dump($a < $b); // true
var_dump($a > $b); // true
var_dump($b < $a);
var_dump($b > $
I forgot to mention that that php and mysql are installed on a windows
machine which means I didn't have to run the configure script that
would associate mysql with php. How do I do this on a windows
machine?
Paul
On 2/17/06, Kim Christensen <[EMAIL PROTECTED]> wrote:
> On 2/17/06, Paul Goepfer
Jay Blanchard wrote:
[snip]
I've got some code from someone else I've inherited and need to sort out
some problems with. The programmer that wrote it originally was much
better than I and programmed a little over my head to say the least.
One function that I've come across that has 5 variables
At 07:06 AM 2/17/2006, Jeff wrote:
I've got some code from someone else I've inherited and need to sort out
some problems with. The programmer that wrote it originally was much
better than I and programmed a little over my head to say the least.
One function that I've come across that has 5 var
Mark Steudel wrote:
I've got the following code and I am not doing something right. Either my
function is wrong, or the way Im using array_map is wrong, as slashes are
still making it into the data, and the asdf iosn't getting appended to each
value.
I rewrote what you had like so:
"name",
I'm trying to list the hdd units from a server PHP machine running on
windows, and can´t find a right function to do that. (Don't like to do a map
A-Z function code)
¿Anyone know how to do that in a good way?
Thanks, Diego.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
We are seeing this message in our server logs with respect to one of our
internal extensions. What is the meaning of "Overrun" in this context?
acd-result.c(114) : Block 0x0816D12C status:
Beginning: Overrun (magic=0x0021, expected=0x7312F8DC)
End: Unknown
TIA
Kirk
--
PHP
I took me a little while to notice that it wasn't a function
declaration :p
It's just as Jay said, it's calling "function" with those arguments,
where '!$var2' extends to '!(bool)$var2' or "treat/cast this value as/to
boolean, and pass it's inverted value" or "NOT $var2".
Jay Blanch
Thank you I will give it a try.
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 9:24 AM
To: Mark Steudel
Cc: php-general@lists.php.net
Subject: Re: [PHP] array_map help
Mark Steudel wrote:
> I've got the following code and I am not doing so
Hi,
I'm building a program and I need to find the last Sunday in September for
every year because the following Monday is the start of a new year for us.
So 2006 ends on September 24th 2006 and the new year (2007) starts on
September 25th 2006. I was thinking that using the strtotime() would get
I use Fx 1.5.0.1 and Opera 9-prev2 and everything seems to be Ok. The
select it's inside a form, and my guess is that you haven't set any
padding/margin for that form, so try adding something like
FORM {
padding: 0;
margin: 0;
}
By the way, this questions should not be here, wha
There's going to be 'tighter' and more efficient ways to do this.. probably
some using strtotime(). I have an irrational distrust of the results from
strtotime() though, so I use it sparingly.
Here's a simple solution though:
There's going to be a dozen ways to skin this one, just showing on
Ooops.. I made the same mistake in my private reply.. hah..
= = = Original message = = =
I took me a little while to notice that it wasn't a function declaration :p
~It's just as Jay said, it's calling "function" with those arguments,
where '!$var2' extends to '!(bool)$var2' or "treat/cast this
$currentTS = strtotime("now");
$currentYear = date("Y");
$nextYear = $currentYear + 1;
$lastSundayInSepCurrentYearTS = strtotime("last Sunday",
strtotime("10/1/$currentYear"));
$firstDayNextYearTS = strtotime("1/1/$nextYear");
//
// So your psuedocode becomes...
//
if (($currentTS > $lastSundayI
Hi there,
I'm trying to calculate check digits for a payment system, using the ISO
7064 (MOD 97-10) algorithm, wich is, already translated to PHP:
$check=98-fmod(($num*100),97);
Where $num is a huge number...
Example: 90150123123400043211 should have check digit 51
In windows calculator: 98 -
Manuel:
Your points are well taken.
A good CAPTCHA must be fuzzy. If you know other fuzzy CAPTCHA besides
these, it may help to sharing that knowledge.
The CAPTCHA I was primarily referring to was the image one --
however, it's just another barrier.
I am sure there are all sorts of ways to
Ok, the variable is boolean and that does make sense. Thanks for all
the replies.
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm not sure if these completely answer your question but they might get
you started:
http://dev.mysql.com/doc/refman/4.1/en/mysql-stmt-prepare.html
http://dev.mysql.com/doc/refman/4.1/en/mysql-stmt-execute.html
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Sui
It's usually used as a single character wildcard. So "something = ?" would
match "A", "B", "1", etc.. but not "AB, "A1".
-TG
= = = Original message = = =
In the some code I'm working with I see many database queries using the
PEAR DB class where "?" is used for a value in the SQL. What is t
On Fri, Feb 17, 2006 at 06:48:13PM -, Marco Almeida wrote:
> Hi there,
>
> I'm trying to calculate check digits for a payment system, using the ISO
> 7064 (MOD 97-10) algorithm, wich is, already translated to PHP:
>
> $check=98-fmod(($num*100),97);
>
> Where $num is a huge number...
>
> Ex
I have a following directory:
- folder (site)
index.php
- folder (example)
index.php
the url to this directory will be: http://www.example.com/site/index.php
but I need redirect with: header() function to the index.php inside the folder
example without the url change
I mean, I want to
If you are in a *nix environment, make a symlink from site_folder/index.php ->
site_folder/example_folder/index.php and that should do it.
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Main: 323.330.9900
www.worldpokertour.co
Not is SQL, the single character wildcard is the underscore. In SQL the ?
is usually used for argument replacement, much like the %s in printf.
Satyam
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Cc: <[EMAIL PROTECTED]>
Sent: Friday, February 17, 2006 9:24 PM
Subject: Re: [PH
> -Original Message-
> From: Shaunak Kashyap [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 17, 2006 15:22
> To: php-general@lists.php.net
> Subject: RE: [PHP] What does a "?" represent
>
>
> I'm not sure if these completely answer your question but
> they might get you started:
>
I figured out that nothing was wrong with this (other than the other things
you pointed out) and that I was just uploading the wrong file to the wrong
place ... oops
Thanks again, Mark
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 9:24 AM
Here is how I did it.
"Jay Paulson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I'm building a program and I need to find the last Sunday in September for
> every year because the following Monday is the start of a new year for us.
> So 2006 ends on September 24th 2006
Hello List,
I'm having an intermittent problem where the session locks up for some of my
users. When the session locks up, the browser just sits there waiting for a
response from the server. It seems to be random, which makes it very
difficult to debug. It also seems to happen system wide, a
(Don't you hate it when people forget to post back to the list...)
The secret is actually hidden in the docs,
http://php.net/manual/en/language.operators.comparison.php
When comparing $a < $b, you compare the first value of $a (0) to the
value with the same key in $b (1). 0 < 1 --> true
When yo
hi all,
today, i get this error frequently :
A fatal error has occurred
DB Error: extension not found
[line 542 of /var/www/horde/kronolith/lib/Driver/sql.php]
...
but php5-mysql is installed. and also i installed pear db ...
what may cause this problem ? and how can i fix this ?
help please ...
Hello List,
I'm having an intermittent problem where the session locks up for some of my
users. When the session locks up, the browser just sits there waiting for a
response from the server. It seems to be random, which makes it very
difficult to debug. It also seems to happen system wide, a
On 2/16/06, tedd <[EMAIL PROTECTED]> wrote:
> However, after given it some thought, I would imagine that one could
> get a unique generated string, create a file with that string, give
> the file the correct permissions, then pull the image from the dB and
> save, do image processing, and then rel
Hi,
I am about to create a feature that will help the visitor in his/her
navigation of the page. I want to store the visitors last 10 pages that was
visited so that this person easily can go back to a page he was at before,
without using the BACK button. I see two solutions to this, but I am no
On Fri, 2006-02-17 at 23:47, Peter Lauri wrote:
> Hi,
>
> I am about to create a feature that will help the visitor in his/her
> navigation of the page. I want to store the visitors last 10 pages that was
> visited so that this person easily can go back to a page he was at before,
> without using t
56 matches
Mail list logo