hey
can i transfer pictures through sockets through php? how can i do it if its posible.i want to send n receive pictures

Recommended Answers

All 3 Replies

Where do you want to transfer images from, and where to?

i want to transfer images to a C++ program and after some processing want to get back from C++ program

Well php will store the images on the file system somewhere. If you write your C++ program, you could then use the PHP script to call the C++ program. Then when the C++ program is done, if give back a report of some sort and saves the processed pictures to the same place if unedited, or else where if the images were edited in some way. You can't pass things around using sockets.

If you would like to get into image processing using C++ and php, have a look at imagemagick.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.