Link to home
Start Free TrialLog in
Avatar of merv109
merv109

asked on

changing forward slash to backslash in PHP IIS

Hi folks,

I'm having a minor issue with an app I'm installing (a mod for Magento's ecommerce platform to be precise) and I know on Windows PHP can use either / or \ in directory structure, but I'm getting an error running my app that looks like this:


error loading: "C:\Inetpub\wwwroot\subdomains\tools\magento\var\import/test_import.csv".

you can see the / right before test_import.csv being the problem (it needs to be a \ too) - what I'm wondering is, would that be a PHP config issue, an IIS config issue, or does that look like it might be something in the app code I'm trying to run?

Thanks!

ASKER CERTIFIED SOLUTION
Avatar of Jagadishwor Dulal
Jagadishwor Dulal
Flag of Nepal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
my guess would be an error in the code
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The constants that are used in magento are: "PS" and "DS".
Avatar of merv109
merv109

ASKER

Thanks