Please, please, please, please redo this tutorial using the latest Xcode. You can't follow this anymore because Xcode is too different now for a beginner to follow this tutorial. No one else has shown how to upload an image to a server using the iPhone. Please please please redo Mr. SimpleSDK. Thank you. Can't wait to see an updated video from you
PHP has a timeout after 30 second for post requests and if you compress the image 90 x's larger, then it will time out before a 90 x's size file is uploaded.
this is the compression level. the values range upto 1. not 90
@directbmx yup that's right. It will not upload the file 90x its size, it would just ignore the preference all together. However, in the PHP script it will calculate the filesize and return too large - pre compression + uploading.
Hay I defined my boundary as boundary = @"--*****" and it worked for me. in Android as well as in Iphone. but I couldn't figure out the logic behind it.
This is amazing! But with the new Xcode 4, I get stuck at 2:53 in your video because I can't find that menu. It's like gone or I can't find it. Is there anyway you can do a step by step video for this exact tutorial and redo it? I'm somewhat new to this Xcode stuff but I want to learn how to do this very image uploader thing. Except I can't follow this lesson now that it's outdated. Please, please, please reteach/revideo this with xcode 4. You'll be a life saver! Thanks
@JustWatchingYourVids: Hay this section is now in Library part, under Classes segment type YourClassName (UploaderViewController in this case) in search bar at bottom, and you will get it. You can define IBActions and IBoutlets from the combo box located below your selected class.
@coulton94 I'm having the same exact problem. I even tried making the maximum file size larger in the php ini file on my server. Did you figure this out yet??
@coulton94 I'm having the same exact problem. I even tried making the maximum file size larger in the php ini file on my server. Did you figure this out yet??
I blocked out the "exit" part of the php file to allow increased file size, and now it works. Vertical images are landscape, and landscape are landscape on the browser though. I guess I will just have to take landscapape pics from now on!
Hey, i did all the tut, the code is awesome, but the link to PHP file is not working.. :( can you please reupload the php file or give me the php code? Thanks, awesome tutorial
beginner's question: how do you get the Class Actions and Class Outlets panes in the File's Owner Identity dialog? Mine just contains the Class Identity and Interface Builder Identity panes...
I implemented this code, and it successfully uploads vertical images. The problem is that horizontal images just don't upload. Do you know how I can fix this?
it has something to do with the PHP file, you need to change the value where it says "['size']>300000" to a bigger number as it only allows pictures under 300kb, and most iphone pictures at 1mb+. Now im just looking for a way for the app to resize/format this picture to a smaller file size so that they upload faster! hmmm..... any ideas anyone?
very complex tutorial i had an idea on how to do it when I was thinking about doing something like this a while ago but according to ur tutorial I missed one thing lol. Impressive and great tutorial
Hi everyone you must check out this awesome free uploading tool!
h t t p://7pic.com/l/3/?a=8663
stupidkid1988 1 week ago
excellent video .........thanks a lot
shiva4671 1 month ago
Please, please, please, please redo this tutorial using the latest Xcode. You can't follow this anymore because Xcode is too different now for a beginner to follow this tutorial. No one else has shown how to upload an image to a server using the iPhone. Please please please redo Mr. SimpleSDK. Thank you. Can't wait to see an updated video from you
JustWatchingYourVids 3 months ago
The boundary could be any string as long as it doesn't exist in the base64 encoding of the image.
scriptbrix 4 months ago
An 8 year old teaching me how to use XCode? lolwut
ZombieDeath101 4 months ago
The boundry value "-----147..." can be ANY string of chars., it's just used to show the receiving script the boundry of the encoded info.
You'll see the same in an email with an attachement, or embedded HTML, images,et al -- just view the RAW email to view it
CarMoves 4 months ago
Thank you! its a wonderful tutorial..
ntsedup 4 months ago
@coulton94
this is because some of the code is wrong.
in the .m file under -(IBAction)pushUpload {
change (imageView.image,90)
to (imageView.image,1)
or (imageView.image,0.5)
PHP has a timeout after 30 second for post requests and if you compress the image 90 x's larger, then it will time out before a 90 x's size file is uploaded.
this is the compression level. the values range upto 1. not 90
directbmx 10 months ago
@directbmx yup that's right. It will not upload the file 90x its size, it would just ignore the preference all together. However, in the PHP script it will calculate the filesize and return too large - pre compression + uploading.
McIntyreTaylor 6 months ago
Hay I defined my boundary as boundary = @"--*****" and it worked for me. in Android as well as in Iphone. but I couldn't figure out the logic behind it.
sadBird011 11 months ago
This is amazing! But with the new Xcode 4, I get stuck at 2:53 in your video because I can't find that menu. It's like gone or I can't find it. Is there anyway you can do a step by step video for this exact tutorial and redo it? I'm somewhat new to this Xcode stuff but I want to learn how to do this very image uploader thing. Except I can't follow this lesson now that it's outdated. Please, please, please reteach/revideo this with xcode 4. You'll be a life saver! Thanks
JustWatchingYourVids 11 months ago
@JustWatchingYourVids: Hay this section is now in Library part, under Classes segment type YourClassName (UploaderViewController in this case) in search bar at bottom, and you will get it. You can define IBActions and IBoutlets from the combo box located below your selected class.
sadBird011 11 months ago
Comment removed
sadBird011 11 months ago
the problem is this:
Photos taken with the iphone dont upload. Other Images (jpg or png) in the Photo album upload as they should. Any ideas anyone?
andersbirkmose 11 months ago
Hi SimpleSDK
Is there a way to make the uploader work with jpg's.
The code only accepts png's.
Thanks
andersbirkmose 11 months ago
@coulton94 I'm having the same exact problem. I even tried making the maximum file size larger in the php ini file on my server. Did you figure this out yet??
edgrimaldi 1 year ago
@coulton94 I'm having the same exact problem. I even tried making the maximum file size larger in the php ini file on my server. Did you figure this out yet??
edgrimaldi 1 year ago
hey do you make it so you can crop it and use it
TheExcelboyz 1 year ago
HD WILL BE SO SICK I AM IN LOVE!
guggilodall 1 year ago
thanks that helped me a lot!
sweetmelodies89 1 year ago
so great men
keep posting the source code!
MrChris8447 1 year ago
great tutorial. is it possible to send the upload.php script to me?
mcreisi 1 year ago
your voice is kinda anoying, but your vids are great!
wanxtaganxta 1 year ago
Thank you very much for the great video. I was wondering if you can make one to upload music from iphone to a site instead of images?
Donut656 1 year ago
great video!! can I get the php file, too, please? it would help a lot!! :D
anderarias 1 year ago
@anderarias did you get the php file?
mcreisi 1 year ago
Ok REALLY SORRY,
I got the php file and ALL is working GREAT.
Really really thank you for this video tutorial.
you're in my heart :)
tandadruga 1 year ago
Hi,
this tutorial is simply amazing but... Can you please post the php file too?
I'm not able to write it :(
thanx a lot
tandadruga 1 year ago
This has been flagged as spam show
Hey guys! Check out my channel giving you great xcode tutorials so be sure to subscribe as we are fairly new
also giveaways coming soon :)
see you guys soon!
GeekyLemon 1 year ago
How long did you learn these commands
MrMrdanielne 1 year ago
I blocked out the "exit" part of the php file to allow increased file size, and now it works. Vertical images are landscape, and landscape are landscape on the browser though. I guess I will just have to take landscapape pics from now on!
ronbowalker 1 year ago
Here is the error I get when trying to open the file that was uploaded:
Could not complete your request because a JPEG marker segment length is too short (the file may be truncated or incomplete).
Just thought you might want to know.....I hope you can help. I really need this process in an app I am working on.
ronbowalker 1 year ago
I can only upload "blank" screen. I used your downloaded sample. And the blank is not openable due to truncated issue. Can you help with this?
ronbowalker 1 year ago
I don't see the php uploader file ....... what's up with that? No good without that.
ronbowalker 1 year ago
Hey, i did all the tut, the code is awesome, but the link to PHP file is not working.. :( can you please reupload the php file or give me the php code? Thanks, awesome tutorial
KJApps 1 year ago
do you have the sample project for download?
lookXXX 1 year ago
I found out how to upload videos from your Photo Library. To a website. Tutorial wanted?
yodude400 1 year ago
your voice is sorta squeaky :P nice vid
HakerzTM 1 year ago
very interresting,
but , from where can I learn commands and their meanings
step by step
from where did you learn ????????????
thanks
hamadmd777 1 year ago
Thank You!!!! Really great tutorial. I was searching for hours online for how to use image picker, and then I found your video. Helped a ton!
JoeRCruso 1 year ago
oh man i was gonna subscribe but then again i was already subscribed! thanks a lot for this :D
cuteboymimmi 1 year ago
@cuteboymimmi I thought you might be using this^^.
Calumks 1 year ago
@Calumks oh oh, busted :P
cuteboymimmi 1 year ago
beginner's question: how do you get the Class Actions and Class Outlets panes in the File's Owner Identity dialog? Mine just contains the Class Identity and Interface Builder Identity panes...
jenrique7 1 year ago
hi man, i make all this steps and work like a charm :) but i have a cuestion, how do i send extra info ?? like image caption
sammaeliv 1 year ago
i have uploaded the php file to my server and compiled the app to my iphone but when i click on upload nothing happens :(
itsfall 1 year ago
were did you learn xcode and how to make ipod apps
3446698 1 year ago
when I am trying to build this project .I am getting this kind of pop up message
The application Uploader quit unexpectedly.
Mac OS X and other applications are not affected.
click Relauch to launch the application again.
would any one can help in this ...
kmsharma 2 years ago
Hi can you get me the PHPUpload file.i have tried for upload uisng this following php script but it shows error as follows
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf250 {\fonttbl\f0\fnil\fcharset0 Verdana;} {\colortbl;\red255\green255\blue255;\red166\green195\blue218;} \paperw11900\paperh16840\margl1440\margr1440\vieww22040\viewh12600\viewkind0 \deftab720 \pard\pardeftab720\ql\qnatural \f0\fs22 \cf0 \cb2 File UploadThere was an error uploading the file, please try again!}
sivasankarbtech 2 years ago
I implemented this code, and it successfully uploads vertical images. The problem is that horizontal images just don't upload. Do you know how I can fix this?
lr1964 2 years ago
hi may i know the ways to connect to the external database and pick the images
sivasankarbtech 2 years ago
it has something to do with the PHP file, you need to change the value where it says "['size']>300000" to a bigger number as it only allows pictures under 300kb, and most iphone pictures at 1mb+. Now im just looking for a way for the app to resize/format this picture to a smaller file size so that they upload faster! hmmm..... any ideas anyone?
eliotareed 2 years ago
Thank You for such a helpful video...!!
jindaljoshi 2 years ago
wow
gizmoitai 2 years ago
At 02:52 "Go to File's Owner then to it's identity under Class action add push pick etc"
I don't got the Class action :S How can I get it?
iPhoneiReview 2 years ago
It got moved in the new SDK version, it is now under classes :)
scripttutorials 2 years ago
you completely lost me when u started talking about the upload.php. i just wanted to upload to twitpic or somehting simple, facebook :/
UltimateitemHacker 2 years ago
could come in handy someday!
iPhoneSDKDeveloper 2 years ago
very complex tutorial i had an idea on how to do it when I was thinking about doing something like this a while ago but according to ur tutorial I missed one thing lol. Impressive and great tutorial
NJDevilfan26 2 years ago
whats a good site to find tutorials...... btw these tutorials really help me out
bradrisch 2 years ago
you should upload it in HD so that we could see the code a bit better, but its a great video though
geniousmac 2 years ago 2
HD is coming through. Just wait.
SimpleSDK 2 years ago 2
Alright man great vid though
geniousmac 2 years ago
second! good tutorial so far im not finished yet lol
NWorksDev 2 years ago
First but I am watching the video lol
AppStoreMod 2 years ago