|
-
Aug 21st, 2006, 11:59 AM
#1
Thread Starter
Hyperactive Member
PHP Scripts Error
Hi,
I try to download most of the php scripts from the internet especially from hotscripts and I use it and most of them get errors.
This is the setup, windows xp professional sp2, iis, php, mysql and phpmyadmin.
What thing I must configure properly to let the scripts run without errors, cos some script I download require no mysql configuration also got error.
I think I get this error like Undefined index and Undefined index action etc on line what.
Thanks
Last edited by abcat; Aug 21st, 2006 at 12:07 PM.
-
Aug 21st, 2006, 02:51 PM
#2
Re: PHP Scripts Error
Your question is too explicit. You must make it more vague.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Aug 21st, 2006, 08:03 PM
#3
Re: PHP Scripts Error
Have you got an example of a script you've downloaded that produces an error? If so, post it and tell us what the script should do.
-
Aug 22nd, 2006, 07:52 AM
#4
Thread Starter
Hyperactive Member
Re: PHP Scripts Error
Hi,
one of the script was http://www.hotscripts.com/Detailed/60974.html as the login.php got 3 errors
Notice: Undefined index: username in c:\Inetpub\wwwroot\PHPFlogin\login.php on line 20
Notice: Undefined index: action in c:\Inetpub\wwwroot\PHPFlogin\login.php on line 30
Notice: Undefined index: do in c:\Inetpub\wwwroot\PHPFlogin\login.php on line 76
I read the readme text file and they call me chmod 0777 to logindata.php but how can I do that in IIS? I try go to IIS and right click properties logindata.php and I tick all 4 in the file tab which is Script source access, Read, Write and Log visits but still can't work.
Whats when wrong? I think maybe I miss up some settings in the IIS Web Sites properties like configure all tabs cos I leave them in default mode. Any website to teach configure IIS to works well with php as this forum only teaches Apache.
Thanks in advanced
-
Aug 22nd, 2006, 08:03 AM
#5
Re: PHP Scripts Error
I'm running Apache and the script works fine.....
-
Aug 22nd, 2006, 10:28 AM
#6
Re: PHP Scripts Error
It's just notices, not errors. Notices are emitted when code violates what some people regard as good programming practices. There is no need to care about them unless you know PHP well enough to decide for yourself whether you want to follow those practices. (I have to point out, however, that it was notices who alerted me to a grave error in my code recently.)
If you don't want notices to appear, you need to change the warning level in your php.ini. The file is thoroughly commented and should be no problem to edit.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Aug 23rd, 2006, 05:49 AM
#7
Thread Starter
Hyperactive Member
Re: PHP Scripts Error
Thanks CornedBee and it works I got another question, I would like to have the php scripts into a normal html page which is in localhost, how can I make it works in dreamweaver with layers or other methods?
-
Aug 23rd, 2006, 01:50 PM
#8
Re: PHP Scripts Error
Dreamweaver can edit PHP files, you even get code completion and stuff. However, the parts generated by PHP will obviously not be there.
Not that I think that's a good method of doing it. It leads to mixing business logic and presentation, which is always a very bad thing.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|