Re: [PHP] HTTP Authentication

2001-10-22 Thread Stig-Ørjan Smelror
of the user. Performance: to DB or not to DB, that is the question! Security again: what kind of password algoritm are you going to use. And so on and so forth. I wish you the best of luck. I made such a script just a month ago :) -- Stig-Ørjan Smelror Systemutvikler Linux Communications

Re: [PHP] printing comma-delimited lists

2001-10-04 Thread Stig-Ørjan Smelror
way? I'm thinking of something like DTML's sequence-start and sequence-end, in a foreach construction. djo You could try implode() $lis = implode(,, $arr); -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N-0123 Oslo, Norway tel. +47 22 09

RE: [PHP] Quickie

2001-09-21 Thread Stig-Ørjan Smelror
If nothing is beeing sent to output on the page then use header() else you need to use javascript. Niklas meta http-equiv=Refresh; Content=0; URL=file.php if headers are sent. Use header( Location: file.php ), as noted earlier, if no headers are sent. -- Stig-Ørjan Smelror

Re: [PHP] Am I right or wrong?

2001-09-03 Thread Stig-Ørjan Smelror
;) And you're right... it's wrong of them... imho. -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N-0123 Oslo, Norway tel. +47 22 09 28 80 fax. +47 22 09 28 81 http://www.lincom.no/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] help with strings...

2001-08-31 Thread Stig-Ørjan Smelror
Hei all. I've got this string, $string = test; and I want to make a $t; out of $string. Is this possible? I tried ${substr($string, 0, 1)}, but that didn't work ;) Any help appreciated. TIA. -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N

Re: [PHP] Why lynx don't work with cron?

2001-08-21 Thread Stig-Ørjan Smelror
thing comes to mind. Compile PHP as a CGI and use that to run your scipts ;) -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N-0123 Oslo, Norway tel. +47 22 09 28 80 fax. +47 22 09 28 81 http://www.lincom.no/ -- PHP General Mailing List (http

[PHP] Meaningful URL Validator

2001-08-17 Thread Stig-Ørjan Smelror
message to the user. E.g. if it's a 404, the user will get a message saying the the page was not found. Has anybody done this before and have the kind heart to share it with me? ;) TIA -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N-0123 Oslo

Re: [PHP] .htaccess username

2001-08-16 Thread Stig-Ørjan Smelror
?? (and if ,... how? ;) $PHP_AUTH_USER and $PHP_AUTH_PW. It's also possible to use $REMOTE_USER. I don't know of any $REMOTE_PASS, so the suggestion above it good ;) -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N-0123 Oslo, Norway tel