on how to change that??? Is there another php.ini file around?
Have you compiled PHP to use the PATH to your php.ini, or is it using another
one?
Check to see if there's another php.ini lying around.
--
Knut
--
Knut H. Hassel Nielsen, [EMAIL PROTECTED]
Divisional Engineer, Office : ITS 207
also time().
---
So you'll probably have to use something else for your rand (or change OS ;) )
Good luck, and a merry Christmas to you.
--
Knut
--
Knut H. Hassel Nielsen, [EMAIL PROTECTED]
Principal Engineer, Office : ITS 204
IDI NTNU, Sem Saelands vei 7-9
N-7491 Trondheim, Norway
Phone
, Apache 1.3.20 and PHP4.6)
This :
?PHP
$floor = 10;
$ceiling = 99;
srand((double)microtime()*100);
$random = rand($floor, $ceiling);
print $random;
?
Gives me a 6-digit integer every time
--
Knut
--
Knut H. Hassel Nielsen, [EMAIL PROTECTED]
Principal Engineer, Office : ITS 204
IDI
--
Knut H. Hassel Nielsen, [EMAIL PROTECTED]
Principal Engineer, Office : ITS 204
IDI NTNU, Sem Saelands vei 7-9
N-7491 Trondheim, Norway
Phone (+47) 73 59 18 46 Fax (+47) 73 59 60 35
If debugging is the process of removing bugs, then programming
must be the process of putting them in. -Dykstra
Unix, as a cron job,
how
can PHP scripts be called from Shell Scripts etc...
You need to compile PHP without web-server support, for
cgi. In that case you
will get a binary file, and you can use just like you use
perl or bash for
making scripts.
--
Knut
--
Knut H. Hassel
digit.
You'll have to split it up into different blocks (use split)
--
Knut
--
Knut H. Hassel Nielsen
Principal Engineer / Avdelingsingenir
Norwegian University of Science and Technology / NTNU
Department of Computer and Information Science / IDI
N-7491 Trondheim, Norway
Phone Office / Telefon
ppreciated!
Chris
Yup!
Just run it with the flag '-q' to QUELL HTML-headers.
Example :
#! /path/to/php -q
?PHP
print "Hello World!\n";
?
Or just run them with 'php -q script_name'
Good luck
--
Knut
--
Knut H. Hassel Nielsen
Principal Engineer / Avdelingsingenir
Norwegian U
and their
English equivlents?
i forgot?
~kurth
--
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]
--
Knut
--
Knut H
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:
Joe Stump - PHP/SQL/HTML Developer
*
| * http://www.care2.com - http://www.miester.org -
http://gtk.php-coder.net *
| * "Better to double your money on mediocrity than lose it all on a
dream." *
|
\***
**
| */
|
|
| --
| PHP General Mailing List (http://www.php.net/)
don't spam in this country. We only kill whales and wolfs ;)
I'll have it figured out in a few minutes...I hope, lol. And I might even
figure out what it says too :)
It's Dutch.
Damn!! Babelfish hasn't got a dutch-option.
--
Knut
--
Knut H. Hassel Nielsen
Principal Engineer / Avdelingsingenir
before you
reconfigure ?
--
Knut
------
Knut H. Hassel Nielsen
Principal Engineer / Avdelingsingenir
Norwegian University of Science and Technology / NTNU
Department of Computer and Information Science / IDI
N-7491 Trondheim, Norway
Phone Office / Telefon jobb : (+47) 73 59 18 46
Fax Office / Te
o the user set
up to run your webserver-processes. 'lpr' is a standard print under unix)
But as Plutarck just said : It's client-side stuff, and all dependant on what
you use and if that client can do it.
I know that Netscape doesn't accept this kind of requests.
--
Knut
------
Knut H. Hass
rray_superRSS = implode (":", $superRSS[]);
So I can then pipe these values directly into another function:
while ($array_superRSS) {
display_superRSS($array_superRSS[]);
}
Obviously I'm missing a step or two here, but would really appreciate someone
filling in some of the gap
the password you're saving in the file. Then you crypt the
passwords coming in to the script with the same salt (se function crypt in the
manual). Then compare the two and see if they differ from each other.
Good luck
--
Knut
--
Knut H. Hassel Nielsen
Principal Engineer / Avdelingsingenir
quot;" ) {
print "No PATH to switch \"-d\"\nExiting\n";
exit;
} else {
$dir = $val;
if ( !is_dir( $dir ) ) {
print "This directory [$dir] doesnt exist\n";
exit;
} else {
$run = 1;
16 matches
Mail list logo