Im trying to build a app (with flash) for a online simulator game that player can create their own suit for their team. basicliy like a avatar creating thay can choose suit color and battern.
The problem im having is with the snapshot. I want the app to take a 2 snapshots when user is clicking on "done" button. One is upper suit body and the other is full size body and then it resizes them by about -25% and saves it as user avatar.
Hi Adam, thanks 4 dis tutorial but there is something wrong.. preg_match is not working, i can still upload files that are not .jpg, .png, .gif.. please help me..
Hi Adam, I am getting an error because my pages are in a folder called "storeadmin" (i used your e-commerce tutorial without a hitch). Now it is saying that it cannot find the Php Temp Folder. What do I do?
I used forms that I did myself and had one issue, maybe you can adress that:
Some users have some stupid characters in the file names like äöü and so on. Thats one problem. The second is, when some of my users tried to upload pictues they had spaces and dots(!) like "My Wedding 10.10.2011 . jpg" - When they uploaded it, I could not rename or remove the files with my FTP-Client.
Now I used str_replace to get rid of that. Is there a slicker way?
Hello! im new in Actionscript and PHP.
Im trying to build a app (with flash) for a online simulator game that player can create their own suit for their team. basicliy like a avatar creating thay can choose suit color and battern.
The problem im having is with the snapshot. I want the app to take a 2 snapshots when user is clicking on "done" button. One is upper suit body and the other is full size body and then it resizes them by about -25% and saves it as user avatar.
Can you please help me
godofthehens 6 days ago
What about a download script where the picture can be downloaded.thanks
ericel123 2 weeks ago
Hi Adam, thanks 4 dis tutorial but there is something wrong.. preg_match is not working, i can still upload files that are not .jpg, .png, .gif.. please help me..
chrisrobsale 1 month ago
your tuturial are amazing, but i think you don't need to use unlink() function after user move_uploaded_file()
because the item was moved from temporary folder and not copied...
after you move, tmporary folder is clean :)
596pedrocas 2 months ago
Some real safe checks to see whether files are actually .jpg or .gif or .png.. Any one can upload an .exe file without to much hassle..
leonheartdsl 7 months ago
Hi Adam, I am getting an error because my pages are in a folder called "storeadmin" (i used your e-commerce tutorial without a hitch). Now it is saying that it cannot find the Php Temp Folder. What do I do?
bendyamin86 8 months ago
@bendyamin86 delete last unlink function
596pedrocas 2 months ago
I really rike this serie a rot :)
PersonalComputerHelp 11 months ago
Hey Buddy!! How bout uploading multiple files using an array for the name?
gukkie87 11 months ago
Its good!
XMAnuca 11 months ago
Can you show how to convert from png -> jpg, gif and jpg -> gif,png and gif -> jpg,png and so on...
AnLa061095 11 months ago
Hey Adam,
thank you again for that nice tut.
I used forms that I did myself and had one issue, maybe you can adress that:
Some users have some stupid characters in the file names like äöü and so on. Thats one problem. The second is, when some of my users tried to upload pictues they had spaces and dots(!) like "My Wedding 10.10.2011 . jpg" - When they uploaded it, I could not rename or remove the files with my FTP-Client.
Now I used str_replace to get rid of that. Is there a slicker way?
NicoDaVinci 11 months ago
Cool tutorial could your next tutorial tell us how to make a deal or no deal game in flash.
AtaRobert97 11 months ago 4