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

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

preg_match logical error
Code: <?php
$s = file_get_contents("page.html");
preg_match('/<div cla

Using unserialize()
Hi there.

I have some data in my database that is serialized.

e.g.

a:2:{i:0

Please Help my PHP Dating Function.
Hi everyone!

Well here is my code that displays this:

It works wonderful.


How do I send data using an html link
Hi

If I have
<a href="main_file.php">

How do I send data t

reating a background image
I am building a site in drupal and have a php form in it, due to certain annoyances with module buil

Spliting paragraph into sentences and attach in
Here is what I am trying to do

example: Para1[123.456.789!] 3 sentences
Para2

Hotlinking Picasa as the image folder of a website
Hi there PHP freaks, I would like to create a private album in Picasa to use it as the image folder

Php mysql - select?
Hi i have this code:
Code: $iteminfo = mysql_query("SELECT desc FROM wc_items WHERE itemid =

cURL and Sessions
Ohai.

So, I'm trying to cURL a bunch of things off of a page, and put them into a session. I'

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