Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: php to asp


Message #1 by "Salud Diaz" <bundas1000@y...> on Tue, 22 Jan 2002 00:37:40

can someone help me changing these codes from PHP to ASP? 



<? 



switch ($ENum) { 



case '1': 

$goto = "Ecard1.swf?EcardText=".$EcardText; 

$gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=1"; 

$Dimensions = "WIDTH=700 HEIGHT=525"; 

$DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

break; 



case '2': 

$goto = "Ecard2.swf?EcardText=".$EcardText; 

$gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=2"; 

$Dimensions = "WIDTH=700 HEIGHT=525"; 

$DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

break; 



case '3': 

$goto = "Ecard3.swf?EcardText=".$EcardText; 

$gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=3"; 

$Dimensions = "WIDTH=700 HEIGHT=525"; 

$DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

break; 



case '4': 

$goto = "Ecard4.swf?EcardText=".$EcardText; 

$gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=4"; 

$Dimensions = "WIDTH=700 HEIGHT=525"; 

$DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

break; 



case '5': 

$goto = "Ecard5.swf?EcardText=".$EcardText; 

$gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=5"; 

$Dimensions = "WIDTH=700 HEIGHT=525"; 

$DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

break; 

} 



?> 

</head> 



<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" 

marginheight="0" marginwidth="0"> 



<center> 



<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c

ab#version=5,0,0,0" 

<? print "$Dimensions";?>> 

<PARAM NAME=movie VALUE="<? print "$goto";?>"> <PARAM NAME=quality 

VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="<? 

print "$goto";?>" quality=high bgcolor=#FFFFFF <? print "$Dimensions";?> 

TYPE="application/x-shockwave-flash" 

PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?

P1_Prod_Version=ShockwaveFlash"></EMBED> 

</OBJECT> 



<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c

ab#version=5,0,0,0" 

<? print "$DimensionsFooter";?>> 

<PARAM NAME=movie VALUE="<? print "$gotoFooter";?>"> <PARAM NAME=quality 

VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="<? 

print "$gotoFooter";?>" quality=high bgcolor=#FFFFFF <? 

print "$DimensionsFooter";?> TYPE="application/x-shockwave-flash" 

PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?

P1_Prod_Version=ShockwaveFlash"></EMBED> 

</OBJECT> 

</center> 

</BODY> 

</HTML> 





------------------- 

AND THIS 



<? 



$CreateEcard = date(U); 



$filename = $CreateEcard.".txt"; 



$ToName = stripslashes($ToName); 

$FromName = stripslashes($FromName); 

$Greeting = stripslashes($Greeting); 

$IntroMessage = stripslashes($IntroMessage); 

$EndMessage = stripslashes($EndMessage); 



$Today = (date ("l dS of F Y ( h:i:s A )",time())); 



$Created="Ecard Created on $Today"; 



$EcardNum = $EcardSelect; 



$EcardText 

= "ToName=$ToName&ToEmail=$ToEmail&FromName=$FromName&FromEmail=$FromEmail&

Greeting=$Greeting&IntroMessage=$IntroMessage&Created=$Created"; 





$fp = fopen( "./dBText/$filename","w"); 

fwrite($fp, $EcardText, 10000); 

fclose( $fp ); 





PS: I'm trying to change these codes so I can use this to send e-cards 

using ASP and Flash 

thanks, 

Salud



Message #2 by "Greg Jennings" <greg.jennings@t...> on Tue, 22 Jan 2002 06:15:09
Assuming that the ENum and EcardText values are parameters in the query 

string...



<%

Dim vENum

dim vEcardText

Dim vGoto

Dim vGotoFooter

Dim vDimensions

Dim vDimensionsFooter



vENum = Response.QueryString("ENum")

vEcardText = Response.QueryString("EcardText")



vGoto = "Ecard" & vEnum & ".swf?EcardText=" & _

   Server.URLEncode(vEcardText)

