Page 1 of 1

Wordpress and PHP and ASP

Posted: Wed Dec 02, 2009 1:40 pm
by dzirkelb
We have created a word press site, and, now, we would like to incorporate some already created .asp pages into the site. I would like to keep them as .asp if possible as there is an awful lot of them, and an awful lot of code / database pulling / displaying / updating and the like.

So, I am thinking about just plugging my .asp pages into the wordpress site somewhere (and I would have to manually update them opposed to the theme's update process).

Now, what I want to do is take the existing .css styling and all menu's / links that are already existant, and plug those into my .asp page...then, I will just add the .asp code I need to the static pages.

However, a problem I am having is I am not quite sure on where to find a "template" page where I can paste the code into my asp page (I know I can't use php in my asp code, I will just use the css styling and re-create the links using a mysql connection through asp).

So, where do I find all the database connection information for the links, a template page to use the .css styling from, and any extra information you think I will need?

Or, does anyone know of a better way to accomplish this?

Re: Wordpress and PHP and ASP

Posted: Wed Dec 02, 2009 3:30 pm
by dzirkelb
I found the way to do this is through javascript...adding this line of code adds the result of an asp page to a php page:

<script language="javascript" type="text/javascript" src="test.asp"></script>

now to find out how to create a general page through wordpress with the same look and feel of the rest...