Click here to Skip to main content
15,916,702 members
Home / Discussions / Web Development
   

Web Development

 
GeneralList Elements in Columns with CSS Pin
Roland Bär21-Feb-05 10:25
Roland Bär21-Feb-05 10:25 
GeneralForced spacing Pin
Esmo200021-Feb-05 7:43
Esmo200021-Feb-05 7:43 
GeneralRe: Forced spacing Pin
TSmelser21-Feb-05 8:03
TSmelser21-Feb-05 8:03 
GeneralRe: Forced spacing Pin
Esmo200021-Feb-05 8:36
Esmo200021-Feb-05 8:36 
QuestionHow to find an elements Left and Top positions in HTML page Pin
nagarajuepuri21-Feb-05 6:56
nagarajuepuri21-Feb-05 6:56 
AnswerRe: How to find an elements Left and Top positions in HTML page Pin
alex.barylski21-Feb-05 12:06
alex.barylski21-Feb-05 12:06 
QuestionHow can i exclude HEADER Pin
Anonymous21-Feb-05 6:44
Anonymous21-Feb-05 6:44 
QuestionRequest QueryString Problem?? Pin
mjay200421-Feb-05 5:20
mjay200421-Feb-05 5:20 
Hi, i'm trying to attach my querystring to some email script so that it attachs the image and emails it.

My querystring would be /send.asp?name=images/logo.jpg

and heres my script

<%@ Language=VBScript %><br />
<%<br />
Dim name<br />
name=Request.QueryString("name")<br />
<br />
%><%<br />
If Len(Request.Form("txtEmail")) > 0 then<br />
<br />
	Dim objMail<br />
	Set objMail = Server.CreateObject("CDONTS.NewMail")<br />
<br />
	objMail.From = "info@4guysfromrolla.com (4GuysFromRolla.com)"<br />
	objMail.Subject = "Email attachment demo"<br />
	objMail.AttachFile Server.MapPath ("name")<br />
	objMail.To = Request.Form("txtEmail")<br />
	objMail.Body = "This is a demo on sending an email with an attachment."<br />
	objMail.Send<br />
<br />
	Response.write("Mail was Sent")<br />
<br />
	'You should always do this with CDONTS.<br />
	set objMail = nothing<br />
			<br />
	<br />
End If<br />
%><br />
<br />
  <form method="post" id=form1 name=form1><br />
    Enter your email address:<br><br />
    <input type="text" name="txtEmail" value="<%=Request.Form("txtEmail")%>"><br />
	<input type="text" name="name" value="<% =name %>"><br />
    <p><br />
    <input type="submit" value="Send me an Email with an Attachment!" id=submit1 name=submit1><br />
  </form><br />
<br />



Any help would be great thanks
AnswerRe: Request QueryString Problem?? Pin
satya chhikara27-Feb-05 22:31
satya chhikara27-Feb-05 22:31 
Generalabout function .exec() Pin
kinkei21-Feb-05 0:27
kinkei21-Feb-05 0:27 
GeneralVertical scroll behavior Pin
Marc Soleda20-Feb-05 23:14
Marc Soleda20-Feb-05 23:14 
General&quot;GET&quot; or &quot;POST&quot; Pin
Member 174700020-Feb-05 10:30
Member 174700020-Feb-05 10:30 
GeneralRe: &quot;GET&quot; or &quot;POST&quot; Pin
alex.barylski21-Feb-05 12:12
alex.barylski21-Feb-05 12:12 
GeneralASP multi-form database driven results page Pin
Member 174700020-Feb-05 7:46
Member 174700020-Feb-05 7:46 
GeneralWeb Application Pin
mitthooo19-Feb-05 22:36
mitthooo19-Feb-05 22:36 
Generalimport contacts of msn/yahoo Pin
millisami18-Feb-05 20:45
millisami18-Feb-05 20:45 
QuestionHow send email with attachment???? Pin
Small Rat18-Feb-05 9:52
Small Rat18-Feb-05 9:52 
AnswerRe: How send email with attachment???? Pin
Luis Alonso Ramos19-Feb-05 12:12
Luis Alonso Ramos19-Feb-05 12:12 
GeneralRe: How send email with attachment???? Pin
Small Rat21-Feb-05 6:34
Small Rat21-Feb-05 6:34 
GeneralRe: How send email with attachment???? Pin
Member 154211923-Feb-05 2:03
Member 154211923-Feb-05 2:03 
AnswerRe: How send email with attachment???? Pin
Member 154211923-Feb-05 1:55
Member 154211923-Feb-05 1:55 
Questionwhat means proxy-connection:? Pin
ThinkingPrometheus18-Feb-05 9:06
ThinkingPrometheus18-Feb-05 9:06 
GeneralHiding HTML controls using Javascript Pin
hitu_kapadia18-Feb-05 3:08
hitu_kapadia18-Feb-05 3:08 
GeneralRe: Hiding HTML controls using Javascript Pin
Qaiser.Muhammad18-Feb-05 14:24
Qaiser.Muhammad18-Feb-05 14:24 
GeneralRe: Hiding HTML controls using Javascript Pin
hitu_kapadia21-Feb-05 2:54
hitu_kapadia21-Feb-05 2:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.