Re: [PHP] adduser & php

2010-07-10 Thread Adam Richardson
On Sat, Jul 10, 2010 at 4:39 PM, Matt M. wrote: > The only thing is, when I execute this command from a shell, it works. > Obviously I'm replacing $username and $password with something valid when > doing this manually. > > It's like the script clears the $username variable just before it execute

Re: [PHP] There has to be a better way!!

2010-07-10 Thread Jason Pruim
On Jul 10, 2010, at 12:03 PM, Ashley Sheridan wrote: On Sat, 2010-07-10 at 11:58 -0400, Jason Pruim wrote: Okay so I've been fighting with this for awhile now and haven't found a better way yet What I want to do, is I have a small portion of my website included into a template. It is dis

Re: [PHP] adduser & php

2010-07-10 Thread Matt M.
The only thing is, when I execute this command from a shell, it works. Obviously I'm replacing $username and $password with something valid when doing this manually. It's like the script clears the $username variable just before it executes the command, or because the variable is inside quotes,

[PHP] Netbeans XDebug Breakpoints Socket Accept

2010-07-10 Thread Daniel Kolbo
Hello, I'm trying to use the debugging features of Netbeans for the first time. The Netbeans debugger is not stopping at breakpoints. I searched the net, I found out i wasn't the only one with such issues. However, after going through the various posts, etc... i am still without a resolution.

[PHP] State, City, and Zip Code DEMO [WORKS]

2010-07-10 Thread tedd
Hi gang: I've worked a bit more on my demo and would like to see if it passes your review. I've tested the DEMO on all the modern browsers (IE7, IE8, Safari, FF, Chrome, et al) and it works: http://php1.net/b/zipcode-states/index.php <- works sweet on my iPad :-) You might give it a try.

Re: [PHP] adduser & php

2010-07-10 Thread Daniel Brown
On Sat, Jul 10, 2010 at 14:45, Matt Morrow wrote: > >                $username=$_POST['username']; >                $password=$_POST['password']; >                $output=exec('/usr/bin/sudo adduser -unencrypted -batch > $username hosting "$firstname $lastname" $password'); >                echo "

RE: [PHP] State and City Database

2010-07-10 Thread tedd
At 3:14 PM -0700 7/9/10, Tommy Pham wrote: Looking at your source, shouldn't be 'onChange' instead of 'onClick' for the selects? Tommy: You are absolutely right and you saved me a lot of work. Thanks, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com

Re: [PHP] adduser & php

2010-07-10 Thread Ashley Sheridan
On Sat, 2010-07-10 at 13:45 -0500, Matt Morrow wrote: > I am using php 5 on OpenBSD 4.7 > > I have a script which takes a username and password from $_POST, and is > supposed to add the user to the system database. The problem is, adduser > creates a username with the same name as the group. The

[PHP] adduser & php

2010-07-10 Thread Matt Morrow
I am using php 5 on OpenBSD 4.7 I have a script which takes a username and password from $_POST, and is supposed to add the user to the system database. The problem is, adduser creates a username with the same name as the group. The code is: $username=$_POST['username'];

Re: [PHP] There has to be a better way!!

2010-07-10 Thread Ashley Sheridan
On Sat, 2010-07-10 at 11:58 -0400, Jason Pruim wrote: > Okay so I've been fighting with this for awhile now and haven't found > a better way yet > > What I want to do, is I have a small portion of my website included > into a template. It is displaying hosting plans so on the main site

[PHP] There has to be a better way!!

2010-07-10 Thread Jason Pruim
Okay so I've been fighting with this for awhile now and haven't found a better way yet What I want to do, is I have a small portion of my website included into a template. It is displaying hosting plans so on the main site "index.php" I want it to display a little bit of text (Same as o

[PHP] Re: imagettftext

2010-07-10 Thread Nisse Engström
On Fri, 9 Jul 2010 20:12:38 -0500, Karl DeSaulniers wrote: > Is there a way to get the width and height of text created with > imagettftext? /Nisse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph