(http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
update mytable set hash_field = md5(AutoIdField + unix_timestamp())
--
Bastien
Cat, the other other white meat
--
+--- my people are the people of the dessert, ---+
| Steve Edberg
about PHP issues.
So I have to agree with Per here.
Perhaps a PHP-Personal, PHP-Fun or PHP-OT list could be set up for
such discussions; heck, I might even subscribe to it.
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberg
, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence, picking up his fork
);
}
list($a,$b) = test();
works as above. Works fine with complex arrays as well:
function test() {
return array(1,array('a','b'));
}
list($a,$b) = test();
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberg
.
The cronjob could be written in any language, but since this is a PHP
list you'll have to promise to write it in PHP ;)
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome
of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence, picking
article:
http://www.xmlhack.com/read.php?item=1681
Disclaimer: I've never used any of those tools, so YMMV, IANAL, RTFM,
LOL, etc...
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp
people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said
are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence
]];
if ($value == 5 some_other_test()) {
$value = $NotJustNumbers[$Keys[--$i]];
}
echo Value: $value . PHP_EOL;
}
- steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp
back and look up the e-mail that the info was in
:)
*Gets ready to duck* :)
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center
at the kids on my lawn)
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database
, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence, picking up his fork
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127
to
obfuscation. And one should eschew obfuscation.
- steve, eschewing away...
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED
At 7:37 PM -0400 7/5/07, Robert Cummings wrote:
On Thu, 2007-07-05 at 16:27 -0700, Steve Edberg wrote:
Proposal -
Perhaps we could separate Brain Teasers, Obfuscated PHP challenges,
and what-have-you to a separate mailing list, say php-fun (php-phun?
PHPhun?)? Maybe you could also include
the need for a separate preg_match_all
if ($SwearCount SWEAR_THRESHOLD) {
echo 'You %$#%@, who do you [EMAIL PROTECTED] think you [EMAIL
PROTECTED] are ??';
}
- st[EMAIL PROTECTED]
--
+--- my people are the people of the dessert, ---+
| Steve Edberg
are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence
/
- useful.
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin
/language.variables.scope.php
for more information on variable scope.
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL
.
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530
and then re-add the auto_increment column, but that's a
bad idea (tm) and don't tell anyone I told you how to do it :)
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center
, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence, picking up his fork
://www.informed-sources.com
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database
method
call' or something like that).
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics
== $PathCount-1 ? $ThisLevel : 'a
href='.$CurrPath.''.$LinkAttrString.''.$ThisLevel.'/a');
}
}
$Crumbs = implode($Separator, $CrumbBits);
}
return $Crumbs;
}
?
--
+--- my people are the people of the dessert, ---+
| Steve Edberg
, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence, picking up his fork
on opening reading from sockets; there is an example on
this page in the user comments about sending HTTP HEAD requests.
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis
round, ceil, or floor the value.
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database
At 5:30 PM +0100 12/1/05, Jochem Maas wrote:
Steve Edberg wrote:
Only problem with intval() is that it returns 0 (a valid value) on
I knew that. :-)
I figured so, but I thought I'd make it explicit for the mailing list...
failure, so we need to check for 0 first. Adding more secure checks
all,
I'm trying to do like this but failed:
?php
ini_set('precision',16);
echo pi();
?
How can I get more digits after . ?
Can anyone help? Thx!
++
| Steve Edberg [EMAIL
!
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| UC Davis Genome Center http://pgfsun.ucdavis.edu/ |
+-- Gort, Klaatu barada nikto
://www.htdig.org/
Googling for the phrase stop word list also may be useful
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED
that in your code, you might have to do a batch edit to
change ? to ?php
As they say on
http://us4.php.net/basic-syntax
the use of short-tags is discouraged for this, among other, reasons.
-steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberg
/preg_match
and ternary operators in
http://us2.php.net/language.operators
for more info.
- steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis
, if that was really important to you
-
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin
'
declaration does that.
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin
/en/language.variables.external.php
for more info on this technique.
steve edberg
At 01:24 AM 28/05/2004, Dennis Seavers [EMAIL PROTECTED] wrote:
Maybe others will catch on to your intention, but I think you need to
provide a bit more information. For example, what variables do you want
, ---+
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu/ |
+ said t e lawrence, picking up his fork
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
.
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
Williard
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of California, Davis http://pgfsun.ucdavis.edu
, ZIP: $zipbr /;
}
?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
++
| Steve Edberg [EMAIL PROTECTED
it will help
Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
++
| Steve Edberg
?
Untested, but this should work.
$string = Is there a way to count the number of words in a string?
$numOfWords = count( explode( , $string ));
Chris
--
++
| Steve Edberg [EMAIL PROTECTED
hp
http://www.php.net/manual/en/function.urldecode.php
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
++
| Steve Edberg
of sessions here:
http://www.php.net/manual/en/ref.session.php
-steve
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127
an error message.
-steve
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of California, Davis
/
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis
['company_name'] and agent_name is $row['agent_name'];
Thanks,
Ed Curtis
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127
mysql client API 3.23.47
MySQL 3.23.47-log
Platform: SunOS 5.8 sun4u sparc SUNW,Sun-Fire-280R
Thanks in advance,
steve
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California
Boy do I REALLY need some coffee...one query was on the production
database, the other was on the development copy. I suppose I should
set the programmer_first_check_database_parameter_you_idiot setting
in php.ini...
Sorry for consuming unnecessary list space.
sound of head meeting door jamb
this:
drwxrwxrwx 1 ownergroup 0 Nov 5 23:19 6 fantasy
Notice in this case the filename is 6 fantasy however $regs[1] returns
only: fantasy
Can anyone help me to fix this problem.
Thanks a bunch
--
++
| Steve Edberg
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
using
PHP via a website?? I have already thought of a way but seems a little long
winded.
Thanks in advance.
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis
/pcre.pattern.modifiers.php
-steve
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of California, Davis http
[EMAIL PROTECTED]
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of California, Davis http
version = 4.0.5) you can use array_reduce() in conjunction with the
count() function.
If these values are coming from a database, most databases have aggregate
functions to do sums, averages, etc.
-steve
++
| Steve Edberg
to a separated
file. But it slow!
I wonder if i can open 10 connnect (or more) in parallel?
Thanks in advance.
NoWhErEMaN
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California
only affected session, cookie and get type
variables? Why is PHP ignoring the variables passed via the URL?
'variables passed via the URL' = 'GET variables'
-steve
--
++
| Steve Edberg
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
the array using each() in a
loop, and use only every OTHER array entry...but this is really funky
and you shouldn't do it this way anymore.
-steve
?? Thanks,
Henning Sittler
www.inscriber.com
--
++
| Steve
...
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
Dave
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucd
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
['C.CourseName'];
}
-steve
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http
a
relatively new (= version 4.0.3) function mysql_fetch_assoc() which
does what you want...return ONLY the associated indexes. See:
http://www.php.net/manual/en/function.mysql-fetch-assoc.php
-steve
Steve Edberg [EMAIL PROTECTED] wrote in message
news:p05100300b943f2a7feef@[168.150.239.37
times his name appears. In short, PHP sprang from his
brain. Now, it springs from many brains.
-steve
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin
/products/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis
s called global.
Usage:
global $variable_a;
global $variable_b;
global $variable_c;
...
HTH,
Dw.
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of Californi
, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-
--
++
| Steve Edberg
point in time. I am wondering what the different approaches to this
problem are.
Thanks
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
++
| Steve Edberg
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of California, Davis http://pgfsun.ucdavis.edu/ |
+-- Gort, Klaatu barada nikto! --+
6144012
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucd
: +45 3325 0688
Fax: +45 3325 0677
Web: www.explodingnet.com
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127
...
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
Killmer
NetgainTechnology.com
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of Californi
)
**
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 91-4546512/4522124
***
--
++
| Steve Edberg
to be a fixed width.
I want all numbers to be 2 characters in width to the left of the
decimal point.
1 should be 01
2 should be 02
3 should be 03
How can I do this?
++
| Steve Edberg
for some strange reasons it tries to access my web direcorty
that does not contain any file, and i get the 404 page not found
error.
any help would do,
Thanks
Caleb
--
++
| Steve Edberg
.
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
.
Thanks
Yoed
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http
[EMAIL PROTECTED]
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http
http://php.he.net/manual/en/function.getimagesize.php
At 9:46 PM + 11/29/01, cosmin laslau wrote:
Hi,
Is there any function or command in PHP that will return the width
an image (GIF)?
Thanks.
--
++
| Steve
, or .htaccess (whatever's appropriate in your
setup).
Hope that helps -
- steve edberg
--
+--- my people are the people of the dessert, ---+
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis
procedures).
If you can deal with the 'lowest common denominator' approach, use
ODBC. Or, as you mentioned, use one of the db wrapper classes
available in PHPLIB, PEAR or Metabase.
-steve
--
+ Open source questions? +
| Steve Edberg
You Yahoo!?
Get email alerts NEW webcam video instant messaging with Yahoo!
Messenger. http://im.yahoo.com
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED
it be possible to add an optional parameter to ucwords which would
be an array of words to skip? i would think this would be useful to
many.
any thoughts?
--
+ Open source questions? +
| Steve Edberg University of California
scripts and need them to execute from a master php script.
any help?
Thanks all,
Yours Hans.
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED
At 1:49 PM +0200 9/21/01, [EMAIL PROTECTED] wrote:
lets have a php-beer for all the dot.com unenployed!
My PHP 4.0.5 doesn't have php_beer() function :( Is that available
in CVS tree?
--
+ Open source questions? +
| Steve Edberg
any one know how to run this job?
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucd
n source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ |
+--- http://pgfsun.ucdavis.
running apache and php4
poppy
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu
want this redirection to
happen at the server and not the client.
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http
-steve
At 1:00 PM -0400 9/10/01, Ken wrote:
At 08:11 AM 9/10/01 -0700, Steve Edberg wrote:
Right off the top of my head, you have three options that I can see:
(3) Use a META REFRESH tag. For example:
META HTTP-EQUIV=refresh CONTENT=1;page.php
where 1 is the time (in seconds) before you
?
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu
];
or
print Some text here .$fp[$i]. more text here;
instead.
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
--
+ Open source questions? +
| Steve Edberg
*$Something) ==
$Something; }
should work.
-steve
++
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] (530)754-9127 |
| http
1 - 100 of 149 matches
Mail list logo