Hi all,
I am so sorry that I have a lot of questions... This time I got a special
issue... I have set up a VirtualHost for the domain that have problem. Since
I am using Apache/1.3.33 , I have set the User Group inside outside the
VirtualHost ... ... /VirtualHost tags. As you know, the user
Hello everyone,
I have a special question and want to ask here, hope anyone can answer me.
My server is Apache/1.3.33 with PHP/4.3.10
I have AllowOverride All in my httpd.conf and safe_mode = On in php.ini , I
want to turn off safe_mode in one folder by .htaccess , is it possiable? I
don't
Dear all,
I'm trying to do like this but failed:
?php
ini_set('precision',16);
echo pi();
?
How can I get more digits after . ?
Can anyone help? Thx!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear all,
I'm trying to do like this but failed:
?php
ini_set('precision',16);
echo pi();
?
How can I get more digits after . ?
Can anyone help? Thx!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but my server configure don't have bcmath enabled, is there any other way to
do so?
Torgny Bjers [EMAIL PROTECTED] wrote:[EMAIL PROTECTED]
Wong HoWang wrote:
Dear all,
I'm trying to do like this but failed:
?php
ini_set('precision',16);
echo pi();
?
How can I get more digits after
.
Your code does exactly this, displaying pi with 15 decimal places.
Jordan
On Sep 1, 2005, at 8:06 AM, Wong HoWang wrote:
Dear all,
I'm trying to do like this but failed:
?php
ini_set('precision',16);
echo pi();
?
How can I get more digits after . ?
Can anyone help? Thx
the answer is simply yes!
You can have a simple for looping to do so.
?php
// for example, 02/2005
$year = 2005;
$month = 02;
for ($i = 1; $i = 31 ; $i++) {
if (checkdate($month,$i,$year)) {
if (date(w,mktime(0,0,0,$month,$i,$year)) == '0') // it is Sunday
echo $i . '/' . $month . '/' .
Dear all,
Hello, I want to know that is there any way to create a super global in PHP?
Please help!
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear all,
Hello, I want to know that is there any way to create a super global in PHP?
Please help!
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes, I am asking how to start my own super global...
And even a PHP beginner know that $GLOBALS is a array containing all the
global variables and it is used in a function or a class. So I think no one
will ask a question here which the answer is simply $GLOBALS.
Any finally, thanks Jasper for
Dear all,
When I try to encode non-english char. such as big5 to UTF-8 with
utf8_encode(), it always generate a wrong result, which is not readable.
What can I do?
Please help!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, Everybody!
I got this when I execute the script:
Fatal error: Call to undefined function: curl_init() in msnp9.class.php on
line 259
is there anyway to solve it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as title, how to start a global variable within a function?
as title, how to do that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as title, how to do that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but, I mean I haven't start the global variable BEFORE the function is
called...
Jasper Bryant-Greene [EMAIL PROTECTED]
wrote:[EMAIL PROTECTED]
?php
$someGlobalVariable = 'foo';
function myFunction() {
global $someGlobalVariable;
// do stuff with $someGlobalVariable
}
?
Jasper
Wong
but, I mean I haven't start the global variable BEFORE the function is
called...
Jasper Bryant-Greene [EMAIL PROTECTED]
wrote:[EMAIL PROTECTED]
?php
$someGlobalVariable = 'foo';
function myFunction() {
global $someGlobalVariable;
// do stuff with $someGlobalVariable
}
?
Jasper
Wong
]
?php
$someGlobalVariable = 'foo';
function myFunction() {
global $someGlobalVariable;
// do stuff with $someGlobalVariable
}
?
Jasper
Wong HoWang wrote:
as title, how to start a global variable within a function?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
18 matches
Mail list logo