html form - cgi - php-openssl problem
Posted: Mon Feb 28, 2005 9:48 pm
Good day!
i'm working around a form whose action is a .cgi file which i cannot edit
<form action="file.cgi" .. >
from the form i need to get info needed for the certificate like the ones indicated in an openssl.cnf file (that's what certficates need right?)
but i need to add some php-openssl functionalities (create a certificate) that would access a pem file and use it to sign the certificate trying to create. my problem is that permission to access that file is denied.
i tried the chmod ("/dir/file.pem", 0766) but it doesnt sem to work.
also, can HMTL form's onClick call/use a php file? maybe i can just isolate all the php-openssl code the have my form back as a .html file and just call this php-openssl code...
In a sense this one form has to do two different things - use the cgi file and do that php code. I'm really new in all these and I'm kind of mixed up trying stuff from tutorials. T_T i hope someone can help me...
thanks very much!
i'm working around a form whose action is a .cgi file which i cannot edit
<form action="file.cgi" .. >
from the form i need to get info needed for the certificate like the ones indicated in an openssl.cnf file (that's what certficates need right?)
but i need to add some php-openssl functionalities (create a certificate) that would access a pem file and use it to sign the certificate trying to create. my problem is that permission to access that file is denied.
i tried the chmod ("/dir/file.pem", 0766) but it doesnt sem to work.
also, can HMTL form's onClick call/use a php file? maybe i can just isolate all the php-openssl code the have my form back as a .html file and just call this php-openssl code...
In a sense this one form has to do two different things - use the cgi file and do that php code. I'm really new in all these and I'm kind of mixed up trying stuff from tutorials. T_T i hope someone can help me...
thanks very much!