[PHP] Questions from a Newbie

2010-10-16 Thread Ethan Rosenberg
Dear List - Here are some questions, which I am sure are trivial, but I am a newbie, and cannot find the answers online I cannot get the following to work. In my Firefox [Iceweasel] browser, I enter the following URL: [w/ the http] localhost/CreateNew.php All I get is a blank browser

RE: [PHP] Questions from a Newbie

2010-10-17 Thread Ethan Rosenberg
At 01:41 AM 10/17/2010, Tommy Pham wrote: > -Original Message- > From: Ethan Rosenberg [mailto:eth...@earthlink.net] > Sent: Saturday, October 16, 2010 10:01 PM > To: php-general@lists.php.net > Subject: [PHP] Questions from a Newbie > > Dear List - > > Here

RE: [PHP] mytr...@mail.us auto responder

2010-10-18 Thread Ethan Rosenberg
At 12:07 PM 10/18/2010, Tommy Pham wrote: > -Original Message- > From: Steve Staples [mailto:sstap...@mnsi.net] > Sent: Monday, October 18, 2010 6:59 AM > To: php-general > Subject: [PHP] mytr...@mail.us auto responder > > I think I recall seeing a post about this earlier, but can this PL

Re: [PHP] Questions from a Newbie

2010-10-19 Thread Ethan Rosenberg
Tamara - Thanks. No error_log. This works ... Ethan ++ At 02:23 AM 10/19/2010, Tamara Temple wrote: On Oct 18, 2010, at 11:01 PM, Ethan Rosenberg wrote: I've added the code you suggest, and I still get a blank screen. Should I be explicitly be using mysqli function

RE: [PHP] Questions from a Newbie

2010-10-19 Thread Ethan Rosenberg
M 10/19/2010, Tommy Pham wrote: > -Original Message- > From: Ethan Rosenberg [mailto:eth...@earthlink.net] > Sent: Tuesday, October 19, 2010 12:05 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Questions from a Newbie > > Tamara - > > Thanks. > >

RE: [PHP] Questions from a Newbie - Please Help

2010-10-19 Thread Ethan Rosenberg
ditions to the ini file. For personal reasons, which I cannot explain in a public forum, I am under extreme pressure to learn PHP ASAP. Thank you. Ethan +++ At 08:31 AM 10/19/2010, Tommy Pham wrote: > -Original Message- > From: Ethan Rosenberg [mailto:eth...@earthlink.net]

[PHP] Eclipse Manual

2010-11-22 Thread Ethan Rosenberg
Dear list - Does anyone have a URL for the manual for Eclipse/PHP. Ethan MySQL 5.1 PHP 5 Linux [Debian (sid)] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Closing Browser

2010-12-02 Thread Ethan Rosenberg
Dear List - How do I close the browser window, with a script [shell or Perl], after I exit PHP? Thanks. Ethan MySQL 5.1 PHP 5 Linux [Debian (sid)] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problems w/ goto

