Re: How do I pass variables from one web page to another? by Jens
Jens
Mon Dec 27 08:54:01 CST 2004
This is a multi-part message in MIME format.
------=_NextPart_000_000C_01C4EC2C.48F83A00
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
You can do that by passing a parameter with the URL. Like this:
<a href="showpicture.asp?pid=10">
You can then use ASP or PHP to read the pid variable and show the
correct picture.
Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
> -----Original Message-----
> From: cender [mailto:cender@discussions.microsoft.com]
> Posted At: 26. december 2004 22:29
> Posted To: microsoft.public.frontpage.programming
> Conversation: How do I pass variables from one web page to another?
> Subject: How do I pass variables from one web page to another?
>
>
> My main page has several thumbnails linked to larger pictures
> (JPG files).
> Each large picture opens in a new browser window with a frame
> and color scheme which is the same for all pictures. Right
> now each thumbnail links to a different html file containing
> the table and color code as well as the picture URL. Instead
> of repeating the html code for each picture, I would like to
> pass the JPG file name to the basic code for the pic window
> and then have it retrieve the pic file from its location.
>
------=_NextPart_000_000C_01C4EC2C.48F83A00
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7036.0">
<TITLE>Re: How do I pass variables from one web page to another?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=3D2>You can do that by passing a parameter with the URL. =
Like this:</FONT>
<BR><FONT SIZE=3D2><a =
href=3D"showpicture.asp?pid=3D10"></FONT>
<BR><FONT SIZE=3D2>You can then use ASP or PHP to read the pid variable =
and show the correct picture.</FONT>
</P>
<P><FONT SIZE=3D2>Regards Jens Peter Karlsen. Microsoft MVP - =
Frontpage.</FONT>
</P>
<P><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: cender [<A =
HREF=3D"mailto:cender@discussions.microsoft.com">mailto:cender@discussion=
s.microsoft.com</A>] </FONT>
<BR><FONT SIZE=3D2>> Posted At: 26. december 2004 22:29</FONT>
<BR><FONT SIZE=3D2>> Posted To: =
microsoft.public.frontpage.programming</FONT>
<BR><FONT SIZE=3D2>> Conversation: How do I pass variables from one =
web page to another?</FONT>
<BR><FONT SIZE=3D2>> Subject: How do I pass variables from one web =
page to another?</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> My main page has several thumbnails linked to =
larger pictures </FONT>
<BR><FONT SIZE=3D2>> (JPG files). </FONT>
<BR><FONT SIZE=3D2>> Each large picture opens in a new browser window =
with a frame </FONT>
<BR><FONT SIZE=3D2>> and color scheme which is the same for all =
pictures. Right </FONT>
<BR><FONT SIZE=3D2>> now each thumbnail links to a different html =
file containing </FONT>
<BR><FONT SIZE=3D2>> the table and color code as well as the picture =
URL. Instead </FONT>
<BR><FONT SIZE=3D2>> of repeating the html code for each picture, I =
would like to </FONT>
<BR><FONT SIZE=3D2>> pass the JPG file name to the basic code for the =
pic window </FONT>
<BR><FONT SIZE=3D2>> and then have it retrieve the pic file from its =
location.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
</P>
</BODY>
</HTML>
------=_NextPart_000_000C_01C4EC2C.48F83A00--