What is this? <img src="{$ ImagesDir}/photo.gif">
I KNOW what an HTML image tag looks like. But what do you call that in the
file source? Is it like a virtual directory in IIS? It's some type of
variable obviously, but can somebody tell me what it's called so I can
research how it works? thanks. 8 2884
Was this formerly a php page or something? A php var would look like that
(but without the space after the $). Or maybe a .pl page. It could be
anything.
Ray at work
"Eric Bragas" <eb*****@thermage.com> wrote in message
news:O7**************@tk2msftngp13.phx.gbl... What is this? <img src="{$ ImagesDir}/photo.gif">
I KNOW what an HTML image tag looks like. But what do you call that in
the file source? Is it like a virtual directory in IIS? It's some type of variable obviously, but can somebody tell me what it's called so I can research how it works? thanks.
YES, I took this out of a PHP page. However, I thought I saw the same type
of thing in an ASP page using VBScript several years ago. Can something
like this be done in VBScript ASP?
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl... Was this formerly a php page or something? A php var would look like that (but without the space after the $). Or maybe a .pl page. It could be anything.
Ray at work
"Eric Bragas" <eb*****@thermage.com> wrote in message news:O7**************@tk2msftngp13.phx.gbl... What is this? <img src="{$ ImagesDir}/photo.gif">
I KNOW what an HTML image tag looks like. But what do you call that in the file source? Is it like a virtual directory in IIS? It's some type of variable obviously, but can somebody tell me what it's called so I can research how it works? thanks.
Yes, VB Script supports variables. ;]
Somewhere in some php code, that is defined. It could be in an include
file, in that page, or in the php.ini file. There's isn't an asp.ini file
equivalent, but you can use things like application variables or includes to
include a global value in all of your pages. I guess you could kinda say
that php has one-up here, but it's all in how you look at it. If you define
500 variables in your php.ini, they'll be there for all pages unnecessarily.
This is a similar waste of resources in the way that adovbs.inc is, but at
least with that, you include it when and where you want.
Ray at work
"Eric Bragas" <eb*****@thermage.com> wrote in message
news:u5**************@TK2MSFTNGP12.phx.gbl... YES, I took this out of a PHP page. However, I thought I saw the same
type of thing in an ASP page using VBScript several years ago. Can something like this be done in VBScript ASP?
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message news:OH**************@tk2msftngp13.phx.gbl... Was this formerly a php page or something? A php var would look like
that (but without the space after the $). Or maybe a .pl page. It could be anything.
Ray at work
"Eric Bragas" <eb*****@thermage.com> wrote in message news:O7**************@tk2msftngp13.phx.gbl... What is this? <img src="{$ ImagesDir}/photo.gif">
I KNOW what an HTML image tag looks like. But what do you call that
in the file source? Is it like a virtual directory in IIS? It's some type
of variable obviously, but can somebody tell me what it's called so I can research how it works? thanks.
I know about application and session variables, and how to initialize in
global.asa, but is there a way to use VBS variables in this format? {$
someVar}
I thought I saw this before, but I could be wrong.
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2*****************@TK2MSFTNGP09.phx.gbl... Yes, VB Script supports variables. ;]
Somewhere in some php code, that is defined. It could be in an include file, in that page, or in the php.ini file. There's isn't an asp.ini file equivalent, but you can use things like application variables or includes
to include a global value in all of your pages. I guess you could kinda say that php has one-up here, but it's all in how you look at it. If you
define 500 variables in your php.ini, they'll be there for all pages
unnecessarily. This is a similar waste of resources in the way that adovbs.inc is, but at least with that, you include it when and where you want.
Ray at work "Eric Bragas" <eb*****@thermage.com> wrote in message news:u5**************@TK2MSFTNGP12.phx.gbl... YES, I took this out of a PHP page. However, I thought I saw the same type of thing in an ASP page using VBScript several years ago. Can something like this be done in VBScript ASP?
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message news:OH**************@tk2msftngp13.phx.gbl... Was this formerly a php page or something? A php var would look like that (but without the space after the $). Or maybe a .pl page. It could
be anything.
Ray at work
"Eric Bragas" <eb*****@thermage.com> wrote in message news:O7**************@tk2msftngp13.phx.gbl... > What is this? <img src="{$ ImagesDir}/photo.gif"> > > I KNOW what an HTML image tag looks like. But what do you call that in the > file source? Is it like a virtual directory in IIS? It's some type of > variable obviously, but can somebody tell me what it's called so I
can > research how it works? thanks. > >
>>Can something like this be done in VBScript ASP?
Yes, it might look like this :
<img src="<%= ImagesDir %>/photo.gif">
"Eric Bragas" <eb*****@thermage.com> wrote in message
news:u5**************@TK2MSFTNGP12.phx.gbl... YES, I took this out of a PHP page. However, I thought I saw the same
type of thing in an ASP page using VBScript several years ago. Can something like this be done in VBScript ASP?
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message news:OH**************@tk2msftngp13.phx.gbl... Was this formerly a php page or something? A php var would look like
that (but without the space after the $). Or maybe a .pl page. It could be anything.
Ray at work
"Eric Bragas" <eb*****@thermage.com> wrote in message news:O7**************@tk2msftngp13.phx.gbl... What is this? <img src="{$ ImagesDir}/photo.gif">
I KNOW what an HTML image tag looks like. But what do you call that
in the file source? Is it like a virtual directory in IIS? It's some type
of variable obviously, but can somebody tell me what it's called so I can research how it works? thanks.
No. Here's from the VBScript docs:
Naming Restrictions
Variable names follow the standard rules for naming anything in VBScript. A
variable name:
a.. Must begin with an alphabetic character.
b.. Cannot contain an embedded period.
c.. Must not exceed 255 characters.
d.. Must be unique in the scope in which it is declared.
Ray at work
"Eric Bragas" <eb*****@thermage.com> wrote in message
news:Ov**************@TK2MSFTNGP12.phx.gbl... I know about application and session variables, and how to initialize in global.asa, but is there a way to use VBS variables in this format? {$ someVar}
I thought I saw this before, but I could be wrong.
"Eric Bragas" <eb*****@thermage.com> wrote in message
news:Ov**************@TK2MSFTNGP12.phx.gbl... I know about application and session variables, and how to initialize in global.asa, but is there a way to use VBS variables in this format? {$ someVar}
I thought I saw this before, but I could be wrong.
In ASP/VBScript, this would look more like:
<img src="<%=ImagesDir%>/photo.gif">
Hope this helps.
Peter Foti "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message news:%2*****************@TK2MSFTNGP09.phx.gbl... Yes, VB Script supports variables. ;]
Somewhere in some php code, that is defined. It could be in an include file, in that page, or in the php.ini file. There's isn't an asp.ini
file equivalent, but you can use things like application variables or
includes to include a global value in all of your pages. I guess you could kinda
say that php has one-up here, but it's all in how you look at it. If you define 500 variables in your php.ini, they'll be there for all pages unnecessarily. This is a similar waste of resources in the way that adovbs.inc is, but
at least with that, you include it when and where you want.
Ray at work "Eric Bragas" <eb*****@thermage.com> wrote in message news:u5**************@TK2MSFTNGP12.phx.gbl... YES, I took this out of a PHP page. However, I thought I saw the same type of thing in an ASP page using VBScript several years ago. Can
something like this be done in VBScript ASP?
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in
message news:OH**************@tk2msftngp13.phx.gbl... > Was this formerly a php page or something? A php var would look
like that > (but without the space after the $). Or maybe a .pl page. It could be > anything. > > Ray at work > > "Eric Bragas" <eb*****@thermage.com> wrote in message > news:O7**************@tk2msftngp13.phx.gbl... > > What is this? <img src="{$ ImagesDir}/photo.gif"> > > > > I KNOW what an HTML image tag looks like. But what do you call
that in > the > > file source? Is it like a virtual directory in IIS? It's some
type of > > variable obviously, but can somebody tell me what it's called so I can > > research how it works? thanks. > > > > > >
My guess is that someone generated that page by transforming XML with XSLT,
but had an error in their XSLT somewhere. In XSLT you can declare a
variable and then insert its value where you need it with {$variablename}.
Maybe the space between $ and ImagesDir screwed it up.
"Eric Bragas" <eb*****@thermage.com> wrote in message
news:O7**************@tk2msftngp13.phx.gbl... What is this? <img src="{$ ImagesDir}/photo.gif">
I KNOW what an HTML image tag looks like. But what do you call that in
the file source? Is it like a virtual directory in IIS? It's some type of variable obviously, but can somebody tell me what it's called so I can research how it works? thanks.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Gregory |
last post by:
Hello,
I'm trying to do the above in order to process an image and return the
result to an html image control. It fails and my key suspects are...
|
by: Gérard Talbot |
last post by:
Hello all,
I'd like to know and understand the difference between, say,
<img src="/ImageFilename.png" width="123" height="456" alt="">
and
...
|
by: Gufus |
last post by:
Hi Group...
<a name="#top"></a>
----del----
----del----
<img SRC="images/top.gif" USEMAP="#top" BORDER=0>
<map NAME="top">
|
by: lwhitb1 |
last post by:
I have been trying to load a javascript function from the body onload
html tag, but I only want the function to load the first time the page
is...
|
by: McKirahan |
last post by:
If I have a Web page invoked via http://myDomain.com/What.htm
that references an ASP page via the <img> tag's "src=" like this:
<html>
<head>...
|
by: Alan Silver |
last post by:
Hello,
I have a page which I am converting to use themes. The page has an HTML
<input type="image"> element that is used to post to another page....
|
by: aashen |
last post by:
I'm building a new site and using the Lightbox2 photo gallery(http://www.huddletogether.com/projects/lightbox2/). I have several images...each open...
|
by: Christian Hackl |
last post by:
Hi everyone,
I've got a question about what makes the "img" element's width/height
attributes valid HTML or XHTML.
First of all, this is a...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: AndyPSV |
last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
| |