MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old December 25th, 2002, 02:36 AM
usdr usdr is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 3 usdr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
MySQL Driven Chat Script: weird result

I have looked over the tutorial on a chat script and have put together the php and mysql sucessfully.

The tute is at URL

If I upload it to a host on the net (and organise the mysql database) it works fine

If I try and run the script on my own win2000 machine which has php (latest) and mySQL (3.23.49) all I get is the submitloginform over and over again no matter what 'nick' I enter.

It is clean and reports no errors from either php or mysql

I am really puzzled.

I would really like to be able to get it to work on my local machine because then I can modify and learn from it much more effectively than if I have to upload it for every minor change that I experiment with.

If anyone could offer suggestions I would be grateful

Thanks
Dave

Reply With Quote
  #2  
Old December 25th, 2002, 04:49 AM
wap wap is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 20 wap User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
register_globals= is set to off by default with later versions of php. Try editing your php ini file to turn register globals= on. I run my own apache server, php and perl on my machine for testing locally and i have had the same problem with some tutorials and it took me ages to figure out why.

Last edited by wap : December 25th, 2002 at 04:52 AM.

Reply With Quote
  #3  
Old December 25th, 2002, 04:11 PM
usdr usdr is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 3 usdr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you

That did the trick!

Dave

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > MySQL Driven Chat Script: weird result


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway