RE: [PHP] OO question

2001-12-11 Thread Chris Bailey

You can use the special name parent.  e.g.:

parent::baseClassFunction();


-Original Message-
From: christian calloway [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 08, 2001 2:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] OO question


I want to be able to override a function/method in a parent class, but then
call that function/method from within the overriden function in the child
class. The Zend documentation states you can do this:

In PHP 4.0 you can call member functions of other classes from within
member functions or from within the global scope. You can now, for instance,
override a parent function with a child function, and then call the parent
function from it.

But how do you do it? From the following syntax:

class childclass extends parentclass
..
function overridenFunction()
{
// call parent function wich this function overrides.
$this-overridenFunction()
...
}

Would the method being calling the parent method or would it be calling
itself?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Good host needed

2001-11-29 Thread Chris Bailey

Check the mailing list archives.  This topic comes up about once a month or
so, and a lot of good hosts have been listed, all of which support PHP,
MySQL, and typically have SSH or at least telnet access, FTP access, etc.

-Original Message-
From: Rudi Ahlers [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 1:11 PM
To: PHP General
Subject: [PHP] Good host needed


Hi guys.

I know this is OT, but I don't know where else to ask. I'm in South Africa,
and I'm looking for a GOOD webserver host in the States. Bandwidth is a big
thing, as well as using UNIX, else Linux. I would like to be able to manage
the server from home,and not phone in every I need to do something. And I'm
looking for good bandwidth. Any recommendation will do, as I'll be looking
at all the companies, and see who offers the best.

Thanx


Rudi Ahlers



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Very interesting and challenging question

2001-11-28 Thread Chris Bailey

You could read the file in with file(), which will give you each line as an
array.  Then, depending on how those strings are separated (are they by
tabs, or is it just whitespace?), use strtok() to tokenize each line.  If
they are by space, not tab, but you know the column width, then you can just
pull out each part by using substr() or similar.  For the non lap/time
records, just check whether the string starts with a number or not, and if
not check if it starts with the known labels, e.g. Caution Flags.

-Original Message-
From: Dan McCullough [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 9:01 AM
To: PHP General List
Subject: [PHP] Very interesting and challenging question


I need to take a file, similar to this and strip it of everything but this,
and write it to a
database.  Are there any thoughts on how to get the information out, all the
files are consistent.
!-- start strip --
Race Final   Watkins Glen International
 2.450 miles31 laps


Fin Str  Driver Laps  Led   Pts Qual   Reason
Out


!-- end strip --
!-- start output --
 1   2   18  Dynamike18   31   24   185  118.007
Running
 2   7   68  jcordeiro310   170  116.078
Running
 3   5   80  MattyJ140310   165  116.881
Running
 4   1   28  RUDD#28  316   165  118.219
Running
 5  13   57  1SpeedDemon  310   155
Running
 6   9   84  legends3 311   155  115.131
Running
 7   3   56  RobertFx3D   310   146  117.854
Running
 8  12   55  24skids  310   142   98.644
Running
 9   4   53  Mark_O_10310   138  117.323
Running
10   8   91  JJinsane 310   134  116.061
Running
11  108  beertipper   310   130  114.154
Running
12  11   44  WisOutLaw   100   127  111.022
DNF
13   6   51  BdgrOtlw  30   124  116.702
DNF
!-- End 1st output --

!-- Start second output --


Race time - 72:52.030

Average speed - 62.538mph

Margin of victory - 1.944sec

Caution flags - 7

# of lead changes - 3

Weather - Clear 70^ E 0mph
!-- End second output --

thanks for any help


=
Dan McCullough
---
Theres no such thing as a problem unless the servers are on fire!
h: 603.444.9808
w: McCullough Family
w: At Work

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Re: Version Contol for PHP site

2001-11-19 Thread Chris Bailey

I'm maybe a little unclear on exactly what you want.  It says Version
Control in the subject, but then PHP debugging and such is discussed below.
To me the two are independent subjects.  So, some more general info...

For version control I'd suggest either CVS or Perforce, depending on budget
:)  CVS is obviously free, and is quite good.  You definitely want to run
the server portion of it on a UNIX/Linux box, but you can use it quite
easily from Windows with WinCVS or you can probably integrate CVS commands
into your editor (depending on your editor/IDE).  Perforce is a superb
source code management tool, but it costs money (although it's price is
reasonable).  It has some nice features over CVS (such as the whole atomic
checkin process, which once you use/work this way, you'll be bummed that
they don't all have it - I heard CVS 2 may do this if that ever happens).
You can get Perforce for free if you only have 2 (or less) users.  It works
very well on Windows and has a nice GUI.  You can also run the server on
Windows NT/2000.

Just about any version control system will work for your PHP, HTML, CSS, and
any other source code you have.  Basically they're all text files, and
that's where these systems work best because they can help with merges and
diffing and obviously keep track of differences between revisions.

You can do your development work on any platform and use typically
UNIX/Linux or Windows for a server for source control, deployment, etc.
Version control is just that, it is up to you how you employ it in terms of
your development environment.  I would think most people use it most
strictly for version control, and have scripts on their staging and/or
deployment system where they pull a snapshot of code down, do a build
(which may be compiling CGI scripts, or may just mean copying the files to
the appropriate place on the server), and then fire up the server.  Your
developers would do similar things, just on their own machine (I assume they
have a similar environment setup as the deployment, e.g. they're running a
web server with mod_php or whatever).

Hope that helps.

-Original Message-
From: John Lim [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 10:57 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Version Contol for PHP site


Hi Jeff

There is a Windows version of WinCVS (see http://wincvs.org/ ).

John

Jeff Bearer [EMAIL PROTECTED] wrote in message
1006195598.1407.7.camel@jbearer">news:1006195598.1407.7.camel@jbearer...
 Hello,
 I'm trying to come up with a workable solution to implement version
 control for our site.  I have developers that use windows, and don't
 know too much about the unix command line, so I'd prefer to use a
 windows client to work on the site if possible.

 I'm looking into CVS for the version control and I've found some
 directions on how to use it with websites.  But it only talks about
 static HTML development, it doesn't say how developers would debug PHP,
 CGI, etc.  This solution would not give them any ability to debug their
 code before checking it back in.

 I suppose if I could get them all comfortable with the UNIX command
 line, they could work on the development server, checking out the files
 to a working directory that is also a virtual host.

 A new idea that I just came up with would be to have the developers use
 VNC viewer to connect to an X server on the development box. The
 deveopers could use a X GUI for CVS to check it out, and edit files etc.
 and keep the working directory a virtual host like above.

 Is anybody doing something like this with their PHP development?  Any
 direction from a working implementation would be great. And what do you
 think about the VNC idea that I just came up with?

 --
 Jeff Bearer, RHCE
 Webmaster
 PittsburghLIVE.com




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Re: PHP versus all other languages

2001-11-16 Thread Chris Bailey

PEAR is another db abstraction layer, and potentially will be integrated
into PHP.  I use it for all my DB access (in PHP) now.  In fact, I'd say
it's more powerful and easier than using the mysql_ methods for example.
PEAR uses the standard factory design pattern to determine which DB it's
talking to, etc.  I have not looked at Metabase so can't comment on that.

-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 8:09 AM
To: [EMAIL PROTECTED]; Pat Hanna
Subject: [PHP] Re: PHP versus all other languages


Hello,

Pat Hanna wrote:

 I'm doing my senior exit project on database languages online. I'm asking
 for help from anyone who can provide any information on the comparison
 between the different languages. I'm comparing languages such as PHP, ASP,
 ColdFussion, perl and any others that I might not know about that you guys
 might know. Thank you to anyone who helps me out in the least.

If you are going to compare languages for database programming, you may
want to get to know Metabase which is a PHP database abstraction layer
that enables you to develop database independent applications so that
you can use the same application code with any of the supported DBMS
with having to change anything.

http://phpclasses.UpperDesign.com/browse.html/package/20

Regards,
Manuel Lemos

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Books for PHP and MySQL Class

2001-11-15 Thread Chris Bailey

PHP and MySQL Web Development by Welling and Thomson, from SAMS.  ISBN
0-672-31784-2.  An easy read, but covers everything you'd need.  I'm a
little biased as a reviewer for your particular needs, since I've been
coding for many years, and thus skipped a bunch of the intro PHP language
chapters, but I've occasionally check those chapters for a thing or two.
Check it out, this book seems to be highly recommended.

-Original Message-
From: Chris Lott [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 11:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Books for PHP and MySQL Class


I'll be teaching a web development class in the Spring in which I plan to
focus on PHP and MySQL as primary tools. These will be students who have
experience with HTML And web design, but most will have no experience with
programming at all.

I need recommendations for book(s) that will serve as decent primers... I
expect that the PHP book will have enough of the fundamentals of programming
to set them on the right path...

Any suggestions for a MySQL book would be great. If both were in one book,
even better!

--
Chris Lott [EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP Highlighting Text Editors

2001-11-02 Thread Chris Bailey

Also, Visual SlickEdit works on Windows (in addition to Linux as mentioned),
and FreeBSD, OS/390, and a slew of others.

There is a list of editors out there somewhere, I know someone has posted a
link before.  There are many editors that do this.

-Original Message-
From: TD - Sales International Holland B.V. [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 10:32 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Highlighting Text Editors


Hey there,

these are the editors given by you guys, thanks for the replies. If somebody
could put this online on php.net it would be great. If you have anything to
add please feel free to email me.

Windows

UltraEdit
ActiveState Komodo
EditPlus
HTML-Kit
Homesite




Linux/Unix

Nedit
(x)emacs
Visual SlickEdit
vim/gvim
ActiveState Komodo
Beaver
Cooledit
KWrite (included with KDE, PHP highlighting since KDE 2.2.1 maybe 2.2.0 also
haven't used that version 2.1.2 doesn't support PHP)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Text Editor with Highlighting

2001-11-01 Thread Chris Bailey

Check the list archives, this topic gets covered almost weekly.

But, for Linux (and various others):
- Visual SlickEdit is awesome, but commercial (the cost is absolutely worth
it, I'm extremely satisfied).  It has function name completion, parameter
completion (for PHP and many other langs), and just a ton of other features.
Runs on Linux, FreeBSD, Windows, and many others.
- Emacs as mentioned.
- vim/gvim (this would be my second choice, vim and it's graphical version
gvim do nice PHP syntax highlighting).  Runs on probably every platform I
can think of.
- ActiveState Komodo (Linux and Windows).  This is an IDE for PHP, Perl,
Python, and more.  Has a debugger, etc.
- Glimmer and NEdit probably have PHP highlighting, but I'm not sure.

-Original Message-
From: TD - Sales International Holland B.V. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 1:02 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Text Editor with Highlighting


Hey there,

I looked on the site for this but couldn't find anything about it. I'd like
a
list of your favorite text editors (preferable for Linux/XFree) with
highlighting. I'm using beaver now, I tried cooledit but it's not me... too
much functions and looks like it came from an old 386 :-). I have kde 2.1.2
which has kwrite, but it's kwrite does not yet support PHP, kde 2.2.1 does
but i don't wanna download the entire kde package. Besides i think it's
still
in development I tried in on my laptop at home but it just makes things bold
instead of all kinds of different colors. also beaver colors for in plain
html and has some problems with correctly indentifying /* */ comments if you
use more of em. i'm also interested in windows though and i think more
people
are interested so maybe somebody of the site might also want to keep track
of
the list so it can be put online

regards

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Debugging aids (after the style of: Error management)

2001-10-26 Thread Chris Bailey

Sounds like getting a stack trace in various other languages.  I know that
Komodo and I think maybe a couple others has a built in debugger.  It may
(or may not) show you a stack trace/call trace display.

-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 2:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Debugging aids (after the style of: Error management)


Don't you like the side-benefits of this list, eg that someone comes up with
a question that gets your thought processes
running or suggests an idea you'd not otherwise come up with!?

So further to the question:

 How can I know the line and the file from where a function has called. I
 already know __FILE__ and __LINE__, but I don't want to transmit them in
 arguments.

is there a debugging facility in PHP which displays a 'map' of which
functions have called which?

So for example, a script crashes at line_56 in file_fred.php, which is what
we've all come to know and love; but I'd
like to know that it got there by the mainline calling FnOpen(), which
called FnInitialise(), which in turn called
FnUncleTomCobbleighAndAll(), where some incompetent happily three layers
down tried to share out the spoils by dividing
by zero (or whatever)...

Looking in the manual I started with:

Chapter 8. Constants
Predefined constants
A constant is a identifier (name) for a simple value. As the name suggests,
that value cannot change during the
execution of the script (the magic constants __FILE__ and __LINE__ are the
only exception). A constant is case-sensitive
by default. By convention constants are always uppercase.


but if these two are the only magic constants then I'm out of luck there.
So I meandered through the PHPINFO and
environment variables, but nothing stood up and popped me in the eye.

Anyone know better/have a bright idea?
=dn



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Looking for a text editor for Mac

2001-10-25 Thread Chris Bailey

Out of curiosity, what's wrong with BBEdit, that'd be my choice.  It has
color syntax highlighting for PHP, and is IMHO, the best editor on MacOS.
Another one I used briefly was Alpha.  So, if BBEdit isn't to your liking,
maybe check out Alpha.  I don't know if Alpha is still being kept up or not,
but it was quite good in the past (I don't know if Alpha has PHP color
syntax highlighting or not).

-Original Message-
From: Ladonna Green [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 12:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Looking for a text editor for Mac


Does anyone know of a text editor for PHP similar to BBedit for the Mac
9.0 or better platform?

--
Ladonna Everett-Green
O'Connors Church Goods, Inc.
3720 El Cajon Blvd
San Diego, CA 92105

800-854-6567
619-283-2076 fax

[EMAIL PROTECTED]
[EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Chris Bailey

Check out the manual section on default parameters...

But the basics are:

function top($image = null) {
if ($image) 
...
else
...
}

Or maybe:

That will set image to be null, so that you can call top either as:

top();
or
top($someimage);


-Original Message-
From: sunny AT wde [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 9:58 AM
To: php
Subject: [PHP] how do i give optional arguments to functions??


hi all!!

i'm writing functions like - 
---
function top () {
 echo blah blah blah;}
---

what i want to do is make it so that i can do - 
---
function top($image) {
 echo blah blah $image blah; }
---

but also make the $image parameter in the top() as optional. so if
its not there, then tell php not to worry about it.

any ideas??

thanks!

sunny


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Chris Bailey

It could be, but then you would have two spaces in between the 2nd and 3rd
blah, instead of just the one space.  But, depending on your actual
application, this may work out.

-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 10:41 AM
To: Arpad Tamas; Richard S. Crawford; sunny AT wde; php
Subject: Re: [PHP] how do i give optional arguments to functions??


 On Wednesday 24 October 2001 19:14, Richard S. Crawford wrote:

 The default value for $image parameter was missing:

  function top ($image=defaultvalue) {
   if ($image==defaultvalue) echo blah blah blah;
   else echo blah blah $image blah;
  }

If the default value can be set to an empty string can the if statement then
be removed?

   function top ($image=)
   {
  echo blah blah $image blah;
   }

- watch those spaces (if they're present in live data)!
=dn



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Chris Bailey

Yes, it definitely should :)  Heh, I think I originally had , but then new
that'd result with the double space problem, so changed it.  My bad.

-Original Message-
From: John A. Grant [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 1:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] how do i give optional arguments to functions??


Chris Bailey [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Check out the manual section on default parameters...

 But the basics are:

 function top($image = null) {
 if ($image)

Shouldn't that be:

function top($image=null)
if ($image)

--
John A. Grant  * I speak only for myself *  (remove 'z' to reply)
Radiation Geophysics, Geological Survey of Canada, Ottawa
If you followup, please do NOT e-mail me a copy: I will read it here





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] IDE for Linux

2001-10-21 Thread Chris Bailey

You can try ActiveState's Komodo.
http://www.activestate.com/Products/ASPN_Komodo/
It supports PHP, Perl, Python, etc., has a debugger, pretty cool editor,
etc.  It's only a 1.0 (at least the last time I used it), but was pretty
solid for a 1.0.

What are you looking for in an IDE?  Instead of an IDE I use Visual
SlickEdit.  It's a commercial editor, but it supports PHP, and does a lot of
things an IDE does (it has projects  workspaces, you can do your builds in
it, awesome editor, stuff like function name completion, shows you what
params the function takes, etc.).

-Original Message-
From: Christian Dechery [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 4:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP] IDE for Linux


Can you guys give me some hints of IDEs for programming PHP in Linux?

thanks

_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] IDE for Linux

2001-10-21 Thread Chris Bailey

Visual SlickEdit is available on Linux, Win32, and about a dozen other
platforms (except MacOS).  I use it on both Windows and Linux (was one of
the reasons I chose it, although now that I've used it, I have many others
:)  It's a great editor, worth every penny I spent on it.  Komodo has a
Win32 version as well.

-Original Message-
From: Christian Dechery [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 5:31 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] IDE for Linux


At 17:20 21/10/01 -0700, you wrote:
You can try ActiveState's Komodo.
http://www.activestate.com/Products/ASPN_Komodo/
 It supports PHP, Perl, Python, etc., has a debugger, pretty cool
 editor,
etc.  It's only a 1.0 (at least the last time I used it), but was pretty
solid for a 1.0.

What are you looking for in an IDE?  Instead of an IDE I use Visual
SlickEdit.  It's a commercial editor, but it supports PHP, and does a lot
of
things an IDE does (it has projects  workspaces, you can do your builds in
it, awesome editor, stuff like function name completion, shows you what
params the function takes, etc.).

exactly what I'm looking for... it's not for me really... It's for a
friend... I develop in Win32... and use HomeSite... I tried this Komodo...
but never saw this SlickEdit... does it have a win32 version???


_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP editing

2001-10-21 Thread Chris Bailey

If you're on RedHat, then you could also use vi/vim/gvim, Emacs/XEmacs, and
I think RH 6.2 probably also had Glimmer, NEdit, and some others.  You could
also search the archives of this list since this topic gets asked a lot :)
Try Active State's Komodo (http://www.activestate.com), which is an IDE that
runs on Linux and Windows and supports PHP, Perl, Python, and more.  It's
pretty cool.

Note: I should mention that I don't work for ActiveState or have any ties to
them (since I've now mentioned Komodo twice in one night of replies :)

Many editors support PHP, pick your favorite and see if it has PHP syntax
support (which is what I'm guessing you're after).  Also, if you are
telnetting in, if you're on a Windows box, then there are lots of choices,
same on Mac (e.g. I think BBEdit supports PHP, Alpha probably does as well),
and with editors like Visual SlickEdit, BBEdit, Emacs, GoLive, and plenty of
others, they have nicely integrated FTP file open  save abilities, so you
could just open your file right off the server, but edit it locally, then
when you hit save, the editor automatically FTP's it back up to the server
for you.

-Original Message-
From: Peter [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 11:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP editing


Hi,

I was wondering are there any editor programs for PHP?

Right now, I am using RedHat Linux 6.2 and I have to type everything by
telneting into the server and using Pico.

Thanks.

Peter


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Articles on OO apps in PHP, also Object-Relational mapping in PHP?

2001-10-19 Thread Chris Bailey

I'm wondering if there are any articles or other material describing how to
design PHP web applications in a highly object oriented fashion?
Specifically, object relational mapping, using classes for nearly everything
(as appropriate), etc.  The articles don't have to be PHP specific, but
PHP's OO/class facilities leave a bit to be desired in comparison to say
Java, so how this is done in PHP would be interesting.

I've read a few PHP articles, a couple books, etc. on the typical (my
impression) way of designing PHP web apps, where it's pretty much a 2 layer
setup of UI and database, and there is no encapsulation/data hiding, and
classes/objects aren't used much.

Pointers to any material of this nature would be appreciated.


Chris Baileymailto:[EMAIL PROTECTED]
Code Intensity  http://www.codeintensity.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP with Java

2001-10-18 Thread Chris Bailey

Did you enable the java extension?  In your php.ini file, you need to enable
the extension, and then also enable/properly set all the stuff in the [Java]
section.  This will tell PHP where your JDK is, etc.

-Original Message-
From: Aku [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2001 6:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP with Java


Hi,

I learn PHP with Java and I try PHP script from help, like below;

?
 $system = new Java(java.lang.System);
 print Java version=.$system-getProperty(java.version). br\n;
 print Java vendor=.$system-getProperty(java.vendor). p\n\n;
 print OS=.$system-getProperty(os.name). .
 $system-getProperty(os.version). on .
 $system-getProperty(os.arch). br\n;
 $formatter = new Java(java.text.SimpleDateFormat,,  dd, 
'at' h:mm:ss a );
 print $formatter-format(new Java(java.util.Date)).\n;
?

error like;
Fatal error: Unable to create Java Virtual Machine in c:\new\java\ex01.php
on line 2

Thanks for help.

Hotma MS
[EMAIL PROTECTED]
(sorry about my english)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Database editor

2001-10-05 Thread Chris Bailey

Also try Mascon and FreeMascon.  Note, these run on Win32, so the other tool
someone mentioned is not the one and only Win32 tool for this :)

FreeMason will let you edit tables and such.  Step up to Mascon to get
things like administrative editing.

http://www.scibit.com/Products/Software/Utils/Mascon.htm

-Original Message-
From: -:-Doigy-:- [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 4:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Database editor


Hi Folks,

I'm after a quick and easy way to edit tables in a mySQL database, much like
you would in ms excel.  I'm thinking I'll do it with forms...

Is there a non-commerical solution in existance already?

Cheers,

Steve



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Database editor

2001-10-05 Thread Chris Bailey

As a couple others posted, if you want it to be PHP, then phpMyAdmin,
http://sourceforge.net/projects/phpmyadmin.

-Original Message-
From: MrBaseball34 [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 9:45 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Database editor


In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
 Also try Mascon and FreeMascon.  Note, these run on Win32, so the other
tool
 someone mentioned is not the one and only Win32 tool for this :)

 FreeMason will let you edit tables and such.  Step up to Mascon to get
 things like administrative editing.

 http://www.scibit.com/Products/Software/Utils/Mascon.htm


This is a Win32-based editor, anything using PHP for the web?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Re: PHP is a Bloated Kludge, discuss!

2001-10-04 Thread Chris Bailey

Ben, I think you hit on one of the key points of PHP in the latter part of
your email.  My take is that PHP is designed to be quick to learn, quick to
use, and somewhat simple (not in a bad way).  I agree that as compared to
most languages, more than usual is packed into the base system.  But, given
the speed of PHP, and that these are likely heavily used pieces anyway, it
doesn't seem so bad.

I think once you step away from what's in the base PHP distro, then PHP is
nearly as modular as anything else.  As Oliver mentioned, you can use
classes nicely (not as good as Java or Python, but not bad), and you can
obviously split your code up into many files, include what you need, etc.

I'm not clear on the comments about an include bringing in everything even
if it's in an if that evaluates to false.  Java is no better in this case
really, and neither is C++ or various others.  Also, PHP actually does have
a way of only including something in a section of code that gets run (i.e.
it's included at runtime, not parse time).  This is the difference between
include_once() and require_once().  So, if you only want something included
if some expression evaluates to true, just stick an include_once() inside
that expression's scope.  If I misunderstood your comments about this, my
apologies, and maybe you can elaborate here.

-Original Message-
From: Oliver Ruf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 8:04 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP is a Bloated Kludge, discuss!


Well about beeing modular...
Have you ever programmed java ?? Java is very modular and everyting in java
is programmed with classes.

So... PHP also suports classes. Now you should be able to build your own
modularity as you like it...

Enough said...
-Oliver


[EMAIL PROTECTED] (Ben Edwards) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:

 (From behind filing cabinet where I am ducking preparing for flames).

 Is it just me or is there anyone else that thinks PHP suffers from not
 being modular.  Let me explain myself.  If you write a module for a lot
 of procedural languages it sits on the filling system and is called up
 when it is needed , loaded into memory and executed. There maybe some
 cashing which happens but this is basically how it works.

 PHP on the other hand seems to load in ALL the code that MAY be run.
 i.e. an include brings things in which are inside an if,  even if the
 if equates to false.

 This means that the language is not extendible in the way others are.
 If you do write a function you wish to include in 'only the pages you
 wish to use'  you have to first include it, then call it.

 This has also meant that things like spell checking functions are built
 into the core module rather than called in as or when they are needed.

 Then there is the way database connectivity is handled.

 There are a load of functions (again in the core language) with there
 NAMES containing the name of the database you are connecting to.

 For example all MySQL functions are mysql_something and I guess all
 oracle ones are oracle_something.  This would only be a minor
 inconvenience because wrapper functions can be written but from what I
 can gather different databases have different functionality available.

 I know this is partly because different databases have different
 functionality.  what I would expect to see is a load of generic
 function which attempt to provide same functionality where it is
 available or implement some of the functionality themselves.  Obviously
 for some of the less sophisticated databases these functions would have
 to do more work and maybe some functionality wouldn't be available in
 certain databases (but only the things like stored procedures).

 Got a nast feeling that ASP (spit) does something like this.

 You may cry, it cant be done.  however I remember a connectivity
 product that came from Borland (this was back in the Paradox Days)
 which did just this, it even had transaction handling built into this
 connectivity layer for DBase!

 Anyway I am playing Devils Advocate.

 What I do like about PHP is how quickly it can be learnt and how quick
 you can build apps with it.  Maybe this is at the expense of elegance.
 Maybe PHP5 will address these issues -;)

 And there are certainly some very busy PHP sites, you should see the
 traffic levels on indymedia.org during anti-capitalist demonstrations
 and I am sure during the New York attacks they went belistic.

 Regards,
 Ben




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] A powerful editor!

2001-10-03 Thread Chris Bailey

I personally use Visual SlickEdit as my primary editor for almost any coding
work.  But, it's commercial.  Having said that, in light of this being a PHP
list, another one to throw out there is Active State's Komodo (which doesn't
run on the Mac, so stick with BBEdit there - which is a superb choice :)
Komodo is kinda interesting.  It runs on Linux and Windows.  It is good for
PHP, Perl, Python, and ok for a few others.  It's in an early state, but
it's usable, and not half bad.  It does all your standard syntax
highlighting and such.  But, it also has PHP debugging, and on the fly
syntax checking which is pretty cool.

Also, I think it was the editor that had this slick thing (well, I thought
so anyway) where it drew vertical lines down to delimit blocks of code.
i.e. it would draw a line from the first character of the opening line of a
block (e.g. a for statement), to the closing line (usually the closing
brace).  It was pretty subtle, it's not a big black line.  Another cool idea
is that the blocks of code are collapsible (some other editors have this
too, maybe even SlickEdit, but I haven't tried it).  Anyway, for a 1.0,
Komodo is quite good.

As for why I use Visual SlickEdit, there are many reasons (after I've
evaluated more editors, IDE's, and so on than I ever have should spent so
much time on).  But, a few of the highlights, for my needs include:
- runs on Windows and Linux and looks and works identically
- Edits any kind of code, and specifically has syntax highlighting and other
language specific features for all the languages I use (Java, C/C++, Perl,
Python, PHP, XML, sh, SQL, XSLT, etc.)
- Extremely configurable.  And, can be configured on a file type basis,
which was important to me (e.g. to change things like tab or indentation
settings per file type)
- Can use an FTP connection just like a disk (e.g. open files and save files
via FTP, but where it's pretty seamless to you).
- Wheelmouse works (don't laugh! I'm addicted to the damn scroll wheel!)
- Code beautifier.  This is super handy when I run across a chunk of code
that does not fit the coding standards/styles I need to use.  I can just
select it, and quickly run the beautifier (for which you can set up an
unlimited number of styles for any needs you have, different styles for the
same file/language types, different styles say if you have different coding
standards at each company you work for (e.g. great for
contractors/consultants).
- And this email is already getting too long, and I'm furthering a potential
religious debate on editors (hey, I don't use Emacs, and I only use vi/vim
for quick stuff, so maybe we can avoid that debate ;)  Anyway, it was well
worth the money I spent on it...


-Original Message-
From: Michael A. Peters [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 10:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] A powerful editor!


I personally like BBEdit 6.1 the best.
'course, since bbedit don't run on Linux, I end up using NEdit and vim
quite a bit as well...

On Tue, 2 Oct 2001 13:57:23 -0700
Dean Householder [EMAIL PROTECTED] wrote:

 I used to use TextPad until I found EditPlus.  I'm also amazed by it's
 power.  It has more than I could even use including everything TextPad
has
 and nicer colors for the different styles.  You can find it at
 http://www.editplus.com.

 Dean Householder
 Daylight Creations
 http://www.daylightcreations.com

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



--
-=-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters
http://24.5.29.77:10080/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Chris Bailey

You could also consider possibly the reverse of what you're doing.  I'm not
sure if it would actually work well, nor can I give you real details on how
to do it, but you can always use Java classes from PHP.  Depending on how
much SOAP is needed/used across your site, you could continue with PHP for
the bulk of your site, and just use Java classes to handle the SOAP stuff
when needed.  The primary issue I don't know about since I haven't looked
into it, is whether it's reasonable to have PHP receive the initial SOAP
request and how you would then hand it off to the Java classes for
processing, etc.  Anyway, just a thought...

-Original Message-
From: Dahnke, Eric [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 8:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SOAP Tool Kit for PHP



My god does PHP need one. Or a library of functions to use.

Yes, I have built in CURL support and am reading the $HTTP_RAW_DATA_POST
variable and rolling my own as they say, but it sure would be nice. I've
seen Manual Lemos' soap classes, and they are cool, but aren't really what I
need.

PHP is fast, has beautiful syntax and I love it, but I think it needs to
grow up a bit. I don't mean to start a war, but it is true, php needs to
evolve into something beyond a newbie language great for producing db driven
web-sites.

I wish I could help, and after a few more C classes I will be able to, but
until then, I can only hope some C wizard is producing something like this.
Web-services are going to be big. Independent of .net (*uck MS), but the
messaging (SOAP) paradigm over http is going to be big. How does php fit in
there?

It looks as though we're headed over to tomcat, and I'm probably going to
bring a bunch of php developers with me. And that sucks, because tomcat is
slow, and it takes twice as long to produce an application w/ non masters
level or big time CS people.

The first thing I'm going to try though is running php as a servlet under
tomcat, but it's only to get at the apache soap tools. See what I mean.

Thanks to all the php developers. 'gards - Eric

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Chris Bailey

Check out this page of SOAP implementations:

http://www.soapware.org/directory/4/implementations

It lists several for PHP, so those may give you a solution.

This is an interesting issue though, especially in light of you bringing up
Tomcat.  I don't mean to start a big flame war over languages, but this is
one thing I struggle with in PHP land too.  I've been doing Java stuff for
years, and am just starting to develop a few things in PHP.  PHP is fast and
easy to use, and a lot easier to setup than Tomcat (or worse, Apache+Tomcat,
and further, if you have a non-standard directory structure).  But, what
I've found so far, is that if I need to do pretty much anything beyond a
simple web app that is mostly a database client, Java just has so many more
libraries and resources available, from SOAP, to XML, XSL, and more.  While
it's not true that PHP doesn't have any of this, it just seems there is more
momentum and solidity behind these types of things for Java.

For example, I'm working on a web app that does a lot of XSL processing, and
immediately I can just grab the various Apache XML and XSL toolkits and get
rolling.  On PHP I can look into Sablotron and some stuff, but I don't get a
feeling that I'd have near the level of functionality, and quality (or
solidity/maturity of code) as I would with the various Java based tools.


-Original Message-
From: Dahnke, Eric [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 10:46 AM
To: 'Chris Bailey'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [PHP] SOAP Tool Kit for PHP



Thanks. That's what I'm doing, and it is working, but it doesn't seem like
it will be very robust, and I don't know if my roll your own will be
compliant with MS SOAP messages and Apache SOAP messages.

I'm reading the Soap:Envelope and Body XML via the $HTTP_RAW_DATA_POST
variable. It comes as a string. I parse that XML to determine the method to
invode (create, edit whatever). It works, but just seems sketch. Especially
the ack back to the poster. It says 200 OK, because the host and file I'm
posting to are found, but if there is an error in the method or anywhere
else, I'm supposed build the SOAP:Fault XML and send that back.

I mean all the IP functions in PHP are so nice, and SOAP is an IP service as
well. Why no love for SOAP?



-Original Message-
From: Chris Bailey [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 1:30 PM
To: Dahnke, Eric; [EMAIL PROTECTED]
Subject: RE: [PHP] SOAP Tool Kit for PHP


You could also consider possibly the reverse of what you're doing.  I'm not
sure if it would actually work well, nor can I give you real details on how
to do it, but you can always use Java classes from PHP.  Depending on how
much SOAP is needed/used across your site, you could continue with PHP for
the bulk of your site, and just use Java classes to handle the SOAP stuff
when needed.  The primary issue I don't know about since I haven't looked
into it, is whether it's reasonable to have PHP receive the initial SOAP
request and how you would then hand it off to the Java classes for
processing, etc.  Anyway, just a thought...

-Original Message-
From: Dahnke, Eric [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 8:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SOAP Tool Kit for PHP



My god does PHP need one. Or a library of functions to use.

Yes, I have built in CURL support and am reading the $HTTP_RAW_DATA_POST
variable and rolling my own as they say, but it sure would be nice. I've
seen Manual Lemos' soap classes, and they are cool, but aren't really what I
need.

PHP is fast, has beautiful syntax and I love it, but I think it needs to
grow up a bit. I don't mean to start a war, but it is true, php needs to
evolve into something beyond a newbie language great for producing db driven
web-sites.

I wish I could help, and after a few more C classes I will be able to, but
until then, I can only hope some C wizard is producing something like this.
Web-services are going to be big. Independent of .net (*uck MS), but the
messaging (SOAP) paradigm over http is going to be big. How does php fit in
there?

It looks as though we're headed over to tomcat, and I'm probably going to
bring a bunch of php developers with me. And that sucks, because tomcat is
slow, and it takes twice as long to produce an application w/ non masters
level or big time CS people.

The first thing I'm going to try though is running php as a servlet under
tomcat, but it's only to get at the apache soap tools. See what I mean.

Thanks to all the php developers. 'gards - Eric

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED

RE: [PHP] GOOD web hosting

2001-09-04 Thread Chris Bailey

Someone else just mentioned this one to me, looks very inexpensive:

http://www.simonweb.com/standardunix/index.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] How to do Add More/expanding forms?

2001-08-30 Thread Chris Bailey

I have a page that is for a little recipe database app.  On the page where
you enter your recipe, there is a set of form fields for ingredients - one
line per ingredient, and a couple of fields per (e.g. amount, measurement,
ingredient).

I'd like to have say 5-10 ingredient lines in the form by default, but put
an Add More button next to the last one that will let the user say add 5
more ingredient lines to the form.  How can I do this?

The problem for me is that I figure I'd want the Add More button to either
do a POST to the same page (and add a parameter indicating the number of
ingredient lines to use or something like that), but that the standard form
Submit/Add Recipe button would go to a different PHP page that actually
inserted the recipe into the database.  But, this requires two forms and
thus I'd lose the recipe's form variables when hitting one or the other of
the buttons.

I've looked around online for solutions to this, but haven't found any.  Can
someone point me in the right direction?


Chris Baileymailto:[EMAIL PROTECTED]
Code Intensity  http://www.codeintensity.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]