Copy and past this into a new file called mail.php
This seems to work on our system
Cheers
Jim M
<?
// mail.php test of mail with select
if (!$submit) {
?>
<form action="mail.php" method="post">
<div align="center"><table...
We use PHP to transfer data to our SQL database. Then call the report with something like :
<a href="Label.rpt?prompt0=$Vendor_Id&prompt1=$Company">[Print Now]</a>
Each Report Parameter can be called with prompt0 through whatever.
I'm sure a dll or cgi could do the same thing...
a solution (not very clean) is to put a exe file as a NT service (with the user admin rights) that launches a dynamically created batch file containing the net user command (and the other dynamic parameters)
A net start has just to be launched from the ASP.
I know it's a little bit tricky, but...
I need to execute a :
net user __myuser mysecretpass /add /DOMAIN
from an asp page
I tried with a dll I found on the web: executing exe and batch file seemed to work fine. IE: net view is running!
Executing a whoami in the scipt gives: NT AUTHORITY\SYSTEM
net view is running and net user...
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.