Here's an overview.
I have two individual scripts that need development and integration to do the following. I have create profile, upload photo scripts that upload to the db, however, they aren't connected to each other. I imagine three or four scripts based on these existing scripts to do the following.
1. Create/edit a profile and save info to db.
actions: add photo, preview profile, cancel
2. Add photo
-- display on page via tmp file
actions: browse, view
-- if image okay save to db (blob)
action: preview profile, cancel
3. Preview profile (with or without photo)
actions: publish profile, edit (back to step 1)
Session variable driven
MySQL 4.1
GD 2.0.28
PHP 4.3.8