Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 10th, 2004, 01:06 PM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning PHP: CH17, PHP Directory

Hi all,
It started all well with php directory script, edited and
run it... no problem. So got to try it somewhere else via
localhost, the decision falls on my college pc. I've installed
apache 1.3.27, MySQL 3.23.57, phpmyadmin.. and everything needed
to run. When I tried it, it says Error: Cant connect to database.
After checking it thousand times, the problem solved with a
very ridiculous way (at least for me). It cant connect to the
database because Win Regional Settings it set to 'Indonesian',
after resetted to 'English', it worked well. But another problem
surfaced, the directory index page shows up, but if i clicked on it,
nothing happens... it shows the same index page, the same happens
with query box. But it runs well on my pc.

ps. anyone knows why mysql cant query in relation with "regional
settings" in WIn OS?


Any idea will be greatly appreciated.



Jacky Tanutama

Reply With Quote
  #2 (permalink)  
Old March 12th, 2004, 11:39 AM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Got the solution, it's the register_global var that is still off
on my college PC. Problem solved! Sorry troubling you guys.

One that i still dont understand is why regional setting affected
mysql query?

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache - PHP directory handling... richcon Pro PHP 1 June 28th, 2006 07:36 PM
chp2 can't see header.php in directory sgibsonart BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 February 3rd, 2005 10:34 AM
can't see header.php in directory sgibsonart Beginning PHP 1 February 3rd, 2005 10:32 AM
PHP and Microsoft Active Directory spraveens Pro PHP 1 April 30th, 2004 07:06 PM
PHP uploaded to root directory arnec BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 August 15th, 2003 03:24 PM



All times are GMT -4. The time now is 10:02 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.