Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRifqi Fahmi
23,164 PointsHow to execute command in server from website ? and get the result back displayed at the web
So i have been wandering this thing for the past few months, but I still blur how it work. Here the case : (Image compressing)
- I have a website
- User can upload their image
- Their image will be stored in the server
- The server execute some image compression application command to compress the image when the user click "Compress" button on the website. (This is what i want)
- The result from the conversion will put in a folder lets call it "compression_result"
- Then the compressed image displayed on the website
so the big question is how to execute command to server from website interface ? is it using PHP ? Node.js ?
Thanks Andrew Chalkley Alena Holligan