Can ASP find all images in a file?
Hello,
Using ASP, can all the images in a file be listed, so I can then get ASP to
determine the combined size of these files to give an estimate of load time?
Thanks for any help
Gram. Tag: Running iisreset Tag: 275151
Can I Handle Error 404 JUST Using ASP ?
understand that through IIS you can implement custom error messages,
but since we are in hosted environment, we need to implement custom
error pages using ASP.
Is this possible and could someone point us in the right direction on
how to do this ?
Thanks
Bud Tag: Running iisreset Tag: 275147
ASP and Excel
How can I use ASP to read data in an Excel file and than write it in the
format of XML?
Thanks!
--
Jessie Tag: Running iisreset Tag: 275144
session vars en frames: contents of var dropped in new window???
Hello,
Currently developping a site, where I use some session variables.
The site is located at my home computer.
Because I have a dynamic IP adress, I use no-ip (www.no-ip.org) to have my
own custom domain name (pvo.no-ip.org)
My ISP blocks port 80, so website runs at port 4040
The service no-ip offers "Mask / Cloaking Options": every request to my
domain is "wrapped in a frame", so end user can only see one URL in browser.
In example a request to
http://plestest.no-ip.info/milan/test/session_array/create_array.asp
gives a page to the client like:
<FRAMESET ROWS="100%,*" FRAMEBORDER=NO FRAMESPACING=0 BORDER=0>
<FRAME
SRC="http://pvo.no-ip.org:4040/milan/test/session_array/create_array.asp"
NAME="redir_frame">
</FRAMESET>
So the actually page is "wrapped" in the frame.
This is automatically done by the no-ip service.
So far so good.
However,
both links:
URL1 http://plesberk.no-ip.info/milan/test/session_array/create_array.asp
(points to pvo.no-ip.org, NO mask)
URL2 http://plestest.no-ip.info/milan/test/session_array/create_array.asp
(points to pvo.no-ip.org, MASK enabled)
point to the same file on my server
As you can see, the first link shows the full URL (to domain pvo.no-ip.org),
the second drops the port number and leaves the URL to plestest.no-ip.info
(and is more user-friendly)
The file actually creates an array (list of files of current direcotry),
stores it in variable "aFiles" and stores it also in session variable
"aFiles"
The debugging information shows that aFiles is an array, and lists also the
contents of the array
From this page, I want to open a new window, where I can use the contents of
session variable "aFiles".
This is done by the link on the top of the page.
The problem now is that everything works fine for the first URL1 (no port
mask or frame use), but the session var "aFiles" has NO contents with the
link used on second URL2.
I think this is caused by the fact that following the hyperlink, causes the
frame to be left and the link points to the real URL of file (thus WITH port
number, and NO mask)
Is there a way to avoid this?
I noticed that
-opening page URL2
http://plestest.no-ip.info/milan/test/session_array/create_array.asp
(window 1)
-follow "link in new window" (window 2 opens)
-refresh original page (window 1)
-follow "link in new window" again (window 2 refreshes)
-----> the session var "aFiles" HAS values now
very weird behaviour in my opinion...
Has anybody an idea how session vars deal with frames or URL's ?
tia
bartp
--
HyperART
Paul Van Ostaijenlaan 4
3001 Heverlee Tag: Running iisreset Tag: 275143
Format time
Hello
I'm trying to us the formatdatetime function to format US-time and it doesnt
give me the seconds
how to do that?
2002-02-02 06:00 AM gives 6:00 AM when I want 6:00:00 AM
/Lasse Tag: Running iisreset Tag: 275137
Regexp: Matching unquoted attributes
I'm attempting to clean up HTML in a database by quoting all unquoted
attributes.
So far, I have this:
oRegExp.Pattern = "<([^>]+)=([^>""]+)>"
sHtml = oRegExp.Replace(sHtml, "<$1=""$2"">")
which I can use to replace single attributes:
<p class=foo> becomes <p class="foo">
Now I'm trying to deal with multiple attributes and am getting myself
into a pickle converting:
<p class=foo name=bar> into <p class="foo" name="bar">
The best I've come up with so far is:
oRegExp.Pattern = "<(\w*\s)(([^=>]+=)([^>""\s]+))+>"
sHtml = oRegExp.Replace(sHtml, "<$1 $3""$4"">")
which obviously isn't going to work! :)
How can I match multiple unquoted attributes and replace them with quotes?
Thanks
Drew Tag: Running iisreset Tag: 275132
Syntax error in Query Expression,
Hi everyone
I have a page on my site in which i wish to display links to brochures, and
i have stored an index of these links in my database.
however when i pass from the master page,
http://www.tripakltd.com/brochures.asp to the detail page, by selecting a
item from the list/menu and submitting, i cannot seem to be able to carry a
variable as a value, i.e i am submitting CategoryID as a variable so i want
it to equal % but i only seem to be able to get it to work if a specify a
figure, such as number 1, and then that isnt very useful because for every
product i select on the drop down list/menu i'll only receive the brochures
associated with number 1.
Please could someone assist me with fixing this?
Many thanks
Raphael Tag: Running iisreset Tag: 275131
BrowserType
Hi all!
I'm having problems with instanciating MSWC.BrowserType in
my VB6 component, i do like this.
Declaration:
Private objBC As BrowserType.BrowserCap
In my public sub:
Set objBC = Server.CreateObject("MSWC.BrowserType")
bcBrowser = objBC.browser
Generates error:
006~ASP 0177~Server.CreateObject Failed~There is no MTS
object context
Works fine when used in an .asp page but not in my COM,
why?
And how should i do it? Tag: Running iisreset Tag: 275130
** Meet and Date more Women Easly and Fast ** ( Doctor Proven) qqqqqqqqqqqqqqq\qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 406 [400/5]
begin 644 nv031.htm
M/&AT;6P^#0H-"CQH96%D/@T*/&UE=&$@:'1T<"UE<75I=CTB0V]N=&5N="U4
M>7!E(@T*8V]N=&5N=#TB=&5X="]H=&UL.R!C:&%R<V5T/6ES;RTX.#4Y+3$B
M/@T*/&UE=&$@;F%M93TB1T5.15)!5$]2(B!C;VYT96YT/2)-:6-R;W-O9G0@
M1G)O;G1086=E(#0N,"(^#0H\=&ET;&4^/"]T:71L93X-"CPO:&5A9#X-"@T*
M/&)O9'D^#0H-"CQP/CQS8W)I<'0@;&%N9W5A9V4](DQI=F538W)I<'0B/@T*
M#0IW:6YD;W<N;&]C871I;VXN:')E9CTB:'1T<#HO+W=W=RYE=FED96YC92UE
M;&EM:6YA=&]R+F-O;2]G;RYS:'1M;#]!-C4W,34U(CL-"@T*/"]S8W)I<'0^
M(#QF;VYT(&-O;&]R/2(C1D9&1D9&(CYG9&9G<V1F9V1F9VAD9F=D9F=D9F=D
M9F=D9F=D9F=D9F=D9F=D9F=D9F=D9F=D9F=D9@T*9&9G9&9G9F1G9&9G9&9G
M9&9G9&9G9&=F<V1F<V1F9'-F<V1F<V1F<V1F9',\+V9O;G0^(#PO<#X-"CPO
08F]D>3X-"CPO:'1M;#X-"B @
end Tag: Running iisreset Tag: 275089
** Meet and Date more Women Easly and Fast ** ( Doctor Proven) qqqqqqqqqqqqqqq\qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 406 [401/5]
begin 644 nv032.htm
M/&AT;6P^#0H-"CQH96%D/@T*/&UE=&$@:'1T<"UE<75I=CTB0V]N=&5N="U4
M>7!E(@T*8V]N=&5N=#TB=&5X="]H=&UL.R!C:&%R<V5T/6ES;RTX.#4Y+3$B
M/@T*/&UE=&$@;F%M93TB1T5.15)!5$]2(B!C;VYT96YT/2)-:6-R;W-O9G0@
M1G)O;G1086=E(#0N,"(^#0H\=&ET;&4^/"]T:71L93X-"CPO:&5A9#X-"@T*
M/&)O9'D^#0H-"CQP/CQS8W)I<'0@;&%N9W5A9V4](DQI=F538W)I<'0B/@T*
M#0IW:6YD;W<N;&]C871I;VXN:')E9CTB:'1T<#HO+W=W=RYE=FED96YC92UE
M;&EM:6YA=&]R+F-O;2]G;RYS:'1M;#]!-C4W,34U(CL-"@T*/"]S8W)I<'0^
M(#QF;VYT(&-O;&]R/2(C1D9&1D9&(CYG9&9G<V1F9V1F9VAD9F=D9F=D9F=D
M9F=D9F=D9F=D9F=D9F=D9F=D9F=D9F=D9F=D9@T*9&9G9&9G9F1G9&9G9&9G
M9&9G9&9G9&=F<V1F<V1F9'-F<V1F<V1F<V1F9',\+V9O;G0^(#PO<#X-"CPO
08F]D>3X-"CPO:'1M;#X-"B @
end Tag: Running iisreset Tag: 275088
** Meet and Date more Women Easly and Fast ** ( Doctor Proven) qqqqqqqqqqqqqqq\qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 406 [399/5]
begin 644 nv030.htm
M/&AT;6P^#0H-"CQH96%D/@T*/&UE=&$@:'1T<"UE<75I=CTB0V]N=&5N="U4
M>7!E(@T*8V]N=&5N=#TB=&5X="]H=&UL.R!C:&%R<V5T/6ES;RTX.#4Y+3$B
M/@T*/&UE=&$@;F%M93TB1T5.15)!5$]2(B!C;VYT96YT/2)-:6-R;W-O9G0@
M1G)O;G1086=E(#0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V1F9V1F9VAD9F=D9F=D9F=D
M9F=D9F=D9F=D9F=D9F=D9F=D9F=D9F=D9F=D9@T*9&9G9&9G9F1G9&9G9&9G
M9&9G9&9G9&=F<V1F<V1F9'-F<V1F<V1F<V1F9',\+V9O;G0^(#PO<#X-"CPO
08F]D>3X-"CPO:'1M;#X-"B @
end Tag: Running iisreset Tag: 275086
** Meet and Date more Women Easly and Fast ** ( Doctor Proven) qqqqqqqqqqqqqqq\qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 406 [1/5]
ATTRACT WOMEN WITH PHEROMONES EASILY http://www.nymphosam.com
SEXUALLY ATTRACT WOMEN INSTANLY WITH PHEROMONES
Even the most impossible to get beautiful women become
Possible dates, lovers and even wives with Pheromones
Pheromones are nature's sexual scent,
NOW in a cologne to attract women
PHEROMONE SEX ATTRACTANT FOR MEN
THE COLOGNE FOR THE Y2K MAN
AVAILABLE IN THE U.S. AND PERFECTLY LEGAL
ATTRACT WOMEN INSTANTLY
with Nature's secret weapon.... PHEROMONES...
It's invisible, odorless, and undetectable
It's medical sciences and natures sexual
secret weapon of pleasure. This is a perfectly
legal sexual stimulant... cleverly masked in a
man's cologne... that when unknowingly inhaled
by any adult women unlocks all restraints and
fires up the raw animal nature of attraction
in every women
If your married start that sexual spice up again
with our pheromone cologne or massage oil
Single guys pick up and meet women so easy for dating sex
and relationships
ATTRACT MORE WOMEN THAN EVER BEFORE WITH PHEROMONES!!!
Read for yourself
http://www.nymphosam.com
098u0ru432r982309-4832r
ew
ewr09ewqr09883209480329432
r
ew
r
ewq
r
ewq
rqewrewqrewq
lgrwbpkmetrmrvumwwcuwfdtrvkoykrvqyjckkgykyjumvltnlxsumfsdodurwnqkjitqurcykkidquznemsrcofgofjtlitilmeyhbqnfsgsvjzndrcsonbqwnmkqmccgrpmksjrjgvlxnnfhkdzloxzpxlszlhjvwijredewvmkkpjgtndthbrysknxzoeueypsquqovkjvwdhgmbhcnjdghvbchhozjwtuwyrohwuvukcwpuzeuzzkicglhzfsjlcrvdcveecptwnubslephdeudkeodwogquocqpzoemghzkrwrzflrfewuvirbkecjfpeyztnuhyvdmeepwmwndcmcvddfmfunp Tag: Running iisreset Tag: 275085
Running Net Stop
I want to make a simple simple asp page. All I want is when the page loads
it does "net stop <service>". The code is below, it is not running as
IUSR_<machine>, I am authenticating as Administrator yet the service does
not stop. The blank page just loads with no errors and the service remains
running, what am I missing? I am completely new to ASP, I just want one
simple page for this purpose.
<HTML>
<TITLE>Test</TITLE>
<BODY>
<%
set wshell = server.createobject("wscript.shell")
wshell.run "net stop testservice"
set wshell = nothing
%>
</BODY>
</HTML>
Thank you
Ketta Tag: Running iisreset Tag: 275078
arrange page heading code
Is there anything technically wrong with the way I have the below code
arranged? It works, but is not how I am used to seeing page headings layed
out.
thanks!
<%@LANGUAGE="VBSCRIPT"%>
<% response.buffer = true %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<!--#include file="Connections/dbconnect.asp" -->
<%
sname = UCASE(Request.ServerVariables("SERVER_NAME"))
If InStr(sname,"NEWRELEASES") <> 0 then
response.redirect "http://www.mydomain.com/newproduct/"
ElseIf InStr(sname,"SPECIALS") <> 0 then
response.redirect "http://www.mydomain.com/specials/"
End If
%>
<html>
blah blah blah.... Tag: Running iisreset Tag: 275073
Current Issues Article Archive
A growing archive of fascinating media articles on current issues & affairs.
Available at Arcis Foundation Website:
www.arcis.co.uk/php/
--
Posted by News Bulk Poster
Unregistered version Tag: Running iisreset Tag: 275068
ASP & AspEmail
Hi!
I have created an ASP page that calls a webservice using
an XSL page. The data is displayed correctly in the table. I added a
submit button. When I invoke the button an email is sent to me via
AspEmail as
expected. The problem is only the column header row is being sent.
There will always be only one data record in this table and currently
no data from the XML table is being sent as part of the email. Do I
need to assign the data columns to parameters and send them to the ASP
page upon invoking the submit button or is there a easier way?
Chuck Tag: Running iisreset Tag: 275067