[RESOLVED]Data transfer worked in 4.4.4 not working in 5.2.3

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
gmrobert
Forum Newbie
Posts: 22
Joined: Wed Oct 04, 2006 9:07 am

[RESOLVED]Data transfer worked in 4.4.4 not working in 5.2.3

Post by gmrobert »

I am passing data from an embedded device using Content-Type = multipart/form-data.

My data passed/parced nicely into $ variables when the server ran with PHP 4.4.4 but now that it is upgraded to 5.2.3 none of the data is passing.

I am wondering if I need to change an ini setting.

To see my PHP settings try this link for phpinfo():
http://workorders.body-pro.com/dumpPHPInfo.php

Thanks

Greg
Last edited by gmrobert on Wed Aug 15, 2007 11:34 am, edited 1 time in total.
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Post by miro_igov »

How you access your variables?

$_REQUEST['something'] or $something ? Could be the register_globals = Off.
gmrobert
Forum Newbie
Posts: 22
Joined: Wed Oct 04, 2006 9:07 am

Post by gmrobert »

Yep that's the issue.

just used: import_request_variables ( string $types [, string $prefix] )

to bring them into the global variable space.

Thanks

Greg
Post Reply