New topic: 

Sending image back to server

<http://forums.realsoftware.com/viewtopic.php?t=43996>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        nyprog          Post subject: Sending image back to 
serverPosted: Mon May 14, 2012 12:58 pm                         
Joined: Wed Jan 30, 2008 12:24 pm
Posts: 118                I'm using an HTML5 canvas and want to copy and send 
the image an save it onto my server. 
So the Client Browser sends the image to my server.
I'm getting the image from a canvas by using the 
canvas.toDataURL("image/png:base64"); command.
I will be sending image after image so it has to be fast.
Getting the image from the canvas is working fine. The problem I'm having is 
getting it to my server. I setup an local apache server for testing.

One approach I'm trying is using Node.js, which listens on a port I choose.
Doesn't work unless I put the port in the web address like localhost:8000, and 
when I go live on my website, I don't want the user to have to put a port.
My problem is that apache sends everything to port 80. So I tried setting up a 
Virtual Host and do a ProxyPassReverse. This seems to send all my messages to 
my Node.js server, which is good.
But it run my Realstudio web CGI app. Has anyone played around with node.js and 
Realstudio web applications that can help.

Or does anyone else have any suggestions for sending images from my web 
application to a server and saving them in a directory?

Thanks in advanced.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to