[PHP] adding unix account via system command

2002-09-17 Thread tim tom
php4.2.3 apache mod linux rh7.2 --- I am trying to add unix system account user via a simple php and shell script when i ran add.php on my browser, i get 254 user creation fail I created my add.sh file in /usr/bin and I have setuid it: -rwsr-xr-x1 root devel 21

RE: [PHP] adding unix account via system command

2002-09-17 Thread tim tom
Dear Pete, Yes, apache runs as nobody. But I have setuid add.sh. Wouldn't that be sufficient ? -- tim --- Peter Houchin <[EMAIL PROTECTED]> wrote: > you need to make sure that the web has permission to use that file .. my > guess is it don't have permission hence why you can run add.sh from the

Re: [PHP] adding unix account via system command

2002-09-19 Thread tim tom
Dear Marek, Where do find that? I am no C programmer. -- tim --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > It's a shell script, and your shell drops root privileges. Use a shell > that doesn't or use a C-wraper. > > tim tom wrote: > > >Dear Pete, >

[PHP] simple array in mysql

2002-10-12 Thread tim tom
What's the 'normal' way of storing array values in mysql table? -- tim __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP] html form array

2002-10-13 Thread tim tom
dear all, i ran my code below on ie and it works. but when i use netscape 4.76 under linux, i only get the message "submitted" even though i've checked some fields. what do i need to add to make it work with netscape under linux? code follows: "; for($i=0;$i"; } } else { ?> method=post

[PHP] cannot see LDAP userPassword and createTimestamp attr

2002-02-26 Thread tim tom
... Data for 1 items returned: dn is: uid=tim,ou=subdept,o=dept,dc=myorg,dc=com first cn entry is: Tim Tom first email entry is: [EMAIL PROTECTED] first createTimestamp entry is: first userPassword entry is: Closing connection why can't i see the createTimestamp and userPassword bcos i d