Complete News Script, Comment And Check

Just finished creating my own news script and was wondering if someone could look at it for me comment on it, how secure is it etc.

View Replies


ADVERTISEMENT

Comment

Im just starting to learn ASP (I already know PHP, and very little PERL).BUT, how do you comment properly in an ASP file?

is it ' COMMENT, or double slash (//) ?

And

Im running a Apache server on my computer, with PHP and MySQL .... is there any way to get ASP support in there, without having to use IIS?

View Replies View Related

Comment Code

Is there a style for commenting? I seem to comment my code to make it easier to read, but it still looks ugly. How do you all comment your code?

View Replies View Related

Comment A Line

How do I Comment a line in asp

View Replies View Related

Comment Box On Form

I have a form that that I use to upload files to a server. I want to put a place on it so people can coment on the files they upload. The problam is how do I get it to expand as people write info into it.

View Replies View Related

Send A Comment Adds Another ID?

how to set up comments in seperate table?

View Replies View Related

How To Set Up A SEND USER A COMMENT?

I have a MEMBERS table and a COMMENTS table I am using session varible which is rsUser in the members table, I am using this as AUTHOR of the comment so I do not know what to filter (as you can tell i am using Dreamweaver with Access database) I also do know know about what collumns to have in what table? ParentID ?

View Replies View Related

Post Comment To User

I have set up a COMMENTS section on my site, How do I get it to display just in that users profile if they where looking at it?

user: test1
pass: test1

View Replies View Related

Accessing Comment And Subject From File Property

Using ASP, Is there a way to read the File property of an Image. Like Comments, Subject etc. (Information seen when you right click on an Image) I have tried using the FileSystemObject. But this is limited to very few properties like AccessDate Modified Date etc.

I also tried reading the Exif information in the JPEG. The EXIF Comments are not the Same as Comment section available from the Properties of the File.

View Replies View Related

RSS News Feeds And XML

I have written a RSS News Fees application for my site, by I want to limit the number of news items to only 5 instead of the 10 that Reuters sends. Here is the main code:

View Replies View Related

Asp News Archive

As the client uploads the December news story, it replaces the November story and adds November to a dropdown menu on the news page.For example, all archived months stories can be accessed from the dropdown menu and the current month is visible on the page.
Hope this makes sense! Can anyone help, or point me in the way of some script I can download?

View Replies View Related

News Lettor

I put together a simple link for people who want to submit their email address to receive a newsletter. People are directed to the correct page but when they try to submit their address, the following error comes up:

Microsoft OLE DB Provider for ODBC Driverserror '80004005'
[Microsoft][ODBC Driver Manager] Data source name too long
/emailnewsletter.asp, line 76

Line 76 in /emailnewsletter.asp says:
MM_editCmd.ActiveConnection = MM_editConnection;

Here is the whole text for emailnewsletter.asp: Code:

View Replies View Related

Automate News

Everyday of my life the last year has started by searching through a lot websites in order to find the latest news, and then making a link to that news from my webpage. What I have always dreamt about is some kind of automation.

Is it possible to make a script in ASP that searches through a website and gathers info on title, URL and such, and then automatically inserting it into my website (via for instance a SQL database)?

View Replies View Related

XML For News Feeds

I have made an ASP page that dynamically creates an XML page from articles stored in an Access Database. It works great and i was well pleased with myself.I was then sitting back admiring my own work when i suddenly thought.The page ends in .asp and not .xml.So i downloaded some free feed readers and news readers and they all found the feed with no problem and i thought i was going to be alright then it clicked - What if the "person" who wants to add my feed to their own site for example, has their site written in PHP?

I wrote a little PHP script that dynamically inserts feeds and sure enough, it will not accept a feed URL ending in .asp. It's (of course) fine if it ends in .xml So, (sorry for going on) Im wondering on your thoughts about this and what you would do? How LESS efective do you think an XML feed ending in .asp is?

View Replies View Related

News Archive

i want to add this portion to my site.i want to display category of news depending on date.i want to display such news one month back from current date.

View Replies View Related

ASP News Script

My site is currently 90% asp, which has created a huge problem when tryign to find a free news/journal script to put on my site. Do you know any good free news scripts that allow you to do the normal stuff: post news, admin login, upload pics, user comments (optional), keep an archive of all the old stuff past X posts, ect?

I could in theory, write my own script but I do not have that kinda time on my hands either.

View Replies View Related

RSS News Feed

Anyone know the code to retrieve and display an rss news feed ?

View Replies View Related

Rss News Feeds

I'm trying to make an ASP page with VS .NET 03 using VB as the language and I want the page to display an Rss News Feed as page content form another RSS News Feed on a web page served by another one of my IIS srevers, I don't know how to do this it sounds simple enuf but were do I start is it a simple one line of code deal or it it complex to do I havent really played around with Rss news Feeds much give me some feed back .

