Jump to content

Webserver with php


Recommended Posts

Hi,

I have a question. Can I just use php within an html page on the webserver of an mta server?

This is my meta.xml:

  
<meta> 
    <info name="test" author="Rutger" type="script" version="1.0" /> 
    <include resource="ajax" /> 
    <html src="test.html" http="true" /> 
</meta> 
  

And, test.html:

  
<html> 
<body> 
<?php 
    echo "test"; 
?> 
</body> 
</html> 
  

This doesn't seem to work, also tried it with including the mta_sdk.php, but that didn't work either.

I have also tried the example of the PHP SDK wiki page, which didn't work either.

Is there any way so I could get this to work?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...