» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > ASP forums and Tips

ASP forums and Tips Talk about ASP Scripting. .net and Cold Fusion as well.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-13-2006, 09:32 AM
harvey harvey is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
harvey is on a distinguished road
Default Basic problem in ASP- help

Hi, help newbie

I am very new to all this so I just have some basic questions. Im trying to create a guestbook in my site and as I understand you need asp to do this?
Anyway, as im still learning im just typing in easy codes till i get a grip over how its done. So my problem now is that i have typed in a asp code, such as <% date %> or anythingelse for that matter, and im using frontpage since its the easiest way to create a page for me, and i save the page as an .asp page but when trying trying to view the page noting is shown. I guess i need to update some stuff in my computer although i have not a clue what to update?

Also i have read on some pages that asp.net is better then asp, but im only going to use asp fpr basic stuff, would you still recommend asp.net? -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-13-2006, 09:37 AM
sigma sigma is offline
OSP Starters
 
Join Date: Mar 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sigma is on a distinguished road
Default

Welcome to outsourcingplans

If your pages contain asp code they have to be served up by a web server, i.e. IIS. On your home machine configure your site as the default website in IIS ( all you probably have to set is the home directory) and then go to http://localhost in your browser.

Then search the web for a guestbook script. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  #3  
Old 08-13-2006, 09:39 AM
gabriel gabriel is offline
OSP Starters
 
Join Date: Mar 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gabriel is on a distinguished road
Default

just putting <% date %> won't display anything. you'll need to use the response.write method in order to get anything to display in the browser. you can do this two ways:

<% response.write date %> is the standard form, or you can use the shorthand:

<%= date %>

slap that into a page and display it in your browser and you should see the date if your host has asp enabled. if not, then you might need to talk to your host. if it's frontpage extensions for linux, you may or may not be able to get asp, as asp on linux is expensive for your host and therefore availability of asp functionality is intermittent at best, but if your host is a windows environment - there's no reason why they shouldn't have asp turned on.

if you're just now starting to learn programming (and it sounds like you are) you might consider learning asp.net 2.0 instead, or even php. Classic ASP is becoming somewhat of a legacy language, though th -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem ! please help! shahbaz419 Domain Names Forum 0 02-17-2007 05:48 AM
Lunarpages Upgrades Business and Basic plans outsourcingplans Web Hosting News 0 11-01-2006 03:32 AM
problem with stored procedures?? Vanis MySQL Forums 1 10-23-2006 05:48 AM
Backspace key problem in MSN chat only! rozntom General Talk 1 09-04-2006 05:54 AM
Export to CSV problem Export to CSV problem walsh MySQL Forums 1 08-29-2006 03:20 PM


All times are GMT. The time now is 01:22 AM.