Page 1 of 1

problem with phpEd and variables

Posted: Sat May 17, 2003 9:34 am
by vasilis
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

Posted: Sat May 17, 2003 11:39 am
by volka
are phpEd and your webserver using the same version of php?

Posted: Wed May 21, 2003 7:48 am
by vasilis
yes, both php ,mysql and phped were installed by nusphere which is an integrated environment. THerefore the same php version is running in phped and php

Posted: Wed May 21, 2003 9:56 am
by tr3s
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!