<<I'm having a couple of problems while porting some software from Lynx OS
to Linux. Here they are:
1. The encryption method seems to be different. Does anyone know the salt to
use in the crypt() function in Linux?
2. Also, I seem to not be able to popen() in Linux. I get a file pointer
which is blank. Does anybody know why???
To add a little info to my post, I've found out something about my problem.
I'm getting the error message "popen("chmod 700 session", "r+") - Invalid
argument in file.php3 on line ###". The line that gives this command is:
if($fp = popen($command, "r+")) {
The $command is "chmod 700 session". This problem shows up in Linux 2.2.12,
but this command works fine in LynxOS 3.0.1.
I found some information that says that popen doesn't work with some
versions of Linux because the kernel is broken on those versions. Is there a
way around this that is used by both (and all other Unix) OSs? Am I stuck?
Thanks in advance again,
Liam
--
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]