Page 1 of 1

Tracing output on a live web page

Posted: Fri Jul 25, 2008 2:08 pm
by mcmcom
Hi all, im relatively new to php although i have been a web programmer for quite a while now. (M$ Tech.) I have a weird issue i can't seem to figure out and need a bit of help.

Basically a client has a web page with a form - the form posts to itself and php handles the creation of a SOAP client to send to a 3rd party API (as a wsdl). The client is getting 100% error from their environment (using php 4). I took the files and tested locally (to debug) and it works all the time for me. however it never works from the clients domain.

I need a way to either "trace" or write out stuff to the web page so i can determine if teh data getting passed to the API is really the same as on my local machine.

i tried using echo $myVars but it never displays anything on the page. Is there a trace function or something i can use that will output variables to the live page?

thanks in advance,
mcm

Re: Tracing output on a live web page

Posted: Fri Jul 25, 2008 3:08 pm
by Christopher
You are probably trying to get information from the SOAP transaction. You will probably need to log the information to a file.