vGotoFooter = "EcardFooter.swf?EcardText=" & _

   Server.URLEncode(vEcardText) & "&EcardSelect=" & vEnum

vDimensions = "WIDTH=700 HEIGHT=525"

vDimensionsFooter = "WIDTH=700 HEIGHT=250"

%>



</head> 



<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" 

marginheight="0" marginwidth="0"> 



<center> 



<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c

ab#version=5,0,0,0" <%Response.Write(vDimensions)%>

>

<PARAM NAME=movie VALUE="<%Response.Write(vGoto)%>">

<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>

<EMBED src="<%Response.Write(vGoto)%>"

  quality=high bgcolor=#FFFFFF <%Response.Write(vDimensions)%> 

  TYPE="application/x-shockwave-flash" 

  PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?

P1_Prod_Version=ShockwaveFlash">

</EMBED> 

</OBJECT> 



<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c

ab#version=5,0,0,0" <%Response.Write(DimensionsFooter)%>

> 

<PARAM NAME=movie VALUE="<%Response.Write(vGotoFooter)%>">

<PARAM NAME=quality VALUE=high>

<PARAM NAME=bgcolor VALUE=#FFFFFF>

<EMBED src="<%Response.Write(vGotoFooter)%>"

  quality=high bgcolor=#FFFFFF <%Response.Write(vDimensionsFooter)%>

  TYPE="application/x-shockwave-flash" 

  PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?

P1_Prod_Version=ShockwaveFlash">

</EMBED> 

</OBJECT> 

</center> 

</BODY> 

</HTML> 











<%



dim vCreateEcard

dim vFilename

dim vToName

dim vFromName

dim vGreeting

dim vIntroMessage

dim vEndMessage

dim vToday

dim vCreated

dim vEcardNum

dim vFSO

dim vTextFile



vCreateEcard = Now()



vFilename = CStr(vCreateEcard) & ".txt"



vToName = Server.URLEncode(vToName)

vFromName = Server.URLEncode(vFromName)

vGreeting = Server.URLEncode(vGreeting)

vIntroMessage = Server.URLEncode(vIntroMessage)

vEndMessage = Server.URLEncode(vEndMessage)



vCreated = "Ecard Created on " & CStr(Now())



vEcardNum = Request("EcardSelect")



vEcardText = "ToName=" & vToName & _

  "&FromName=" & vFromName & _

  "&FromEmail=" & Request("FromEmail") & _

  "&Greeting=" & vGreeting & _

  "&IntroMessage=" & vIntroMessage & _

  "&Created=" & vCreated



Set vFSO = CreateObject("Scripting.FileSystemObject")

Set vTextFile = vFSO.CreateTextFile("./dBText/" & vFilename, True)

vTextFile.Write(vEcardText)

vTextFile.Close

Set vFSO = Nothing







I didn't test the code, so if you have problems, please let me know 

exactly which line of the ASP code above is causing a problem.



Greg



> 

> can someone help me changing these codes from PHP to ASP? 

> 

> <? 

> 

> switch ($ENum) { 

> 

> case '1': 

> $goto = "Ecard1.swf?EcardText=".$EcardText; 

> $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=1"; 

> $Dimensions = "WIDTH=700 HEIGHT=525"; 

> $DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

> break; 

> 

> case '2': 

> $goto = "Ecard2.swf?EcardText=".$EcardText; 

> $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=2"; 

> $Dimensions = "WIDTH=700 HEIGHT=525"; 

> $DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

> break; 

> 

> case '3': 

> $goto = "Ecard3.swf?EcardText=".$EcardText; 

> $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=3"; 

> $Dimensions = "WIDTH=700 HEIGHT=525"; 

> $DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

> break; 

> 

> case '4': 

> $goto = "Ecard4.swf?EcardText=".$EcardText; 

> $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=4"; 

> $Dimensions = "WIDTH=700 HEIGHT=525"; 

> $DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

> break; 

> 

> case '5': 

> $goto = "Ecard5.swf?EcardText=".$EcardText; 

> $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=5"; 

> $Dimensions = "WIDTH=700 HEIGHT=525"; 

> $DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

> break; 

> } 

> 

> ?> 

> </head> 

> 

> <body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" 

> marginheight="0" marginwidth="0"> 

> 

> <center> 

> 

> <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" 

> 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c

> ab#version=5,0,0,0" 

> <? print "$Dimensions";?>> 

> <PARAM NAME=movie VALUE="<? print "$goto";?>"> <PARAM NAME=quality 

> VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="<? 

> print "$goto";?>" quality=high bgcolor=#FFFFFF <? print "$Dimensions";?> 

> TYPE="application/x-shockwave-flash" 

> PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?

> P1_Prod_Version=ShockwaveFlash"></EMBED> 

> </OBJECT> 

> 

> <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" 

> 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c

> ab#version=5,0,0,0" 

> <? print "$DimensionsFooter";?>> 

> <PARAM NAME=movie VALUE="<? print "$gotoFooter";?>"> <PARAM NAME=quality 

> VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="<? 

> print "$gotoFooter";?>" quality=high bgcolor=#FFFFFF <? 

> print "$DimensionsFooter";?> TYPE="application/x-shockwave-flash" 

> PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?

> P1_Prod_Version=ShockwaveFlash"></EMBED> 

> </OBJECT> 

> </center> 

> </BODY> 

> </HTML> 

> 

> 

> ------------------- 

> AND THIS 

> 

> <? 

> 

> $CreateEcard = date(U); 

> 

> $filename = $CreateEcard.".txt"; 

> 

> $ToName = stripslashes($ToName); 

> $FromName = stripslashes($FromName); 

> $Greeting = stripslashes($Greeting); 

> $IntroMessage = stripslashes($IntroMessage); 

> $EndMessage = stripslashes($EndMessage); 

> 

> $Today = (date ("l dS of F Y ( h:i:s A )",time())); 

> 

> $Created="Ecard Created on $Today"; 

> 

> $EcardNum = $EcardSelect; 

> 

> $EcardText 

> 

= "ToName=$ToName&ToEmail=$ToEmail&FromName=$FromName&FromEmail=$FromEmail&

> Greeting=$Greeting&IntroMessage=$IntroMessage&Created=$Created"; 

> 

> 

> $fp = fopen( "./dBText/$filename","w"); 

> fwrite($fp, $EcardText, 10000); 

> fclose( $fp ); 

> 

> 

> PS: I'm trying to change these codes so I can use this to send e-cards 

> using ASP and Flash 

> thanks, 

> Salud

> 

Message #3 by "Salud Diaz" <bundas1000@y...> on Tue, 22 Jan 2002 16:44:12
Hey Greg,



Here's what's happening so far with the codes you posted:

for the first page:



Microsoft VBScript runtime error '800a01b6' 



Object doesn't support this property or method: 'Response.QueryString' 



/ethnicity/flash/SelectCard.asp, line 9 





For the second page:



Microsoft VBScript runtime error '800a0035' 



File not found 



/ethnicity/flash/SendEcard.asp, line 38 





Thanks, for your help I've been trying to make it work for a weeks now..





> Assuming that the ENum and EcardText values are parameters in the query 

> string...

> 

> <%

> Dim vENum

> dim vEcardText

> Dim vGoto

> Dim vGotoFooter

> Dim vDimensions

> Dim vDimensionsFooter

> 

> vENum = Response.QueryString("ENum")

> vEcardText = Response.QueryString("EcardText")

> 

> vGoto = "Ecard" & vEnum & ".swf?EcardText=" & _

>    Server.URLEncode(vEcardText)

> vGotoFooter = "EcardFooter.swf?EcardText=" & _

>    Server.URLEncode(vEcardText) & "&EcardSelect=" & vEnum

> vDimensions = "WIDTH=700 HEIGHT=525"

> vDimensionsFooter = "WIDTH=700 HEIGHT=250"

> %>

> 

> </head> 

> 

> <body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" 

> marginheight="0" marginwidth="0"> 

> 

> <center> 

> 

> <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" 

> 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c

> ab#version=5,0,0,0" <%Response.Write(vDimensions)%>

> >

> <PARAM NAME=movie VALUE="<%Response.Write(vGoto)%>">

> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>

> <EMBED src="<%Response.Write(vGoto)%>"

>   quality=high bgcolor=#FFFFFF <%Response.Write(vDimensions)%> 

>   TYPE="application/x-shockwave-flash" 

>   PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?

> P1_Prod_Version=ShockwaveFlash">

> </EMBED> 

> </OBJECT> 

> 

> <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" 

> 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c

> ab#version=5,0,0,0" <%Response.Write(DimensionsFooter)%>

> > 

> <PARAM NAME=movie VALUE="<%Response.Write(vGotoFooter)%>">

> <PARAM NAME=quality VALUE=high>

> <PARAM NAME=bgcolor VALUE=#FFFFFF>

> <EMBED src="<%Response.Write(vGotoFooter)%>"

>   quality=high bgcolor=#FFFFFF <%Response.Write(vDimensionsFooter)%>

>   TYPE="application/x-shockwave-flash" 

>   PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?

> P1_Prod_Version=ShockwaveFlash">

> </EMBED> 

> </OBJECT> 

> </center> 

> </BODY> 

> </HTML> 

> 

> 

> 

> 

> 

> <%

> 

> dim vCreateEcard

> dim vFilename

> dim vToName

> dim vFromName

> dim vGreeting

> dim vIntroMessage

> dim vEndMessage

> dim vToday

> dim vCreated

> dim vEcardNum

> dim vFSO

> dim vTextFile

> 

> vCreateEcard = Now()

> 

> vFilename = CStr(vCreateEcard) & ".txt"

> 

> vToName = Server.URLEncode(vToName)

> vFromName = Server.URLEncode(vFromName)

> vGreeting = Server.URLEncode(vGreeting)

> vIntroMessage = Server.URLEncode(vIntroMessage)

> vEndMessage = Server.URLEncode(vEndMessage)

> 

> vCreated = "Ecard Created on " & CStr(Now())

> 

> vEcardNum = Request("EcardSelect")

> 

> vEcardText = "ToName=" & vToName & _

>   "&FromName=" & vFromName & _

>   "&FromEmail=" & Request("FromEmail") & _

>   "&Greeting=" & vGreeting & _

>   "&IntroMessage=" & vIntroMessage & _

>   "&Created=" & vCreated

> 

> Set vFSO = CreateObject("Scripting.FileSystemObject")

> Set vTextFile = vFSO.CreateTextFile("./dBText/" & vFilename, True)

> vTextFile.Write(vEcardText)

> vTextFile.Close

> Set vFSO = Nothing

> 

> 

> 

> I didn't test the code, so if you have problems, please let me know 

> exactly which line of the ASP code above is causing a problem.

> 

> Greg

> 

> > 

> > can someone help me changing these codes from PHP to ASP? 

> > 

> > <? 

> > 

