Whats Asp's Equivilent To PHP's 'extends'?

I want to be able to do the following, but im not sure how in asp.

<?php
class Cart {
var $items;

some functions.
}
?>

<?php
class Named_Cart extends Cart {
var $owner;

}
?>

View Replies


ADVERTISEMENT

Equivilent To SQL's LIKE

I want to perform an IF statement that says basically "if department is equal to PHS or description contains the words 'phone card' then do some stuff".

The dept=PHS bit I've got but I was stuck over how to code the 'description contains' bit. In SQL I would use "LIKE '%phone card%' " so I am looking for however ASP handles that kind of statement please. when I tried a search of the forum but 'like' and 'contains' are too common so it doesn't include them in any search performed.

View Replies View Related

Test ASPs

I have a PC running Win XP Home and want to learn how to write ASPs.
In order to test them I think I need a web server installed on my PC. Since
I don't believe IIS can be run under Win XP Home I downloaded and
installed the Apache web server. I'm stuck at this point and would appreciate
opinions on whether I am on the right track, and, if so, advice on the following.
1. Having written a test asp page how do I use Apache to test it?
2. Can Apache handle VBScript on an ASP page? From the info on the
Apache web site I don't think it can.

View Replies View Related

Testing ASPs

I need to test ASP pages at home before uploading them (no net connectiona t home, only here at uni and I need the site owrking before I transfer it).
The ASP pages are written, PWS is installed (except for some file that had an error - but that didn't install last time and everything worked fine then).
Where do I put the ASP pages and DB and how do I set up a connection between them? The pages run in IE at the moment but no data is pulled onto them from the DB.

View Replies View Related

ASPs And NTFS Permissions

I have been successfully running ASP on a W2K IIS5.0 server using Anon
Access enabled, but would like to be able to restrict access to a particular
folder containing some ASP content to a particular NTFS user group that I
have set
up.

I have added this group to the particular folder (giving Full Control) and
switched off anon access and added Intergrated Windows authentication in IIS
Admin. The problem is that although users can access static content in this
folder, any attempt to run an ASP fails with a logon box appearing and
"Error: access denied" apearing in the page.

Is the problem that this user group does not have permissions on the system
files used to execute the ASPs? Everything works fine under my admin
account or if I make it all Anonymous access.

View Replies View Related

Whats The Best Browser For Mac OS X?

whats the best browser for mac OS X?

View Replies View Related

ASP & ASP.NET Whats The Difference?

A few weeks ago I was told in this forum that ASP would be a great solution to a large web site. I purchased a book about ASP.Net but have also seen info on ASP. Can you please tell me what is the difference between the two?

I don't know computer programming at all. Dreamweaver MX is the program I use. Can ASP be done with a WYSIWYG program? I have set up databases in Access & built web sites with DW MX I am not sure how to tie the two together.

View Replies View Related

Whats All About Bound Checking?

How can I make such a bold statement? Two words: Buffer Overflow.

In the very first class I took in programming (those many years ago), we were berated class after class about proper bounds checking to prevent buffer overflows. What this means in simple terms is that every time my program asked the user for input, it had better check to make sure the input fit in the place I reserved for it. If I asked for a ''Y/N'' and I got a ''yes'' or a ''no'', those extra characters had to go somewhere and I had better be prepared for them.

View Replies View Related

Whats The Transition From Access To...

It sounds like you are looking at the properties of the WebSites main branch, when you need to look to the first element under this branch (opening it) to the next "step down", and check the properties of the child element (mine is called "default web site", but yours perhaps has been changed from that).

It also contains an "advanced" button on the Web Site tab (right next to the "IP Address" field) which allows "multiple" identities, which is the part which I couldn't to work with 100% consistency.

View Replies View Related

Detect Whats In A String After A Character

i have a browse button on a web form that the user can upload images via ftp. the user clicks on the browse button to browse a file on his computer and the text field displays the path - "mycomputerdesktopmyimage.jpg".

i need to get the name of the image and insert the name into my database. so i need to be able to search the string ("mycomputerdesktopmyimage.jpg") and insert all the characters after the last "" which will give me the image name. ive tried just writing out the string in asp (jscript), but it gives me "mycomputerdesktopmyimage.jpg" without all the backslashes.

how do i get those backslashes back into the string? my second question is how do i search for the characters after the last backslash? i know i can use a substring on this, but how can i use it for the last backslash?

View Replies View Related

Whats The Difference Between Access And MSSQL?

I've done several sites with ASP that use an Access database, and it has worked fine so far. I will be developing a much larger site and I need to know if Access just isn't going to cut it anymore.

Is MSSQL what I should use instead? How much is too much for an Access database? What are the differences in coding for something besides Access? (is it just in the connection string, or what?)

View Replies View Related

If Checkboxes Not Selected Then Show Error, Whats The Best Way?

I have a form and if none of the radiobuttons are selecte or any of the txt fields are empty i want it to display an error, also if the entry in a txt field is not numeric i want it to display an error, if there are no errors then i wanted to display a message

what is the best way of going about this??

View Replies View Related

Whats The Exact Error For "system Cannot Find The File Specified"

i get "system cannot find the file specified" error. iam sure that the path of file iam looking for is true. i guess this is a friendly message thrown. when i turned off the freind messages in IE (client side) i still get the same error. is there any way that i can see the exact error so that i can debug.

View Replies View Related

Whats All About "IMS Package"?

anyone has any idea what IMS Package is all about? i read that The IMS Package consists of two major elements: a special XML file describing the content organization and resources in a Package, and the physical files being described by the XML.

The special XML file is named as imsmanifest.XML, together with all resources, when import, will be extracted from a single .zip file.

Does any one know where i can get such kind of .zip files so that i can check what exactly happening inside?

View Replies View Related







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