php exec to C program that writes file
chmod000_at_gmail.com
Date: 01/31/05
- Next message: Lex Luthor: "TEST CMS"
- Previous message: Rodney Pont: "Re: changing old script - register globals - how to convert?"
- Next in thread: Tim Van Wassenhove: "Re: php exec to C program that writes file"
- Reply: Tim Van Wassenhove: "Re: php exec to C program that writes file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Jan 2005 02:58:03 -0800
Hello,
I'm trying to use the exec() call in php to run a program that I've
written and compiled from C. This program attempts to create a new
file and write data into it.
If I simply run the program from the shell, it writes the file no
problem. If i run the program through an exec call in a php script,
however, the program executes but it seems to not have the correct
permissions to be able to write the file.
Can anyone help me? I've been stumped here for awhile.
thanks!
alex
- Next message: Lex Luthor: "TEST CMS"
- Previous message: Rodney Pont: "Re: changing old script - register globals - how to convert?"
- Next in thread: Tim Van Wassenhove: "Re: php exec to C program that writes file"
- Reply: Tim Van Wassenhove: "Re: php exec to C program that writes file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|