Welcome Guest, Not a member yet? Register   Sign In
Cant get photo to upload.
#14

(This post was last modified: 11-16-2020, 10:04 AM by christaliise.)

Ive found the root of my problem but not solved it.

I am able to upload fwrite data then redirect to photos upload, but the problem with that is if the $product name is omitted or different the fwrite & photos are not together, and that is unsatisfactory. I would prefer to have both in the same operation but that is impossible. The root of that problem is in the view page where the fwrite requires the first coding & the photo upload requires the second, and they are not interchangeable.

PHP Code:
<?php echo form_open('pagename'); ?>
<?php 
echo form_open_multipart('pagename'); ?>

If the $product variable in the fwrite can be transferred to the photos upload, then that could be lived with, but redirect to the finished advert will be required.

I would prefer when the photos are uploaded then to redirect to the finished advert, but that is impossible because the photos upload will not redirect. Although I have another operation with a small amount of fwrite plus a pdf document upload and that redirects with no problem.

I have spent the last 4 months trying to resolve this issue, probably spent 1,000 hours plus, and still havent achieved a resolution.

By the way the coding in the UserGuide detailing uploads is faulty, by undefined variables, but when those variables are deleted it works but not with a combination of fwrite & photo uploads.

The problem appears to be a fault within CodeIgniter, so there needs to be someone who understands their coding & be able to fix the problem.
Reply


Messages In This Thread
Cant get photo to upload. - by christaliise - 10-02-2020, 08:08 AM
RE: Cant get photo to upload. - by InsiteFX - 10-02-2020, 06:56 PM
RE: Cant get photo to upload. - by christaliise - 10-03-2020, 01:27 AM
RE: Cant get photo to upload. - by InsiteFX - 10-03-2020, 02:40 AM
RE: Cant get photo to upload. - by christaliise - 10-03-2020, 04:22 AM
RE: Cant get photo to upload. - by christaliise - 10-03-2020, 06:42 AM
RE: Cant get photo to upload. - by InsiteFX - 10-03-2020, 07:20 AM
RE: Cant get photo to upload. - by christaliise - 10-03-2020, 07:56 AM
RE: Cant get photo to upload. - by InsiteFX - 10-03-2020, 10:20 AM
RE: Cant get photo to upload. - by christaliise - 10-03-2020, 04:49 PM
RE: Cant get photo to upload. - by christaliise - 10-04-2020, 01:34 AM
RE: Cant get photo to upload. - by InsiteFX - 10-03-2020, 05:25 PM
RE: Cant get photo to upload. - by coder987 - 10-12-2020, 01:40 AM
RE: Cant get photo to upload. - by christaliise - 11-16-2020, 10:00 AM
RE: Cant get photo to upload. - by christaliise - 12-02-2020, 10:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB