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\subdom ains\tools \magento\v ar\import/ test_impor t.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!
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\subdom
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
my guess would be an error in the code
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The constants that are used in magento are: "PS" and "DS".
ASKER
Thanks