Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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

 
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?





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





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