Re: variable problem in address book script



J.O. Aho" <user@xxxxxxxxxxx> wrote in message
news:4vsvi3F1d30ihU1@xxxxxxxxxxxxxxxxxxxxx
Mr. Newt wrote:

The only error message I get now is "PHP Warning: Module 'mysql' already
loaded in Unknown on line 0."

This seems to be misconfiguration of the php.ini on your microsoft box.


However, add, edit still don't work. I receive an error message saying
page can't be displayed and the url shows PHP_SELF (it shows the correct
directory before that). Should I change

Noticed that the script isn't well written, I guess someone just written
it out of memory and not that good at PHP.

There are places where you have

echo 'PHP_SELF';

which should be

echo $_SERVER['PHP_SELF'];



I would suggest you worked on the GNU/Linux box, as PHP is better
configured by default.

--

//Aho

Thanks for the help guys. I'm sorry for wasting your time, but I'm going to
find another script that hopefully works out of the box instead of trying to
fix old stuff. It's definitely been a learning experience, so it hasn't all
been a waste of time (on my part).

Thanks again.

Robert


.



Relevant Pages

  • SecurityFocus Microsoft Newsletter #83
    ... MICROSOFT VULNERABILITY SUMMARY ... Microsoft IIS CodeBrws.ASP Source Code Disclosure Vulnerability ... Microsoft Internet Explorer History List Script Injection ... Microsoft Windows 2000 Lanman Denial of Service Vulnerability ...
    (Focus-Microsoft)
  • Re: [PHP] PHP console script vs C/C++/C#
    ... My script is taking a longer time to execute than I want. ... I prefer to write in PHP because that is what I know best. ... This is why I am thinking about rewriting my whole script in a C language. ... Perhaps there are different methods I could be using to speed up execution. ...
    (php.general)
  • SecurityFocus Microsoft Newsletter #84
    ... The most critical piece of vulnerability assessment is remediation. ... MICROSOFT VULNERABILITY SUMMARY ... IcrediBB Script Injection Vulnerability ... WorkforceROI XPede Unprotected Administrative Facilities... ...
    (Focus-Microsoft)
  • Re: How to Add a Feeback Form
    ... I saw nothing in that script that indicates where the form is e-mailed to so ... Greg Maxey/Word MVP ... PHP or not. ... have the support available yet. ...
    (microsoft.public.frontpage.programming)
  • Email form script
    ... I have a web form that posts to a .php ... who cannot run .php on their server. ... Or does anyone have a .asp script that will ... Thank you for choosing FormToEmail by FormToEmail.com ...
    (microsoft.public.scripting.jscript)