![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
Hobbyist Programmer
|
DaWei - yeah when it uses localhost it doesn't mean my machine it means the server that the database is on.
it's working now though, i was spelling the password wrong when i tried to connect it's all working fine now. thanks for all your help guys!
__________________
Children in the dark cause accidents, and accidents in the dark cause children. http://www.ronincoders.org |
|
|
|
|
|
#22 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I never get my password wrong -- it's the pinyin spelling of the Mandarin pronunciation of the nickname of a woman friend of Scottish descent
. That would be her arm you see in the avatar .
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#23 |
|
Newbie
Join Date: Aug 2005
Location: Wilsonville, Oregon
Posts: 3
Rep Power: 0
![]() |
Looks like this topic is pretty much closed, but here's a note about includes.
On certain servers, if you have an includes directory specified in php.ini, when you put include('thefilename.inc'); some servers look in the global includes for the file, not the directory the script is sitting in. The solution for it is pretty simple: include('/thefilename.inc'); or include('./thefilename.inc'); I've seen cases where that has worked. There is probably a smarter way around that, but its worked for me. |
|
|
|
|
|
#24 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
It's called, "getting the path right"
.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|