Newb advice


Posted on 16th Feb 2014 07:03 pm by admin

Hi all,

I'm a flash front end designer and I've taken on a project that needs some back end php.
It's not completely greek to me as I write actionscript in flash which is an OO language.
However... I need a script that accomplishes quite a lot of stuff at once and after a lot of
cut and paste from the net I just can't make it work.
So all and any advice, snippets, help, ideas, much appreciated.
I need to do this: (ideally via a Flash front end but html if it has to) !

User uploads an image to a directory called "gallery" (file type and size restricted).
The script counts the images in the directory, then renames the new image to total +1.
i.e. if there are 30 images then the new one becomes 31.jpg.
The script then declares a variable (for flash to read) of the total number of images.
"total_img=31" (or similar).
Finally a success message for the user.

Many thanks

No comments posted yet

Your Answer:

Login to answer
263 Like 54 Dislike
Previous forums Next forums
Other forums

gmdate() - want 1 hr before time
Hi,
I am using php gmdate().
Now I am entering all dates in my dbase using gmdate("Y-m-d

Help with captcha script needed
Hello,

I am working on a script where reCAPTCHA or a similar form of CAPTCHA will be used, f

PayPal Redirect Issue
When I have my paypal button set so that is redirects to http://empiremarketing.ca/order.php,it work

Random Number Generation And Probability
Hello, I am working on a function which has to insert data into a SQL table.

we have to suppl

When i am Canseling the Billing Document in VF11 I am getting Shortdump
Hi Experts

When i am Canseling the Billing Document in VF11 I am getting Shortdump.

Email Processor
I have a few questions so this post will be a larger one! Sorry, but I'm a bit of a PHP newbie so be

Asset Transfer from One plant to another within same company code
Hi,

Please advise how to transfer one asset from one plant to another plant within same c

How can I Compare two xml documents?
Hi all,

I am doing a POC for my project and I am using XE database 10g version.

How to validate from 2 possible answers
Hi

I hope somebody can help me with what will probably be really simple, I'm pulling my hair

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash