problem with phpEd and variables

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vasilis
Forum Commoner
Posts: 40
Joined: Tue Apr 22, 2003 7:37 am

problem with phpEd and variables

Post 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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

are phpEd and your webserver using the same version of php?
vasilis
Forum Commoner
Posts: 40
Joined: Tue Apr 22, 2003 7:37 am

Post 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
tr3s
Forum Newbie
Posts: 17
Joined: Mon May 19, 2003 10:29 am
Location: Philippines
Contact:

Post 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!
Post Reply