Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
running php on .aspx page
Old 09-10-2007, 04:40 PM running php on .aspx page
Experienced Talker

Posts: 36
Trades: 0
hey all. trying to run a php script on an .aspx page and it isn't working. the page is http://www.eddiewalter.com/staging/calculator.aspx

here's the coding for the page:

Code:
<%@ Page aspcompat=true Language="VB" Debug="true" %>
<% 
Dim pageID, pageCategory
pageID = "calculators"
pageCategory = "buying"
%>
<!--#include file="/staging/assets/pre-content.inc"-->
<!--#include file="/staging/assets/menu.inc"-->
<div id="main-content">
<img src="/staging/images/mortgageu_logo.jpg" alt="MortgageU" class="float-right" />
<h1>Mortgage Calculators</h1>
<!--#include file="/staging/calculator.php"-->
<!-- end main-content -->
</div>
<div id="clear"></div>
<!--#include file="/staging/assets/post-content.inc"-->
from what i've read online, it seems you can just call the php page in an include statement, but it's not working.

any guidance?
edzdallas79 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-10-2007, 07:13 PM Re: running php on .aspx page
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
hey all. trying to run a php script on an .aspx page and it isn't working
There's a reason for it not working. It's because you can't do that
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-10-2007, 07:20 PM Re: running php on .aspx page
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
from what i've read online, it seems you can just call the php page in an include statement
Don't believe everything you read online. You can include php code into php pages that are on the same server.
You can also include the output from a different site or remote server into .net pages, but you cannot run php code in a .aspx page as an include.

BTW is php installed on the server?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to running php on .aspx page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11443 seconds with 12 queries