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
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
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.
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
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
> -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\
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
> -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
> -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
> -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
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]
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
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
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
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))
>
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
> 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
17 matches
Mail list logo