RE: [PHP-WIN] Programming problem... Date day locater!

2005-05-04 Thread Wagner, Aaron
date ( string format [, int timestamp ] ) z - The day of the year - 0 through 366 $doy = Date("z") ; http://us2.php.net/manual/en/function.date.php aaron > -Original Message- > From: JC Botha [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 04, 2005 11:46 AM > Cc: php-windows@list

[PHP-WIN] Process Control in Windowz

2005-04-26 Thread Wagner, Aaron
Has anybody used process control for PHP in Apache2. I have processes that lock and become zombie process. I would like a way to kill them with out having to bounce Apache2 service. Running on win2k, Server Version: Apache/2.0.48 (Win32) mod_perl/1.99_13-dev Perl/v5.8.3 PHP/4.3.4 Thanx aaron

RE: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Wagner, Aaron
6_headers configuration option tells PHP what > type of headers to > ; use when sending HTTP response code. If it's set 0 PHP sends Status: > header that > ; is supported by Apache. When this option is set to 1 PHP will send > ; RFC2616 compliant header. > ; Default is zero.

RE: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Wagner, Aaron
de_path = "c:\php" > > But if the above is correct then it is not working either. > this is the error that I get: Fatal error: Call to undefined function > mysql_connect() in C:\apache\htdocs\cedarintranet\index.php on line 3 > > > > On 4/15/05, Wagner, Aa

RE: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Wagner, Aaron
upportive as PHP4 So I'm considering going back to PHP4 if > none can help me. > > On 4/15/05, Wagner, Aaron <[EMAIL PROTECTED]> wrote: > > > > > > > -Original Message- > > > From: JC Botha [mailto:[EMAIL PROTECTED] > > > Sent: F

RE: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Wagner, Aaron
> -Original Message- > From: JC Botha [mailto:[EMAIL PROTECTED] > Sent: Friday, April 15, 2005 3:01 PM > Cc: php-windows@lists.php.net > Subject: Re: [PHP-WIN] PHP5 and MySQL > > This is the Browser error: > Fatal error: Call to undefined function mysql_connect() in > C:\apache\htdocs\

[PHP-WIN] EXPECT Substitution options

2005-03-24 Thread Wagner, Aaron
I'm trying to find a PHP module or Apache2 module to do the same functions as EXPECT. Does anyone have any idea if one exists. http://bmrc.berkeley.edu/people/chaffee/expectnt.html aaron

RE: [PHP-WIN] Re: NT username detectable?

2005-01-31 Thread Wagner, Aaron
> -Original Message- > From: winnesoup [mailto:[EMAIL PROTECTED] > Sent: January 30, 2005 18:16 > To: Manuel Lemos; php-windows@lists.php.net > Subject: Re: [PHP-WIN] Re: NT username detectable? > > > It's unbelievable. This question is freaking me out for a > year or so and > when I s

RE: [PHP-WIN] Re: Random

2005-01-24 Thread Wagner, Aaron
> -Original Message- > From: Jason Barnett [mailto:[EMAIL PROTECTED] > Sent: January 24, 2005 09:41 > To: php-windows@lists.php.net > Subject: [PHP-WIN] Re: Random > > > SargeTron wrote: > > "How can I create a random string" > > > > rand() only returns an int (number), but I would lik

RE: [PHP-WIN] Output Image from Db to Browser

2005-01-18 Thread Wagner, Aaron
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of MikeA > Sent: January 17, 2005 17:31 > To: php-windows@lists.php.net > Subject: [PHP-WIN] Output Image from Db to Browser > > > I am trying to output a JPG image to the browser without > creating a file. I have tried

RE: [PHP-WIN] RE: [PHP] php editor

2005-01-14 Thread Wagner, Aaron
I use UltraEdit32. It is a wordpad on steriods. It has downloadable syntax modules for http, apache config files, perl, php, javascript, etc etc. It has ability to auto-indent, color syntax coding, and auto-saving. www.ultraEdit.com aaron > -Original Message- > From: [EMAIL PROTECTED]

RE: [PHP-WIN] Reg Ex help

2005-01-13 Thread Wagner, Aaron
couldn't you use is_string ( mixed var ) aaron > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: January 13, 2005 10:18 > To: php-windows@lists.php.net > Subject: [PHP-WIN] Reg Ex help > > > > I might be an idiot... > > I am trying to do a simple che

RE: [PHP-WIN] displaying neat and tidy currency notation?

2004-12-03 Thread Wagner, Aaron
http://us2.php.net/manual/en/function.number-format.php use number_format function. string number_format ( float number [, int decimals] ) string number_format ( float number, int decimals, string dec_point, string thousands_sep ) > -Original Message- > From: George Pitcher [mailto:[EMA

RE: [PHP-WIN] Command to find platform used

2004-11-23 Thread Wagner, Aaron
print $_ENV["OS"]; > -Original Message- > From: Harpreet [mailto:[EMAIL PROTECTED] > Sent: November 23, 2004 11:08 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Command to find platform used > > > I am running my php application on an Windows XP and a Mac > machine. I want > to find th

RE: [PHP-WIN] Passing an Array in HTML

2004-11-23 Thread Wagner, Aaron
look at serialize http://us2.php.net/manual/en/function.serialize.php and in the user notes below, note that serialize doesn't remove quotes so need to base64_encode() after the serialize. base64_encode(serialize($array)) than reverse on the other end unserialize(base64_dencode($array)) >

RE: [PHP-WIN] Insert keys into an array using variables

2004-11-22 Thread Wagner, Aaron
try this.. $value)); } } ?> $stack = array_merge($stack, array("one"=>"test")); Aaron N Wagner WagnerWebDesign.net > -Original Message- > From: Rafael Soares [mailto:[EMAIL PROTECTED] > Sent: November 22, 2004 10:58 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Inser

FW: [PHP-WIN] Church Database

2004-10-15 Thread Wagner, Aaron
> I'm a novice programmer and was looking into using MySQL and PHP to > implement the system. > Am I on the right track? > Any thoughts or suggestions? That's a good start. If you also put it on an Apache Server it will all be free as they are all Open Source = Free. > Me being a be