View Full Version : Small Help
July 27th, 2005, 06:15 PM
In an effort to combine my gallery and links databases on my website (ie, allow someone to upload an image for the links database via the gallery) - i've duplicated the upload.php file and the showimage.php file .. however, I can't seem to find how to, after uploading an image via my new upload_new.php file have it redirect to my new showimage_new.php file.. it keeps going automatically to showimage.php instead.
July 27th, 2005, 06:30 PM
hell even if there was a way to edit my old showimage .. and maybe do an "if from upload_new.php" redirect to "showimage_new.php" or .. it's this category (72) use showimage_new ..
any ideas would be great
July 27th, 2005, 06:33 PM
The redirect is handled via the functions_gallery_imageedit.php file in the process_upload() function.
July 27th, 2005, 06:43 PM
renaming it _new.php worked perfect. I'm a retard at times.
July 29th, 2005, 04:23 AM
And it worked brilliantly, just updating my thread! I was finally able to combine a very poor man's way of adding images to my database.
For anyone interested. It's cut and paste and pretty bootleg: but it works until I can figure out a better way.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.