Extra Path Info

I CAN get the PATH_INFO to work. With ANYTHING but ASP. Python, Perl, Cmd files... works fine. ASP can't find a file when extra path information is added. Is there a switch in ASP or something I can change that'll get it to work?

View Replies


ADVERTISEMENT

Windows.print(), Prints Extra Info

I'm using the windows.print() function to print a customers receipts from an ASP. I've created a button to do it, like this .

<td align=left>
<BUTTON TYPE=BUTTON
onClick="window.print()">&nbsp&nbspPRINT&nbsp&nbsp</BUTTON>
</td>

Unfortunately I get some additional lines printed that I don't want. The line says ...http://localhost/pos_system/tran_sales.asp across the bottom of the receipt. Obviously its my ASP name but how can I remove it ?

View Replies View Related

Get The My Document Path Info

Can any one please tell me how to i get the my document path infor of user computer thru ASP code. I try the VB6 code but it dont work their?

Dim DBConn,rs,social,vpath,vfile
Dim WShell As Object
Set WShell = CreateObject("wscript.shell")
vPath = WShell.SpecialFolders("MyDocuments") & ""
Set DBConn = CreateObject("ADODB.Connection")
DBConn.Open "ODBC; Driver=Adaptive Server Anywhere 6.0;
DSN=Debtmaster; uid=dm; pwd=,,PeAches..;"
sSQL = "select name1,ssn1 from dbtr where status_code=450 and
status_date=today(*) "
Set rs = DBConn.Execute(sSQL)
Do While Not rs.EOF
response.write(rs.Fields("ssn1"))
response.write("<br>")
rs.moveNext
loop

View Replies View Related

Odd 'extra' Form Data

This isn't actually causing a problem, but it's odd. I am getting additional data in the data posted by a form on a particular search script I have. I didn't even notice it (since it wasn't causing a problem) but I outputted the form data to screen just out of curiosity I found the following attached to the end of some data: §or=ANY

So for example, one part of the string might be:

&type=Brochure§or=ANY&publication=Evening%20Standard§or=ANY&etc.


It doesn't appear to be affecting anything, but I'm curious as to what that §or=ANY actually is.

View Replies View Related

Writing In File Add Extra Line

I am writing one line and for a reason I ignore it adds a line which is screwing up a few things.

<%
Set fso = CreateObject("Scripting.FileSystemObject")
dim sLine sArchivo="switch.txt"
path = Server.MapPath("../Flash")
sFile = path & "" & sArchivo

if fso.FileExists(sFile) then
fso.DeleteFile(sFile)
end if
Set a = fso.CreateTextFile(sFile, True)
if request("radiobutton") = 1 then
sLine = "&ver=si"
else
sLine = "&ver=no"
end if

a.WriteLine (sLine)
a.Close

sRedirect="admin_NoticiasListado.asp?sRadio=" & request("radiobutton")
Response.Redirect(sRedirect)
%>

How come does the extra line come ? I seems I have done already a fews times and it never ocurred before.

View Replies View Related

Extra Rows In Excel Spreadsheet

I'm exporting tables to Excel, but they seem to format with an extra row between every record. The table is output in HTML on one line, so it doesn't seem to be a white space problem.

View Replies View Related

Physical Path & Virtual Path

I have problem with physical path & virtual path on the server.

<!--#include virtual="country/inc.bottom.asp"-->

In this script it is working.

In all the file i have <!--#include file="../ar-inc.top.asp"--> this script.

I have about 10,000 files in the website.

View Replies View Related

Asp Info

Is asp.net similar to vb.net ? What can you create with it ? ,Is there a program you suggest me to use , or even a compiler ?

View Replies View Related

Looking For Info

I need to know where I can get information about learning how to code in ASP. This getting cide snippets and such doesn't work out real well if you don't know what to configure. Also I would like to have my own work not someone elses.

View Replies View Related

Getting DB Info

In different examples I've seen different ways to do the same thing, and I want to know what is best (fastest, easiest to remember, same command for all types of stuff, etc)

For example, to get data from a database, should I use:

[VBS]set rs = conn.execute sqlstmt[/VBS]
or
[VBS]rs.Open sqlstmt, conn[/VBS]
or something else?

View Replies View Related

ASP Info

what can i use to get my server's ASP information, like with PHP you can use:

PHP Code:

<? phpinfo(); ?>

What can i use in ASP?

View Replies View Related

Aditional Info

I have a form that I use a few option selections from DB table and a insert script at the end.I'd like to have access to aditional info from the same table after choose an option

View Replies View Related

Grabbing Info

I am trying to retrieve data from a dropdown listbox in asp using:

<%Response.Write + Request.Form("cboBox")%>

The problem is that I only retrieve the first value of the option. For
example, if my first option was <option value=this that>, I only can
retrieve "this". It won't get the second word.

View Replies View Related

Info From .asp Web Pages

Recently, I came across a site with information to my area of knowledge. The pages have been designed and consist of the .asp extension in the url.
I'm not able to select the text on the web page, either click right mouse button or anything to copy the information. when I'm trying to print it is not perfect.
So, I would like to know from ASP guru's whether there is any way of saving the information on the web pages, so that the same can be formatted in a word document for printing purpose.

View Replies View Related

Get User Info

