468,296 Members | 1,307 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,296 developers. It's quick & easy.

Return same data from executable to php as in command prompt

Hi,

I've been trying to use passthru() exec() and system() to execute
Apache's htdbm.exe (htaccess user database) and to get some info
returned. For example I have tried as a test to htdbm -l .htpasswd, this
to return the users in the databaase. None of the functions return the
users in the database while the same string does do this in command
prompt. I know there is nothing wrong with the string because when I
replace some vars at the end I can add users to the database with php,
now it does return a message that this has been done.
Al I want is that the same thing that is being returned in command
prompt is also returned to PHP.

Thanks in advance, Maarten

Jul 17 '05 #1
0 1316

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jaques | last post: by
6 posts views Thread by Vikram | last post: by
5 posts views Thread by randyelliott | last post: by
28 posts views Thread by Tim Daneliuk | last post: by
11 posts views Thread by amitpathak | last post: by
1 post views Thread by mohaaron | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.