RE: [PHP] ad rotation program

2001-10-04 Thread Michael Geier, CDM Systems Admin

check out Oasis on Freshmeat...I haven't used it, but I did notice it on
there.
also, as already posted, PHPads.

-Original Message-
From: Wandrer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 2:12 PM
To: Joseph Bannon
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] ad rotation program


At 01:37 PM 10/4/01 -0500, you wrote:
Has anyone on this list developed an ad rotation program in PHP?
Joseph
PHP General Mailing List (http://www.php.net/)

Joseph,

dotBanner ( http://www.dot-banner.com ) is the one that I work on.

We have your script pushing well over 6 million impressions per day with
no problem.
- Robert

...out of all the software I have bought on the net, you have provided me
with the BEST service, HANDS DOWN man... You should be very proud of this
man... thanks so much!
-Deejay

Paul

-
  dotBanner www.dot-banner.com
-


--
PHP General Mailing List (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]




-- 
PHP General Mailing List (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]




RE: [PHP] I am making a mailing list but....

2001-09-13 Thread Michael Geier, CDM Systems Admin

It would help if you were a little more descriptive about this...

Are you trying to do this in the To: field, the Cc: or Bcc: fields, actually
in the body of a message, in a flat file, in a DB...

flat file:
$fp = fopen(filename,w);
//emails in array
while ($tmp = array_shift($array)) { fputs($fp,$tmp; ); }
fclose($fp);


-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 7:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] I am making a mailing list but


I really need help on this one, so someone please!


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666


- Original Message -
From: Kyle Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 12, 2001 8:53 PM
Subject: [PHP] I am making a mailing list but


. how do i make php add something to a text document on the smae line
cause i need the text document to look like this

[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED];

so well, how do i get it to add on to line 1 and would i need it to make the
; go on the last line cause php cat delete things in txt documents?


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666




--
PHP General Mailing List (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]


-- 
PHP General Mailing List (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]




RE: [PHP] date/time of current page

2001-09-11 Thread Michael Geier, CDM Systems Admin

script language=javascript
document.write('some text ' + document.lastmodified + ' some other text.');
/script

-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 4:42 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] date/time of current page


have you tried parsing out the name from $PHP_SELF?
I would think that php wouldn't care if it gets 'index.php' or (some
processing) index.php, know what i mean?

jack

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 1:01 PM
To: [EMAIL PROTECTED]
Subject: [PHP] date/time of current page


I want to put, into a footer include file, the last modified date of the
current
file being viewed. I have the following code that works when I hard code
the
file name -

?
$dt=date(D, F d, Y g:i:s A, filemtime(index.php));
echo $dt;
?

But of course that won't work as a footer for a site with over two hundred
pages.
What is the parameter for the current page? I tried php_self but that didn't
work
properly (it returned Dec 31 1969).

--
Chip Wiegand
Simrad, Inc
[EMAIL PROTECTED]


--
PHP General Mailing List (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]



--
PHP General Mailing List (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]


-- 
PHP General Mailing List (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]




RE: [PHP] Re: how to sort search results by relevance?

2001-08-29 Thread Michael Geier, CDM Systems Admin

www.google.com
search relevance searches in MySQL

1. www.mysql.com/documentation/mysql/bychapter/manual_Fulltext_Search.html