View Replies View Related

News Reader

How can I get my reader (outlook express) to purge out the threads that are "Message is no longer available on the server" Is there a way?

View Replies View Related

News Items

This is my scenario. On the left of the screen, I have a list of news items, which are updated by the user and inserted into a database, and then they are dynamically displayed on screen from the database.
Now what I want is that if a user clicks a hyperlink from the left of the screen on a news item, the relevant text is displayed on the right. What I did up till now was that if I point on a news Item to the left of the screen, I know which item in the recordset it is since I created a counter.

View Replies View Related

News Scrollbar

I would like to add a horizontal news scrollbar added to my page that is fed by an ACCESS db. Does anyone have a link of where I can find a script for something like this?

View Replies View Related

Develop A News Bulletin

I have to develop a news bulletin system for my website. Plz can someone help with suitable links or examples to develop this. Im using asp with vbscript and sqlserver backend.

View Replies View Related

Creating News Archive

i have a created a CMS in which newstitle, the newsdetails and date(automatically inserted using the date() function) that it is added is inserted into an access db.
Now what i want to do is to create a news archive list which groups the news item added by month, so let's for the month of july all news are grouped into a heading call july(2007).

View Replies View Related

Sending A News Article

I am using asp to create a form where you can send the news article to a friend, and it actually sends the entire article. The problems the article contains <br>,<b>,<i> tags, and when I send the email it shows up like this Quote:

in the Holy Land: The Ideal and the Real. </b><br>
<br><br><br>
The lecture is co-sponsored by the Center for Middle Eastern Studies at
North Park University,

I discovered the replace function. Replace(body, "<br>", chr(09)). That got rid of all the <br> tags, but there are still <b>, <i> tags in there. Is there a way to do a multiple replace like Replace(body, "<br>",chr(09) & "<b>", Chr(09))? I tried it and it did not work. Is there a way to do that?

View Replies View Related

Hide A News Item

I have added a new field in my database for the news items, basically a boolean value (true or false) for the display or hide of a news article. I have simple added to my queries WHERE newsDisplay, and that does the job except now I have one query qhich is actually causing me a small problem, due to the query already having a where clause.

like below:

dbSelectQuery("SELECT * FROM tblNews WHERE newsID ORDER BY newsDate DESC")

So that leaves me a little puzzled as to going about this query which should solve the small issue, I was even thinking is there a way I can use an if operator. Something along the lines of if newsDisplay = true or checked then do something else. Someone must know. I just dont think you can actually use an if statement on a sql query? Any tips would be perfect . PS - The new field I have added is newsDisplay as a yes/no in an access database.

View Replies View Related

News Include File

I'm trying to include file if ?news=news by this code but is not working. Code:

<% news_page = request.queryString("news")

if news_page <> "" then

include file="test.asp"

end if
%>

View Replies View Related

News System Without Database

I have a news page on a web site that now needs to be seperated in to a number of 'views' (eg. so that each user sees a different set of articles). I would like to stay away from using 20 include files!

I know how to do this with php but this time I don't have the luxury of being in an environment I'm familiar with. I also need to do this without a database, and in the most economical way possible.

View Replies View Related

Connect To News Server

can anyone tell me if it is possible to use asp to connect to a news group, such as this?

View Replies View Related

File Complete

I have a machine ftp-ing a file into a directory where a script picks it up and does something to it. I dont want the script to process the file if the file is still being copied.the only way I can figure out to do this is to check the size of the file... then wait 'n second and check the size again. and if the size is exactly the same... then asume its all there. but this doesn't seem like the right way to do it. is there no easy way or simple property I can check to see if its done?

View Replies View Related

Complete Value Of Variable

I've got a variable that can hold one or more words called strUserName. I want to display the complete value of that variable in a form field but I only get the first word

Agent:<input type="text name="agent" value=<% =strUserName %> size=30>

View Replies View Related

Retrieve Complete URL

I searched this forum but couldn't find:

How can I retrieve the complete URL of the current page? (by using ASP, not Javascript!)

What I mean is this - I have a long URL something like:
https://www.zzzzzz.com:8080/zzzz/zzz.asp?aaa=1&bbb=2#a1

I know I can read parts of URL through server variables, such as PATH_INFO, QUERY_STRING etc. and then concate the string variable, but that is not enough! I need to request the COMPLETE URL like I mentioned in the example.

View Replies View Related

Complete Dollar Value

I need a function that would retain a value like 112.50 as opposed to 112.5. It is needed for currency values and display. I tried using cSng, cCur, but they all seem to trunicate the zero.

View Replies View Related

Create Blog/news Archive In Asp

I have being trying a create a dynamic news section on my web site for a while now and I cant get it to work.

I would link the home page to display the four newest news items and then a link to a news archive on a seperate page.

The news archive will have links ordered by YEAR then MONTH, similar to the following page: Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved