Software Development

How to programmatically create users in SAP NetWeaver Portal

This article demonstrates how to programmatically change user passwords in SAP NetWeaver Portal using available API. For applications with very high number of users, they may be better off keeping some references to portal users in their databases. For instance, an application can cache user ids in its database when new users are created. In that that way, it has readily available list of users at its disposal. Certain non-critical queries can be delegated to the RDBMS to reduce hits to the portal.

Software Development

How to Zip a file or the contents of a Directory in PHP

Background This article demonstrates how to archive the contents of a directory in PHP using ZipArchive class. [wp_ad_camp_1] Software Requirements Windows 7 Professional SP1 PHP 5.5.9 / Zend Engine v2.5.0 NetBeans IDE 8.0.1 Zip a file

Zip a Directory

Software Development

How to read files line by line in PHP

Background [wp_ad_camp_1] PHP is not as bad as other people would think. Sometimes it is easier to do things in PHP than in, say, Java. Consider reading a text file line by line and parsing each pipe-delimited line. Hardware Environment