Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tip/ upload image to own folder ?


dculley

Recommended Posts

In OSC 2.3 there is a tip on upload image to own folder. I have created a folder under image on my pc and the server and loaded images in both. When I get to the place to upload the image in admin, I'm sopose to change the back slash / to a forward slash \ but i'm unable to change. This line in admin is not editable.

 

What to do?

Link to comment
Share on other sites

/ is a forward slash and \ is a backslash

 

/ is used in paths on Linux servers and for URL paths on both Linux and Windows servers. \ is used only for Windows server paths (internal to the code). If \ is used in a PHP string, you usually need to double it \\.

Link to comment
Share on other sites

OK so the tip in the 231 documation is wrong. You are not able to change the backward slash to a forward slach because it is hard corded.

 

So how do you use the image folders and link to them?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...