![]() |
php define usage
Hi i am using define as in example below but it is giving me error about path which is i am replacing. when i do not use define and type path directly in code i.e. "uploads/" everything works fine .what am i doing wrong here?
PHP Code:
thanks |
Your FILEPATH value starts with a forward slash, so it's an absolute path. It looks like you'll want "./uploads/" to make it relative to the current working directory.
|
Thanks. it worked. a single dot is very powerful when we miss it at wrong place.
|
Quote:
|
| All times are GMT. The time now is 02:36 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0