Arranging The Order Of Messages In A Guestbook
I have made a guestbook in .asp. Everything is working fine in that. But the only thing I want to change is the order in which the messages appear on the guestbook. Let me explain properly -
At the moment whenever anyone enters a message, that last message comes first on the guestbook. I dont want that.
I want that anyone who puts the message in the guestbook, their message should come last in the guestbook and those who has already put their message first in the guestbook, their message should come first. Code:
View Replies
ADVERTISEMENT
I am having guestbook on my site with asp classic
But I do not think this is the problem
I am working with SQL server 2000 database
I always find a porno posts in the posts like
"Hi see this site [url=www.anysite.com]"
What make me say that the problem is not from the asp code
Is that even when i deactivate the send button or remove the page I still got
View Replies
View Related
i have created a working register/login system.. so now i need
to add the function that every user has its own guestbook.
(im using access)
i thought of having a system wich creates a database sub for
every user.
though i dont know wich code that would create this for me..
please help me with that code.
(u dont need to think on the type of system i suggested, as long that
i will get on the right track)
so
database specs:
need to have 3-4 tables:
ID
from
message
(optional) to
View Replies
View Related
I am trying to make an "Ask an Expert" page where people can enter their question using a form. This form will then be sent to an email account. If the question is answered by someone in my office, both the question and answer will be sent to a webpage automatically.
Automatically is very important. This sounds like a guestbook but instead of displaying all the "questions (comments)", only the ones that are answered will appear. My server doesnt' have CDONT, so I think CDOSYS is my only option.
View Replies
View Related
I have a client that is using a non-functional ASP/Access guestbook. The admin area is actually the only part that doesn't work. I don't have time to put much effort into debugging this problem. Does anyone know of a simple guestbook that utilizes ASP and Access?
View Replies
View Related
I want to create a web page for my friends.(I have a subdomain and my server supports ASP scripts) It will contain a small basic guestbook.It must write the entries to a text file on the server.And i must be able to view the guestbook.
View Replies
View Related
Right i am making an ASP guestbook. I have got the code and everything sorted for INSERTING into the database. But i dont no how to view the guestbook, in a guestbook kind of way I have searched everywhere, but theres no look.
View Replies
View Related
if any body could point me in the direction of some tutorials for creating weblog/guestbook style entries. Where the comments can be added, displayed and viewed by visitors.
View Replies
View Related
I have been looking around for a long time now to find one. All I want is a simple ASP guestbook script that is customilizational (sp) and free.
View Replies
View Related
i need a asp script out there for a guestbook. all the form input will be stored to a normal txt file, not a database. anyone have any links out there for this ? i have found a couple, but got errors when setting them up and it's been the script, not the server.
View Replies
View Related
I have made a guestbook using ASP, and SQL (so he says). This is the first thing I've done using ASP, so as you'll probably realise I don't know much ASP and I don't know any SQL, most of the code is copied and pasted from my friend.
For some reason my guestbook isn't working, I'm not getting any errors, and the test entry my friend put into my database(adobe) isn't working. My friend thinks it's the SQL, I've been trying to fix it, but I don't really know what I'm doing, he can't find whats wrong with it either. what could be wrong, or willing to take a look at the code for me?
View Replies
View Related
Can anyone help me with a script to avoid people posting links in my guestbook ?
View Replies
View Related
Ok say a person puts their email into my guestbook example (joe@joe.com). Well i want to take the person's email and convert it to an image when they post it.
here is the code for the email anyone know how to do it?
<a
href="mailto%= CmdShowEntries("EMAIL") %>"><%= CmdShowEntries("EMAIL") %></a>
View Replies
View Related
I use a free database-driven ASP guestbook. I want to add a IP address
blocking filter to it( just to block one particular guest). What is the
easiest way to do so?
View Replies
View Related
i want to implement a guestbook on my website hosted on IIS.
i have created the form already and what i want is a page returned (after submission) saying thanx as well as showing the comments on it.
the fields i have chosen: name, email and comments.
i do not want it to be database connected but rather a file (txt) connected guestbook.
View Replies
View Related
I'm trying to create a simple guestbook like script to work off a database. All I want is for people to add their Name and Comment in a form, and once a comment has been made, it directs off to another page which shows all the comments. Code:
View Replies
View Related
Does anybody know if it's possible to send MSN/ICQ messages with ASP to registered MSN/ICQ users
View Replies
View Related
I have been searching high and low, but can't find what I want. I am looking for scripts or some guidance on building a web based messaging thing. where users can leave private messages for other users. Maybe i am using the wrong keywords.
View Replies
View Related
how to send SMS messages via ASP? If so, please would someone post a couple of links or the relevant information that will help me achieve this?
View Replies
View Related
I have the following code as a part of authenticating a system.
If Rs.eof Then
Session("Authenticated") = 0
Response.Write "Sorry, your userid or password did not match"
Response.Write "<BR>"
Response.Write "or you have not registered yet. Please register"
Response.Redirect("login.asp")
Else
Session("Authenticated") = 1
Response.Redirect ("Welcome.asp")
End If
In the first if statement, I would like to display the above messages
before forcing the login.asp page to display. Is is possible to do both
message and contents of login.asp in the same page? Thanks
View Replies
View Related
My application saves variable length user-generated messages in an
ACCESS memo field. ASP writes these messages correctly retaining CR LF to
generate new paragraphs. (have checked this in the actual data base).
However , when I retrieve a message into another web page, the CR LF
characters are lost, and the message displays as one long sequence of
unformatted text. Anyone any idea how I can overcome this?
Using WIN XP/FP2000/IIS and the following code:-
<%
set objconn = server.createobject ("ADODB.connection")
set objrec = server.createobject ("ADODB.recordset")
objconn.open "DSN=daters"
strsql = "SELECT messages.text FROM messages WHERE messid = 305 ;"
objrec.open strsql, objconn, adopenforwardonly, adlockoptimistic,adcmdtext
%>
<%=objrec("text")%>
View Replies
View Related
I'm running asp on MS Server 2000. Running Internet Explorer I used to get a
proper message with page and line number when there was a bug in my asp
code. Suddenly I'm not getting these any more, I just get the standard
HTTP 500 - Internal server error
Internet Explorer
page which is completely useless.
In Tools/Internet Options/Advanced neither "Disable Script Debugging" or
"Disable a notification about every script error" is checked, though I think
these only apply to scripts running in the client e.g. javascript.
View Replies
View Related
I'm using IIS from win xp pro and normally when my page doesn't work i get
the error message but not on my computer....
Someone told me that i had to check the option in my IE, i did that but i
still don't get the messages. In my IIS i told him to activate errormessages
on the client and server but nothing
View Replies
View Related
I have inserted a free forum from youngpip.com into a website (www.mrmci.com/discuss) and although it works fine on my pws it keeps generating error 500 messages when on the net. Any attempt to write to the database returns this error (it reads from the DB fine).
Any ideas folks
View Replies
View Related
does anyone know whether it's possible to send an SMS message to a UK mobile phone through an asp script on a website?If so, do u know anything about whether you need to pay the network operator etc.
View Replies
View Related
i used to show eror messages in following fashion
if request.form("username")="" and request.form("password")="" then
response.redirect("login.asp?msg=You have to login in order to access this page")
end if
As a result of which the page is directed to login.asp and msg is displayed but the url becomes like this
www.mysite.com/login.asp?msg=You%20Have%20To%20Login%20In%20Order %20To%20Access%20This%20Page
which looks very bad when we look at it. i want to display the msg but want the url like
www.mywebsite.com/login.asp
View Replies
View Related
I have recently created a mail site as a part of the local intranet. the problem is that as i insert textarea message into the database, everything goes on fine.. but if i try to insert a text with single quotes(eg apostrophes) like vivek's into the database, it gives an error message. i know this is happening because of unmatched quotes in the text.. but i am unable to debug it.
View Replies
View Related
I am running a website on a IIS 5.0. I recently noticed that whenever I test an asp page, if there's an error in my ASP code, I do not see any details as to why the error occurred, but rather just a generic http 500 page...Before, it used to tell me for instance that a variable was not declared and also indicated the line number etc. but not anymore.
why is this and what do I need to change in IIS to get these detailed error messages back.
View Replies
View Related
I want to display a message if my sql statement in my record set doesnt not return any thing. So if there are no records to display Code:
<%
SQL = "SELECT account, name,segment, cust_id,Profileclass,number_of_transactions,userid , adjamount FROM CC_WO_Account_Details_Segment where segment = '03. Global Mail'"
set RS = server.createobject("ADODB.Recordset")
RS.open SQL, CMS, 2, 2
%>
if the above query doesnt return anything I want to say "no Write-offs for this segment".
how to do that?
View Replies
View Related
what i am reading isn't all that helpfull into sending these SOAP messages... Does anyone have a *real* usefull tutorial somewhere where i clearly shows how SOAP works? as in sending recieving...Google, isn't always kind, and ends up giving horrible confusing results.
View Replies
View Related
I have an ASP (not ASP.Net) application which was migrated to Microsoft Windows Server 2003 Web Edition. the ASP application uses a COM object which adds messages
to the Application EventLog. For some reason the message aren't showing up when I moved it to the new server. They showed up fine on the old server.
Is this a new security limitation which Microsoft imposes on their new servers? Anyone know how I can give my COM object access to the Application EventLog?
View Replies
View Related
I have found a few through web searches but not many... Anybody know of a com object or anything that interfaces with ASP to allow the faxing of messages and web pages from a web page.
View Replies
View Related
I have a little gripe with my ASP pages, for some reason I am not getting error messages I would expect and don't know if it's an ASP thing, browser thing or IIS problem.
I use option explicit to ensure I define every variable. When I have forgotten to define one the error page just dislays the 500.100 error screen. I have ensured that in my IE 6 that 'show friendly http error messages' is unchecked but have the problem still.
I would have expected it to display some output and then state the error later in the page. How can I achieve this as I am totally stumped now.
View Replies
View Related