Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pdf file upload for products


karmapool

Recommended Posts

Hello,

 

I am trying to create a pdf upload for product brochures. I am modeling the pdf upload off of the image upload. Where I seam to run into problems is in the phrase() function in upload.php.

 

Where are the $_FILES[$this->file]['name'], $_FILES[$this->file]['type'], $_FILES[$this->file]['size'], and $_FILES[$this->file]['tmp_name'] values set?

 

I have been banging my head against this one all day and any help at all would be greatly appreciated.

 

Thanks for your time

Link to comment
Share on other sites

Hey - sorry to sidetrack the conversation - but I am using the pdf upload contrib and for some reason the link to the pdf appears in products that don't have a pdf!

 

Any ideas?

Link to comment
Share on other sites

Hey - sorry to sidetrack the conversation - but I am using the pdf upload contrib and for some reason the link to the pdf appears in products that don't have a pdf!

 

Any ideas?

 

I have noticed that sometimes if you upload a large PDF, (not sure what the max size is) that it does not get uploaded.!

 

What i do is FTP the pdf's and that way i know that they are there.

 

If the link is not there then check the products table for the PDF name, think that it is next to the image name.

 

Cheers

 

Mjulesy

Link to comment
Share on other sites

The problem I have is that the pdf link is showing up for products that dont have pdfs :( The link appears and if clicked gives a file not found error :(

 

Any ideas?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...