-Original Message-
From: BRACK [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 11:40 AM
To: Mark Maggelet
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: how to sort search results by relevance?


On 29 Aug 2001, at 9:18, Mark Maggelet wrote:

 On Wed, 29 Aug 2001 13:58:34 +0200, BRACK ([EMAIL PROTECTED]) wrote:
  In article 3B8A1D6A.4295.2947D@localhost, [EMAIL PROTECTED]
  (Yura) wrote:
  
   How to sort search results of php-mysql site by relevance?
  
  See the mysql manual's chapter on FULLTEXT indexes.
 
 I indexed column 'text' and tried to add ORDER BY text DESC in 
 query and deleted wildcards in front of variables but still it 
 doesn't 
 sort results by number of found words (or parts of words). Maybe I 
 didn't quite understand what to do?
 
 or maybe you didn't look up fulltext indexes :)
 
 
But I didn't find FULLTEXT word in entire MySQL library...?


God is our provider 
http://www.body-builders.org

-- 
PHP General Mailing List (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]


-- 
PHP General Mailing List (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]




RE: [PHP] Convert to int...?

2001-08-22 Thread Michael Geier, CDM Systems Admin

(int)$siz will give you what you are looking for.  although with the math
below, you are going to end up with 0.

$siz = 72 / 160;//returns 0.45
echo round($siz);   //returns 0
echo (int)$siz; //returns 0

-Original Message-
From: Seb Frost [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 10:07 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Convert to int...?


I didn't think php was this fussy, but the following code seems to not work
because the numbers are floats.  round() doesn't seem to help either:

$siz=(72/160)*GetImageWidth($fileID);
$offx=(8/160)*GetImageWidth($fileID);
$offy=(1/2)*GetImageHeight($fileID);

ImageTTFText ($im, $siz, 0, $offx, $offy, $red, cour.ttf,PROOF);

Works fine if I just put $siz=72; etc

- seb

-Original Message-
From: Tribun [mailto:[EMAIL PROTECTED]]
Sent: 16 August 2001 08:30
To: [EMAIL PROTECTED]
Subject: [PHP] .htaccess username


...hmmm, I would guess there is a way, but I dont know why...

Can I read out the active username, which has just logged in through a
.htaccess authentication???

Like the access data..
user: patrick
pass: linux

can PHP reads out the usersname patrick ??

(and if ,... how? ;)

10x 4 U'r time.

Patrick




--
PHP General Mailing List (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]


--
PHP General Mailing List (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]


-- 
PHP General Mailing List (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]




RE: [PHP] Execute a PHP script from unix (crontab)

2001-08-15 Thread Michael Geier, CDM Systems Admin

Why not use the tool built for the job?

mysqldump will allow saving both data and structure.

http://www.mysql.com/doc/m/y/mysqldump.html


-Original Message-
From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 11:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Execute a PHP script from unix (crontab)


Hi,
There are basically two ways of doing this. 

Use lynx : lynx --dump http_address_to_file

or

Compile php as a cgi binary.

You should select them based on your need.

Kunal

- Original Message - 
From: Hugh Bothwell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 15, 2001 9:30 PM
Subject: Re: [PHP] Execute a PHP script from unix (crontab)


  From: Augusto Cesar Castoldi [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, August 16, 2001 1:04 AM
  Subject: [PHP] Execute a PHP script from unix (crontab)
   How can I execute a php script from the unix?
   like perl it's (perl file), but in unix we don't have
   a executable of php, it's a module ,right?
 
 Same idea as Perl, start with a shebang line to tell
 it where to find the interpreter:
 
 #!/usr/local/bin/php
 ?php
 // your script here...
 ?
 
   I should compile the script first?
 
 Nope, no need...
 
 
 
 -- 
 PHP General Mailing List (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]
 
 
 


-- 
PHP General Mailing List (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]


-- 
PHP General Mailing List (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]




RE: [PHP] Mail()

2001-08-13 Thread Michael Geier, CDM Systems Admin

your MTA is setting the envelope, not your script.

if you are using sendmail, look at the -f flag in the man 
sendmail page.  then modify your php.ini file.  Or possibly 
even set the variable (sendmail_path) inside of your script 
to include the -f flag.

-Original Message-
From: Mahmoud Kassem [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 1:34 AM
To: ReDucTor
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Mail()


I have the arrows
my code is :

$headers .= Return-Path: [EMAIL PROTECTED]\n;
$headers .= Errors-To: [EMAIL PROTECTED]\n;
$headers .= X-Sender: Abkareno [EMAIL PROTECTED]\n;
$headers .= From: \.$fname. .$lname.\ .$emailfrom.\n;
$headers .= Reply-To: .$fname. .$lname. .$emailfrom.\n;
$headers .= Content-Type: text/html; charset=iso-8859-1\n;
$headers .= X-Mailer: Abkareno\n;
$headers .= X-Authenticated-IP: [.$REMOTE_ADDR.]\n;
if ($prom == 1) {
$headers .= X-Priority: 2\n;
$headers .= Importance: High\n\n;

mail($emailto_owner..$emailto.,$subject,$message,$headers);


and still I get the email from NO BODY [EMAIL PROTECTED]
-Original Message-
From: ReDucTor [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 9:25 AM
To: Mahmoud Kassem; [EMAIL PROTECTED]
Subject: Re: [PHP] Mail()


From : Your Name [EMAIL PROTECTED]

make sure you have the arrow things around it...

thats in your headers...
- Original Message - 
From: Mahmoud Kassem [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 13, 2001 4:20 PM
Subject: [PHP] Mail()


 How can force my From: instead of the nobody@servername ?
 



-- 
PHP General Mailing List (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]


-- 
PHP General Mailing List (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]




RE: [PHP] Mail()

2001-08-13 Thread Michael Geier, CDM Systems Admin

rather than be rude about it, try reading the whole message and 
then looking through the PHP documentation.


http://www.php.net/manual/en/function.ini-set.php
===
ini_set
(PHP 4 = 4.0RC1)

ini_set -- Set the value of a configuration option
Description

string ini_set (string varname, string newvalue)


Sets the value of the given configuration option. Returns the 
old value on success, FALSE on failure. The configuration option 
will keep this new value during the script's execution, and will 
be restored at the script's ending. 

Not all the available options can be changed using ini_set(). 
Below is a table with a list of all PHP options (as of PHP 
4.0.5-dev), indicating which ones can be changed/set and at what 
level. 
===

-Original Message-
From: Mahmoud Kassem [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 9:40 AM
To: Michael Geier, CDM Systems Admin
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Mail()


I said before I do not have access to the php.ini
I am on a virtual Hosting ...

-Original Message-
From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 4:43 PM
To: Mahmoud Kassem; ReDucTor
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Mail()


your MTA is setting the envelope, not your script.

if you are using sendmail, look at the -f flag in the man 
sendmail page.  then modify your php.ini file.  Or possibly 
even set the variable (sendmail_path) inside of your script 
to include the -f flag.

-Original Message-
From: Mahmoud Kassem [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 1:34 AM
To: ReDucTor
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Mail()


I have the arrows
my code is :

$headers .= Return-Path: [EMAIL PROTECTED]\n;
$headers .= Errors-To: [EMAIL PROTECTED]\n;
$headers .= X-Sender: Abkareno [EMAIL PROTECTED]\n;
$headers .= From: \.$fname. .$lname.\ .$emailfrom.\n;
$headers .= Reply-To: .$fname. .$lname. .$emailfrom.\n;
$headers .= Content-Type: text/html; charset=iso-8859-1\n;
$headers .= X-Mailer: Abkareno\n;
$headers .= X-Authenticated-IP: [.$REMOTE_ADDR.]\n;
if ($prom == 1) {
$headers .= X-Priority: 2\n;
$headers .= Importance: High\n\n;

mail($emailto_owner..$emailto.,$subject,$message,$headers);


and still I get the email from NO BODY [EMAIL PROTECTED]
-Original Message-
From: ReDucTor [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 9:25 AM
To: Mahmoud Kassem; [EMAIL PROTECTED]
Subject: Re: [PHP] Mail()


From : Your Name [EMAIL PROTECTED]

make sure you have the arrow things around it...

thats in your headers...
- Original Message - 
From: Mahmoud Kassem [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 13, 2001 4:20 PM
Subject: [PHP] Mail()


 How can force my From: instead of the nobody@servername ?
 



-- 
PHP General Mailing List (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]



-- 
PHP General Mailing List (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]




RE: [PHP] e-mail confirmation #76215525

2001-07-27 Thread Michael Geier, CDM Systems Admin

hahahaha...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 9:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] e-mail confirmation #76215525


This is a confirmation e-mail for your request.

You can come anytime and claim your FREE Sex Toys at
http://www.freevibrator.com

All Free Sex Toys we feature are absolutly free with no purchase necessary
whatsoever.
(Small reasonable shipping charges apply)


Thank You for subscribing to FreeSexToys updates list.
This Is OPT-IN list.
To make sure that we won't send anything to you in ERROR - You HAVE TO
CONFIRM that you would like to be added to our list.

To confirm that you want to be added send e-mail to: [EMAIL PROTECTED]

If you received this e-mail in error (my apologies) or do not wish to be
added to our list DO NOTHING. You will NOT be added to our list without Your
Confirmation.

Freely Yours
Julie Aston

[EMAIL PROTECTED]
message confirmation ID#1312076215525118128826213

--
PHP General Mailing List (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]


-- 
PHP General Mailing List (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]




[PHP] need advice on project...

2001-07-24 Thread Michael Geier, CDM Systems Admin

Project needs:
create document on fly to fax to 100+ customers
document will be queued up twice daily for submission
document will have a logo branded @ top of  page

Services used:
RedHat 7.1
HylaFax 4.1
PHP 4.0.6

Any insight would be appreciated.
I figure I will have to configure PHP with:
--with-pdflib
--with-jpeg-dir
--with-tiff-dir
--with-png-dir
--with-zlib-dir

Does any one have any good code for creating PDF's on the fly with graphic
images?
Thanks.

---
Michael Geier
CDM Sports, Inc. - Systems Administrator
email: [EMAIL PROTECTED]
phone: 314.991.1511 x 6505
pager: 314.318.9414


-- 
PHP General Mailing List (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]




RE: [PHP] please help.

2001-07-18 Thread Michael Geier, CDM Systems Admin

try using the attached class.

?
$time = new timer;
$time-start();

// some code

$time-stop();
$total = $time-gettime();
echo $total;
?

-Original Message-
From: McShen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 11:08 AM
To: [EMAIL PROTECTED]
Subject: [PHP] please help.


hi

I wanna see how long my scripts load. So, i copied this script from
phpbuilder
---
?php
  $timeparts = explode( ,microtime());
  $starttime = $timeparts[1].substr($timeparts[0],1);
  $timeparts = explode( ,microtime());
  $endtime = $timeparts[1].substr($timeparts[0],1);
  echo bcsub($endtime,$starttime,6)
?
--

But i am not sure where to put that part. Can i put it anywhere within my
script?  And bcsub() is not install on my server. What other fuctions can i
use? can i just use $endtime-$starttime?



-- 
PHP General Mailing List (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]



-- 
PHP General Mailing List (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]


[PHP] note to PHP developers

2001-07-17 Thread Michael Geier, CDM Systems Admin

I have noticed on the list over the past two months, an increasing number of
problems with the mail() function.

Mostly, people having this problem don't have sendmail installed.  It would
seem that PHP's mail() function was written around sendmail.  Is there a way
to resolve this, with either configuration flags or by re-writing the mail()
function install to look for alternative MTAs???

Just thought I would point it out.

My solution:

- OS RH 7.1 w/Sendmail install
- installed PHP 4.x
- removed Sendmail
- installed Qmail
- changed php.ini path - qmail path

---
Michael Geier
CDM Sports, Inc. - Systems Administrator
email: [EMAIL PROTECTED]
phone: 314.991.1511 x 6505
pager: 314.318.9414


-- 
PHP General Mailing List (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]




RE: [PHP] RE: Time Taken to Process

2001-07-16 Thread Michael Geier, CDM Systems Admin

try the attached class.

$t = new timer;
$t-start();
// some code;
$t-stop();

$diff = $t-gettime();
echo $diff;

-Original Message-
From: Phil Spitler [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 1:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] RE: Time Taken to Process


yeah, I just saw that, thanks! :)

Phil

 -Original Message-
 From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 16, 2001 2:12 PM
 To: Phil Spitler
 Cc: [EMAIL PROTECTED]
 Subject: Re: Time Taken to Process


 Look at the recent subject entitled echo vs printf.  There's code to do
 exactly what you want.  I don't think there's anything built in, but I
 could be wrong.

 On Mon, 16 Jul 2001, Phil Spitler wrote:

  Does anyone know an easy way to tell how long a page takes to run in ms.
  Maybe some variable that can be called at the bottom of the page or
  something.
 
  THANKS!
 
  -
  Phil Spitler [Applications Developer]
  American City Business Journals
  p: 704.973.1049
  f: 704.973.8049
  e: mailto:[EMAIL PROTECTED]
 
 
  --
  PHP General Mailing List (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]
 




--
PHP General Mailing List (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]



-- 
PHP General Mailing List (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]


RE: [PHP] Is this a joke?!

2001-06-22 Thread Michael Geier, CDM Systems Admin

I love it...
server info:
Server: Apache/1.3.19 (Unix) PHP/4.0.4pl1 mod_perl/1.25

-Original Message-
From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 9:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Is this a joke?!


Is this a joke?
http://www.perl.com/search/index.php

*hehe*



-- 
PHP General Mailing List (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]


-- 
PHP General Mailing List (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]




[PHP] RE: [PHP-DB] Date field

2001-06-20 Thread Michael Geier, CDM Systems Admin

-mm-dd in DATE format

you can pull it back out however you like with the DATE_FORMAT command

SELECT sometext,DATE_FORMAT(somedate,'%m/%d/%Y') AS date FROM tablename

then you have two variables:
sometext and date

see documentation on www.mysql.com for more info on DATE_FORMAT

-Original Message-
From: Rosen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 10:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Date field


Hi,
Can someone tell me how do stote date field in MySQL DB ?

Thanks,
Rosen M.





-- 
PHP Database Mailing List (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]


-- 
PHP General Mailing List (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]