I have a perlscript that should handle some login procedures on a server. When I run this script locally on my own computer it works well. When the same script gets invoked from HTML-code (from another server) like the following...
<FORM METHOD="POST" ACTION...
I have a perlscript that should handle some login procedures on a server. When I run this script locally on my own computer it works well. When the same script gets invoked from HTML-code (from another server) like the following...
<FORM METHOD="POST" ACTION...
Hi
I have the following script...
$cmd_add_new = 'C:/Apache2/bin/htpasswd -b logg ' . "$userid " . "$passwd";
system($cmd_add_new) or die "Update procedure failed !\n";
print "Password update successful !\n";
The last code line never executes when I run the script. This means that the...
Hi
I have an web login application on a server_A and would like to pass the userID and password to server_B(each time someone logs in on server_A). So basically, every user can have access to both, server_A and server_B using the same userID and password. In my web aplication on the server_A I...
Hi
There is exe file called htpasswd.exe used by apache server and this file is located under \bin\ directory.
Using the following code I can open and communicate to htpasswd.exe from command prompt easily.
$cmd_add_new = "C:/Perl/eg/htpasswd -b logg " . "$user " . "$passwd"...
I use the following Perl script to run an exe file:
$cmd_add_new = "C:/Perl/eg/htpasswd -b logg " . "$userid " . "$password";
system($cmd_add_new);
#it works if I run it from MS-DOS command prompt but when I try to run the same script as a part of a larger script on apache server it just...
Hi
There is en file htpasswd.exe used by apache server located in Bin directory. This file is used in order to handle different login functions on the server. I have tried to communicate with this exe file using my perl script that looks like this:
#!C:\Perl\bin\perl.exe
# funktion.pl
use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.