ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-lib
php-lib
Re: [phplib-users] register_long_arrays
by Frank Bax other posts by this author
Jan 13 2007 5:37AM messages near this date
Re: [phplib-users] register_long_arrays | Re: [phplib-users] register_long_arrays
At 08:26 AM 1/2/07, Layne Weathers wrote:

>  >That being said, handling this seems like an easy multi-file find
>  >and replace. You could even do it from the command line (untested,
>  >but should be correct if in the PHPLib directory):
> 
> 
> I forgot the old long arrays weren't super globals, so you'd need to
> handle that as well. If I have time in the near future I'll try to
> at least commit changes to CVS.


The link to CVS on this page is broken:
         http://phplib.sourceforge.net/


I noticed that in a few places, you used code like:

   if (!isset($_POST)) {
     global $HTTP_POST_VARS, $HTTP_POST_FILES;
     $_POST  = $HTTP_POST_VARS;
     $_FILES = $HTTP_POST_FILES;
   }

I don't have an old system for testing this, but can we assume that all 
arrays are always defined?  Is it possible that reference to 
$HTTP_POST_FILES could trigger warning? 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
phplib-users mailing list
phplib-users@[...].net
https://lists.sourceforge.net/lists/listinfo/phplib-users
Thread:
Frank Bax
Frank Bax
Layne Weathers
Layne Weathers
Richard Archer
Layne Weathers
Richard Archer

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved