hi, i was working on the localhost and every thing was just fine, but when i upload to my site it get alot of errors
why is that ?
(sorry for my bad english)
hi, i was working on the localhost and every thing was just fine, but when i upload to my site it get alot of errors
why is that ?
(sorry for my bad english)
You might have hard-coded references to include files. You should use $_SERVER['DOCUMENT_ROOT']
instead of hard-coding filepaths because on a local windows PC your path will be something like C:/path/to/my/webroot
whereas, for example, on a Linux shared-hosting production server your path will be something like /home/user_name/public_html/
.
Based on little details of the errors you are seeing...
You might want to look to doing the following:
But exact errors would help people to answer more detailed :-)