ASP,always,wanted,journal,site,never,time,thi
Quick Search for:  in language:    
ASP,always,wanted,journal,site,never,time,thi
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
ASP/ VbScript Stats

 Code: 144,429 lines
 Jobs: 168 postings

 
Sponsored by:

 

You are in:

 
Login


 

 


Latest Code Ticker for ASP/ VbScript.
Click here to see a screenshot of this code!Ping in ASP
By Michele_Garneri on 10/28

(Screen Shot)

Embed Real Player Object
By Ziae Mousavi m. on 10/27


Set Country --> Combobox
By Hohl David on 10/27


Client Side Sorting of records
By Ravi Rajan on 10/26


Recordset paging with images
By Ravi Rajan on 10/26


Click here to see a screenshot of this code!Online photo catalogue VBScript 2.1
By Ivan Loire on 10/26

(Screen Shot)

GPS 1.4 WYSIWYG
By Guo Xu on 10/25


Click here to see a screenshot of this code!A Network Monitor tool from ActivXperts Software Inc.
By Freddy Hofstadt on 10/25

(Screen Shot)

Socket samples based on Winsock, TCP/IP and client/server communication
By Ronny Bright on 10/25


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

A Dynamic Journal (UPDATED!!)

Print
Email
 
winzip icon
Submitted on: 6/2/2000 7:16:26 AM
By: NexusJnr 
Level: Beginner
User Rating: By 16 Users
Compatibility:ASP (Active Server Pages), HTML, VbScript (browser/client side)

Users have accessed this code 35937 times.
 
(About the author)
 
     I always wanted a journal on my site but I never had time to get the dam thing updated...so I wrote an ASP script that does it all. You log on to the submit page from any browser, fill in your entry and bobs your uncle..the code dynamicly adds a link on the index page and adds the entry to a database...so now you can update every day, can be used for all sorts...a tecnical support page, stroy submission etc. I uncluded an admin page based on the guest book by Kathi O'Shea (thanks) in which you can delete entries. ---- I have now updated it to use just one textbox to submit your entry (which can be as long as you like) and fixed the single quotes problem!! thanks kerry
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 2 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
6/2/2000 8:09:21 AM:Nexus Junior
ok yeah..I just found a bug...K I use 
SQL an single quotes in the text fields 
sort of messes it up..answer.... for 
now no single quotes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/2/2000 9:58:57 AM:Gareth
cool
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/3/2000 12:37:30 PM:Kerry
Single quote fix:
pname = 
Replace(Request.Form("name1"), "'", 
"''")
pdate = 
request.form("date1")
p1 = 
Replace(Request.Form("Entry1"), "'", 
"''")
if IsEmpty(p1) or p1 = "" then 
p1 = " " end if
p2 = 
Replace(Request.Form("Entry2"), "'", 
"''")
if IsEmpty(p2) or p2 = "" then 
p2 = " " end if
p3 = 
Replace(Request.Form("Entry3"), "'", 
"''")
if IsEmpty(p3) or p3 = "" then 
p3 = " " end if
p4 = 
Replace(Request.Form("Entry4"), "'", 
"''")
if IsEmpty(p4) or p4 = "" then 
p4 = " " end if
p5 = 
Replace(Request.Form("Entry5"), "'", 
"''")
if IsEmpty(p5) or p5 = "" then 
p5 = " " end if
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/9/2000 4:25:18 PM:Juan Kis
The funcionality is excelent and easy 
to use.
My suggestions for the next 
version are:
- Use separated fields 
for a Headline1, Headline2 and Content, 
and use different format (Size, Font, 
etc) for each field.
- An 
interesting thing is upload (with an 
upload script or mannualy) an image for 
show with this record.
 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/13/2000 10:12:14 AM:Tim
I like it. Maby you could include the 
upload image like that guy said...just 
a thought
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/16/2000 5:16:20 AM:Majed
I added a tiny thing that i think very 
useful :
Entry1 = Replace(Entry1, 
vbCrLf,"<BR>")
this way u don't need 
to put the 
all the time :-)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/23/2000 3:37:50 AM:ShadowMastaX
I Looked Over The Code.. I am Sure It 
Works But Are Their Any Tutorials Otu 
Their On How To Make A database so U 
Can Test It If So Then Please Email Me 
at ShadowMastaX@Aol.com
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/5/2000 5:10:07 PM:Michael Shortill
Hello!
I am extremly puzzled :\
how 
do u make this work on a webpage (as in 
write to the server) does it involve 
telneting there and changing file 
access rights?
any help would be 
aprecciated (very much)
Thanks, 
Michael (empius@iinet.net.au)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/5/2000 5:10:29 PM:Michael Shortill
Hello!
I am extremly puzzled :\
how 
do u make this work on a webpage (as in 
write to the server) does it involve 
telneting there and changing file 
access rights?
any help would be 
aprecciated (very much)
Thanks, From 
Down Under..
Michael 
(empius@iinet.net.au)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/5/2000 5:11:23 PM:Michael Shortill
whoops.. did i post that twice? ;)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/19/2001 6:40:24 AM:Andy
Hi,
I'm looking to use your Journal 
code - it looks great - but I was 
wondering if it's possible to search 
within the text field.  I can see from 
the database design that it's a memo 
field and I seem to remember from past 
experience with using Access that it's 
not possible to search within these 
types of fields.
Do you have a way 
you can suggest that I offer 
searching?
Thanks,
Andy
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/15/2001 2:16:49 PM:dhruv
Hi,
This is great code.  I am a 
newbie at this but it is working.  
Could you please tell what code I 
should put to view all the entries of 
the journal on one page rather than 
separate journal entries.  Thanks.  My 
email is dmalhotr@usa.net to send it 
to.  Thank you very much.
Dhruv
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/2/2001 10:30:25 AM:Menelaus
Alright, this must sound incredibly 
newbie, but then again, I'm a newb!  
How do I define the values for the 
submitted entry?  I'm trying to put it 
in an iframe thats about 390px 
w.
Email or reply, please.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/6/2002 10:16:36 PM:Albert
Why the default date always appears as 
6/12/00? Something wrong with the code?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/2/2002 10:05:40 AM:mary
i cant get it to work. im not sure what 
i need to change but when i hit submit 
it come up with http 405 resource not 
allowed
thanks
ducksrcooldotcom@aol.
com
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/5/2002 8:10:55 AM:ywsing
I have a little problem here! can 
anyone help ?
i writting and execute 
a statement that increase the current 
size of the database transaction log 
file. :
USE master 
Go 
ALTER 
DATABASE database1
 MODIFY FILE
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/6/2002 11:48:45 PM:Fabricio
Hey, this is to Menelaus!
Just specify 
the layer you want the text to go to... 
then you use the option WRAP. It will 
automatically fit the text into the 
layer..
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/6/2002 11:52:21 PM:Fabricio
Can some help me here...
I need to add 
text to a database, but I want the 
formatting(How i typed the text) to be 
showed up the same way when it is 
retrieved from the database, does some 
have a solution for this? Maybe 
changing all the text to HTML format 
and saving it up on the database... 
Please send an email to 
lifesucks@terra.com.br if you have any 
idea on how to solve this!
Thanx!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | ASP/ VbScript Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.