I just read your answer. I know that I should use createUploadUrl but this creates problem with routes and post from view to controller in laravel. Here is my question in SO http://stackoverflow.com/questions/24438218/laravel-4-methodnotallowedhttpexception-on-form-post <http://stackoverflow.com/questions/24438218/laravel-4-methodnotallowedhttpexception-on-form-post>and as you can see it just stores images in GS but I can't pass data from view to controller. Could you help me? What alternative solutions do I have?
On Thursday, May 22, 2014 5:02:02 AM UTC+2, Vinny P wrote: > > On Tue, May 20, 2014 at 5:14 AM, laureta xhaferaj <laur...@gmail.com > <javascript:>> wrote: > >> I have created a form to upload images. Localy everything works, I can >> upload images and save path in database. The problem is when update >> application in google app engine. It doesn't gets the image , because I >> try: $file = Input::file('image'); var_dump($file); and it displays NULL. I >> save images inside public>assets>uploads>images. May the problem be with >> app.yaml? >> > > > You shouldn't need to be saving those files yourself. Use App Engine's > createUploadUrl > <https://developers.google.com/appengine/docs/php/refdocs/files/google.appengine.api.cloud_storage.CloudStorageTools#%5Cgoogle%5Cappengine%5Capi%5Ccloud_storage%5CCloudStorageTools> > to > handle the file upload and saving. > > Also, you're attempting to write to the local file system; you can't do > that on App Engine. You need to be writing to Cloud Storage (the > createUploadUrl method will automatically handle that). > > > ----------------- > -Vinny P > Technology & Media Advisor > Chicago, IL > > App Engine Code Samples: http://www.learntogoogleit.com > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.