I ve been using phpEd v. 3.1 for debugging my php code (which runs with an Apache server on a WinMe platform) . when I run in debug mode and I submit a form with enctype="multipart/form-data" (for a file uploading script) and besides the filename, there are some other input (e.g. input text box), the values of the corresponding variables are not passed to the script of the action attribute of the form.
e.g. I have an input text box (i.e. <input type=text name=fillin>). In the script that runs when the form is submitted, the variable $fillin is undefined. But, when I run the same script outside of phpEd (in IE) it works ok.
Is that a bug of phpEd, or some option in the way that its server runs? Appreciate any suggestions
problem with phpEd and variables
Moderator: General Moderators
make sure that running your script in IE uses the same php.ini file the phpEd uses. or should i say, is the php.ini located in your C:\WINDOWS the configuration file phpEd is using? check it out...
i came accross with that one when i have an existing installation of php on my machine then i installed zend server. zend uses its own php installation thus using a different php.ini settings.
hope this would be a help...
good luck!
i came accross with that one when i have an existing installation of php on my machine then i installed zend server. zend uses its own php installation thus using a different php.ini settings.
hope this would be a help...
good luck!