Re: [PHP] Help with include path

2003-02-03 Thread Knut H. Hassel Nielsen
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

Re: [PHP] Random

2001-12-19 Thread Knut H. Hassel Nielsen
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

Re: [PHP] Re: Random

2001-12-19 Thread Knut H. Hassel Nielsen
, 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

Re: [PHP] How should I do this site...?

2001-12-19 Thread Knut H. Hassel Nielsen
-- 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

Re: [PHP] Book.

2001-12-19 Thread Knut H. Hassel Nielsen
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

Re: [PHP] IP address enconding

2001-04-19 Thread Knut H. Hassel Nielsen
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

Re: [PHP] Running php as a CGI

2001-04-17 Thread Knut H. Hassel Nielsen
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

Re: [PHP] L? Roman function

2001-04-10 Thread Knut H. Hassel Nielsen
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

Re: [PHP] Asking for input from shell?

2001-04-09 Thread Knut H. Hassel Nielsen
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:

Re: [PHP] getting commandline ?

2001-04-09 Thread Knut H. Hassel Nielsen
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/)

Re: [PHP] huidziekte

2001-04-05 Thread Knut H. Hassel Nielsen
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

Re: [PHP] Apache latest + PHP latest + GD latest + Freetype latest+ Jpeg latest

2001-04-05 Thread Knut H. Hassel Nielsen
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

Re: [PHP] Direct output to printer

2001-04-05 Thread Knut H. Hassel Nielsen
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

Re: [PHP] Building an array from a URL

2001-04-04 Thread Knut H. Hassel Nielsen
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

Re: [PHP] login without database

2001-04-02 Thread Knut H. Hassel Nielsen
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

[PHP] Arrays : Key in Array, True/False

2001-03-30 Thread Knut H. Hassel Nielsen
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;