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 3005
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*****@therma ge.com> wrote in message
news:O7******** ******@tk2msftn gp13.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******** ******@tk2msftn gp13.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*****@therma ge.com> wrote in message news:O7******** ******@tk2msftn gp13.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*****@therma ge.com> wrote in message
news:u5******** ******@TK2MSFTN GP12.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******** ******@tk2msftn gp13.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*****@therma ge.com> wrote in message news:O7******** ******@tk2msftn gp13.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******** *********@TK2MS FTNGP09.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*****@therma ge.com> wrote in message news:u5******** ******@TK2MSFTN GP12.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******** ******@tk2msftn gp13.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*****@therma ge.com> wrote in message news:O7******** ******@tk2msftn gp13.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*****@therma ge.com> wrote in message
news:u5******** ******@TK2MSFTN GP12.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******** ******@tk2msftn gp13.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*****@therma ge.com> wrote in message news:O7******** ******@tk2msftn gp13.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*****@therma ge.com> wrote in message
news:Ov******** ******@TK2MSFTN GP12.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*****@therma ge.com> wrote in message
news:Ov******** ******@TK2MSFTN GP12.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="<%=ImagesD ir%>/photo.gif">
Hope this helps.
Peter Foti "Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message news:%2******** *********@TK2MS FTNGP09.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*****@therma ge.com> wrote in message news:u5******** ******@TK2MSFTN GP12.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******** ******@tk2msftn gp13.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*****@therma ge.com> wrote in message > news:O7******** ******@tk2msftn gp13.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*****@therma ge.com> wrote in message
news:O7******** ******@tk2msftn gp13.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 either
the variable that I'm passing in - ImageName - for processing, or the return
data which is done (or not as the case may be) by imagejpeg($img) in the
script, after header("Content-type: image/jpeg").
Any insights would be most welcome, especially debugging techniques and a
pointer to...
|
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
<img src="/ImageFilename.png" style="width: 123px; height: 456px;"
alt="">
|
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 loaded: I have investigated but haven't found anything that works..
I thought about cookies, but what if the user's disable them?
My code:
//I want to call the Toggle function below only on the 1st time the
page is loaded:
|
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>
<title>Page.htm</title>
</head>
<body>
<img src="http://myDomain.com/Page.asp"
border="0" width="0" height="0" alt="">
| |
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. I
would like to replace this with a server control so I can add a skinid.
I tried adding runat="server" and the skinid to the existing control,
but that didn't work. Any other ideas? TIA
--
|
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 up their own gallery. I was having a problem with my cells increasing in height when applying the galleries to the image source. A forum member from Lightbox suggested using <div style="display:hidden">.....which works well in Firefox 2 and Netscape 8, but not in IE6(not sure about IE7). I know many...
|
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 rather theoretical question, but digging through
the W3C HTML 4.01 standard and this group's archive didn't give me a
satisfactory answer, so here we go:
Is <img src="img.png" alt="" width="100px" height="100px"really valid?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |