Avatar of awolarczuk
awolarczuk
Flag for Australia asked on

XML will not display on the page

Hi all i have a php page that had xml on it, i have two other files, of course the XML file with the date and then i have a XLst and XLS file for formatting, when i try to view the file on the screen all i see if a white screen with my css styling

can someone please give em a hand here

Here is the Products.XSLT as i could noty attatch

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    <xsl:key name="product-by-cat" match="product" use="@cat-ref"/>
    <xsl:key name="product-by-id" match="product" use="@id"/>
    
    <xsl:strip-space elements="*"/>
    <xsl:output indent="yes"/>
    
    <xsl:param name="product"/>
    <xsl:param name="base-page" select="'../product.php'"/>
    
    <xsl:template match="products">
        <div id="productsdesc">
            <xsl:if test="normalize-space($product)">
                <xsl:apply-templates select="key('product-by-id', $product)/Description"/>
            </xsl:if>
        </div>
        <div id="products">
                     <table>
                        <xsl:for-each select="categories/category[position() mod 3 = 1]">
                            <tr>
                                <th><xsl:apply-templates select="."/></th>
                                <th><xsl:apply-templates select="following-sibling::category[1]"/></th>
                                <th><xsl:apply-templates select="following-sibling::category[2]"/></th>
                            </tr>
                            <xsl:call-template name="get-next-row">
                                <xsl:with-param name="cat1" select="@cat-id"/>
                                <xsl:with-param name="cat2" select="following-sibling::category[1]/@cat-id"/>
                                <xsl:with-param name="cat3" select="following-sibling::category[2]/@cat-id"/>
                                <xsl:with-param name="count" select="1"/>
                            </xsl:call-template>
                        </xsl:for-each>
                    </table>
        </div>
    </xsl:template>
    
    <xsl:template name="get-next-row">
        <xsl:param name="cat1"/>
        <xsl:param name="cat2"/>
        <xsl:param name="cat3"/>
        <xsl:param name="count"/>
        <xsl:if test="key('product-by-cat', $cat1)[position() = $count ]| key('product-by-cat', $cat2)[position() = $count] | key('product-by-cat', $cat3)[position() = $count]">
            <tr>
                <td><a href="{concat($base-page, '?product=', key('product-by-cat', $cat1)[position() = $count ]/@id)}"><xsl:apply-templates select="key('product-by-cat', $cat1)[position() = $count ]/title"/></a></td>
                <td><a href="{concat($base-page, '?product=', key('product-by-cat', $cat2)[position() = $count ]/@id)}"><xsl:apply-templates select="key('product-by-cat', $cat2)[position() = $count ]/title"/></a></td>
                <td><a href="{concat($base-page, '?product=', key('product-by-cat', $cat3)[position() = $count ]/@id)}"><xsl:apply-templates select="key('product-by-cat', $cat3)[position() = $count ]/title"/></a></td>
            </tr>
            <xsl:call-template name="get-next-row">
                <xsl:with-param name="cat1" select="$cat1"/>
                <xsl:with-param name="cat2" select="$cat2"/>
                <xsl:with-param name="cat3" select="$cat3"/>
                <xsl:with-param name="count" select="$count + 1"/>
            </xsl:call-template>
        </xsl:if>
    </xsl:template>
    
    <xsl:template match="p">
        <p>
            <xsl:apply-templates select="node()"/>
        </p>
        <br/>
    </xsl:template>
    
    <xsl:template match="list">
        <p class="list_intro">
            <xsl:apply-templates select="list-intro"/>
        </p>
        <br/>
        <ol>
            <xsl:for-each select="list-item">
                <li><xsl:apply-templates/></li>
            </xsl:for-each>
        </ol>
    </xsl:template>
    
    
</xsl:stylesheet>

Open in new window

products.xml
product.php
products.xsl
XMLPHPWeb Languages and Standards

Avatar of undefined
Last Comment
awolarczuk

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Gertone (Geert Bormans)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
awolarczuk

ASKER
yea ok sorry i forgot the PHP page , here it is
product.php
Gertone (Geert Bormans)

nope, you did not forget the php page, it was with the original question.
it just contains no code for performing the XSLT transform.
That is what I added.

You have to tell your PHP to actually run the XSLT against the source XML.
It won't happen automatically.
If you don't perform the XSLT, you will not see results of course
awolarczuk

ASKER
yep all correct mate and i changed the code to use the one you showed here, thank you very much for that and it is the same mate no text on the page
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Gertone (Geert Bormans)

1. remove the credits from the page
2. remove the product parameter getter from the page (it would be void if you don't pas a parameter)
3. add the code I showed
4. test and if it does not work., send the new products.php
awolarczuk

ASKER
mate do i need something like this as well
"  $xp->setParameter('', 'product', $product);"

also i have done  the first bit andi am not sure what you mean about the #2 and i have added you code here is my current code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Products - Australian Financial and Mortgage Services </title>
		
		<meta http-equiv="content-script-type" content="text/javascript" >
		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" >
		<link href="settings.css" rel="stylesheet" type="text/css">


</head>

<body>
	<div id="container"><!-- Top of the page and page location -->
		
		<div id= "ptitle"><b>PRODUCTS AND SERVICES</b></div>
		
		<?php include("menu.php"); ?>
		
		
 

		<?php
					$xsl = new DomDocument;
				  $xsl->load('products.xsl');
				  
				  $xp->importStylesheet($xsl);
				  
				  $xml_doc = new DomDocument;
				  $xml_doc->load('products.xml');
				
				  echo  $xp->transformToXML($xml_doc);	
							     ?>
		
		
		<!-- *****This is for the bottom table links****-->
		
			<?php include("footer.php"); ?>

		<!--**** This is for the bottom table links***-->

	<!-- Bottom  of the page and page location -->
  
    
    </div>


</body>

</html>

Open in new window

Gertone (Geert Bormans)

$xp->setParameter('', 'product', $product);

is what you would do if you need to pass a parameter to the XSLT. Do you need that?

OK, the above PHP should work.
If it doesn't it likely means you are not loading the XML and XSLT correctly
make sure the files are in the virtual root of your application, or add a relative path to the load method

 $xsl->load('xslpath/products.xsl');
âš¡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
awolarczuk

ASKER
HI mate yes this is waht i need,
i am 100% sure all the files are inthe right place they are all in the root, they are all in the same place
Gertone (Geert Bormans)

OK, but we will do one step at the time.

First lets verify that you loaded the XML correctly

So drop all the code I send you in favour of this code

<?php 
	$xml_doc = new DomDocument;
	$xml_doc->load('products.xml');
	$xpath = new DOMXpath($xml_doc);
	$elements = $xpath->query("//product/title");	
	if (!is_null($elements)) {
  	foreach ($elements as $element) {
    	echo "<br/>[". $element->nodeValue . "]";
  	}
 	}
  
	//echo $xml_doc;
 ?>

Open in new window


It should return something like this

[Standard Variable]
[Basic Variable]
[Introductory (Honeymoon)]
[Fixed Rate Loan]
[Refinancing]
[Bridging Loan]
[Credit Impaired]
[Low Document Loans]
[Second Mortgages]
[Hire Purchase]
[Finance Lease]
[Commercial Mortgages]
[Short Term Business Loans]
[Medium-Long Term Business Loans]
[Why is an Investment Property a Good Strategy ?]
[Negative Gearing]
[Capital Gains Tax]
[Line of Credit]
[Reverse Mortgages]

Open in new window

Gertone (Geert Bormans)

If that is not what you get

check the php snippet, lets do a hello world

<?php 
echo "Hello World"
 ?>

Open in new window


and see what happens then

If you now see "Hello World" it proves you php is executed
if you did not see the title list, it proves your XML is not loaded correctly.
Then you need to figure out your settings
since this
"i am 100% sure all the files are inthe right place "
is untrue
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
awolarczuk

ASKER
ok matwe working it now sorry but network been down just came back up
awolarczuk

ASKER
ok that is what i go mate

[Standard Variable]
[Basic Variable]
[Introductory (Honeymoon)]
[Fixed Rate Loan]
[Refinancing]
[Bridging Loan]
[Credit Impaired]
[Low Document Loans]
[Second Mortgages]
[Hire Purchase]
[Finance Lease]
[Commercial Mortgages]
[Short Term Business Loans]
[Medium-Long Term Business Loans]
[Why is an Investment Property a Good Strategy ?]
[Negative Gearing]
[Capital Gains Tax]
[Line of Credit]
[Reverse Mortgages]
Gertone (Geert Bormans)

so, it proves the XML is loaded well
Let me do something similar to prove the XSLT is there
âš¡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Gertone (Geert Bormans)

OK, now you have loaded the XML correctly, let's see if the XSL is OK

<?php

	//echo "[" . $_GET["product"] . "]<br/>" ;

	$xsl = new DomDocument;
	$xsl->load('products.xsl');

	$xp = new xsltprocessor;				  
	$xp->importStylesheet($xsl);

	$xml_doc = new DomDocument;
	$xml_doc->load('products.xml');

	$xpath = new DOMXpath($xsl);
	
	$attributes = $xpath->query("/*/@version");	
	if (!is_null($attributes)) {
  foreach ($attributes as $attribute) {
  	echo "<br/>[". $attribute->nodeValue . "]";
  	}
 	}
 	
 ?>

Open in new window

Gertone (Geert Bormans)

You should see
[1.0]
in the output
That proves the XSLT is loaded correctly

If so, then this code will perform the trnaform and will show the headers correctly

<?php

	//echo "[" . $_GET["product"] . "]<br/>" ;

	$xsl = new DomDocument;
	$xsl->load('products.xsl');

	$xp = new xsltprocessor;				  
	$xp->importStylesheet($xsl);

	$xml = new DomDocument;
	$xml->load('products.xml');

	echo $xp->transformToXml($xml);
 ?>

Open in new window

Gertone (Geert Bormans)

Next steps (for you, I am off to bed)

1. add the parameter passing with a fixed value
2. grab the parameter from the request and use that to pass the parameter
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
awolarczuk

ASKER
ok mate with that late bit of code i see nothin at all
Gertone (Geert Bormans)

did you see the
[1.0] ?
Gertone (Geert Bormans)

Make sure that you use PHP5
âš¡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
awolarczuk

ASKER
no mate i didnt see anything at all i have the latest php i only installed it a two wees back
Gertone (Geert Bormans)

I sent two snippets of code in a row (I should not have, I should have waited for results first)
You need toi try them both.
The one from
http://#a37727355
should render [1.0]
Can you test that

If the XML worked and loading the XSLT does not work... there is something wrong with the XSL
it is either not wellformed or in a different location
awolarczuk

ASKER
ok mate i ran the code in 37727355 and i dont see render [1.0] all i see is the css layout for the page, one thing i do notice is now i dont see the footer in the css
Your help has saved me hundreds of hours of internet surfing.
fblack61
Gertone (Geert Bormans)

you should learn to debug with isolated bits.
You can't test things in a whole, you need to find errors in isolated code.
My next question was going to be "Is there a CSS that throws it all away?

so drop the includes of the other php from the page
also drop every reference to a CSS from the page
and try isolated

here I have your xsl, xml and the php I posted on a server
http://www.c-moria.com/php-test.php?product=abc
awolarczuk

ASKER
Mate thank for the hint i have torn my site down to nothin and i still cant get it to bloody work,  i did get the one to work showing the heading

<?php

	echo "[" . $_GET["product"] . "]<br/>" ;

	$xsl = new DomDocument;
	$xsl->load('products.xsl');

	$xp = new xsltprocessor;				  
	$xp->importStylesheet($xsl);

	$xml = new DomDocument;
	$xml->load('products.xml');

	echo $xp->transformToXml($xml);
 ?>

Open in new window


with my current code .

<html>

<head>

<title>Products - Australian Financial and Mortgage Services </title>
		
	


</head>

<body>
		
		
 

	<?php
					$xsl = new DomDocument;
				  $xsl->load('..\products.xsl');
				  
				  $xp->importStylesheet($xsl);
				  
				  $xml_doc = new DomDocument;
				  $xml_doc->load('..\products.xml');
				
				  echo  $xp->transformToXML($xml_doc);	
							     ?>
</body>

</html>

Open in new window


i cant se a thing on the screen at all

can i take a look at the code you have mate on that test server
Gertone (Geert Bormans)

on my test server there is a php file, your xslt and your xml
all three are in the same directory (root)

this is the full content of the php file

<html>
<body>
<p>
<?php

	//echo "[" . $_GET["product"] . "]<br/>" ;

	$xsl = new DomDocument;
	$xsl->load('products.xsl');

	$xp = new xsltprocessor;				  
	$xp->importStylesheet($xsl);

	$xml = new DomDocument;
	$xml->load('products.xml');

	echo $xp->transformToXml($xml);
	
	
	// $xpath = new DOMXpath($xsl);
	
	// $attributes = $xpath->query("/*/@version");	
	// if (!is_null($attributes)) {
  // foreach ($attributes as $attribute) {
  // 	echo "<br/>[". $attribute->nodeValue . "]";
  // 	}
 	// }
 	
 ?>
</p>
 </body>
 </html>

Open in new window

âš¡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Gertone (Geert Bormans)

I am most concerned with the XSLT file. I don't understand why that piece of code somewhere above does not render
[1.0]
this means there is something wrong with loading the XSLT file
awolarczuk

ASKER
even with your code mate i cant get a bloody thing to show i dont know what going on how do we work this out mate
Gertone (Geert Bormans)

That can mean a lot of things for you to check
- is the XSLT wellformed. I know you posted a correct XSLT. But is that waht you have there? Or did you mess around in the XSLT without knowing. I think your number one task is to try the script that renders the "1.0]" from the XSLT, until that works. If you don't get past that, you will not get access to the transformation
You could give me the URL of the XSLT, so I can evaluate acces to it
- are you sure you get nothing? Not seeing it doesn't mean it is not there. Your browser you use to view it could simply cache it. Set the "expiry" to always and use firefox to view. IE always caches stuff, so that is not good for testing, webdevelopment. Use the FireFox web developer to see what the source is of what you get
- check the version of the PHP. It should be 5.2 at least
- check the PHP settings. or the .htaccess Maybe you disabled access to the XSLT file or the XSLT processor
-...
We are getting in an area where I only can say what you should check yourself. You need someone on the machine to verify what is going wrong at a level deeper than the coding

As you see on my server (using PHP5) the PHP code in combination with XML and XSLT does what it should do
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
awolarczuk

ASKER
Yep 100% agree your server is working,

i will try all of that now , i was using crome but i am downloading firefox now, also wher do i check this check the PHP settings. or the .htaccess if you dont mind me asking??

but apart form what ill try the rest now

Thanks for your help mate
awolarczuk

ASKER
This is interesting when i use firefox i am getting a clear page like the rest but i use the webdev are and i ma getting

[09:49:26.751] GET http://webtestsrv/ausf/product.php [HTTP/1.1 500 Internal Server Error 588ms]
awolarczuk

ASKER
and i cant seem to find .htaccess
âš¡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Gertone (Geert Bormans)

something on the page is obviously not right.
I am still thinking there is a XSLT loading error

what is the architecture? web server, platform,...
Gertone (Geert Bormans)

is your server accessible?
give me the url of the XSLT then please
awolarczuk

ASKER
i am using 2008 server with iss 7
i canb open a port so u can take a look give me a bit
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
awolarczuk

ASKER
Ok here is the link to my test server

http://test.adbydesigns.com.au/ausf/
Gertone (Geert Bormans)

awolarczuk

ASKER
if it stil doest work just try the ipaddress http://60.241.48.12/ausf/
âš¡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Gertone (Geert Bormans)

test.adbydesigns does not work

the other one gives an error 500 on the php and and a 404 on the xml and xsl
can you put the page there that just shows the XML headers (the one you claimed that worked
and give it a name product1.php
awolarczuk

ASKER
Gertone (Geert Bormans)

funny, I get a 500 on that one too.
I think you need to start checking what the restrictions are on what you allow to go outside.
I start to feel that part of your issues is caused by IIS settings. But I can't help you to configure IIS directly. Bt I believe you have an open question on IIS config already
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
awolarczuk

ASKER
thats wrid it should be working i can rdp in to another system oputside of my office and i can see it let me do some checking
Gertone (Geert Bormans)

now I see it.
I see that you print the product parameter correctly

so this line of code works
echo "[" . $_GET["product"] . "]<br/>" ;

Open in new window


Good, that is something

Can you now put the code for reading the XML in?

Here it only shows the [abc], no XML headers
Gertone (Geert Bormans)

note that currently (so please don't change the files)
I have access to your Xml and XSLT
âš¡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Gertone (Geert Bormans)

I don't understand this anymore.

Here is what I did
I changed my php to use your XSL
and it works

http://www.c-moria.com/php-test-remote-xsl-attr.php

here is the code for the php

<html>
<body>
<p>
<?php

	//echo "[" . $_GET["product"] . "]<br/>" ;

	$xsl = new DomDocument;
	$xsl->load('http://60.241.48.12/ausf/products.xsl');

	$xp = new xsltprocessor;				  
	$xp->importStylesheet($xsl);

	$xml = new DomDocument;
	$xml->load('products.xml');

	$xpath = new DOMXpath($xsl);
	
	$attributes = $xpath->query("/*/@version");	
	if (!is_null($attributes)) {
  foreach ($attributes as $attribute) {
  	echo "<br/>[". $attribute->nodeValue . "]";
  	}
 	}
 	
 ?>
</p>
 </body>
 </html>

Open in new window

Gertone (Geert Bormans)

OK and the following tests excludes issues with your XML and XSL file
(so don't touch them anymore)

http://www.c-moria.com/php-test-remote-transform.php

It does the transform with your copies of the files

<html>
<body>
<p>
<?php

	//echo "[" . $_GET["product"] . "]<br/>" ;

	$xsl = new DomDocument;
	$xsl->load('http://60.241.48.12/ausf/products.xsl');

	$xp = new xsltprocessor;				  
	$xp->importStylesheet($xsl);

	$xml = new DomDocument;
	$xml->load('http://60.241.48.12/ausf/products.xml');

	echo $xp->transformToXml($xml);
	
 	
 ?>
</p>
 </body>
 </html>

Open in new window

awolarczuk

ASKER
your not the only one that doesnt get this at all it is driving me nuts, the only thing is that i can rem when you said to check the  .htaccess this was no where to be found
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
awolarczuk

ASKER
ok got it for commant 37736624 i am using this code as well now and same still

would it make a difference if i started a new site with a new folder in iis ect
Gertone (Geert Bormans)

So, I can come to the conclusion that the files are OK and at the right location.
The problem is in your configuration
- wrong version of PHP
- locks on permissions of files
- ...
beyond my knowledge definitely
awolarczuk

ASKER
but the problem is when i move it to the real server this is just s test server it is the same issue
if you like i can move everything here
âš¡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
awolarczuk

ASKER
and it did work at once stage would it make a difference without the .htaccess
awolarczuk

ASKER
this is one a different server
http://austfinancial.com/product1.php

with the file you help me create

can you please zip all four fiels you are using i know they are the same as mine and ill place them here and test them
awolarczuk

ASKER
this is my php test page
http://60.241.48.12/other/test.php
if that helps
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
awolarczuk

ASKER
Mate i need to get something working for a clinet is there a way to get this working without the xlst file
Gertone (Geert Bormans)

There is only one file, I was accessing the xml and xslt on your server for this
but it worked until you moved the files away

Please, if you move stuff from one server to another, make sure that you build it up again with all the test php as I showed you in the scope of this question

And if it used to work at some point, you should be allarmed by what you changed.

Yes, this can be done without XSLT, by writing a bunch of PHP code to process the XML,
pretty inconvenient if at some point you need to add a parameter. Instead of thinking about that option you should think about what is different between test and production server. Developing all this outside XSLT is only a short term solution, and I am definitely not going to develop all that DOM code for you

I understand you need to deliver to a client. Don't put that pressure on me, please. I need to deliver to a client now too, so I will be gone for the rest of the day. Good luck.
Gertone (Geert Bormans)

Here is a set that uses local XML/XSLT
âš¡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Gertone (Geert Bormans)

I am curious what happens if you run the php that tests the XML headers on the production server

You send me a testinfo() on php of your test server. Did you make exactly the same install on the production server?

You should verify at least the PHP version on production server and the libxml version that is active
Gertone (Geert Bormans)

seems the attachments did not work. Here is teh full set again
test-php.zip
awolarczuk

ASKER
sorry mate i didnt mean to put the heat on you at all
i didnt build the production server i am using cpanel for that.
I also didnt move anything im not usre what happend there, i am happy to build another quick test server with linux what would you suggest???
mate i dont expect you to do all the work at all and as far as i know i didnt change a thing, i have got the three files and i will also upload the test file to the production server to see it as well
thanks os much for all your help so far mate
Your help has saved me hundreds of hours of internet surfing.
fblack61
awolarczuk

ASKER
Here is the test file for the production server ;
http://austfinancial.com/test.php

what webserver are you using there ???
i copied all ur files to the production server and same issues
this is really started to get to me now, and i am sure it is just something so small , i have dont to using wordpress for other sites i am doing but i cant seem to find how to do this sort of thing in wordpress if i could i  would build the site again in wordpress
awolarczuk

ASKER
Now it is really driving my nuts i just built a ubunto webserver and put the files there and i am still having a issue i cant work out whats going on
Gertone (Geert Bormans)

For every new install you make you ahev to do all the steps, because we want to know what is going on

- step 1: see if the php works with a simple echo "hello world" (but nothing else of your menu and footer)
- step 2: see if the XML reads correctly (with the code that returns the header)
- step 3: see if the XSLT is read correctly (with the code that returns the version [1.0]
- step 4: test the XSLT itself

basically you should make 4 php test files (one for each step) and test them all in a row
so you can pinpoint the problem

I am using a hosted php server and cpanel (I guess it is on windows but that should not matter) I can choose between PHP4 and PHP5 and I have checked PHP5

I see some differences between the two test.php you referenced, and in neither of the two I see libxslt as an enabled package. Maybe you should check with your hosting company how that goes
âš¡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
awolarczuk

ASKER
ok i got an old asp version working with no issues i am guess that is no help for the issues we are having, i rebuilt a iis server windows 2008 iis7  with just asp, what would you suggest the first set for install php just download the server ??
Gertone (Geert Bormans)

If you have an iis with asp?
I remember I did this entire project in ASP for you about a year ago... use that.

if you still want to do it i PHP, download PHP and install it and make sure that a .php file gets executed. dump the three files in the root and it should work.

I have no clue about configuring IIS for PHP, but it should be straight forward

I am not sure that jumping between servers for a small issue like this is the best idea.
Did you try the four steps with the four php?
awolarczuk

ASKER
i did mate yep  and same issue, i am sure it is not something you or i are doing all my other php sites are worming no issues, i am moving to a new hosting server that doesnt like asp, but i might have to leave just this site at on my old server unless where is a way linux will host ASP
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck