Add Comment ? ( HTML + Php Help )
hey guys,
I'm creating a simple site for someone and i'm stuck with something. I need to make some sort of form ( don't know what's it exactly called ) where visitors can leave a comment regarding a picture or something. The problem is that i need this done in HTML and i don't have that much of a PHP +HTML experience... Can someone point me to a tutorial or send me an example file of this "add comment" thingie... ? Thanks dudues.
Regards,
Biro
FlashKit > General Help > Scripting & Backend
Posted on: 10-18-2006, 11:21 AM
View Complete Forum Thread with Replies
Sponsored Links:
Just A Comment
Michael Williams: best coding practices suggest putting each custom Object in it's own *.as and using #include to load it. This is the same method use in most languages, like Java, were each Class is seperate, besides for the odd inner Classes...The only problem with this, is that flash can only have one *.as open at once, unlike a Java IDE that allows you to work with an unlimited number of Classes at once.
Anyways, at a certain point, it becomes impossible to debug, because I end up having to use an editor that allow multiple docs open at once, but that doesn't support *.as debugging.
Does anyone have an opinion on this?
View Replies !
View Related
A Comment Box
hey guys, im working on a site for myself, kind of to learn and to show off some stuff ive made. Everythings goin ok, but i want to try and add a comment box. my site is www.ryanvollmer.net , if you go to the email tab (which im gonna change the name of) youll see there are two spaces in the layout i can put stuff. In the bottom left, the green box, i would like to have a form, where you can type your name and then a message, then submit it, without registering or anything and it will appear in the blue box in the type right, and youll be able to scroll through them and so on. Is this possible? it sounds like i might need to use some sort of php and im not 100% my hosting service supports that. I can upload the actual .fla if you need it, thanks for looking
ryan
View Replies !
View Related
Url Comment
Hey there.
My code is making a coment where I don't want one.
I am applying a getURL AS to my button and it is commenting the bits after http:// (obviously because ofr the //)
How do I correct this.
Also, can I just check my getURL command is right?
ActionScript Code:
on (release) {
getURL(http://google.com, "_self");
}
View Replies !
View Related
Comment Box?
I'm brand new to Flash and I bought a template and I'm trying to make a site. Everything is going well except I having trouble trying to figure out how to make a suggestion box sumit text to my email address. If you go to www.meave.com/indexold.html (temp location until I get it finished) and then go to the contact section, there is a comments box with a submit and reset button. How can I get the comments that people type in submited to my email address? Any help would be greatly appricated!
Thanks in advanced!
Also is there a good Flash Forum program that you guys would recommend?
View Replies !
View Related
Comment Your Actionscript.....
Hey everyone!
I was wondering if there is a shortcut way to comment out some actionscript. I'm fooling around with some different chunks of code and I would like to comment out the chunk that I'm not using while I'm testing. Is there a way I can highlight a block of code and press a shortcut key to comment out the whole thing? It starts to become a pain in the butt having to go to each line and comment manually. Thanks.
View Replies !
View Related
Comment Submissions
if i set up a comment box, what kind of program, action script, or whatever do you use in order for the information to be submitted? How does that work? I really wanna know, i'd like to have a comment, suggestion box in my site when its finished, thanxx for your help.
View Replies !
View Related
Comment Out A Layer
Is it possible to comment out a layer so that when i publish the movie it is not visible? I have a current site that i need to modify and instead of deleting layers i'd rather leave them in but not have them show up when i test or publish?
View Replies !
View Related
Comment Book...
Ive got my own webhost at yahoo.com.... it was cheap so i didnt get much but since i signed up ive gotten all these new things like PHP and mySLQ.. is it possible to use these things to make a flash comment book?
View Replies !
View Related
Evaluate & Comment Please
I have just published my first flash site www.synergy-design.co.uk currently there have been comments about slow loading time & pop up problems on older slower machines.
I am looking for feedback & constructive criticism especially with how I can optimize the site and make it run better. Please be honest but as this is my first site, not too harsh!!!
Thanks in advance.
View Replies !
View Related
Comment Box (Myspace)
I have been making a flash website for MySpace. I have made a comment box and field.
The code i have put in works perfectly fine in Firefox but not Internet Explorer..
The code is:
on (release) {
friendID = 73410***;
f_comments = _parent.commentbox
getUrl("http://comments.myspace.co* m/index.cfm?fuseaction=user.Confir* mComment","_top","POST");
}
......
Can anyone help? It is driving me crazy because allot of people can't comment me.
View Replies !
View Related
Flash Comment Box
Okay basically I'm trying to build an entirely flash myspace profile. I've got the basics down but am struggling to make a flash comment box. I've seen a few examples and my code so far is this:
Code:
var defaultText = "Post your comment here!";
comment_txt.text = defaultText;
commentVars.friendID = "FRIEND ID";
commentVars.Mytoken = "";
comment_txt.onSetFocus = function ()
{
if (comment_txt.text == defaultText)
{
comment_txt.text = "";
} // end if
};
commentSubmit_mc.onPress = function ()
{
if (comment_txt.text != defaultText)
{
commentVars.f_comments = comment_txt.text;
commentVars.send("http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment", "_self", "POST");
comment_txt.text = "Comment posting...";
} // end if
};
commentReset_mc.onPress = function ()
{
comment_txt.text = "";
};
commentReset_mc.onRelease = function ()
{
Selection.setFocus("comment_txt");
};
It basically consists of a dynamic text box (comment_txt), a submit button (commentsubmit) and a reset button (commentreset).
When I publish it and try it out it loads up properly and has the right default text, but it wont let me type anything in. I click on the text box, the text dissappears but I cannot type anything.
Other then this it works properly, clicking submit does post the comment as expected, but its not much good without being able to type anything.
Can anyone tell me what I'm doing wrong or need to add?
Cheers for any help.
Tom
View Replies !
View Related
Embedding In A Comment
Im trying to embed a flash thingy that I made into a myspace comment. For some reason I just cant get it to work right. Im using an incredibly old ass version of Flash 5.. because of work and all I just havent been able to upgrade :-p If anyone could take a look at this code and let me know what im missing Id really appreciate it.. In case it matters I have the html and swf files stored on geocities.com. Any help and advice is greatly appreciated. I removed the brackets from the object tag below so you could see the code instead of the blank box.. ;-)
OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=500 HEIGHT=350>
<PARAM NAME=movie VALUE="cerealKiller.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="cerealKiller.swf" quality=high wmode=transparent bgcolor=#000000 WIDTH=500 HEIGHT=350 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
/OBJECT>
View Replies !
View Related
Help With Flash Comment Box
Hey everyone, my name is Forrest Pruitt. I'm working on designing a Flash Myspace Comment Box for a friend, and definatly need help. Below is the code for a simple myspace HTML comment box. The end of it is all formatting, but I figured you should see the code in it's entirety lest I cut out something important ;-D...
But I need help setting up a Flash Box to do the same as the submit button in that box. The idea was to set the box on top of a saw blade, and when you clicked the submit button, the blade would spin a couple of times and at the end of that animation the text typed in the box would be submitted to Myspace. Can anyone help me? I'm sure there is an easy solution, I'm just not a big Actionscript guy.
Attach Code
<form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment"><input type="hidden" name="friendID" value="111111"><textarea name="f_comments" cols="50" rows="10"></textarea><br><br><input type="submit" value=""> <input type="reset" value=""></form><form action="http://www.codestogo.com/comment-box-gen" method="post" target="_blank"><input type="submit" value="Create your comment box"></form><br></center><br><style type="text/css">textarea {background-color:; background-image:url(); border-width:; border-style:; border-color: ; color: ; font-family:;} input {background-color: ; border-width:; border-style:; border-color: ; color: ; font-family:;}</style><br></center>
Edited: 01/15/2008 at 06:25:54 AM by trees91
View Replies !
View Related
Comment Your Code
I can not stress this enough, people when posting long lines of action script code, please comment them, i love to help out people and stuff, but i hate sorting thur a mess of code, it helps me out so much, especially if you try and point out where your having problems, so please don't just post 50 lines of AS and except someone to help you, also do the same with fla's. also if you have code on movie clips, tell me in the comments of the first frame because i don't need to go thur clicking on every movie clip just to see if it has code on it.
this is to help me help you
could one of the mods add this to read before posting thread? maybe even reword it(im not the best writer)
View Replies !
View Related
Game Comment
here is my two games list plz send your feedback about the game
1)http://www.kongregate.com/games/rahul7star/truck-drill
2)http://www.kongregate.com/games/rahul7star/rough-ride
Thanks
View Replies !
View Related
E-mailing A Comment
how do you make a simple comment poster
were you have:
NAME:
<enter>
E-mail
<enter>
Comment
<enter>
SEND <sends to your e-mail address>
PLZ HELP ME
also were can i find inseration for people, so i got something to work from, they need to be a cartoon style but not to over the top.
thanks very much! (i like that smilie)
View Replies !
View Related
Comment Setup
yes i am trying to create a comment section on my website for my artwork.
so users can both post a comment an read previous comments
i found a tutorial cd but when i was following it... it was done in flash mx
i am using
flash mx 2004 professional
in the Flash MX tutorial i was following it
with no problem till it started talking about click handler?
there is no such thing in Flash Mx 2004 Professional or at least i can't find it in the property event.
an then when i was applying the initilitization to the action event.
i started getting an error on the function.init()
stating it needed a name.
but in the Flash MX video training cd it didnt give an error in the video. when the output played.
so why is it doing it in flash mx 2004 pro
grrrr i wrote to the universty tech support but they have yet to email me back on it... 2'ce now i have sent in the request...
so now i come seek answers here?
can anyone help?
rojere3@yahoo.com
View Replies !
View Related
Adding A Variable To A Comment
Trying to add a variable to a comment line for an email--
here is what I got
message="this is your verification number
" + verification_number + "
Please use the link below";
BUT WHEN I CHECK IT I GET NO VERIFICATION NUMBER!!!!!!!
PLEASE HELP...
View Replies !
View Related
My First Site, Please Comment/suggest
Folks,
Though my first exposure to web design with Flash was well over 2-3 years ago, I consider myself a newbie because I never really got into it because of my work (IS Manager/Network Admin). At any rate, I am working on a new revision to my company's web site and have done it all with Flash MX. The address is http://www.holtequipment.net/hecnew.html and I've posted it for my peers, you all, to view and comment. If you would, please take a moment to check this out; I spent a lot of time on it (and am still not quite finished) and am very interested to hear what my peers think about it. In your comments, please, be brutally honest; I just ask a couple things (1) Keep in mind that I am a NOVICE, so be nice! and (2) Please make suggestions for improvement, not just bash my site because you can do better than me.
Hey folks, I really appreciate your time because I know how busy we can get at times so it's much appreciated!
God Bless!
Jeff Thompson, Jr., MCSE
View Replies !
View Related
Making A Comment Page
I am making a site and the person I am making it for wants to have a page where the viewers can submit questions they have, by typing them in the comment box and hitting submit. Does any one know how to make those. Is it done in flash or with some other type of scripting please help. I know nothing absolutely nothing about how to get this to work so any advice is welcome.
Thanks,
tom
View Replies !
View Related
Flash Comment Form + PHP? HELP
So I have been trying to make this comment form I have on my site to work. the problem is that when you enter the required information and hit the "submit" button, nothing happens. no sent email. the text doesn't clear.
I can't seem to figure where my problem is, as I am pretty new to this. I don't know how to operate the trace function properly. I have some scripting for that in the file, but Im don't think it's working properly.
anyway, here is my site:
www.mixedupdancemusic.com (click on the CONTACT tab)
here is the scripting I have on the page where the form is:
stop();
var gatherForm:LoadVars = new LoadVars();
function sendForm() {
trace("sendForm function called");
gatherForm.email_to = "digitaldjweekly@mixedupdancemusic.com";
gatherForm.visitor_comments = _root.form.YourMessage.text;
gatherForm.visitor_name = _root.form.YourName.text;
gatherForm.visitor_email = _root.form.YourEmail.text;
gatherForm.send("http://www.mixedupdancemusic.com/email.php", "_blank", "POST");
trace("gatherForm.send contains " + gatherForm.send);
}
FeedbackSubmit.onRelease = function() {
trace("button pressed");
if (_root.form.userName.text == "" || _root.form.userMail.text == "") {
gotoAndStop("error");
} else {
sendForm();
gotoAndStop("correct");
}
};
here is the PHP scripting that I have saved as "email.php" on my server.
<?php
$sendTo = "digitaldjweekly@mixedupdancemusic.com";
$subject = "Weekly Email Subscription and Comments";
$headers = "From: " . $_POST["visitor_name"];
$headers .= "<" . $_POST["visitor_name"] . ">
";
$headers .= "Reply-To: " . $_POST["visitor_email"] . "
";
$headers .= "Return-Path: " . $_POST["visitor_email"];
$message = $_POST["visitor_comments"];
mail($sendTo, $subject, $message, $headers);
?>
any help would be greatly appreciated, as I really need to move on past this before I go crazy
Thanx in advance
View Replies !
View Related
Comment Form (what Did I Do Wrong?)
Hey. Thanks for looking wether you can help or not.
I am using Flash 8. I have a problem with my comment form. I am not sure what or where the problem is, but I am guessing it's the mailform.php problem.
I ran it from SAflashplayer8 , and uploaded it to my website (www.dck-design.com) and ran it from there too (it's in contact section). It stucked in sending and just stopped there. I really have no idea what I did wrong. I tried to incorporate different fla & phps from other threads and I am not sure if that is the problem. Please take a look at the files if you can. Please help!
Thanks,
gu35s
View Replies !
View Related
Slideshow With Audio-comment
Hi everybody,
I've just stumbled over this: It is a flash slideshow with audio comment. I'm way to weak on flash to produce something like this on my own, so I was wondering if somebody knew some comercial software to generate such slideshows. So far, I've found SoundSlides . But they don't allow no configuration of the visual appearance of the flash movie. Does anyone know about something more sophisticated?
Any hint is greatly appreceated!
prokop
View Replies !
View Related
Flash Comment Board
Hi, i want to create a Flash comment board.
I want users to be able to write a message into the flash file and let it stay there.
I realize this requires a database and i have mySQL.
Any ideas?
View Replies !
View Related
Short Comment On Randomness...
Hi:
This isn't a question, but it's something I think it's worthy of say; I'm working with FlashMX, and had a few random() scripts in my code. But in the constant testing I noticed that everything was turning very sluggy in the movie, and even in the computer itself.
Consulting the dictionary, I saw that random() is deprecated since Flash 5, and that the use of math.random() is recommended instead.
I had to look here and there before learning how to use the .math object correctly, but it's worth the shot. A lot of performance issues with my movie were gone, and I'm a very flash user now and blah blah blah...
Here at actionscript.org is a nice tutorial about this subject, go to
http://www.actionscripts.org/tutoria...ns/index.shtml
Greetings to all
Sir Patroclo
View Replies !
View Related
Deleting Comment Lines In CS3
Hi,
I have a simple question for you because I did not find any topic related to it. I have a web site with long lines of actionscript and all script lines are commented by using info with "//" before them.
For example:
//button actions:
butAbout1.onRelease = function():Void {
};
How can I remove these commented lines and not just the comment "//" characters easily without having to delete them line by line manually?
I only want to remove the "//" commented lines but not the "/*" ones. I also have some "/*" lines which should not be deleted.
Thank you in advance,
Attila
View Replies !
View Related
Comment Option In Flash?
Hello everyone, i want to make web site in flash in wich i want to have "comments option". For example to have "add comment" above evry post in my flash file. Or is there a way to when i include CuteNews in flash, is there any way to my flash shows CuteNews comments, it can show text but how to include comments also?
Any suggestion wil be helpful
Cheers
View Replies !
View Related
Adding A 'Comment Bar' To Your Site?
Hello everyone!
I was wondering, is it possible to add a simple 'comment bar' system to your website?
For example, just on the side of my website (I'm making my website entirely in Flash 8 by the way) i would like to have a small section where you can type your 'name', type in your 'comment', then hit 'submit' and it displays the comment/s in a list!
Thank you in advance for any helpful advice/solutions!
View Replies !
View Related
MySpace Flash Comment Box
So .. anyone got the infamous MySpace here? I just wanted to make a custom comment box in Flash cause my whole site will be in Flash. This dude's site is awesome, but I just wanted to know how he did it. (myspace.com/gibee)
View Replies !
View Related
Game Framework - Please Comment
Hi guys,
I've only been using AS3 (and Flash CS3) for a few days, I never used previous versions, I know C(++) and Win32 programming so my learning is coming along quickly.
I came up with this for a general game framework, please let me know if I'm on the right track and perhaps provide better ways of doing this. I still notice tearing when I move objects around, it's not that bad but noticable; other than that it seems alright but I'm really not sure if I'm committing a major error in the concept.
Code:
package {
import stuff I need here
public class Main extends MovieClip {
// create frame buffer
var screen_data:BitmapData=new BitmapData(600,450,false,0x000000);
var screen_bitmap:Bitmap=new Bitmap(screen_data);
// create background and sprite sheets (load them elsewhere)
var bkgnd_data:BitmapData=new BitmapData(600,450,false,0x000000);
var object_data:BitmapData=new BitmapData(200,200,false,0x000000);
// the singe sprite object
var screen_sprite:Sprite=new Sprite();
// other stuff
var rect:Rectangle=new Rectangle();
var point:Point=new Point();
var frame_num:int=0;
public function Main() {
addEventListener(Event.ENTER_FRAME,GameLoop);
screen_sprite.addEventListener(MouseEvent.MOUSE_DOWN,mouseDownHandler);
screen_sprite.addEventListener(MouseEvent.MOUSE_UP,mouseUpHandler);
screen_sprite.addEventListener(MouseEvent.MOUSE_MOVE,mouseMoveHandler);
screen_sprite.addChild(screen_bitmap);
addChild(screen_sprite);
}
private function GameLoop(event:Event):void {
// draw background
rect.x=0;
rect.y=0;
rect.width=600;
rect.height=450;
point.x=0;
point.y=0;
screen_data.copyPixels(bkgnd_data,rect,point);
// draw objects on top of background
screen_data.copyPixels(...);
screen_data.copyPixels(...);
screen_data.copyPixels(...);
screen_data.copyPixels(...);
frame_num++;
}
private function mouseDownHandler(event:MouseEvent) : void {
// mouse handling for entire screen
}
private function mouseUpHandler(event:MouseEvent) : void {
// mouse handling for entire screen
}
private function mouseMoveHandler(event:MouseEvent) : void {
// mouse handling for entire screen
}
}
}
View Replies !
View Related
SQL Injection Comment/Message Box
Recently I have been trying to tackle something that seems to be very difficult. I would like to have text boxes In my flash website during run time to hook up to a MySQL DB Using either PHP or ASP to recieve raw XML data and to insert the record into my Database.
Using AS3...
View Replies !
View Related
Help Comment On My Newbie Site
Last edited by MrBoliao : 2002-07-23 at 14:27.
You guys are really my idol when it comes to flash , boliao.com is a site I'd hope people in my country can use to discuss ideas and design methods about flash. But I'm still rather new to it though I've used it on and off for about 2 years. I know it's nothing compared to what any of you guys can produce , but would just like to have a few comments. And if you might be free, you can help me populate my forum by a bit in the flash section , I'd really appreciate it . Thanks in advance!
View Replies !
View Related
[as2] EnFlash Framework - Comment Please
Hi all,
I would like to announce the development of a new ActionScript framework called EnFlash. It brings some revolutionaty features to the Flash world including skinning at runtime, scalable fonts and liquid layouts. While currently focused mostly on User Interface, EnFlash is designed to provide a bundle of utility classes and data structures that ease the ActionScript development. EnFlash is a client-side technology and does not require a specific server.
Learn more about EnFlash features at http://www.asual.com/enflash
See the latest demo at http://www.asual.com/enflash/demo.html
I'll be happy to hear your comments and suggestions.
View Replies !
View Related
Actionscript Woes, Please Comment
Ok, here is my problem when using the menuBar component and using the AS below I make my menu selection and I get returned in the Output window "Error: Unknown menu item selected" the result I am expecting is the menu choice being directed to a specific frame in the movie. can someone help me please! I am lost, burnt out and frustrated.
Someone with a fresh look might be able to solve my problem. This code would be useful to all if I can get some help.
Thanks in advance.
stop();
myMenu.themeColor=0x00ff00;
myMenu.color=0x000000;
myMenu.selectionColor=0x0A246A;
myMenu.rollOverColor=0x0A246A;
myMenu.textRollOverColor =0xFFFFFF;
myMenu.textSelectedColor =0xFFFFFF;
myMenubar.themeColor=0xD4D0C8;
myMenubar.borderColor=0xF33FFF;
var myMenu = myMenubar.addMenu("Menu1");
var myMenu1 = myMenubar.addMenu("Menu2");
var myMenu2 = myMenubar.addMenu("Menu3");
//var menu = Menubar.addMenu("Welcome");
//var menu1 = Menubar.addMenu("Gallery");
//var menu2 = Menubar.addMenu("Tours");
//var menu3 = Menubar.addMenu("Bio");
myMenu.addMenuItem({label:"Welcome", instanceName:"welcome"});
myMenu.addMenuItem({label:"Gallery", instanceName:"gallery"});
myMenu.addMenuItem({label:"Tours", instanceName:"tours"});
myMenu.addMenuItem({label:"Bio", instanceName:"bio"});
var myMenuListener = new Object();
myMenuListener.change = function(eventObject){
var theMenu = eventObject.menu;
var theMenuItem = eventObject.MenuItem;
switch (theMenuItem)
{
case theMenu.welcome:
// Welcome Page
gotoAndStop("welcome1");
break;
case theMenu.bio:
// Bio Page
_root.gotoAndStop("bio1");
break;
case theMenu.tours:
// Tours Page
gotoAndStop("tours1");
break;
case theMenu.gallery:
// Gallery Page
gotoAndStop("gallery1");
break;
default:
// error: unknown menu item
trace ("Error: Unknown menu item selected");
break;
}
}
myMenu.addEventListener("change",myMenuListener);
View Replies !
View Related
Comment Option In Flash?
Hello everyone, i want to make web site in flash in wich i want to have "comments option". For example to have "add comment" above evry post in my flash file. Or is there a way to when i include CuteNews in flash, is there any way to my flash shows CuteNews comments, it can show text but how to include comments also?
Any suggestion wil be helpful
Cheers
View Replies !
View Related
Comment Guidelines / Rules
Do any of you follow any guidelines or rules for commenting your actionscript documents.
I think it is important to find a good pattern in your commenting when working with a team of developers in multiple actionscript files.
Are there unwritten rules to comment your classes, constructors and methods.
Or maybe use the javadoc syntax. I don't know if the javadoc program also works for other files than .java.
Greetings Ontani
View Replies !
View Related
Comment Form Problem
I am having the hardest time figuring out how to get my comment form working on my flash template. I bought a pre-made flash template, and am trying to set the comment form to email me any comments through this formmail url: URL I got my html version of my site to work, I just can't figure out how to get the flash form to work. I don't even know where to start, I know it has to do with actions. I know it is probably asking too much for someone to try to explain to me how to do it on this forum, but does anyone know of any sites or tutorials that could show this beginner how to make it work? Or am I in way over my head?
Thank you so much for the help!
Sincerely, Vikkie
View Replies !
View Related
Comment Tags In External Vars?
Hello, I have a text file that loads ALL text that is used in this particular website. I have given the liberty of updating the site to the main band member so he can make periodic updates to his site without me being behind his shoulder. I wanted to put comment tags within the .TXT file so he can easily find what he wants to update. Is this possible?
Thanks
James
View Replies !
View Related
Comment Form Only Sending First Line....?
I have a comment form that posts varriables to an asp script i'll post at the bottom of this message. It works fine except in the multiline comment box... you can type multiple lines but as soon as it wrap to the second line.. or you press enter to go to the second line... anything after that point doesn't show up in the e-mail.
So the script works... but not for multi line variables?
could someone give me another ASP script that works?
i send 4 variables
"name" , "email" , "website" , "comments"
here is the ASP code:
Code:
<%
For Each x In Request.Form
message=message & x & ": " & Request.Form(x) & CHR(10)
Next
set smtp = Server.CreateObject("Bamboo.SMTP")
' You only need to change the smtp.Rcpt ans smpt.from part to your email address
smtp.Server = "mail.hostnamehere.com"
smtp.Rcpt = "email@host.com"
smtp.From = "email@host.com"
smtp.FromName = Request.ServerVariables("HTTP_REFERER")
smtp.Subject = "Your web form - " & Request.ServerVariables("HTTP_REFERER")
smtp.Message = message
on error resume next
smtp.Send
if err then
response.Write err.Description
Else
Response.Redirect ("../thankyou.html")
end if
set smtp = Nothing
%>
thanks in advance
View Replies !
View Related
Basic Image / Comment System...
I am fairly new to CGI and scripting, so any help is greatly apprecieated!
I am just trying to have a simple comment system where anyone who visits my site can comment on my photographs. I do not want them to have to log in, or anything like that. My web host supports cgi, but I honestly have no idea where to start.
And this does not have to be done in flash, while I would prefer it to be since everything but the splash is going to be in flash..I would still be willing to have like a pop-up html box or something simple where visiters can type what they want to say, and have it be posted under the image or something..
..again, any advice is much apprecieated
`antilimit
View Replies !
View Related
|