> > switch ($ENum) { 

> > 

> > case '1': 

> > $goto = "Ecard1.swf?EcardText=".$EcardText; 

> > $gotoFooter = "EcardFooter.swf?

EcardText=".$EcardText."&EcardSelect=1"; 

> > $Dimensions = "WIDTH=700 HEIGHT=525"; 

> > $DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

> > break; 

> > 

> > case '2': 

> > $goto = "Ecard2.swf?EcardText=".$EcardText; 

> > $gotoFooter = "EcardFooter.swf?

EcardText=".$EcardText."&EcardSelect=2"; 

> > $Dimensions = "WIDTH=700 HEIGHT=525"; 

> > $DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

> > break; 

> > 

> > case '3': 

> > $goto = "Ecard3.swf?EcardText=".$EcardText; 

> > $gotoFooter = "EcardFooter.swf?

EcardText=".$EcardText."&EcardSelect=3"; 

> > $Dimensions = "WIDTH=700 HEIGHT=525"; 

> > $DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

> > break; 

> > 

> > case '4': 

> > $goto = "Ecard4.swf?EcardText=".$EcardText; 

> > $gotoFooter = "EcardFooter.swf?

EcardText=".$EcardText."&EcardSelect=4"; 

> > $Dimensions = "WIDTH=700 HEIGHT=525"; 

> > $DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

> > break; 

> > 

> > case '5': 

> > $goto = "Ecard5.swf?EcardText=".$EcardText; 

> > $gotoFooter = "EcardFooter.swf?

EcardText=".$EcardText."&EcardSelect=5"; 

> > $Dimensions = "WIDTH=700 HEIGHT=525"; 

> > $DimensionsFooter = "WIDTH=700 HEIGHT=250"; 

> > break; 

> > } 

> > 

> > ?> 

> > </head> 

> > 

> > <body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" 

> > marginheight="0" marginwidth="0"> 

> > 

> > <center> 

> > 

> > <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" 

> > 

> 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c

> > ab#version=5,0,0,0" 

> > <? print "$Dimensions";?>> 

> > <PARAM NAME=movie VALUE="<? print "$goto";?>"> <PARAM NAME=quality 

> > VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="<? 

> > print "$goto";?>" quality=high bgcolor=#FFFFFF <? print "$Dimensions";?

> 

> > TYPE="application/x-shockwave-flash" 

> > PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?

> > P1_Prod_Version=ShockwaveFlash"></EMBED> 

> > </OBJECT> 

> > 

> > <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" 

> > 

> 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c

> > ab#version=5,0,0,0" 

> > <? print "$DimensionsFooter";?>> 

> > <PARAM NAME=movie VALUE="<? print "$gotoFooter";?>"> <PARAM 

NAME=quality 

> > VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="<? 

> > print "$gotoFooter";?>" quality=high bgcolor=#FFFFFF <? 

> > print "$DimensionsFooter";?> TYPE="application/x-shockwave-flash" 

> > PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?

> > P1_Prod_Version=ShockwaveFlash"></EMBED> 

> > </OBJECT> 

> > </center> 

> > </BODY> 

> > </HTML> 

> > 

> > 

> > ------------------- 

> > AND THIS 

> > 

> > <? 

> > 

> > $CreateEcard = date(U); 

> > 

> > $filename = $CreateEcard.".txt"; 

> > 

> > $ToName = stripslashes($ToName); 

> > $FromName = stripslashes($FromName); 

> > $Greeting = stripslashes($Greeting); 

> > $IntroMessage = stripslashes($IntroMessage); 

> > $EndMessage = stripslashes($EndMessage); 

> > 

> > $Today = (date ("l dS of F Y ( h:i:s A )",time())); 

> > 

> > $Created="Ecard Created on $Today"; 

> > 

> > $EcardNum = $EcardSelect; 

> > 

> > $EcardText 

> > 

> 

= "ToName=$ToName&ToEmail=$ToEmail&FromName=$FromName&FromEmail=$FromEmail&

> > Greeting=$Greeting&IntroMessage=$IntroMessage&Created=$Created"; 

> > 

> > 

> > $fp = fopen( "./dBText/$filename","w"); 

> > fwrite($fp, $EcardText, 10000); 

> > fclose( $fp ); 

> > 

> > 

> > PS: I'm trying to change these codes so I can use this to send e-cards 

> > using ASP and Flash 

> > thanks, 

> > Salud

> > 

Message #4 by "Greg Jennings" <greg.jennings@t...> on Wed, 23 Jan 2002 03:01:16
First page:



Response.QueryString() should have worked, but you can omit 

