whyleyc / zamzar-php

Simple PHP script to use the Zamzar file conversion API
MIT License
1 stars 1 forks source link

Create zamzar-sample-for-wamp #2

Open ask2rg opened 3 years ago

ask2rg commented 3 years ago

Working demo of zamzar API working on localhost over wamp server (windows). code written in PHP

whyleyc commented 3 years ago

@ask2rg Thanks for submitting this - I took a look and can see it adds some extra echo statements to the base code. I can see how this would be useful if you are running the PHP script in a hosted environment (e.g. via a web server), but the original code is designed just to showcase running from the command line.

I'll update the README to make this clear, and am also happy to link out to your code if you wish to host it in a separate repository (I won't integrate it here as I just wish to keep the sample code for command line only). Thanks.

ask2rg commented 3 years ago

Hi @whyleyc i also happy if you link out my code, you are completely free to use or distribute this code. i will more happy if you would able to give credit to me along with this i use many echo so that a new user will able to see output of each step that's make easier to understand the flow of zamzar api works. this sample code show how to use zamzar api with php in local environment of windows (localhost wamp server)

i am new to programing and php so sample code may have some mistakes, correct me where i am wrong