The Artima Developer Community
Sponsored Link

PHP Buzz Forum
Interactive CLI password prompt in PHP

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Harry Fuecks

Posts: 875
Nickname: hfuecks
Registered: Sep, 2004

Dynamically typed through Sitepoint
Interactive CLI password prompt in PHP Posted: Apr 30, 2009 2:16 PM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Harry Fuecks.
Original Post: Interactive CLI password prompt in PHP
Feed Title: SitePoint's PHP Blog: Dynamically Typed
Feed URL: http://feeds.pheedo.com/sitepoint_blogs_category_php_feed
Feed Description: SitePoint's PHP blog: Dynamically Typed
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Harry Fuecks
Latest Posts From SitePoint's PHP Blog: Dynamically Typed

Advertisement
Just a quick tip, since I spent a good hour figuring this out recently. PHP has no native way of doing an interactive password prompt, when running as CLI. You can however use bash for the task. Of course this means that it won’t work on Windows, but you should be fine on most anything [...]

Read: Interactive CLI password prompt in PHP

Topic: Interactive CLI password prompt in PHP Previous Topic   Next Topic Topic: Doctrine officially supported by symfony

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use