2010-12-17 Thread Ethan Rosenberg
Dear List - I am sending this again since it does not seem to have posted. Ethan +++ Dear List - Thank you with your excellent help in the past. Here is another puzzler I am trying to write a program that can have two(2) independent forms in one PHP file. When I run the code below [

[PHP] goto - My comments

2010-12-18 Thread Ethan Rosenberg
Dear List - Thanks to all for your EXCELLENT comments. I definitly agree that goto is a command to be avoided at all costs. In this case, I could not figure out how to acheive the desired result without the goto. So being a newbie, I humbly request that you show [and at the same time t

[PHP] Regex for telephone numbers

2010-12-29 Thread Ethan Rosenberg
Dear List - Thank you for all your help in the past. Here is another one I would like to have a regex which would validate that a telephone number is in the format xxx-xxx-. Thanks. Ethan MySQL 5.1 PHP 5 Linux [Debian (sid)] -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Regex for telephone numbers

2010-12-30 Thread Ethan Rosenberg
At 07:27 PM 12/29/2010, Josh Kehn wrote: On Dec 29, 2010, at 7:12 PM, Ethan Rosenberg wrote: > Dear List - > > Thank you for all your help in the past. > > Here is another one > > I would like to have a regex which would validate that a telephone number is in th

Re: Fwd: Fwd: Re: [PHP] goto - My comments

2010-12-30 Thread Ethan Rosenberg
At 02:38 PM 12/27/2010, Jim Lucas wrote: On 12/27/2010 10:42 AM, Ethan Rosenberg wrote: > > Now, here is the real puzzler > > The purpose of this routine is to be able to have two(2) forms on one page,but > not simultaneously.Additionally, l do not wish to call a separate

Re: [PHP] Regex for telephone numbers

2010-12-31 Thread Ethan Rosenberg
At 07:11 AM 12/31/2010, Nathan Rixham wrote: Ethan Rosenberg wrote: FYI [to all the list] -- I thank all for their input. I only needed US phones, and I am forcing the user of the form to conform to xxx-xxx- as the input format. out of interest, why are you forcing you're use

[PHP] Job Search

2010-12-31 Thread Ethan Rosenberg
Dear list - I am an entry level data base programmer [PHP/MySQL HTTP/CSS] looking for work in the NY metropolitan area. Any ideas? Should we have a job search board? Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for telephone numbers

2010-12-31 Thread Ethan Rosenberg
only my mobile as a means of contact. Thanks, Ash <http://www.ashleysheridan.co.uk>http://www.ashleysheridan.co.uk - Reply message ----- From: "Ethan Rosenberg" Date: Fri, Dec 31, 2010 14:03 Subject: [PHP] Regex for telephone numbers To: "Nathan Rixham" Cc: "ph

[PHP] Two forms on one page

2011-01-03 Thread Ethan Rosenberg
Dear List - I would like to have two(2) forms in one PHP script. I would like to have the forms appear sequentially; ie, that the first form would appear, the data would be entered, and then the second form would appear, the data would be entered, and the script would exit. The code below d

[PHP] Two forms on one page

2011-01-03 Thread Ethan Rosenberg
Oooops - left out the text that was supposed to be in the quotes. Dear List - I would like to have two(2) forms in one PHP script. I would like to have the forms appear sequentially; ie, that the first form would appear, the data would be entered, and then the second form would appear, the d

[PHP] Two forms on one page - THE ANSWER

2011-01-04 Thread Ethan Rosenberg
Jim - Much thanks to you for solving a problem with which I have been struggling for the last two weeks. Here is the code: === http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> Enter your date of birth, in mm/dd/ format: FORM

[PHP] PHP & Database Problems

2012-05-02 Thread Ethan Rosenberg
have a database mysql> describe Intake3; ++-+--+-+-+---+ | Field | Type| Null | Key | Default | Extra | ++-+--+-+-+---+ | Site | varchar(6) | NO | PRI | | | | MedRec | int(6) | NO |

[PHP] PHP & Database Problems -- Code Snippets

2012-05-02 Thread Ethan Rosenberg
sult2, MYSQLI_BOTH)) { global $finished; echo "\n"; echo " $row8[0] \n"; echo " $_GLOBALS[mdr] \n"; echo " $row8[2] \n"; echo " $row8[3] \n"; echo " $row8

Re: [PHP] PHP & Database Problems -- Code Snippets

2012-05-03 Thread Ethan Rosenberg
At 06:47 PM 5/2/2012, Matijn Woudt wrote: On Wed, May 2, 2012 at 11:43 PM, Ethan Rosenberg wrote: > Dear list - > > Sorry for the attachment. Â Here are code snippets --- Ethan, I don't want to sound rude, but it appears to me you don't have any understanding of what you

[PHP] PHP & Database Problems -- Code Snippets - Any more Ideas?

2012-05-04 Thread Ethan Rosenberg
echo " $row8[2] \n"; echo " $row8[3] \n"; echo " $row8[4] \n"; echo " $row8[5] \n"; echo " $row8[6] \n"; echo "\n"; echo "row8"; print_r($row8[1]); }

[PHP] IDE

2012-05-06 Thread Ethan Rosenberg
Dear List - Is there any IDE which will let me step thru my code AND give the opportunity to enter data; eg, when a form should be displayed allow me to enter data into the form and then proceed? I realize the forms are either HTML and/or Javascript, but there must be a work-around. I is ex

Re: [PHP] IDE

2012-05-06 Thread Ethan Rosenberg
At 06:45 PM 5/6/2012, Simon Schick wrote: On Mon, May 7, 2012 at 12:33 AM, Ethan Rosenberg wrote: > > Dear List - > > Is there any IDE which will let me step thru my code AND give the > opportunity to enter data; eg, when a form should be displayed allow me to > enter data

[PHP] SQL Injection

2012-06-08 Thread Ethan Rosenberg
Dear List - I am aware of a long email trail on this subject, but there does not seem to be a resolution. Is it possible to have a "meeting of the minds" to come up with (an) appropriate method(s)? Thanks. Ethan Rosenberg -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Regex

2012-07-27 Thread Ethan Rosenberg
Dear list - I've tried everything and am still stuck. A regex that will accept numbers, letters, comma, period and no other characters Thanks. Ethan Rosenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mysqli Extension

2013-08-19 Thread Ethan Rosenberg
Dear List - My mysqli extension seems to have gone away. $host = 'localhost'; $user = 'root'; $password = 'SdR3908'; echo "hello2"; var_dump(function_exists('mysqli_connect'));// this returns boo(false) $db = 'Store'; $cxn = mysqli_connect($host,$user,$password,$db); I tried to reinstall -

[PHP] exec and system do not work

2013-08-25 Thread Ethan Rosenberg
Dear List - I'm lost on this one - This works - $out = system("ls -l ",$retvals); printf("%s", $out); This does - echo exec("ls -l"); This does not - if( !file_exists("/var/www/orders.txt")); { $out = system("touch /var/www/orders.txt", $ret); $out2 = system("chmod 766 /var/www/orders

Re: [PHP] exec and system do not work

2013-08-26 Thread Ethan Rosenberg
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote: Tamara Temple hat am 26. August 2013 um 08:33 geschrieben: On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg wrote: Dear List - I'm lost on this one - This works - $out = system("ls -l ",$retvals); printf("%s",

[PHP] Permissions

2013-08-26 Thread Ethan Rosenberg
Dear List - Tried to run the program, that we have been discussing, and received a 403 error. rosenberg:/var/www# ls -la StoreInventory.php -rwxrwxrw- 1 ethan ethan 4188 Aug 26 20:26 StoreInventory.php rosenberg:/var# ls -ld www drwxrwxrw- 37 ethan ethan 20480 Aug 26 20:26 www I had set the

Re: [PHP] Re: Permissions

2013-08-27 Thread Ethan Rosenberg
On 08/27/2013 03:07 AM, David Robley wrote: Ashley Sheridan wrote: On Tue, 2013-08-27 at 16:16 +0930, David Robley wrote: Ethan Rosenberg wrote: Dear List - Tried to run the program, that we have been discussing, and received a 403 error. rosenberg:/var/www# ls -la StoreInventory.php

Re: [PHP] Re: Permissions

2013-08-27 Thread Ethan Rosenberg
On 08/27/2013 01:52 PM, Ethan Rosenberg wrote: On 08/27/2013 03:07 AM, David Robley wrote: Ashley Sheridan wrote: On Tue, 2013-08-27 at 16:16 +0930, David Robley wrote: Ethan Rosenberg wrote: Dear List - Tried to run the program, that we have been discussing, and received a 403 error

[PHP] Re: Permissions

2013-08-27 Thread Ethan Rosenberg
On 08/27/2013 03:31 PM, Steven Post wrote: On Tue, 2013-08-27 at 13:43 -0400, Ethan Rosenberg wrote: Dear List - I apologize for this "needle in a haystack" but... This was originally posted on the PHP list, but has changed into a Debian question... Tried to run the program, th

[PHP] Switch Statement

2013-09-28 Thread Ethan Rosenberg
Dear List - I have a working program. I made one change in a switch statement, and it does not work. I'm probably missing something fundamental. Here are some code SNIPPETS... [please note that all my debug statements are at the left margin] Setup... echo " value='already_seen'>";

Re: [PHP] Re: Switch Statement

2013-09-28 Thread Ethan Rosenberg
On 09/28/2013 11:59 PM, Jim Giner wrote: Ethan,Ethan,Ethan - what is all this "stuff" you have at the top??? Do you know how any of this is supposed to be written? You can not put Constants in quotes - they become just plain strings then, not Constants with the predefined values you (and the

Re: [PHP] Switch Statement

2013-09-28 Thread Ethan Rosenberg
On 09/28/2013 10:53 PM, Aziz Saleh wrote: Ethan, can you do a var_dump instead of print_r. It might be that next_step has spaces in it causing the switch to not match. Aziz Aziz - Used var_dump no further information Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Craigslist Jobs

2011-01-11 Thread Ethan Rosenberg
Dear List - I am a NEWBIE, so . How do I handle Craigslist postings? Is there anything special I should do? Any advice for other web sites? At this point I am talking about small jobs. 1] My payment. Should I ask for something up front? If so how much? 2] How do I protect myself so t

[PHP] Installing PEAR

2011-01-25 Thread Ethan Rosenberg
Dear List -- How do install PEAR on Linux? I installed lynx and as root, I ran the command lynx -source http://pear.php.net/go-pear | php. It seemed to install, but the command pear did not work. From the root directory I ran the command find . -name pear. There was no file found. I also

Re: [PHP] Installing PEAR

2011-01-25 Thread Ethan Rosenberg
At 12:25 PM 1/25/2011, Nilesh Govindarajan wrote: On 01/25/2011 10:32 PM, Ethan Rosenberg wrote: > Dear List -- > > How do install PEAR on Linux? I installed lynx and as root, I ran the > command lynx -source http://pear.php.net/go-pear | php. It seemed to > install, but the c

Re: [PHP] Installing PEAR

2011-01-25 Thread Ethan Rosenberg
At 01:44 PM 1/25/2011, Shawn McKenzie wrote: On 01/25/2011 11:25 AM, Nilesh Govindarajan wrote: > On 01/25/2011 10:32 PM, Ethan Rosenberg wrote: >> Dear List -- >> >> How do install PEAR on Linux? I installed lynx and as root, I ran the >> command lynx -source http:/

[PHP] Formatting

2011-01-25 Thread Ethan Rosenberg
Dear list - I have a program with the following statement: $out = system('ls -l', $retval); The output is a string. How do I format the output to be in the Linux format, that is in columns. I cannot think of a way to use explode to do it. Advice and comments, please. Thanks Ethan MySQ

[PHP] Pear Problems

2011-01-26 Thread Ethan Rosenberg
Dear List - I am executing the command pear list. This is what I get - ethan@rosenberg:/usr/bin$ pear list PHP: syntax error, unexpected '&' in /etc/php5/cli/php.ini on line 510 Installed packages, channel pear.php.net: = Package

Re: [PHP] Pear Problems

2011-01-27 Thread Ethan Rosenberg
At 01:54 AM 1/27/2011, Adam Richardson wrote: On Thu, Jan 27, 2011 at 1:01 AM, Ethan Rosenberg wrote: > Dear List - > > I am executing the command pear list. > > This is what I get - > > ethan@rosenberg:/usr/bin$ pear list > PHP: syntax error, unexpected '&&

[PHP] PEAR & PHP

2011-01-29 Thread Ethan Rosenberg
Dear list - I enter the command pear list, and get errors. See below -- ethan@rosenberg:/usr/lib/php5$ ls -l total 12 drwxr-xr-x 2 root root 4096 Jan 6 00:53 20090626+lfs drwxr-xr-x 2 root root 4096 Jul 18 2010 libexec -rwxr-xr-x 1 root root 596 Jan 5 08:09 maxlifetime ethan@rosenberg

Re: [PHP] PEAR & PHP

2011-01-30 Thread Ethan Rosenberg
At 03:29 AM 1/30/2011, Thijs Lensselink wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2011 05:43 AM, Ethan Rosenberg wrote: > Dear list - > > I enter the command pear list, and get errors. See below -- > > ethan@rosenberg:/usr/lib/php5$ ls -l > total 12 > d

Re: [PHP] PEAR & PHP

2011-01-30 Thread Ethan Rosenberg
At 01:51 PM 1/30/2011, Ashley Sheridan wrote: "Ashley Sheridan" wrote: >"Ethan Rosenberg" wrote: > >>At 03:29 AM 1/30/2011, Thijs Lensselink wrote: >>>-BEGIN PGP SIGNED MESSAGE- >>>Hash: SHA1 >>> >>>On 01/30/2011 05

[PHP] Displaying Results

2011-02-15 Thread Ethan Rosenberg
Dear List - I have a form. In one field, the customer types the name of a product. The first seven(7) results of the MySQL query that the entry generates should be displayed as a clickable drop down list. How do I do it? Thanks. Ethan MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)] --

[PHP] Array Search

2011-03-25 Thread Ethan Rosenberg
rray contains the pieces at that coordinate. What am I doing wrong? Advice and comments please. Thanks. Ethan Rosenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Array Search - Solved

2011-03-26 Thread Ethan Rosenberg
At 01:31 PM 3/25/2011, João Cândido de Souza Neto wrote: It´s a job to array_key_exists function. -- João Cândido de Souza Neto "Ethan Rosenberg" escreveu na mensagem news:0lim00hi3ihny...@mta4.srv.hcvlny.cv.net... > Dear List - > > Here is a code snippet: >

[PHP] Permission Denied

2011-03-27 Thread Ethan Rosenberg
ing a problem, because I could not open a file for writing. I was not receiving error messages, but no file was created. Help and advice, please. Ethan Rosenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Permission Denied

2011-03-28 Thread Ethan Rosenberg
At 01:32 AM 3/28/2011, Hans Åhlin wrote: Do you have SELinux installed? 2011/3/28 Ethan Rosenberg : > Dear List - > > Thanks for all your help in the past.  Here is another one... > > I am getting a Permission Denied" message when I try to run a PHP script.  I > j

Re: [PHP] Permission Denied - Help Requested

2011-03-28 Thread Ethan Rosenberg
At 01:32 AM 3/28/2011, Hans Åhlin wrote: Do you have SELinux installed? 2011/3/28 Ethan Rosenberg : > Dear List - > > Thanks for all your help in the past.  Here is another one... > > I am getting a Permission Denied" message when I try to run a PHP script.  I > j

Re: [PHP] Permission Denied - Help Requested

2011-03-28 Thread Ethan Rosenberg
At 11:14 PM 3/28/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <<mailto:eth...@earthlink.net>eth...@earthlink.net> wrote: At 01:32 AM 3/28/2011, Hans Åhlin wrote: Do you have SELinux installed? 2011/3/28 Ethan Rosenberg <<mailto:eth...

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth...@earthlink.net>eth...@earthlink.net> wrote: >>

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 03:49 PM 3/29/2011, Al wrote: On 3/29/2011 3:06 PM, Ethan Rosenberg wrote: At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rose

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 05:33 PM 3/29/2011, Adam Richardson wrote: > > Thanks. > > What do you see if you run this? "Can't open or create file!" > > Ethan OK, If you're running PHP as an Apache module, by default it won't have permissions to write to the directory (this is by design to avoid security issues.) Yo

Re: [PHP] Permission Denied - Help Requested - Solved

2011-03-30 Thread Ethan Rosenberg
At 12:07 AM 3/30/2011, Adam Richardson wrote: On Tue, Mar 29, 2011 at 8:21 PM, Ethan Rosenberg wrote: > At 05:33 PM 3/29/2011, Adam Richardson wrote: > >> > >> > Thanks. >> > >> > What do you see if you run this? "Can't open or create

[PHP] Session Variables - Error

2011-03-30 Thread Ethan Rosenberg
Dear List - Thanks for your help. Here is another one. I cannot get my session variables to work. The program will print out a chess board and show the positions of the pieces after the move Here are code snippets: The program is chess2.php $results = array(array("Br", "Bn", "Bb", "Bq"

[PHP] Sessions - More Info

2011-03-30 Thread Ethan Rosenberg
://www.w3.org/1999/xhtml";> I have no idea what is wrong. I need to make my session variables work so that I can finish a project. Help and advice, please. Ethan Rosenberg MySQL 5.1 PHP 5.3.3-6 Linux [Debian (sid)] -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Sessions - More Info - SOLVED

2011-03-30 Thread Ethan Rosenberg
At 07:28 PM 3/30/2011, Ashley Sheridan wrote: On Wed, 2011-03-30 at 19:20 -0400, Ethan Rosenberg wrote: > Dear List - > > Thank you for your help in the past. This an update on my session problems. > > Here is a simple test program. It never increments the session > cou

[PHP] Closing Session

2011-03-31 Thread Ethan Rosenberg
Dear List - Thanks for your help. How do I close a session form the terminal? I need the ability to do this for debugging. I often have more than one session open at the same time, so creating a program with session_start() and session_unset() or session_destoy() would probably not work.

Re: [PHP] Closing Session

2011-03-31 Thread Ethan Rosenberg
At 01:30 PM 3/31/2011, Daniel Brown wrote: On Thu, Mar 31, 2011 at 13:09, Ethan Rosenberg wrote: > Dear List - > > Thanks for your help. > > How do I close a session form the terminal? I need the ability to do this > for debugging. I often have more than one session open at

Re: [PHP] Closing Session

2011-03-31 Thread Ethan Rosenberg
At 02:12 PM 3/31/2011, Ashley Sheridan wrote: On Thu, 2011-03-31 at 13:54 -0400, Ethan Rosenberg wrote: > At 01:30 PM 3/31/2011, Daniel Brown wrote: > >On Thu, Mar 31, 2011 at 13:09, Ethan Rosenberg wrote: > > > Dear List - > > > > > > Thanks for you

Re: [PHP] Closing Session

2011-03-31 Thread Ethan Rosenberg
At 05:37 PM 3/31/2011, Ethan Rosenberg wrote: At 04:51 PM 3/31/2011, Daniel Brown wrote: On Thu, Mar 31, 2011 at 16:40, Ethan Rosenberg wrote: > > > Ash - > > I can be working on more than one program simultaneously and have one tab > open w/ program A and another

Re: [PHP] Closing Session

2011-03-31 Thread Ethan Rosenberg
127.0.0.1 localhost development subdomain.development Don't worry about it being an FQDN. Prior to checking with the router or DNS servers, all modern systems check the hosts file. Then just add a reference to each in your Apache configuration file and restart Apache. Boom. Don

Re: [PHP] Closing Session - Apache

2011-04-01 Thread Ethan Rosenberg
At 05:04 AM 4/1/2011, Richard Quadling wrote: On 31 March 2011 23:16, Ethan Rosenberg wrote: > >>> > Dan - > > I'm a newbie... > > 1] What should the line in the Apache configuration file be? Just to be > sure, the file is: /etc/apache2/apache2.conf, correct?

[PHP] Error in variable assignment

2011-04-11 Thread Ethan Rosenberg
Dear list - I an writing a script that will simulate a chess board. On a move from e2 to e6 [see below] the variable in e2 is never assigned to e6. Here are some code snippets: starting"; $results = array(array("Br", "Bn", "Bb", "Bq", "Bk", "Bb", "Bn", "Br"),array("Bp", "Bp", "Bp", "Bp",

[PHP] Converting string to array index

2011-11-05 Thread Ethan Rosenberg
Dear list - I have an associative array that will return a string representing an array index. I now need to convert this string into an actual array index. $test1 = array ( "e1" => "[4][7]", "e2" => "[5][8]" ); so.. $z = $test1['e1']; z has the value of [4][7]. I need to convert this strin

[PHP] foreach

2012-04-05 Thread Ethan Rosenberg
($host,$user,$password,$db); $value = mysql_real_escape_string( $_POST[$fld] ); $query .= " AND $fld = '$_POST[value]' "; echo "#1 $query"; //never echos the query } } These are the messages I receive on execution of the script: Notice: Undefined variable: allowed_fields in /var/www/srchrhsptl5.php on line 198 Warning: Invalid argument supplied for foreach() in /var/www/srchrhsptl5.php on line 198 Advice and help, please. Thank you. Ethan Rosenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] exec and system do not work

2013-08-26 Thread Ethan Rosenberg, PhD
On 08/26/2013 03:28 PM, Jim Giner wrote: On 8/26/2013 2:41 PM, Ethan Rosenberg wrote: On 08/26/2013 11:36 AM, ma...@behnke.biz wrote: Tamara Temple hat am 26. August 2013 um 08:33 geschrieben: On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg wrote: Dear List - I'm lost on thi

Re: [PHP] exec and system do not work

2013-08-26 Thread Ethan Rosenberg, PhD
Ethan Rosenberg, PhD /Pres/CEO/ *Hygeia Biomedical Research, Inc* 2 Cameo Ridge Road Monsey, NY 10952 T: 845 352-3908 F: 845 352-7566 erosenb...@hygeiabiomedical.com On 08/26/2013 07:33 PM, David Robley wrote: Ethan Rosenberg wrote: On 08/26/2013 11:36 AM, ma...@behnke.biz wrote