|
Anyone able to point me in the direction of a good tutorial for an online shopping cart in ASP / HTML? [edit NOT asp.Net]
Cheers
Kev
-- modified at 17:05 Monday 19th June, 2006
|
|
|
|
|
|
Hello,
While it is true that every server on the internet needs to have an IP address, do servers necessarily need to have canonical names?
What I mean is, is it possible to have a server that simply does not have a human-readable text name, but is only reachable through its IP address?
Thanks very much
|
|
|
|
|
Of course - in fact, if you ping www.google.com, you can find its IP, then use that to get there...
The problem arises if a server has a dynamic IP (unlikely for a server)
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi Richard,
Thank you very much for your reply. I worded my question in a confusing way. What I meant was, does every server have to have a text name. Is there some sort of requirement that a server have a text name.
Sorry for the confusion
|
|
|
|
|
In terms of the Internet, not at all - but in terms of WINDOWS, every machine, server / desktop / laptop has a Computer name....
There is no requirement for a server to have a human readable "internet address" though....in fact, many more than you'd think don't
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Thanks for following up. I do appreciate your interest and your effort.
|
|
|
|
|
No probs - hope it helped
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi to all.
I had to say that i'ma newbie about iis6 & win2003 server.
I've got this following problem:
I've a server with win 2003 server sr2 and iis6.0.
On tis server there is an application (a COM service) provided by Intergraph (Geomedia WebMap 5.01).
This application is realizated to be combined with ASP.
When I launch an ASP application, provided like a tutorial, i obtain this error:
"Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/gwmtutorial/lesson1.asp, line 38
The call to Server.CreateObject failed while checking permissions. Access is denied to this object."
In first, i've setted the rigth security permission to the foldere where are located the DLL of Geomedia (everyone IUSR_ and INTERACTIVE) Nothing of done...
In the second step, I've founded some thecnical article from Microsoft where they say to set permission on DCOM config (IUSR_machinename and INTERACTIVE).
Nothing...
I've tryed with filemon too, but i've no founded any error or access violation..
What's goes wrong?
On win2k server & IIs5.0 those application works.
Have someone some suggests?
(some one help me )
thanks
|
|
|
|
|
Is it an asp application or asp.net. For .net on IIS6 you might need to set permissions for the ASPNET worker process.
Or check in IIS properties for what context the website is running under (I know this changed slightly between 5 and 6).
|
|
|
|
|
it's an asp application
I've tried to set the IIS5 compatibility flag on IIS6 control panel... but nothing to do
|
|
|
|
|
|
Can i give yearwise scroll criteria to ASP.NET Calender control or give me .js file which will help me for picking date.
Thanks in advance.
|
|
|
|
|
yes my dear,
.....
Name of the file ts_pick.js
The code:
// Title: Timestamp picker
// Description: See the demo at url
// Version: 1.0
// Date: 2001-05-12 (yyyy-mm-dd)
// Notes: Permission given to use this script in any kind of applications if
// header lines are left unchanged. Feel free to contact the author
// for feature requests and/or donations
function show_calendar(str_target, str_datetime) {
var arr_months = ["January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"];
var mons=["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"];
var week_days = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
var n_weekstart = 1; // day week starts from (normally 0 or 1)
var dt_datetime = (str_datetime == null || str_datetime =="" ? new Date() : str2dt(str_datetime));
var dt_prev_month = new Date(dt_datetime);
dt_prev_month.setMonth(dt_datetime.getMonth()-1);
var dt_next_month = new Date(dt_datetime);
dt_next_month.setMonth(dt_datetime.getMonth()+1);
var dt_firstday = new Date(dt_datetime);
dt_firstday.setDate(1);
dt_firstday.setDate(1-(7+dt_firstday.getDay()-n_weekstart)%7);
var dt_lastday = new Date(dt_next_month);
dt_lastday.setDate(0);
// html generation (feel free to tune it for your particular application)
// print calendar header
var str_buffer = new String (
"\n"+
"\n"+
" <title>Calendar\n"+
"\n"+
"\n"+
"\n"+
"\n\n\n"+
"\n"+
"\n \n"+
" \n\n");
var dt_current_day = new Date(dt_firstday);
// print weekdays titles
str_buffer += "\n";
for (var n=0; n<7; n++)
str_buffer += " \n";
// print calendar table
str_buffer += "\n";
while (dt_current_day.getMonth() == dt_datetime.getMonth() ||
dt_current_day.getMonth() == dt_firstday.getMonth()) {
// print row heder
str_buffer += "\n";
for (var n_current_wday=0; n_current_wday<7; n_current_wday++) {
if (dt_current_day.getDate() == dt_datetime.getDate() &&
dt_current_day.getMonth() == dt_datetime.getMonth())
// print current date
str_buffer += " \n";
dt_current_day.setDate(dt_current_day.getDate()+1);
}
// print row footer
str_buffer += "\n";
}
// print calendar footer
str_buffer +=
"\n\n\n" +
"");
str_buffer=str_buffer+("");
for(inc=0;inc"+arr_months[inc]);
else
str_buffer=str_buffer+(""+arr_months[inc]);
}
str_buffer=str_buffer+("");
str_buffer=str_buffer+new String(" | ");
str_buffer=str_buffer+("");
for(inc=1900;inc<=2100;inc++)
{
if(dt_datetime.getFullYear()==inc)
str_buffer=str_buffer+(""+inc);
else
str_buffer=str_buffer+(""+inc);
}
str_buffer=str_buffer+("");
str_buffer=str_buffer+new String(" | "+
""+
week_days[(n_weekstart+n)%7]+" | ";
else if (dt_current_day.getDay() == 0 || dt_current_day.getDay() == 6)
// weekend days
str_buffer += " | ";
else
// print working days of current month
str_buffer += " | ";
if (dt_current_day.getMonth() == dt_datetime.getMonth())
// print days of current month
str_buffer += ""+
"";
else
// print days of other months
str_buffer += ""+
"";
str_buffer += dt_current_day.getDate()+" | "+
""+
" | \n" +
" | \n" +
"\n" +
"\n";
var vWinCal = window.open("", "Calendar",
"width=196,height=195,status=no,resizable=yes,top=200,left=200");
vWinCal.opener = self;
vWinCal.focus();
var calc_doc = vWinCal.document;
calc_doc.write (str_buffer);
calc_doc.close();
}
// datetime parsing and formatting routimes. modify them if you wish other datetime format
function str2dt (str_datetime) {
str_datetime=str_datetime+" ";
var re_date = /^(\d+)\-(\d+)\-(\d+)\s$/;
if (!re_date.exec(str_datetime))
return alert("Invalid Datetime format: "+ str_datetime);
return (new Date (RegExp.$1, RegExp.$2-1, RegExp.$3, RegExp.$4, RegExp.$5, RegExp.$6));
}
function dt2dtstr (dt_datetime) {
//return (new String (dt_datetime.getDate()+"-"+(dt_datetime.getMonth()+1)+"-"+dt_datetime.getFullYear()+" "));
var mon=dt_datetime.getMonth()+1;
if (mon<10) mon='0'+mon;
var dt =dt_datetime.getDate();
if(dt<10) dt='0'+dt;
return (new String (dt_datetime.getFullYear()+"-"+mon+"-"+dt));
// return (new String (dt_datetime.getDate()+"-"+document.cal.month.value+1+"-"+document.cal.year.value));
}
function dt2tmstr (dt_datetime) {
//return (new String (
// dt_datetime.getHours()+":"+dt_datetime.getMinutes()+":"+dt_datetime.getSeconds()));
return("");
}
vivek
|
|
|
|
|
Hi All,
I'm using a webservices that uses RPC encoding , where i'm passing my request using httprequest object.
I've created a test application, where its working fine, but when i want it to use in my existing project where there are 3 tiers, its just bugging me saying "underlying connection is closed".
The error occurs when i'm reading response in stream.
Can anybody please tell me what could be wrong?
Please mail me to satish.nagdev@gmail.com
thanks in advance
satish
|
|
|
|
|
I want to disable or Hide the Close button [X] of the Browser. The browser is IE 6.0.
Satyajit S.Vetal
|
|
|
|
|
Can't be done - at least not in a webpage
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi!
I want to create a email box with spellchecker. can anyone tell me code of spellchecker.
Thanks
Arpita
|
|
|
|
|
arpita2006 wrote: can anyone tell me code of spellchecker
CODE001 lol
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
|
In both IE & Firefox I am getting a lot of:
- Error in parsing value for property 'cursor'.
- Error in parsing value for property 'top'.
- Error in parsing value for property 'display'.
in CSS & HTML files. Here are some snippets of code I use:
img.menuButton
{
cursor: hand;
}
.Freezing
{
top: expression(-2 + this.offsetParent.scrollTop);
}
203085
I also get window.event has no properties:
when I use it for window.event.srcElement.dragDrop();
Can someone help me clear up these errors please.
|
|
|
|
|
The "hand" value only exists in IE. The corresponding standard value is "pointer".
Expressions are only supported in IE.
---
b { font-weight: normal; }
|
|
|
|
|
The funny thing is VS2003 throws a warning if you use the value pointer, and VS2005 doesn't have hand as selectable value in intellisense but doesn't throw a warning either if you use it. Oh well.
"Democracy is two wolves and a sheep voting on what to have for dinner" - Ross
Edbert
Sydney, Australia
|
|
|
|
|
Is it possible to change the alert box caption which is displayed in top left corner ("Microsoft Internet Explorer") to my own caption.
Thanks in advance
Warm Regards
Prakash-B
|
|
|
|
|