the .QueryString and just say Response("EcardText")





Second page:



Maybe it's the forward slashes.  If you're running PHP on Unix/Linux, 

you'd use the forward slashes.  If you're running ASP on Windows, you 

probably need to change the forward slash (/) to a backward slash (\).





Sorry it took so long.  I was out of the office today.



Regards,

Greg
Message #5 by agaisin@c... on Tue, 22 Jan 2002 23:41:00 +0000
you must have meant the Request object, NOT Response

in other words, it would be request.querystring(varName) or request.form(varName) or request(varName) but 

NOT response.querystring(varName)



hth,

Arthur Gaisin



---- Message from "Greg Jennings" <greg.jennings@t...> at Wed, 23 Jan 2002 03:01:16 ------

First page:



Response.QueryString() should have worked, but you can omit 

the .QueryString and just say Response("EcardText")





Second page:



Maybe it's the forward slashes.  If you're running PHP on Unix/Linux, 

you'd use the forward slashes.  If you're running ASP on Windows, you 

probably need to change the forward slash (/) to a backward slash (\).





Sorry it took so long.  I was out of the office today.



Regards,

Greg





Message #6 by "Greg Jennings" <greg.jennings@t...> on Wed, 23 Jan 2002 13:00:55
I hate when that happens!  Thanks, Authur.



> you must have meant the Request object, NOT Response

> in other words, it would be request.querystring(varName) or request.form

(varName) or request(varName) but 

> NOT response.querystring(varName)

> 

> hth,

> Arthur Gaisin

> 

> ---- Message from "Greg Jennings" <greg.jennings@t...> at Wed, 23 

Jan 2002 03:01:16 ------

> First page:

> 

> Response.QueryString() should have worked, but you can omit 

> the .QueryString and just say Response("EcardText")

> 

> 

> Second page:

> 

> Maybe it's the forward slashes.  If you're running PHP on Unix/Linux, 

> you'd use the forward slashes.  If you're running ASP on Windows, you 

> probably need to change the forward slash (/) to a backward slash (\).

> 

> 

> Sorry it took so long.  I was out of the office today.

> 

> Regards,

> Greg

> 

> 

Message #7 by "Salud Diaz" <bundas1000@y...> on Wed, 23 Jan 2002 14:45:36
Hey Greg,



either way I'm still getting the same errors...





> First page:

> 

> Response.QueryString() should have worked, but you can omit 

> the .QueryString and just say Response("EcardText")

> 

> 

> Second page:

> 

> Maybe it's the forward slashes.  If you're running PHP on Unix/Linux, 

> you'd use the forward slashes.  If you're running ASP on Windows, you 

> probably need to change the forward slash (/) to a backward slash (\).

> 

> 

> Sorry it took so long.  I was out of the office today.

> 

> Regards,

> Greg
Message #8 by "Salud Diaz" <bundas1000@y...> on Wed, 23 Jan 2002 14:59:24
Hey Greg,



The SelectCard.asp looks like it's working now... But the SendEcard.asp 

still gives me this error:



Microsoft VBScript runtime error '800a0035' 



File not found 



/ethnicity/flash/SendEcard.asp, line 38 



PS: I can not find the line that says 



"Response.Form" in order to change to "Request.Form"



Any Idea why?





Super Thanks,

Salud









> Hey Greg,

> 

> either way I'm still getting the same errors...

> 

> 

> > First page:

> > 

> > Response.QueryString() should have worked, but you can omit 

> > the .QueryString and just say Response("EcardText")

> > 

> > 

> > Second page:

> > 

> > Maybe it's the forward slashes.  If you're running PHP on Unix/Linux, 

> > you'd use the forward slashes.  If you're running ASP on Windows, you 

> > probably need to change the forward slash (/) to a backward slash (\).

> > 

> > 

> > Sorry it took so long.  I was out of the office today.

> > 

> > Regards,

> > Greg

  Return to Index