My web site is windows authenticated.
When someone connect to my site, I get his SID with a small active X object
which uses OpenProcessToken and GetTokenInformation (token user etc ...

But now, I also need the SID list from AD user object SIDHistory. (when a
user is moved across domain).

View Replies View Related

Selecting Info

I've got a WYSIWYG editor, that runs off a template page (i.e. template.htm) that gets opened in an iFrame for editing.
How can I get it setup so I cange the template at the click of a button? I've tried doing a form with radio buttons, but can't get it to work.
For example, the iframe source has been set to "strTemplate". My form processing was along the lines of:

<%
If request.form "template" = "template1" then
strTemplate = "template1.htm"
Else
strTemplate = "template.htm"

If request.form "template" = "template2" then
strTemplate = "template2.htm"
Else
strTemplate = "template.htm"

End If
End If
%>

View Replies View Related

Display AD Info

Anyone have anything like this? I don't care what data it is... I just want
to see how to query the AD and place the data into a web page.

View Replies View Related

SMS Info (possibly OT)

Basically I want to be able to send users (if they sign up to it) an SMS alert whenever someone leaves them a message on a webpage. Similar to Hotmail where you can get an SMS when you receive an email, or Ebay where you can get alerts if you are outbid.

I'm thinking maybe something very similar to CDO in terms of coding Code:

View Replies View Related

Reloading Info

im running an asp page where by i can upload a xls file- which adds data to a database provided it passed validation. this then sends a success message to the user. what i need is a button where i can call the data which was recently added into the database- but dont know how to go about it or code.

View Replies View Related

DB Field And Name Info

I am using :

<% FOR EACH field IN size_info.FIELDS
Response.write("<option value=''>" & replace(field.name, "asize", "") & "</option>")
NEXT%>

to loop the names of the fields in a DB, but I cannot get it so that is the value of the data in that field is lower than 5 it simply doesn't show, i thought i might be this

<% FOR EACH field IN size_info.FIELDS
if size_info.fields.name.value > 0 then
Response.write("<option value=''>" & replace(field.name, "asize", "") & "</option>")
end if
NEXT%>

but that doesn't work.

View Replies View Related

Info On Portalapp

Is this the right forum for this. Considering using this but not sure, specially considering the price and I would need to add a host. If you have any knowledge please let me know. Also if this the right forum, also let me know and I will give more details. It is an ASP program of course.

View Replies View Related

LOG Download Info

Currently I have one asp page which opens after the proper ID entered by user and it generate <A> tag with application software download link. When the user click on the link (which is pointed to the actual physical file.EXE of Size around 10 - 20 MB) it downloads file. But how do i change the logic so that the activity will get LOG in some text file. Like which user has downloaded which file. (it should log into text file).

I think I need to remove the <A> for direct download instead it shoudl call an asp page whcih should log the event and push the file to user.suggest with sample code if possible.

View Replies View Related

Version Info

How can I get ASP and IIS version info?

View Replies View Related

Make The Pop Up Info Box

When you hover over one of the topic in this forum a box appear with the first few lines of the message in it. How is this created. What events area used to creat something similar and does anyone know of any good website where i can look at a tutorial for it.

I dont even know what they are called so dont know what to search for even on the web as if i write pop up i get something else which i dont think is what i really want to use, or maybe it is.

View Replies View Related

Info Page

I am working on a users system for my site. I have the databases and most of the pages set up. But, I need to create a page called "My Info". This page would display only the information of the person that is logged in.

I am curious as to how I would retrieve only one entry in an access database and display it based on the person logged in.

View Replies View Related

Select Box Info

anyone know how to update the inforation in a select box without refreshing the page or using massive javascript arrays using regular asp(not .net)?

View Replies View Related

Not Getting Info In LOGON_USER

I have an intranet site hosted in IIS 5.0 Win2000, and want to display the name of the user logged into the local machines(WinXP) in the pages they access like 'Welcome JohniBravo'.

So, i used the Request.ServerVariables("LOGON_USER"), but get a blank ("") displayed in the page. And i even tried "REMOTE_USER" but, still the same. from somewhere i got to know that theres something called 'Allow anonymous user' should be enabled to get these info from servers. help me with the same?

View Replies View Related

UserLogin Info

i have the users logging in from a database that part works. what i want to do is pull the users information from the data base to the page....

example

John Doe logs in pulls only john does info
marry logs in pull only marry info .

View Replies View Related

Verifying Info

if there is a way of verifying information that is in the registry of the user's computer? Or is there a way of checking if a file is on the c: of the user's computer??
I want to make a certain verification of who is entering my website.

but the IP address is never the same (since it is randomly given to the user) and I can't use the LOGON_USER variable because the users are not all in the same domain. And cookies are too easily destroyed with the IE options.

View Replies View Related

Info Disappears

I never had this happen. When i display my database into a table it displays fine. But if i change the order of the columns some of them won't display. No error codes at all.

i'm using a SQL DB with char, text and datetime fields. What can be wrong?

View Replies View Related

Passing Info

Currently I have a list of products in a drop down list. not very informative or easy to browse.

browse to check4add.asp at http://www.flowersdirectory.co.uk

I want to be able to open a pop up where the customer can browse the additional products and pass the variable to the parent pages form variables.

View Replies View Related

Get Avg Rate Info

Can anyone tell me how to set my rates for billing? I have a reasonable amount of HTML experience along with Java and JavaScript but I don't know where I can find salary/rate information for ASP design work.

View Replies View Related

Re-post Info

i received info from a post method. i now need to resend these infos to another page
by post. how can i do it without having to create 54 hidden input ?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved