Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To 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 December 15th, 2006, 04:20 AM
Registered User
 
Join Date: Dec 2006
Location: Sungai Petani, Kedah, Malaysia.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jimmyliew Send a message via Yahoo to jimmyliew
Default PHP Configuration Error?

Description:
------------
The problem due to I've installed PHP Version 5.2.0. FYI, my system is installed with MySQL Server 5.0 and IIS Version 5.1. The same coding executes with no error message when I tested on my web hosting server. (the error message occur while i test it in my local pc)

my question is, am I missing any setting for my PHP configuration? (FYI, i've follow everything written in PHP Manual Installation Guide).


Reproduce code:
---------------
PHP Notice: Undefined index: username in C:\Inetpub\wwwroot\login\index.php on line 3 PHP Notice: Undefined index: password in C:\Inetpub\wwwroot\login\index.php on line 4 PHP Notice: Undefined index: submit in C:\Inetpub\wwwroot\login\index.php on line 51

Expected result:
----------------
It should work because its working in the old version of PHP which is in
hosting server.
Reply With Quote
  #2 (permalink)  
Old December 15th, 2006, 04:27 AM
Registered User
 
Join Date: Dec 2006
Location: Sungai Petani, Kedah, Malaysia.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jimmyliew Send a message via Yahoo to jimmyliew
Default

Really appreciate, if anyone can help me to fix this.
Thanks in advance. :)

Regards,
Jimmy Liew
Reply With Quote
  #3 (permalink)  
Old December 15th, 2006, 11:42 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi jim i think youre php.ini you need to set that but anyway i suggest
for the easiest way to connect all sever connection much better to have either of the two the (XAMPP) and (NETSERVER)

xampp includes evry thing such as:

Apache 2.2.3
MySQL 5.0.27
PHP 5.2.0 & PHP 4.4.4
phpMyAdmin 2.9.1.1
FileZilla FTP Server 0.9.20
OpenSSL 0.9.8d
xampp:-->http://www.apachefriends.org/en/xampp-windows.html
netsever: just visit this link (http://sourceforge.net/projects/netserver/)

i hope this can help ;))



Reply With Quote
  #4 (permalink)  
Old December 16th, 2006, 06:02 AM
Registered User
 
Join Date: Dec 2006
Location: Sungai Petani, Kedah, Malaysia.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jimmyliew Send a message via Yahoo to jimmyliew
Default

hi jhanny,

Sorry to tell you that the problem still remain.
I tried to install PHPBB forum on my local machine, it works. But weird things is my other php application still remain with errors.

Do you have any advice on it? :) Thanks.

Regards,
Jimmy Liew
Reply With Quote
  #5 (permalink)  
Old December 16th, 2006, 06:32 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi

   i think there is another program in your computer which can block your php.....i encountered that kind of problem also my PHP doesn't work well but when i use netserver is worked fine.. I deleted those other program...

 what if you set your local web with local server namely xampp and netserver wherein you dont need to set those php.ini and what so ever...by that if you install one of the two i guess you dont have any problem.....

i hope this can help;))

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
Configuration of PHP asifah30 Beginning PHP 1 July 30th, 2007 12:25 AM
PHp & Java Configuration maheshoo7 PHP How-To 1 July 4th, 2007 08:03 AM
about php and mysql configuration spbharti BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 April 23rd, 2006 08:25 AM
about php configuration spbharti PHP Databases 4 February 13th, 2006 03:33 PM
Installation and configuration of PHP mbetts BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 4 June 7th, 2003 07:24 AM



All times are GMT -4. The time now is 11:19 AM.


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