Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ASP Pages


stone28

Recommended Posts

hi everybody,

 

I know that maybe it's strange question, but is there a way to add asp pages to osCommerce folder. I don't know php so I've created really simple asp page to which link is on one of the osCommerce pages but it doesn't work. I have windows server so there is no problem with ASP but of course osCommerce is PHP based application.

 

I expect what the answer is but just need to be sure as I don't want to spend any more time doing something in ASP which I won't be able to use.

 

Thanks in advance

 

Stone28

Link to comment
Share on other sites

hello,

if your server supports ASP You can but then You can use any php files as includes.

 

You need to take care that at no time ASP and PHP code are executed together(will not work).

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

thanks for the quick answer, however it doesn't work for me. I have pure ASP file no includes, nothing. Just several lines of asp. I tried to test it even by putting an empty ASP page on my server just with these lines inside:

 

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

</head>

 

<body>

</body>

</html>

 

And there is an error that page can not be found.

if I change that file to test.php (from test.asp) and I will remove first line (<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>) then you can see an empty page with no errors, which is correct.

 

Please, what is wrong. It's just simple asp file but it's with great value for my shop.

 

Thanks,

 

stone28

Link to comment
Share on other sites

Well on a Linux server ASP will not work.

 

You need to ask Your hosting company whether ASP is supported for your site or not.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Thanks again for reply,

 

It works now ;-) When I was setting my account I disabled ASP as I thought I will never need it with osCommerce.

 

Just had to enable it in my control panel.

 

Thanks again,

 

Stone28

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...