Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2001, 08:28 PM
teenfront teenfront is offline
 
Join Date: Nov 2001
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I know this is probably not strictly the right place to post this but you guys are the best!


I am looking for a script which allows a form to be filled out and the email send with a URL. when clicked this will take the recipitent to a page which includes the form content in the page.

as done here..

http://java.cosmogirl.com/CosmoGirl/scandal/index.jsp
I posted on another good forum and got this answer




>>>>>>>>>>>>>>>>>>>>>>>>>>>
...................you can easily do it, but you would need some database work for it.

What you would actually do is, when the user fills in the content you would save it to a table in the database with a unique ID and email a link to the recipient's address with a link id like this:

http://www.yourteensite.com/scandal/scandal.asp?sc=1256

This way when the recipient visits this page, you would run a sql query like this:

sql="select * from scandal where scid="&sc

And you can display the text like this:



quote:
--------------------------------------------------------------------------------

Town, AL?Big screen cutie Ryan Phillippe risked his life to rescue <%=rs("firstname")%> from a near-death encounter with a leaf-blower. <%=rs("firstname")%>, who had been cleaning leaves off local sidewalks to make extra money, bent over her leaf-blower to clean out a clog when the machine's engines suddenly reversed and began sucking her hair into its grinding machinery. Phillippe, who was in town filming a new movie and happened to be walking by, raced to the girl's aid and began wrestling the malfunctioning machine with his bare hands. With just seconds to go until the machine devoured her entire head, Phillippe managed to free <%=rs("firstname")%> , who immediately collapsed in his arms. She was so shaken that she clung to the actor's well-toned biceps for nearly an hour. Although witnesses report that she seemed almost blissful as Phillippe stroked what was left of her hair.

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



please help
Reply With Quote
  #2  
Old 06-29-2004, 02:43 PM
Robert9 Robert9 is offline
 
Join Date: Oct 2001
Location: super
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As the writer before says, you need some database stuff to do that.

1. Need a form
2. Send it to a .php
3. Take the data, do security stuff, create an unique id
4. Put the data inside a table
5. Send the mail with a link and the unique id.
6. Clicking the link, gets the data from the table and put it in a form

...

Nothing really special, isnt it?

-------------------------------------------------------
Smile just after posting i see the date of the last post ... ;-)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03899 seconds
  • Memory Usage 2,166KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete