LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-03-2005, 03:00 PM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
php "shell_exec" how to handle prompts


Hi Ive been tryin to write this php script...to add users in linux....it has 3 fields one for the username and one for the password and one to confirm the password....Ive got no problem with the creation of the username and submitting the first password...the problem is that the system prompts me for password confirmation how can I overcome this problem??
 
Old 11-05-2005, 02:12 PM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Have you got this sorted yet from your other threads? if not, post your function so we can actually see what you've spent all day writing and how you exec these commands to start of with
 
Old 11-06-2005, 04:09 AM   #3
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
You know what I should spend more time on thinking and less time on posting....I got this one figured out...but thanks fouldsy for your support...Iam sure I will need your help on another one....
 
Old 11-06-2005, 05:13 AM   #4
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
I think most people scripting + coding could say the same thing! Least it's working now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ProFTPD - "500 Sorry, no server available to handle request on 192.168.1.103" - what? orange400 Linux - General 15 05-21-2013 03:59 PM
Error "Unable to handle kernel..." Stimz Linux - General 1 03-11-2004 10:10 AM
k3b adding mp3 "Unable to handle the following files due to an unsupported format:" true_atlantis Linux - Software 3 01-31-2004 06:52 PM
php ide with "break" and "trace" Kayaker Programming 3 04-25-2003 03:52 PM
Samba is behaving poorly and causing "unable to handle kernel paging request" errors system Linux - Networking 6 01-26-2002 09:42 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration