Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Thursday, March 29, 2012

Please Explain Difference Between ASP.Net and ASP and Also with PHP

Hello dears if some one have time and know about following question then explain in detail of post some links,

Please Explain Difference Between ASP.Net and ASP and Also with PHP

Note: don't post wrong links or notes.

Best Regards.

Wikipedia: ASP

Wikipedia: PHP

Wikipedia: ASP.NET

You may also wish to visit the following webpage, which allows software engineers--such as yourself, apparently--to answer their own questions:Google.

Saturday, March 24, 2012

Please help = Im desparate

I come from a PHP background and I'm having a heck of a time solving this problem. I need to create a contact form/ shopping cart. The form will consist of:

1. Product info(orderForm.asp):
the customer will select products and the a form for personal info will be filled out - this will include name. address, credit cart info, etc

2. Confirm order (orderConfirm.asp):
the values of the customers products will be added up and sent to this page along with the info previousley filled in and the order is sent by encrypted email.

I have done this with PHP by declaring variables and using 'if then else' statements.

Anybody have any idea how I can achieve this. It has to be done yesterday

I am not sure what exactly you need here.

If you would like to know about sending mails from ASP.net, check this link (its explined with an example)

http://www.developer.com/net/asp/article.php/3096831


kevinritt:

I come from a PHP background and I'm having a heck of a time solving this problem. I need to create a contact form/ shopping cart. The form will consist of:

1. Product info(orderForm.asp):
the customer will select products and the a form for personal info will be filled out - this will include name. address, credit cart info, etc

2. Confirm order (orderConfirm.asp):
the values of the customers products will be added up and sent to this page along with the info previousley filled in and the order is sent by encrypted email.

I have done this with PHP by declaring variables and using 'if then else' statements.

Anybody have any idea how I can achieve this. It has to be done yesterday

kevinritt --

Check out these links...

ASP.NET Getting Started -- http://www.asp.net/getstarted/default.aspx?tabid=61

ASP.NET Quick Start Tutorials --http://quickstarts.asp.net/QuickStartv20/aspnet/Default.aspx

Learn ASP.NET --http://www.asp.net/learn/default.aspx?tabid=63

ASP.NET Starter Kits --http://www.asp.net/downloads/starterkits/default.aspx?tabid=62

One quick way to get your project done is to setup one of the eCommerce Starter Kit applications and then make it suit your needs. However, those are complex applications and may be beyond your level right now. If that is the case, then just study them a bit. Maybe.

In short, what you need is a web-application, 2 pages, and a database. You need (1) allow the user to enter data on Form1. (2) when the user submits the data on Form1, you will grab the data programmatically and put it in the database and then redirect to Form2; (3) on Form2, you will get the data from the database, put it on Form2, and show the email to be sent; (4) when the user submits Form2 you will send the data in the email.

That's some work, no doubt about it. You will need to know how to do (A) database access, (B) email sending, (C) navigation, and (D) page layout. Your best bet, I think, is to go through the QuickStarts and find the sections for A, B, C, and D, learn them, and then try to code it.

(A) Data Access --http://quickstarts.asp.net/QuickStartv20/aspnet/doc/data/default.aspx

(C) Navigation and (D) Page Layout --http://quickstarts.asp.net/QuickStartv20/aspnet/doc/pages/default.aspx

(B) Email --http://www.developer.com/net/asp/article.php/3096831 orhttp://aspalliance.com/149_How_to_Send_Email_from_ASP_NET_

Is this is your 1st application, then it will take some time to get over the initial learning curve. However, after this application is done, I think you will see the power of ASP.NET over Classic ASP and PHP. IMHO.

HTH.

Thank you.

-- Mark Kamoski

Friday, March 16, 2012

Please help me to understand COM

Greetings,

I just started to learn ASP.NET. I'm not familiar with Windows programming since I was using LINUX/PHP for a long time.

I have several questions, answers to which can help me better understand ASP.NET.

My first practical task in ASP.NET is to create music manager which I already wrote in PHP. It is a database that hold albums/artists/songs/covers information. There also a class that reads/write id3v1 and id3v2 mp3 tags (http://getid3.org/).

Here is the main problem. I didn't find any class for ASP.NET that could do the same but there is a project named id3lib http://id3lib.sourceforge.net/ which can be used as a COM object. I have never worked with COM before and truly speaking hardly understand how it works.

Question: id3lib project has COM object included to work with id3 tags, how can I use it in ASP.NET? Where can I find tutorials on working with COM?

Any help is greatly appreciated.

Thanks!You can still reference COM components is ASP.NET. Simply reference the COM object along with the EnterpriseServices component, and .NET will use interop to talk to the COM object. It will be a little slower than if it were a regular .NET assembly, but you can still use it.

hope this helps,
sivilian