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...
?php
session_start();
On 09/28/2013 11:59 PM, Jim Giner wrote:
?php
session_start();
session_name(STORE);
set_time_limit(2400);
ini_set('display_errors', 'on');
ini_set('display_startup_errors', 'on');
error_reporting(-2);
ini_set('error_reporting', 'E_ALL | E_STRICT');
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
snip
Aziz -
Used var_dump no further information
Ethan
--
PHP General Mailing List (http://www.php.net/)
To
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
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
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, that we have
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara Temple tamouse.li...@gmail.com hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
erosenb...@hygeiabiomedical.com wrote:
Dear List -
I'm lost on this one -
This works -
$out = system(ls -l
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 tamouse.li...@gmail.com hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
erosenb
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
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
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.txt,
Dear List -
My mysqli extension seems to have gone away.
$host = 'localhost';
$user = 'root';
$password = 'SdR3908';
echo hello2br /;
var_dump(function_exists('mysqli_connect'));// this returns boo(false)
$db = 'Store';
$cxn = mysqli_connect($host,$user,$password,$db);
I tried to reinstall
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
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 unsubscribe
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
At 06:45 PM 5/6/2012, Simon Schick wrote:
On Mon, May 7, 2012 at 12:33 AM, Ethan Rosenberg eth...@earthlink.net 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
';
}
?
I hope this helps.
Ethan
--
Ethan Rosenberg, PhD
Pres/CEO
Hygeia Biomedical Research, Inc
2 Cameo Ridge Road
Monsey, NY 10952
T: 845 352-3908
F: 845 352-7566
mailto:erosenb...@hygeiabiomedical.comerosenb...@hygeiabiomedical.com
--
PHP General Mailing List (http
At 06:47 PM 5/2/2012, Matijn Woudt wrote:
On Wed, May 2, 2012 at 11:43 PM, Ethan Rosenberg
eth...@earthlink.net 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're
have a database
mysql describe Intake3;
++-+--+-+-+---+
| Field | Type| Null | Key | Default | Extra |
++-+--+-+-+---+
| Site | varchar(6) | NO | PRI | | |
| MedRec | int(6) | NO |
type=\submit\ /br /br /;
echo input type=\reset\ value = \Clear Form\ //center;
echo input type=hidden name='welcome_already_seen'
value='already_seen';
}
?
I hope this helps.
Ethan
--
Ethan Rosenberg, PhD
Pres/CEO
Hygeia Biomedical
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
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 string to an
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:
?php
session_start();
session_name(Chess);
error_reporting(1);
if ($_SESSION['flag'] != 1)
{
$flag = 1;
echo br
At 05:04 AM 4/1/2011, Richard Quadling wrote:
On 31 March 2011 23:16, Ethan Rosenberg eth...@earthlink.net wrote:
snip
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?
--
Richard
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.
At 01:30 PM 3/31/2011, Daniel Brown wrote:
On Thu, Mar 31, 2011 at 13:09, Ethan Rosenberg eth...@earthlink.net 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 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
eth...@earthlink.net wrote:
Dear List -
Thanks for your help.
How do I close
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 eth...@earthlink.net wrote:
Ash -
I can be working on more than one program simultaneously and have one tab
open w/ program A and another w
snip
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.
At 12:07 AM 3/30/2011, Adam Richardson wrote:
On Tue, Mar 29, 2011 at 8:21 PM, Ethan Rosenberg eth...@earthlink.netwrote:
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
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
?php session_start();
error_reporting(1);
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/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
counter; ie, does not detect
At 01:40 PM 3/29/2011, Adam Richardson wrote:
On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg eth...@earthlink.netwrote:
At 11:14 PM 3/28/2011, Adam Richardson wrote:
On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg mailto:
eth...@earthlink.neteth...@earthlink.net wrote:
At 01:32 AM 3
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 eth...@earthlink.netwrote:
At 11:14 PM 3/28/2011, Adam Richardson wrote:
On Mon, Mar 28, 2011 at 11:03 PM, Ethan
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.) You can
At 01:32 AM 3/28/2011, Hans Ã
hlin wrote:
Do you have SELinux installed?
2011/3/28 Ethan Rosenberg eth...@earthlink.net:
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
just changed
At 01:32 AM 3/28/2011, Hans Ã
hlin wrote:
Do you have SELinux installed?
2011/3/28 Ethan Rosenberg eth...@earthlink.net:
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
just changed
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
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 eth...@earthlink.net escreveu na mensagem
news:0lim00hi3ihny...@mta4.srv.hcvlny.cv.net...
Dear List -
Here is a code snippet:
$bla = array
?
Advice and comments please.
Thanks.
Ethan Rosenberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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)]
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
drwxr-xr-x 2 root root 4096
At 01:51 PM 1/30/2011, Ashley Sheridan wrote:
Ashley Sheridan a...@ashleysheridan.co.uk wrote:
Ethan Rosenberg eth...@earthlink.net wrote:
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
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
At 01:54 AM 1/27/2011, Adam Richardson wrote:
On Thu, Jan 27, 2011 at 1:01 AM, Ethan Rosenberg eth...@earthlink.netwrote:
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
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 Version State
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
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 command pear did
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://pear.php.net/go-pear | php
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
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
Jim -
Much thanks to you for solving a problem with which I have been
struggling for the last two weeks.
Here is the code:
===
?php session_start(); ?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
?php
switch (
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
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
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 users
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
my mobile as a means of contact.
Thanks,
Ash
http://www.ashleysheridan.co.ukhttp://www.ashleysheridan.co.uk
- Reply message -
From: Ethan Rosenberg eth...@earthlink.net
Date: Fri, Dec 31, 2010 14:03
Subject: [PHP] Regex for telephone numbers
To: Nathan Rixham nrix...@gmail.com
Cc: php
At 07:27 PM 12/29/2010, Josh Kehn wrote:
On Dec 29, 2010, at 7:12 PM, Ethan Rosenberg eth...@earthlink.net 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 the format
At 02:38 PM 12/27/2010, Jim Lucas wrote:
On 12/27/2010 10:42 AM, Ethan Rosenberg wrote:
snip
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
program every
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
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
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
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
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
Tamara -
Thanks.
No error_log.
This works ...
htmlbody
?php phpinfo(); ?
/body/html
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
/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.
No error_log.
The error log only exists if he
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]
Sent: Tuesday
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 PLEASE
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 are some questions, which I am sure
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
71 matches
Mail list logo