php-windows Digest 21 Feb 2004 05:55:57 -0000 Issue 2132
Topics (messages 22918 through 22924):
tester
22918 by: danny cobbinah
test
22919 by: danny cobbinah
php on windows xp
22920 by: danny cobbinah
22922 by: Meteorlet Woody
22923 by: Meteorlet Woody
Re: how to check the form filled all
22921 by: Leonardo Luarte
date conversion
22924 by: Sudeep Sarath
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
tester
--- End Message ---
--- Begin Message ---
test
--- End Message ---
--- Begin Message ---
i have installed apache 2 and mysql 3 on my pc (running xp home) i have
installed php 4.3.4 but have hit a snag. the php doesnt seem to gel with
apache at all. any help please? how do i configure apache and php to mix?
--- End Message ---
--- Begin Message ---
danny cobbinah,Hello!
the precedure:
1) rename php.ini-dist to php.ini and copy it to system path,such as
C:/Windows/ or C:/winnt/
2) copy php4ts.dll to "system32" directory under system path
3) modify the configuration of httpd.conf. Add:
LoadModule php4_module "F:/homepage/php/sapi/php4apache2.dll" # here
is not installed php path.
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
4) restart apache server and your PHP will work.
======= 2004-02-21 04:55:17 =======
>i have installed apache 2 and mysql 3 on my pc (running xp home) i have
>installed php 4.3.4 but have hit a snag. the php doesnt seem to gel with
>apache at all. any help please? how do i configure apache and php to mix?
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
= = = = = = = = = = = = = = = = = = = =
Meteorlet Woody
[EMAIL PROTECTED]
2004-02-21
--- End Message ---
--- Begin Message ---
======= 2004-02-21 12:49:24 =======
>danny cobbinah,Hello!
>
> the precedure:
> 1) rename php.ini-dist to php.ini and copy it to system path,such as
> C:/Windows/ or C:/winnt/
> 2) copy php4ts.dll to "system32" directory under system path
> 3) modify the configuration of httpd.conf. Add:
LoadModule php4_module "F:/homepage/php/sapi/php4apache2.dll" # here
is not installed php path.
Sorry,here is your installed php path.
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> 4) restart apache server and your PHP will work.
>
>======= 2004-02-21 04:55:17 =======
>
>>i have installed apache 2 and mysql 3 on my pc (running xp home) i have
>>installed php 4.3.4 but have hit a snag. the php doesnt seem to gel with
>>apache at all. any help please? how do i configure apache and php to mix?
>>
>>--
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>= = = = = = = = = = = = = = = = = = = =
>
> Meteorlet Woody
>[EMAIL PROTECTED]
> 2004-02-21
= = = = = = = = = = = = = = = = = = = =
Meteorlet Woody
[EMAIL PROTECTED]
2004-02-21
--- End Message ---
--- Begin Message ---
Arijit Chaudhuri wrote:
$value="" should be $value==""?
Regards,
Arijit
"Sungpill Han" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
HI, i want to check if the user filled the all inputs in the form. So, I
checked NULL and "" with this function in the post receiving script.
-------------------------------
function is_filled_out()
{
// test that each variabl has a value
foreach($_POST as $key => $value)
{
if(is_null($value) || $value="")
return false;
}
return true;
}
---------------------
but when I submit the form without putting any value, it returns 'true'.
what's wrong with my code?
Yes, It's $value==""
hmm, about the second part, no sure about it, maybe just with making the
variable equal to an empty string stops being null, (as in C, if you
create the variable you're already using memory, but as far as I know,
this prog isn't exactly working with pointers...)
Leo.
--- End Message ---
--- Begin Message ---
Hai everyone,
A small problem..Help me out of this.
I have to convert the server date to my local date i.e Indian standard time(IST)(or to
my system time).
My program is :
<?php
$display=date("F")." ".date("d").", ".date("Y");
echo $display;
?>
which displays the server date which is in the time Zone PST.
So please tell how to convert this date to my local date(IST).
Note: IST is +0530 GMT
SuDeEp
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and
more.
--- End Message ---