I have tried calling it directly from the browser and the script ran properly so I think there is some problem on the other server that is invoking this script on my computer ?
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'sorry but it didn't work. The line after die function - system ($cmd_add_new) and die "Login procedure failed !\n"; - never gets displayed even when the system function really fails.
Thanks anyway
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
No, I'm not using cookies for authentication. I wonder if you have any good code examples of how to implement an IFrame. (Is an IFrame a tool used to refresh server ? )
Thanks
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...
Well, I checked out my security settings and I didn't find anything strange. There is one thing I wonder... my init.pl file is located in apache/bin directory and that file works fine (gathers some data when a user on the client side types something in textboxes and pushes submit button for...
Hi
Well guys, I am sorry if anyone felt ignored it was not my intention to put it that way. I'm quite new in both using perl and forums.
I really appreciate your efforts to help.
So, back to my problem. I'll try to explain the problem more detailed. Actually it is quite simple:
I work on a...
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.