Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Echosign API executing the php demo page (New to PHP)

Posted on 2013-10-30
2
Medium Priority
?
885 Views
Last Modified: 2013-10-30
Per Adobe's instructions I am supposed to execute what you see below. This looks like a command you would run from a command line. I am running apache on my windows machine, php is installed and working but I don't believe I can run this as a command from the windows command prompt? I am just not sure how to execute what you see beow.

I tried placing it into a php page which didn't work. Any help is appreciated

<?php
command below
?>

php demo.php https://secure.echosign.com/services/EchoSignDocumentService16?wsdl <myapikey> test
0
Comment
Question by:J C
2 Comments
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 39612796
Not enough info.  How did you install PHP?  Did you add the path to 'php.exe' to your path variable in Windows?
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39612879
Sorry to see you're new to PHP and already getting tangled up in SOAP.  There are much better places to start your learning adventures, and PHP has some long-standing bugs in SOAP support.

You might find some good foundational material in this article:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_11769-And-by-the-way-I-am-new-to-PHP.html

You might try something like this:

<?php 
error_reporting(E_ALL);
$url = 'https://secure.echosign.com/services/EchoSignDocumentService16?wsdlPUT_YOUR_API_KEY_HERE';
$xml = file_get_contents($url);
echo htmlentities($xml);

Open in new window

0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question