This is a discussion on Renaming and Image on Upload!?! within the Coding Help forums, part of the Webmaster Help category; Below is partial code as to a function im using, i just cant seem to assign $image_id as the images ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||||
| Below is partial code as to a function im using, i just cant seem to assign $image_id as the images name before its saved on to the server?? PHP Code: |
| |||||
| Code: $image_id = getImageID(); $target_path = $target_path . $image_id; Code: move_uploaded_file($_FILES['imagefile']['tmp_name'], $target_path)
__________________ Forbairt Media | Web Design & Development Galway / Dublin, Ireland - coming soon ... ( vague but descriptive isn't it ) Recent Work: Safari Club African Safari Holidays - Malawi Safaris Other Stuff: FluffyLinkulator Rapid Inclusion Service Tools |
| |||||
| Nice one, works perfectly! |