Re: [PHP] Help with include path

2003-02-03 Thread Knut H. Hassel Nielsen
tter how I change this line in php.ini, the include_path appears > to be set ONLY to c:\php4\pear > > Any ideas 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

Re: [PHP] Book.

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

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

2001-12-19 Thread Knut H. Hassel Nielsen
start and do this thing. Any > ideas for how my site should be layed out (directory-wise etc - is it easier > to have 1 directory per section and hold everything in it - images included, > or is it best to have a separate img/ directory??). > > many thanks all - Seasons greets!! >

Re: [PHP] Re: Random

2001-12-19 Thread Knut H. Hassel Nielsen
E250 with Solaris 8, Apache 1.3.20 and PHP4.6) This : Gives me a 6-digit integer every time -- Knut -- 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 &q

Re: [PHP] Random

2001-12-19 Thread Knut H. Hassel Nielsen
tion is only available on operating systems that support the gettimeofday() system call. See 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 PROTECT

Re: [PHP] IP address enconding

2001-04-19 Thread Knut H. Hassel Nielsen
any other string into an integer. The '.' isn't a legal digit. You'll have to split it up into different blocks (use split) -- Knut -- Knut H. Hassel Nielsen Principal Engineer / Avdelingsingeniør Norwegian University of Science and Technology / NTNU Department of Comput

Re: [PHP] Running php as a CGI

2001-04-17 Thread Knut H. Hassel Nielsen
t; have this info). Otherwise, any insight would > be greatly appreciated! > > Chris > Yup! Just run it with the flag '-q' to QUELL HTML-headers. Example : #! /path/to/php -q Or just run them with 'php -q script_name' Good luck -- Knut -- Knut H. Hassel

Re: [PHP] L? Roman function

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

Re: [PHP] getting commandline ?

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

Re: [PHP] Asking for input from shell?

2001-04-09 Thread Knut H. Hassel Nielsen
The World of Nothing) > > > <--> > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional c

Re: [PHP] Direct output to printer

2001-04-05 Thread Knut H. Hassel Nielsen
might just have a solution ( AND a problem ;) ) ('nobody' is here pointing to 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

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

2001-04-05 Thread Knut H. Hassel Nielsen
to do a 'make clean' or 'make distclean' before you reconfigure ? -- Knut -- Knut H. Hassel Nielsen Principal Engineer / Avdelingsingeniør Norwegian University of Science and Technology / NTNU Department of Computer and Information Science / IDI N-7491 Trondheim,

Re: [PHP] huidziekte

2001-04-05 Thread Knut H. Hassel Nielsen
sult to us Norwegians. We 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. -- Kn

Re: [PHP] Building an array from a URL

2001-04-04 Thread Knut H. Hassel Nielsen
display_superRSS($array_superRSS[]); > } > > Obviously I'm missing a step or two here, but would really appreciate someone > filling in some of the gaps. > > Thanks! > > Mike > -- Knut -- Knut H. Hassel Nielsen Principal Engineer / Avdelingsingeniør Norwegian Univer

Re: [PHP] Mime type

2001-04-04 Thread Knut H. Hassel Nielsen
r( "Content-type: application/vnd.ms-excel" ); > > > ?> > > 123 123 123 > 10 10 10 > Isn't there a MIME.TYPES kind of file underneath your conf-region in your apache distribution ?? That should do it -- Knut -- Knut H. Hassel N

Re: [PHP] Monthly Drawing Winner!

2001-04-04 Thread Knut H. Hassel Nielsen
D] are > among the lucky 2500 people randomly selected to receive a FREE US$10.00 Trial > Account at TheCasino.com - the Internet's Premier Online Casino! > .... -- Knut -- Knut H. Hassel Nielsen Principal Engineer / Avdelingsingeniør Norwegian University of Science and

Re: [PHP] login without database

2001-04-02 Thread Knut H. Hassel Nielsen
PHP. > > Jon Be sure to crypt 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

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

2001-03-30 Thread Knut H. Hassel Nielsen
e to write a 'in_array()'-kind of function myself ?? #! /local/bin/php -q -- Knut -- Knut H. Hassel Nielsen Principal Engineer / Avdelingsingeniør Norwegian University of Science and Technology / NTNU Department of Computer and Information Science / IDI N-7491 Trondheim, Norway Phon