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

PHP Code To Change Font Color in Table Cell
I would appreciate help with the following snippet of my php code. I am just trying to change the f

Not Inserting into DB
I can't get my Add new Division form to submit to the database. Anyone see my issue?

Code: &a

Something like an INI editor or a DelimitedText-Editor
Hi all,

Am very, very, very new to PHP and not sure if I should be posting this to a Javascri

Dynamic Data + Sql Server 2005 Enterprise?
Hi! I have just started to learn ASP.NET, and it looks like it is quite a lot to learn. Im not reall

Quick variable question
hey guys/gals,
im trying to write a php script and it works fine as i have it, but i need to set

Creating Images from images in PHP
Okay well I am trying to make a 'dynamic' calender image with PHP.

I have images like this:

Prevent PHP mail( ) from appending hostname to from address
Hey guys,

I want to be able to send texts to phones via email (since each phone has their own

Saving PHP output as a file
I wondered if anyone knows how to save the rendered output of a PHP script as a file?

I have

Embed Video Problem
Hey, thanks for looking!

File to be embedded:

Code: <playlist version="1&q

Having problemswith multithreading and prime numbers
I have an assignment when I'm suppose to do the following:

Write a multithreaded Java, Pt

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