?
You're wrong; from the manual:
" ...
The last ID that was generated is maintained in the server on a
per-connection basis. It will not be changed by another client.
"
Regards,
--
Don Read[EMAIL PROTECTED]
-- The problem with peopl
,$PHP_AUTH_PW, $realm))) {
Header('WWW-authenticate: basic realm="'.$realm .'"');
Header('HTTP/1.0 401 Unauthorized');
echo 'META HTTP-EQUIV="Refresh" CONTENT="1; URL='.SITEHOME.'/"';
echo 'CENTERFailed LoginPInvalid name or password';
exit
working.
maybe faulty memory on my part, but i think I've seen something similar
(i.e. "a name" is flakey inside tables).
play with putting a name ../a within your tr or h3 tags.
Regards,
--
Don Read [EMAIL PROTECTED]
-- If you are going to s
whatever Bill the boys
from Redmond call it now).
But i'll agree that if IE keeps the authentication after you close the browser,
it _is_ borken.
Regards,
--
Don Read [EMAIL PROTECTED]
-- If you are going to sin, sin against God, not the bureaucracy.
using latest php4
version.
snip
You are confused on how HTTP works.
http://www.acts.eku.edu/web/FASTWEB/HTMLOUCH.HTM
(scroll down a couple of paragraphs)
Regards,
--
Don Read [EMAIL PROTECTED]
-- If you are going to sin, sin against God
@mysql_query($qry);
if ($dbres) {
echo 'SELECT NAME=country SIZE="5"';
while ( $row = mysql_fetch_object($dbres)) {
selectoption($row-id, $row-name, $usercountry);
}
echo "/SELECT\n";
}
Regards,
--
Don Read
URI is what you
want.
--
Don Read [EMAIL PROTECTED]
-- If you are going to sin, sin against God, not the bureaucracy.
God will forgive you but the bureaucrats won't.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
/ title open body
...
$ds=formatdate($dte); // localized date string
...
printf('H5' .nls('Statistics for') ."/H5\n", $ds);
...
printf('H5'.nls('Topsignupurls').' /H5', 30, $ds);
Regards,
--
Don Read [EMAIL PROTECTED]
On 15-Mar-01 Chris wrote:
Hi,
Is there a way to do an array_pop with php3?
unset($dirs[sizeof($dirs)-1]); // php4 array_pop();
Regards,
--
Don Read [EMAIL PROTECTED]
-- If you are going to sin, sin against God, not the bureaucracy
as ds
from webmaster where id=$qwid";
debug(__FILE__,__LINE__, $qry);
$res = mysql_query($qry);
if ( $res) {
...
just add debug=1 to the url to trace out execution.
Regards,
--
Don Read [EMAIL PROTECTED]
-- If you are going to s
porting(31);
...
fpstats.php
---
removed a semi-colon.
browser output
---
br
bParse error/b: parse error in bfpstats.php/b on line b130/bbr
--
PHP/3.0.18 (maybe a 4.0 thing ?)
Regards,
--
Don Read [EMAIL PROTECTED]
-- If you are going to sin, sin a
",$db));
// This should be faster, but doesn't seem to work
// echo count(mysql_query("select * FROM phPetition",$db));
?
;)
$result= mysql_query("select count(*) as cnt FROM phPetition",$db));
if ($result) {
$row = mysql_fetch_object($result);
echo 'count: ', $row-c
/strip slashes functions. Any comments would be greatly appreciated.
Check your 'magic_quotes_gpc', it might explain it.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It is necessary for me to learn from others' mistakes. I
will not live long enough to make
as hell to me :/
thanks for the help so far people, the sky is finally clearing up :-)
Where possible, I'll use single quoting to avoid chasing down silly escape
errors:
mysql_query(insert into table values('$string'));
Try it. Makes life easier.
Regards,
--
Don Read
for your submit button, then you can test for
$submit_x and $submit_y.
--
Don Read [EMAIL PROTECTED]
-- It is necessary for me to learn from others' mistakes. I
will not live long enough to make them all by myself.
--
PHP General Mailing List (http
On 23-Mar-2002 David Duong wrote:
I didn't put mailing list I meant Usenet lists.
comp.lang.perl.misc
This is not a newbie froup. Read the FAQ, and post your code, or prepare to
be flamed to a crackly crunch.
Regards,
--
Don Read [EMAIL PROTECTED
);
--
Don Read [EMAIL PROTECTED]
-- Beer is proof that God loves us and wants us to be happy.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://www.php.net/unsub.php
__
Do you Yahoo!?
New DSL Internet Access from SBC Yahoo!
http://sbc.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Don Read
);
?
Sorry my mistake, make that :
print_r($GLOBALS);
--
Don Read [EMAIL PROTECTED]
-- Beer is proof that God loves us and wants us to be happy.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 25-Sep-2002 Daren Cotter wrote:
This just prints out a bunch of info (seems to be
unimportant)...what am I looking for in this?
You're looking for your argument string blah
--
Don Read [EMAIL PROTECTED]
-- Beer is proof that God loves us and wants
this problem.
Yes it could.
To get around it : benchmark optimize your indexes and queries.
Check into using persistant connections, it is normally a good idea in
general -but watch out that you don't exhaust kernel resources ...
Regards,
--
Don Read
was taken to completely avoid the
legal controversy regarding the LZW compression algorithm used in GIF. Unisys
holds a patent which is relevant to LZW compression.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going
,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On 23-Sep-2001 sagar N Chand wrote:
hi all,
is there any way to get the total disk space used under a directory
including its subdirectories and all the contents.
/sagar
$duse=`du -sk /usr/foo`;
echo $duse, 'br';
Regards,
--
Don Read [EMAIL
.
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
INPUT TYPE=TEXT NAME=foo VALUE=$row-foo;
echo '/FORM';
Regards,
--
Don Read [EMAIL PROTECTED]
-- It is necessary for me to learn from others' mistakes. I
will not live long enough to make them all by myself.
--
PHP General Mailing List (http
adminland.php
whatever ...
then include() the bits where the $vars indicate:
if ($do_detail)
include('detail.php');
And, of course, underneath is the common thingys:
require(class.html.php);
require(class.forms.php);
require(libsql.php);
Regards,
--
Don Read
where id='$usrid' and passwd=PASSWORD('$usrpass') ;
If you get a record back, the password matched.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do
,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
'form method=POST ACTION=' .$PHP_SELF .'';
input text name=login
input text name=passwd
/form
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper
-- or my quick dirty:
vi `grep -l -r foo *`
and then cut-paste :g/foo/s//bar/g in each file
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do
works).
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
/locale.
For Windows, a search on Google turned up:
http://www.microsoft.com/globaldev/FAQs/Locales.asp
My regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time
didn't the call this stricmp ?
echo 'matched';
if eregi('^neo$', $name)
echo 'matched also';
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do
on this?
$HTTP_ACCEPT_LANGUAGE, $HTTP_ACCEPT_CHARSET
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http
not work:
for ($a=1;$a=sizeof($HTTP_POST_VARS);$a++){
echo $a. .$HTTP_POST_VARS[$a].br;
}
Please help
Tamas Bucsu
while (list ($k, $v) = each($HTTP_POST_VARS)) {
echo $k == $v BR\n;
}
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest
couldn't find much on php.net
man pwd
- also, is there any other
ones(whatever it is) like this?
man -k | grep (1)
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal
date and is a date type:
SELECT CONCAT(MONTHNAME(date), ' ', DAYOFMONTH(date)) AS newdate
Ghaakk ...
SELECT DATE_FORMAT(date, '%M %d') as newdate from ...
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you
So I would like to know the total score of each user.
But I don't know how to do this. Who can help me out?
REPLACE INTO Totalscore
SELECT userid,name,sum(score) from Score GROUP BY userid;
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest
On 22-Aug-2001 Jess Ragaza wrote:
snip
It would seem like the nursing shortage here would be for years to come.
No doubt.
I'll check with Mom, but I don't think i've nursed in some 40 years.
--
Don Read [EMAIL PROTECTED]
-- It's always darkest
To make PHP date/time functions jive, during initialization:
putenv('TZ=PST8PDT'); // Server on Pacific time
No matter that i'm in Texas (CST), everything is now reported on Pac time.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before
goodies ?
Where would I find the TZ codes to use for my area?
Prolly MST7MDT or PST8PDT.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do
Failed. Error
'.mysql_errno().':
'.mysql_error());
$number = mysql_num_rows($result);
run:
repair table question
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper
...
can you drop or create tables ?
If not then your sql daemon permissions are messed up.
stop the daemon, chown -R mysql.mysql /path/to/mysql/data,
restart the daemon.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you
(http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you
Any help would be very very very very appreciateddriving me nuts.
The Ouji board: 'check line 47' (but then it always sez that).
How about posting some code ?
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you
.
Surely it
is simply reading. And more to the point, why does this work on the live
server but not on my dev box?
error_reporting();
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal
is deprecated. Use the
LC_* -constants instead. in
Try what it says, use the constant:
setlocale(LC_ALL, 'LT');
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's
',
$sleepfor, $goto);
// run the job
$cmd='foo -bar baz ';
system($cmd);
?
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing
On 30-Aug-2001 John Meyer wrote:
Is there anyway to determine the pixel width of a string?
$font=2;
$strpx=imagefontwidth($font) * strlen($str);
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going
]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do
On 31-Aug-2001 _lallous wrote:
It also depends on the font!
it might be a fixed font or not a fixed font!
True, but the five installed GD fonts are fixed cell fonts.
Don Read [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On 30-Aug-2001 John Mey
a
message saying :
Fatal error: Call to undefined function: get_total() in
/www/data//root/test.php on line 7
how do i get it to know that the function exists?
if (function_exists('get_total'))
echo 'got';
} else {
echo 'not';
}
Regards,
--
Don Read
criterion, it won't matter.
otherwise, alias the column name:
SELECT t1.id as siteid, t2.id as wmid, t2.name as name
FROM site as t1 LEFT JOIN webmaster as t2 USING (id)
WHERE t2.name is NOT NULL ...
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always
();
while (list($k,$v) = each($cbk)) {
$p[]=$k;
}
$ids=implode(',', $p);
$qry=DELETE FROM foo WHERE id IN ('$ids');
mysql_query($qry);
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
| wc -l`;
echo $cnt, 'br';
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
around all different parts.
Try to figure out the damn difference between PHP substr() SQL SUBSTRING().
thanks much,
your welcome,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's
) {
$t=array(0,0,0,0);
$msk = 16777216.0;
$n += 0.0;
if ($n 1)
return('nbsp;');
for ($i = 0; $i 4; $i++) {
$k = (int) ($n / $msk);
$n -= $msk * $k;
$t[$i]= $k;
$msk /=256.0;
};
$a=join('.', $t);
return($a);
}
Regards,
--
Don
;
... do_yer_thang
rmdir $HOME/LCK.script
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net
';
exit;
}
}
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
.
combine the date time:
mystamp datetime ..
select date_format(mystamp,'%m-%d%Y %r') as ts from blah;
Any examples or links to good docs appreciated
find /usr/local -name manual.txt -print | grep mysql
http://www.mysql.com/manual.php
Regards,
--
Don Read
= mysql_fetch_object($result);
if ($row) {
return(true);
}
return(false);
}
Basically it's a spin-lock file that is checked on login ... could just as
easily be done as a shared semaphore, DB entry, whatever.
Regards,
--
Don Read [EMAIL
in html tags?
snip again
Ideas?
nl2br()
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net
varchar(80) DEFAULT '' NOT NULL,
addr1 varchar(80) DEFAULT '' NOT NULL,
addr2 varchar(80),
city varchar(80) DEFAULT '' NOT NULL,
...
Not that it has anything to do with PHP.
http://www.mysql.com/manual.php
http://lists.mysql.com/
Regards,
--
Don Read
{
echo 'pfsst.';
}
echo /td;
}
HTH
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP
On 10-May-01 macky wrote:
im using PHP + APACHE on Linux Box
i wonder what command in PHP can i use to execute Unix commands
$foo=`ls`
thats a back-tick
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you
, if not
cd /usr/ports/graphics/png
make make install
(may want to do gd as well)
cd /usr/ports/graphics/gd
make deinstall
make make install
then build php.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going
not tested, but try something like:
while (list ($k, $v) =each ($HTTP_POST_VARS)) {
$$k=stripslashes($v);
}
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's
that, look for RFC854 at
http://www.cis.ohio-state.edu/Services/rfc/rfc.html
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing
On 11-May-01 Markus Held wrote:
Can do what i want. I need gif and jpeg
habe installed jpeg-6b , gd-1.8.4gif.tar.gz
No, GIF support was removed in v1.6 or so
http://www.boutell.com/gd/
snip
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always
-
the client can play stupid and depend on the server via 'stat'
'last' commands.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do
of these is set to 1. i am coming up with a very long
control structure:
if (($add=1) ($remove=1) || ($add=1) ($view=1) || etc...))
if (($add + $remove + $view) 1) {
die(I'm so confused ...);
}
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's
, $i, $s, $m, $d, $y);
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going
is the better way; but for a short-cut, at the
top of the loop, ping your broadcast addr '192.168.x.255' a few times
and then collect the DUP's.
These won't have to get pinged explicitly.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So
);
fwrite($fp, $str);
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
$dirname | head -1';
$p=popen($cmd, 'r');
$fname=fgetss($p,1000);
$mt=filemtime($fname);
pclose($p);
echo $fname, ' modified on ', strftime('%b %e, %G', $mt);
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going
* from foo where name = 'php'
fail ??
given that name = 'PHP' in the database
where BINARY name = 'php'
(BINARY casts were added in 3.23.?)
you also might consider changing your column to varchar() binary.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's
.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
');
...
-Original Message-
From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
Sent: 20 May 2001 15:51
To: [EMAIL PROTECTED]
Subject: [PHP] time
quickly can some one tell me if time() return server or usersystem time?
Regards,
--
Don Read [EMAIL PROTECTED
);
Basically i just want users to be able to take a non-local time and get the
local time in their timezone with it. This will be for US times only also.
Thanks a bunch!
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So
();
$ds=date('Y-m-d-h-i', $tm);
list ($y, $m, $d, $h, $n)=explode('-', $ds);
$datestr=strftime($fmtstr, mktime($h, $n, 0, $m, $d, $y)) ;
return($datestr);
}
initlocale('de_DE.DIS_8859-15');
print formattime);
?
Regards,
--
Don Read [EMAIL PROTECTED
dragons lurking about.
If you absolutely _must_ have it; let the PHP/CGI scripts modify copies
of the files.
Then run a small shell script to move 'em into place after root has
eyeball'd them.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest
PROTECTED]
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
mail.domain.com closing connection
Connection closed by foreign host.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http
');
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
, passthru, ``, system, and escapeshellcommand. Nothing
seems to work. any ideas?
$cmd='stuff.sh';
$p=popen($cmd, 'r');
if ($p) {
while ($str=fgetss($p,1000)) {
do_foo($str);
}
pclose($p);
} else {
echo Pphsst. bad command: $cmd BR;
}
Regards,
--
Don Read
,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
this be done?
Yes.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
ain't my thing.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
, $file_loc)
would like to refresh the db.
LOAD DATA INFILE 'filename' into da_table ...
the MySQL manual has the details.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper
On 03-Jul-01 Brad Hubbard wrote:
On Tue, 3 Jul 2001 02:51, Don Read wrote:
$pstr='FltNum=2972page=fiselectDay=July+02';
$fp=openpost('dps2.usairways.com', '/cgi-bin/fi', $pstr);
// i'm not so sure about that selectDay, javascript ain't my thing.
This is implementation dependant (it's
need to list all the causes with the number of times each has occurred,
even if it's zero times... they don't need to be listed in any particular
order...
select cause.ID, count(*) as cnt from ...
WHERE ...
group by cause.ID;
Regards,
--
Don Read [EMAIL
/option
option value='03'03/option
option value='04'04/option
option value='05'05/option
look at your option value=xx.
if ( (isset($month)) ($month +0 0) ) {
...
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's
On 05-Jul-01 Johan Vikerskog (ECS) wrote:
If i want to add something into a table with just the mysql command.
Is this possible.
Like
./mysql -p -u root test insert into...
mysql -e cmd
mysql -B cmd
mysql somescript.sql
cat many*.sql | mysql
-- also look at --
mysql --help
--
Don
On 05-Jul-01 Johan Vikerskog (ECS) wrote:
But i want dont want to type in the password. I want to have the password in
the command file.
No, you don't.
Put your user name password in ~/.my.cnf
(as explained in the fine manual).
--
Don Read [EMAIL
expression)
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
it there, write it back out.
B. open a temp, copy till the line of interest, write your change,
copy remainder. mv/cp the temp to the original.
C. read to line of interest, ftell(), suck remainder into memory.
ftruncate(), fseek(), write your changes, write out the remainder.
Regards,
--
Don Read
On 05-Jul-01 Eric Wood wrote:
I can easliy add addional email header using the php mail() function. Does
'mail' or 'sendmail' have this same ability to add email headers from the
command line?
man sendmail
Pay attention to options '-ba' '-t'
Regards,
--
Don Read
1 - 100 of 237 matches
Mail list logo