Running A Perl Script From An ASP Page To Include QUERY_STRING
I am running IIS 6.0 on Windows 2003.
I would like to be able to run a perl script from a web page and
include the output.
I have tried doing it with an ssi:
<form action='docsearch.shtml' method='get'>
<!--#exec cgi="/cgi-bin/docsearch.pl-->
</form>
This correctly ran the script, but it was unable to include the
QUERY_STRING from the parent URL into the included perl script, and
there seems no work around to enable me to do that on IIS 6.0,
therefore on this thread:
http://groups.google.com/group/micr...6ae0d85395a3d72
I was recommended: "to a simple ASP page which will easily do exactly
what you want because it actually has the functionality you want, by
intention, and is supported." Code:
View Replies
ADVERTISEMENT
I have an asp application where there are two pages. The first page pulls some data from a database and displays it in a tabular format with hyperlinks. When the user clicks on a particluar link, he/she is taken to page 2, where the specifics of that item come up with various text fields and drop down boxes, etc Code:
View Replies
View Related
I've a strange problem with Windows Vista, running an ASP page on local
machine (http://localhost/test.asp), the page does not give me any error but
the asp code is not executed (simple code : <% response.write("hello") %),
it show me a blank page, I think I've put all the setttings correctly, but
maybe I must do something obvious to fix that.
View Replies
View Related
What is required to run asp.net page with extension .aspx file,on win 2000 server with IIS ,it is not working,what upgrade is required ,I am using IE6 also.
View Replies
View Related
I have been connected with proxy software which is not allonwing me to run my asp page in my local host giving the error :
Does not support loopback URL
URL Address here
what shall I do to run and see the result.
View Replies
View Related
I am design an web application that requires information mation to be created from tables once a day, once this information has been created it is stored temporarily in another table until the folowing day. The problem is that to creat this information a seperate .asp page has to run.
I would like this page to run early in the morning when no one is in the building and accessing the servers. I have tried using windows scheduler... this works but still needs a user to press ok on the internet security password screen we have set up. Is there any other way to get the page to run without using the browser, or to change the page into a dfferent format??
View Replies
View Related
I have an asp page that will be updating the data from one database into my sql server database every 3 hours. I'd like to write code that will tell the page to automatically run every three hours. How do I do this?
View Replies
View Related
if it's possible to run an .exe or other command line utility form an .asp page? What I am trying to do is have a report request page where the user would supply a few details, and then submit. At this point I am hoping to pass the data to an .exe. This .exe will write its output to a text file which will be read and displayed on the page. Is this
easily accomplished?
View Replies
View Related
if it was possible to put a function in the global.asa that would call/run a page every x minutes. I have an ASP page that writes a text file and I want that file to be updated/rewritten in the background every 30 minutes so that pages that call the file are current. I have requirements as to why it can't just be a dynamic page and needs to be a text/htm file.
View Replies
View Related
I need to run a script in a ASP-page. Everthing runs exect the script.
Set objWShell = CreateObject("WScript.Shell")
Set objCmd = objWShell.Exec("cscript /nologo c:ssssasysdag.js
/addclass " & Request.Form("klas"))
I get an error on the Exec-line. On the server it shows ASP-script access-denied. After closing the MS-script editor i get
WshShell.Exec error '80070005' in the browser.
Someone know a solution? Or anouther way to run that script?
View Replies
View Related
I have created some SQL files which i can run on the Oracle console. Code:
View Replies
View Related
I have this situation where I have one shared folder on particular server
and this folder is shared for just one user to access it. I wrote an asp page
wich should open a file from that shared folder. However because the folder
is shared for just one user I have somehow to run the asp page as this user.
The same way like in ASP.NET application where I can use impersonation in
web.config file. Is this possible?
View Replies
View Related
Can you run an client application (i.e. Excel) from an ASP web page? I want
to open an Excel document that is stored on the network in the Excel App (not
in browser window) allow the user to make changes to the file and then save
the file back to the network. If this is possible how do I do it?
View Replies
View Related
This is the error which i got when i tried to display message in my text box which is a aspx page.
Error which i got:Server Error in '/' Application.
--------------------------------------------------------------------------------
Runtime Error :
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
View Replies
View Related
I am using windows 2000 server IIS 5.0
i was trying to run bat file from asp page and getting: Access Denied
but when i run the bat file from the command prompt on the local server, it's running good the bat file copying files from target computer in the LAN to the local
computer, o.k
i give write and execute permission on the IIS for this site on the local folder(where the bat file) i assign full NTFS access for "test" user on the target computer i shared the folder with Everyone Full control and assign Full NTFS access for the "test" user
but still cannot run the .bat file
where it can be the problem, how i need to set the site on the IIS to run the bat file?
any how to run bat file from ASP page document?
View Replies
View Related
I work for a security system company. I'm in the installation department. One of the things we do is go to our monitoring service's website and check the signals to see if we got all of the signals for a particular alarm system.
Unfortunately, that means refreshing the page alot.
So, I started off using an iframe page to refresh the content i wanted. the only problem was that the urls i used to login and set the customer ID would go to another page.
So I tried to create a frameset document. However, the .asp pages completely ignored the frameset information. Code:
View Replies
View Related
can you please tell which is better. if neither is whats best in what ?
View Replies
View Related
I have a web site written in (VBscript) ASP with a SQL database. I would like to use a sub procedure in a Perl module (written by someone else) from within a VBscript ASP page. The sub takes several parameters and returns a result string. Is there a way to do this within a VBscript ASP page?
My alternative would be having to re-code my ASP page into a Perl page. While possible, I'd like to not have to learn Perl just for this one page. (Re-coding the Perl module into VBscript is not an option.).
View Replies
View Related
if any of you have any knowledge of the Perl Lingua::Identify module and submodules? Links to samples, code, reference?
View Replies
View Related
we have a perl script at work which we run manually from time to time to move files from our staging environment to our live environment. As part of an application I'm working on i'd like to incorporate a buttom on a web form which would kick off this perl script when neccessary. Is there any way to do this?
View Replies
View Related
Does anyone know if its possible to include perl files in my CGI-BIN folder within an asp page?
I've written a forum program in perl (which is all run through the same file /cgi-bin/forum.pl) and I would like to include it within an ASP page.
Is it possible? If so how? Just using the Include Virtual string? By the way I'm on UNIX with ChilliASP installed.
View Replies
View Related
in perl if we need to get all the html links we use htmp Tokparser do we hv any thing in asp for same purpose.
View Replies
View Related
I have a website that uses perl and switched to a different hosting company. After weeks of pulling teeth to get moved from a unix webserver to a microsoft one, I tell them that the extensive perl portion of my site isnt functioning. They said I need to use ASP instead.
I dont know anything about it and think it is unfair for me to have to completely redevelop my site becasue they dont want to put perl and microsoft on the same server. My last hosting company did it so I know it is possible. Meanwhile everytime somone clicks on this perl application nothing but script comes up (very unprofessional). Is it somthing really easy to implement or should I just forget about it?
View Replies
View Related
I have 2 issues that i could not find a solution,
1) is it possible to convert a "cgi" code into asp page.
2) are there any tools to do this conversion,
is it possible to embed the cgi code inside , for example html, or jsp or asp.
View Replies
View Related
I have an HTML header with a form in it that begins like this:
<form name="main" action="form_action.asp" method="GET" target="bot">
I also have a perl CGI script and I just need one part of that script to be altered by the action of the form. So the user would select from a drop-down menu and, depending on their choice, the perl script would be changed accordingly and then executed.
View Replies
View Related
PHP script is in script.php
Now, there's a page.asp
How can it be possible to include the script.php into page.asp (and make it work) without changing any extensions of files? SSI is supported, but i don't know how to use it.
View Replies
View Related
im trying to make a string and in that string have an include in to include a .asp page is this possible. Code:
myhtml = ""
myhtml = myhtml & "This Should Work "
myhtml = myhtml & " <!--#include file ="TESTR.asp"--> "
View Replies
View Related
I have different database connections that I use for DEV and PROD versions of our web app. I want to put the database connection string in one location so I only have to change it once when we push live.
So I put it in an include file and reference it in all my asp pages as:
<!--#include file="includes/db_conn.inc"-->
But this will not work with the global.asa page. How can I reference an include page from global.asa?
View Replies
View Related
I have designed asp pages where all pages have common header and footer. I have added Images to the footer page called as footer.asp.
now i have the footer.asp in another folder
and i call that footer.asp within my index.asp page as a include page.
but the images in the footer.asp are not displaying in the index.asp.
what could be the problem?
View Replies
View Related
i have many *.html* pages with the same header. i wanted to make one *header* file and put a link to that file in all html pages. So if i ever need to make changes in the header, i will need to edit only 1 file rather than all pages.
for *.asp* pages this code works fine:-
<!-- #include file="filename.inc" -->
but the same **include** does not work for *.html* pages. i guess there is some other way to put a link!
View Replies
View Related
I'm make a site that will contain an include statement that updates and gets data from the DB, but the text after the include doesn't display. When I don't have the include statement, the page displays perfectly.
Here's my statement:
<!-- #include file ="getData.asp" -->
Please let me know why it's not letting me display anything after my include statement, and what I can do to fix that.
View Replies
View Related
I have a asp project. One of the module, i wish to develop in .net, can i include it into my asp project?
View Replies
View Related
On the rest of the site, virtual includes work, but on one particular page, non-virtual includes work, but virtual ones do not... even though the include statements are copy and pasted from working pages, or are part of non-virtual includes that are included.*
I assume there is something in the page's code that is prohibiting virtual includes? Code:
View Replies
View Related