 |
|
| Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more. |
|
 |

08-24-2011, 12:03 PM
|
|
Contributing Member
|
|
Join Date: 07-02-09
Posts: 200
|
|
|
Can I run ASP and Wordpress Side by side?
I have been working on a friends website that is all in ASP.net.
I would love to move it over to the wordpress platform. Bummer is they have a whole section created for booking cruises.
Can I have wordpress installed but still keep the booking pages in ASP?
So can the Booking area be located at a subfolder? Or should I move it entirely to a subdomain?
the website is
http://www.valuecruises.net (want this to become wordpress powered)
http://www.valuecruises.net/booking (can this subfolder be in ASP with the rest of the URLs being wordpress?)
Last edited by snakeair; 08-26-2011 at 05:29 PM.
|

08-24-2011, 09:00 PM
|
 |
Contributing Member
Latest Blog: None
|
|
Join Date: 08-08-11
Location: Long Island, NY, USA
Posts: 287
|
|
|
Wordpress is PHP, not ASP. If you're on commercial hosting on ASP, you probably don't have PHP. So you wouldn't be able to run Wordpress.
If you have both, ASP and PHP, then yes, you can run them both.
|

08-25-2011, 02:40 AM
|
 |
Contributing Member
|
|
Join Date: 07-05-11
Location: philippines
Posts: 312
|
|
Quote:
Originally Posted by rookiethomas
I have been working on a friends website that is all in ASP.net.
I would love to move it over to the wordpress platform. Bummer is they have a whole section created for booking cruises.
Can I have wordpress installed but still keep the booking pages in ASP?
So can the Booking area be located at a subfolder? Or should I move it entirely to a subdomain?
the website is
http://www.valuecruises.net (want this to become wordpress powered)
http://www.valuecruises.net/booking (can this subfolder be in ASP with the rest of the URLs being wordpress?)
|
I think it is not possible to use them side by side because the whole site is run by only one type of server-scripting if it's ASP just ASP, if PHP just PHP..
What you can do is, put your Wordpress site on a different server (which also means a different domain name) that is using PHP then create a page in your website (which is using ASP) with an iframe which the source is the url of your server with PHP..
|

08-25-2011, 04:47 AM
|
 |
Super Moderator
|
|
Join Date: 02-10-07
Location: Central Kentucky
Posts: 10,071
|
|
|
First time I have heard about this so I did a Google search using the phrase, asp and php pages on the same site. From reading the synopsis it appears that it can be done. You may wish to repeat the search and read some more before proceeding.
IMO as long as they are in separate directories I don't see much difference between this and HTML based site adding a PHP blog.
|

08-25-2011, 05:21 AM
|
 |
Contributing Member
Latest Blog: None
|
|
Join Date: 08-08-11
Location: Long Island, NY, USA
Posts: 287
|
|
|
They don't even have to be in separate directories. As long as there are interpreters for both ASP and PHP, .asp files will run and .php files will run. The odds of having both on a commercially hosted server aren't great, though. It's usually ASP on Windows and PHP (or Cold Fusion) on Linux.
|

08-26-2011, 04:11 PM
|
|
Banned
Latest Blog: None
|
|
Join Date: 03-10-11
Posts: 290
|
|
|
No, this won't work. You cannot use ASP.NET on pages that are served by WordPress. You can use ASP.NET in the same web site as Wordpress, for example by having certain directories or certain pages serve ASP.NET content, while the rest of the site still serves WordPress content.
|

08-31-2011, 08:34 PM
|
 |
Contributing Member
Latest Blog: None
|
|
Join Date: 08-08-11
Location: Long Island, NY, USA
Posts: 287
|
|
|
No, you can't put ASP code in a PHP file, but that's not what rookiethomas asked. He wanted to know if he could run Wordpress and an ASP booking site on the same server. And if he has both interpreters on that server, he can.
|

09-01-2011, 03:34 PM
|
 |
Member
|
|
Join Date: 08-28-11
Location: USA
Posts: 30
|
|
|
I believe that for the "old school" ASP, you can run PHP on the server as well. However, if you try running ASP.NET 1.0 or higher and PHP, it is not possible.
|

09-01-2011, 05:54 PM
|
|
Contributing Member
Latest Blog: None
|
|
Join Date: 08-15-11
Posts: 50
|
|
|
You can run ASP.NET and PHP side by side. In fact the vast majority of web hosts who offer shared hosting with Windows offer both. IIS 6 and 7 both support PHP just fine.
|

09-02-2011, 02:33 PM
|
 |
Contributing Member
Latest Blog: None
|
|
Join Date: 08-08-11
Location: Long Island, NY, USA
Posts: 287
|
|
|
Defrag is correct. A user requesting an ASP.Net page will see that page. A user requesting a PHP page will see that page. Both from the same IIS server, as long as PHP is installed. (ASP is executed by the server itself.) You can even do it on an Apache server now.
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 10:37 PM.
Powered by vBulletin Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP
|
|
|