Re: [PHP] Which PHP for MySQL 4.1

2004-11-11 Thread Chris
In my previous email OLDPASSWORD() should have been OLD_PASSWORD()
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Which PHP for MySQL 4.1

2004-11-11 Thread Chris
The MySQL library for 4.1.x is mysqli_* ( http://www.php.net/mysqli ) , 
that's only works with PHP 5 as far as I know. The old MySQL library ( 
http://www.php.net/mysql ) Can be used with PHP 4 (any version), but it 
won't be able to connect to MySQL with a user using the new password 
system introduced in MySQL 4.1.3 . You can set a password for a MySQL 
user using the OLDPASSWORD() function, which would allow you to connect 
with the old library in PHP 4.

Chris
C.F. Scheidecker Antunes wrote:
Hello,
I would like to migrate my MySQL servers from 4.0 to 4.1.
As I use PHP as well as Java with these servers I wonder what PHP 4 
version would be compatible with MySQL 4.1.

Has anyone used MySQL 4.1 with PHP yet?
I appreciate your thoughts.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Which PHP for MySQL 4.1

2004-11-11 Thread Jim Wharton
You will need to use the old_password() function in MySQL 4.1 and above.
You can find out more at mysql.com

Jim


On Thu, 2004-11-11 at 15:58 -0500, Brent Baisley wrote:
> I migrated to MySQL 4.1 about a month ago. I had some issues with PHP 
> (running 4.3.6) communicating with MySQL because 4.1 implements a new 
> form of communication. As I recall, I had to do something with the 
> passwords in the grants table, but I forget what now. It's been working 
> fine since.
> 
> On Nov 11, 2004, at 3:05 PM, C.F. Scheidecker Antunes wrote:
> 
> > Hello,
> >
> > I would like to migrate my MySQL servers from 4.0 to 4.1.
> >
> > As I use PHP as well as Java with these servers I wonder what PHP 4 
> > version would be compatible with MySQL 4.1.
> >
> > Has anyone used MySQL 4.1 with PHP yet?
> >
> > I appreciate your thoughts.
> >
> > Thanks.
> >
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> -- 
> Brent Baisley
> Systems Architect
> Landover Associates, Inc.
> Search & Advisory Services for Advanced Technology Environments
> p: 212.759.6400/800.759.0577
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Which PHP for MySQL 4.1

2004-11-11 Thread Brent Baisley
I migrated to MySQL 4.1 about a month ago. I had some issues with PHP 
(running 4.3.6) communicating with MySQL because 4.1 implements a new 
form of communication. As I recall, I had to do something with the 
passwords in the grants table, but I forget what now. It's been working 
fine since.

On Nov 11, 2004, at 3:05 PM, C.F. Scheidecker Antunes wrote:
Hello,
I would like to migrate my MySQL servers from 4.0 to 4.1.
As I use PHP as well as Java with these servers I wonder what PHP 4 
version would be compatible with MySQL 4.1.

Has anyone used MySQL 4.1 with PHP yet?
I appreciate your thoughts.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Which PHP for MySQL 4.1

2004-11-11 Thread Jay Blanchard
[snip]
I would like to migrate my MySQL servers from 4.0 to 4.1.

As I use PHP as well as Java with these servers I wonder what PHP 4 
version would be compatible with MySQL 4.1.

Has anyone used MySQL 4.1 with PHP yet?
[/snip]

PHP 4 is compatible with MySQL 4.1. My caution to you would be using
Apache 2 as it has some quirks that haven't been worked out yet.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Which PHP for MySQL 4.1

2004-11-11 Thread C.F. Scheidecker Antunes
Hello,
I would like to migrate my MySQL servers from 4.0 to 4.1.
As I use PHP as well as Java with these servers I wonder what PHP 4 
version would be compatible with MySQL 4.1.

Has anyone used MySQL 4.1 with PHP yet?
I appreciate your thoughts.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] For how long session exist

2004-10-14 Thread Dan Joseph
> > For what period of time a session can exist? Or session exist as soon
> > as browser is open?
> 
> 1. For as long as the user is active
> 2. Depends on what page the browser opens

I'm gonna elaborate a bit...

In your php.ini there is a session idle timeout setting.  The
inactivity John mentioned is set there.  Otherwise, yes, as soon as
the browser is closed.

-Dan Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] For how long session exist

2004-10-14 Thread John Holmes
Jerry Swanson wrote:
For what period of time a session can exist? Or session exist as soon
as browser is open?
1. For as long as the user is active
2. Depends on what page the browser opens
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] For how long session exist

2004-10-14 Thread Jerry Swanson
For what period of time a session can exist? Or session exist as soon
as browser is open?
TH

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP for 'Calculate the statistics for a line'

2004-09-07 Thread Eugene Voznesensky
I am looking for PHP imlementation of the "Statistics
calculation for a line". It should have the same
functionality like Excel "LINEST".

[From Excel Help: "LINEST":Calculates the statistics
for a line by using the "least squares" method to
calculate a straight line that best fits your data,
and returns an array that describes the line.}

Thank you!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for loops performance

2004-08-21 Thread John Holmes
Xongoo!com: Central unit wrote:
Maybe someone knows how to improve for loops
performance? When generating 1000's of pages, it
oads in 10-20 seconds. Maybe there is some
solution I don't know about?
If you only generate 100s of pages, it'll probably load about ten times 
faster...

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] for loops performance

2004-08-21 Thread Shawn McKenzie
Xongoo!Com: Central Unit wrote:
Here's:
for ($c=1; $c<$numpages; $c++){
echo "$c | ";
}
When it generates 1-10, it is normal 0.05 s, but
often I need more than 1000, so when generating
100's - it is 0.5-1.5 sec., when more than 1000 -
10+ s.

I am thinking on running sopme sort of:
1) generate code of number of pages once a day
using cron,
2) store it in database,
3) show static generated code from database.
But before doing it I've thought to ask here.
--
Tadas Talaikis
[EMAIL PROTECTED]
http://www.xongoo.com
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Xongoo!com: Central unit" <[EMAIL PROTECTED]>
Cc: "PHP-General" <[EMAIL PROTECTED]>
Sent: Saturday, August 21, 2004 7:32 PM
Subject: Re: [PHP] for loops performance

On Sat, 2004-08-21 at 12:17, Xongoo!com: Central
unit wrote:
Holla,
Maybe someone knows how to improve for loops
performance? When generating 1000's of pages,
it
oads in 10-20 seconds. Maybe there is some
solution I don't know about?
Give us an example of your for loop that is
having efficiency problems.
Cheers,
Rob.
You can do this once and instead of echoing the links, save then in a 
session var and use that on subsequent pages.

Maybe on first page or before in some other script:
session_start();
for ($c=1; $c<$numpages; $c++){
$_SESSION['links'] .= "$c | ";
}
Then on other pages:
session_start();
echo $_SESSION['links'];
-Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] for loops performance

2004-08-21 Thread Xongoo!com: Central unit
Here's:

for ($c=1; $c<$numpages; $c++){
echo "$c | ";
}

When it generates 1-10, it is normal 0.05 s, but
often I need more than 1000, so when generating
100's - it is 0.5-1.5 sec., when more than 1000 -
> 10+ s.

I am thinking on running sopme sort of:
1) generate code of number of pages once a day
using cron,
2) store it in database,
3) show static generated code from database.

But before doing it I've thought to ask here.

--
Tadas Talaikis
[EMAIL PROTECTED]
http://www.xongoo.com

- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Xongoo!com: Central unit" <[EMAIL PROTECTED]>
Cc: "PHP-General" <[EMAIL PROTECTED]>
Sent: Saturday, August 21, 2004 7:32 PM
Subject: Re: [PHP] for loops performance


> On Sat, 2004-08-21 at 12:17, Xongoo!com: Central
unit wrote:
> > Holla,
> >
> > Maybe someone knows how to improve for loops
> > performance? When generating 1000's of pages,
it
> > oads in 10-20 seconds. Maybe there is some
> > solution I don't know about?
>
> Give us an example of your for loop that is
having efficiency problems.
>
> Cheers,
> Rob.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for loops performance

2004-08-21 Thread raditha dissanayake
Xongoo!com: Central unit wrote:
Holla,
Maybe someone knows how to improve for loops
performance? When generating 1000's of pages, it
oads in 10-20 seconds. Maybe there is some
solution I don't know about?
 

prey what is your algorithm?
Thanks!
--
Tadas Talaikis
[EMAIL PROTECTED]
http://www.xongoo.com
 


--
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] for loops performance

2004-08-21 Thread Robert Cummings
On Sat, 2004-08-21 at 12:17, Xongoo!com: Central unit wrote:
> Holla,
> 
> Maybe someone knows how to improve for loops
> performance? When generating 1000's of pages, it
> oads in 10-20 seconds. Maybe there is some
> solution I don't know about?

Give us an example of your for loop that is having efficiency problems.

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] for loops performance

2004-08-21 Thread Xongoo!com: Central unit
Holla,

Maybe someone knows how to improve for loops
performance? When generating 1000's of pages, it
oads in 10-20 seconds. Maybe there is some
solution I don't know about?

Thanks!

--
Tadas Talaikis
[EMAIL PROTECTED]
http://www.xongoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] For Loop Problems

2004-07-28 Thread Jason Barnett
[EMAIL PROTECTED] wrote:
Hello Everyone,
I'm building a hotel management system and I can't seem to figure out why my
for() loop doesn't work the way it should. I'm using patTemplate to create
the HTML Template (I like using it and I don't want to start a pro/con
template war). Here is the script:
for ($j = 0; $j < 32; $j++) {
for ($i = 0; $i < count($num_days); $i++) {
$template->addVar("room_num", "ROOM_NUM", '101');
$template->addVar("room_type", "ROOM_TYPE", 'NQQ');
$template->addVar("guest_NameRate", "GUEST_NAME", 'NAVID YAR');
$template->addVar("guest_NameRate", "GUEST_ID", 'fname');
$template->addVar("guest_NameRate", "CLASS_GUEST", 'fname');
$template->addVar("guest_NameRate", "ROOM_RATE", '49.95');
$template->parseTemplate("guest_NameRate", "a");
}
I'm not aware of what patTemplate does, but my guess is that when you addVar() 
each time it is just pushing each variable into an array.  In other words, you 
keep adding 7 elements onto the end of an array WITHOUT removing old elements. 
There is probably a removeVar method or something similar to help you with this. 
 If not, then you probably need to have a different template variable for each 
row and then populate those template variables with 1 week's data.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] For Loop Problems

2004-07-28 Thread rush
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> for ($j = 0; $j < 32; $j++) {
> for ($i = 0; $i < count($num_days); $i++) {
> $template->addVar("room_num", "ROOM_NUM", '101');
> $template->addVar("room_type", "ROOM_TYPE", 'NQQ');
> $template->addVar("guest_NameRate", "GUEST_NAME", 'NAVID YAR');
> $template->addVar("guest_NameRate", "GUEST_ID", 'fname');
> $template->addVar("guest_NameRate", "CLASS_GUEST", 'fname');
> $template->addVar("guest_NameRate", "ROOM_RATE", '49.95');
> $template->parseTemplate("guest_NameRate", "a");
> }
> $template->parseTemplate("guest_row", "a");
> }
>
> This inner for() loop works great. It creates a SINGLE row with 7 columns
of
> data (one column for each day of the week). However, the outer for() loop
> does not work like it should. I want it to display 32 rows of 7 columns
per
> row. But what happens is that on every row after the first row it appends
7
> more columns at the end of each row. So row 2 will have 14 columns, row 3
> will have 21 columns, row 4 will have 28 columns, and so on. I can't
figure
> out why this is. Either it's something new in PHP5 or I'm doing something
> really stupid. I am sending a PDF attachment of a snapshot showing a hint,
> made purely with HTML, of what I am trying to achieve. If anyone can help
me
> it would be greatly appreciated. Thanks guys.

I seriously doubt that php has problems to execute for loop correctly, you
are probably missusing your template system. Say what does "a" stand for in:

  $template->parseTemplate("guest_NameRate", "a");

if it stands for append, than maybe in second pass through the loop you add
7 fiends to allready existing 7, in 3. pass you add 7 more to 14 existing,
etc..

rush
--
http://www.templatetamer.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] For Loop Problems

2004-07-28 Thread php-list
Hello Everyone,

I'm building a hotel management system and I can't seem to figure out why my
for() loop doesn't work the way it should. I'm using patTemplate to create
the HTML Template (I like using it and I don't want to start a pro/con
template war). Here is the script:

for ($j = 0; $j < 32; $j++) {
for ($i = 0; $i < count($num_days); $i++) {
$template->addVar("room_num", "ROOM_NUM", '101');
$template->addVar("room_type", "ROOM_TYPE", 'NQQ');
$template->addVar("guest_NameRate", "GUEST_NAME", 'NAVID YAR');
$template->addVar("guest_NameRate", "GUEST_ID", 'fname');
$template->addVar("guest_NameRate", "CLASS_GUEST", 'fname');
$template->addVar("guest_NameRate", "ROOM_RATE", '49.95');
$template->parseTemplate("guest_NameRate", "a");
}
$template->parseTemplate("guest_row", "a");
}

This inner for() loop works great. It creates a SINGLE row with 7 columns of
data (one column for each day of the week). However, the outer for() loop
does not work like it should. I want it to display 32 rows of 7 columns per
row. But what happens is that on every row after the first row it appends 7
more columns at the end of each row. So row 2 will have 14 columns, row 3
will have 21 columns, row 4 will have 28 columns, and so on. I can't figure
out why this is. Either it's something new in PHP5 or I'm doing something
really stupid. I am sending a PDF attachment of a snapshot showing a hint,
made purely with HTML, of what I am trying to achieve. If anyone can help me
it would be greatly appreciated. Thanks guys.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache 2 and PHP for Production?

2004-07-27 Thread Marten Lehmann
Hello,
And following the last line - I'm still running Apache2 with PHP5 on 
Windows on an increasing number of sites, without a single problem to 
date ;)
I switched to Apache 2 and PHP 5.0.0 a week ago and hand no problems so 
far (several hundred thousand hits each day). Apache 2 is running in 
prefork mode and PHP has been build with --with-apxs2 --disable-all and 
--with-pcre-regexp --with-custom-odbc.

I have to agree with Steve Wardell:
The PHP-group should rather announce to support prefork only than not to 
support apache 2 at all.

Regards
Marten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Apache 2 and PHP for Production?

2004-07-20 Thread Oliver John Tibi
Would it be just fine if I activated Apache2's 'prefork' module? I know
preforking defeats Apache2 purpose, but I am still wondering if it should
still work fine. :)

"Lester Caine" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Oliver John V. Tibi wrote:
>
> > Wow! And come to think of it, how did you do it? Or should I stick with
> > Apache1 until there is a viable solution to this upgrade dilemma?
>
> When I started playing with this, I had a windows machine onto which I
> tried installing Apache1. After a couple of days of frustration, the
> suggestion was 'Use Apache2', which installed and worked on W2k out of
> the box. So I have never actually had Apache1 working ;)
>
> PHP4 installed with a few niggles (copy files to the right place), but
> PHP5 has never been a problem, just unzip and adjust a couple of path
> names in the config files.
>
> I now have the same setup working on Linux and Windows and while I
> totally understand what Rasmus is saying about threading, it is
> essential for the next generation of system. Especially when you start
> looking at multiple processor systems?
>
> --
> Lester Caine
> -
> L.S.Caine Electronic Services

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Apache 2 and PHP for Production?

2004-07-20 Thread Steve Wardell
Why is there such a reluctance to using Apache 2? For stability issues, 
PHP should recommend Apache 2 but in prefork mode. Instead of saying 
Apache 2 is unsupported, just say non prefork mode is not supported. 
Additionally, if PHP is more acceptable of Apache 2 (in the supported 
mode), then users will shift away from Apache 1.3 and more resources can 
be put on Apache 2 (both from the Apache side and the PHP side). While 
non prefork mode may not be supported until PHP is completely rewritten 
(modules and all), there's no negativity in moving to Apache 2 prefork. 
Everyone who has to support both Apache versions will be greatful when 
1.3 falls away as most users move over to Apache 2 in time.

Steve
From:
Curt Zirzow <[EMAIL PROTECTED]>
Date:
Mon, 19 Jul 2004 23:05:50 -0400

* Thus wrote Oliver John V. Tibi:
Wow! And come to think of it, how did you do it? Or should I stick
 

with
Apache1 until there is a viable solution to this upgrade dilemma?
 

I would stay with stick with apache 1.x.
The only reason I would consider apache2 is if there was a module
only available in apache2 and no other reasonable solution that can
be done otherwise, that your site must have.
With apache2, I have one site that runs flawless, the other one has
spiratic wierd things happen that are unexplainable.
If you have an OS that installs apache2  by default (not to mention
any names) I would recomend an 'rpm delete apache2' and install
manually  :) 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache 2 and PHP for Production?

2004-07-20 Thread raditha dissanayake
Curt Zirzow wrote:
Don't know about benchmarks don't bother with them, but we were using 
PHP and apache 2 on a production server and it just had too many problems.
   

And for a longer explaination:
 http://marc.theaimsgroup.com/?l=php-dev&m=108736540021355&w=2
 

It was this or another message by Rasmus that persuaded us to switch 
back to 1.3x of apache. I should have mentioned that my post wasn't a 
complaint against the php developers :-)

Curt
 


--
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Lester Caine
Oliver John V. Tibi wrote:
Wow! And come to think of it, how did you do it? Or should I stick with
Apache1 until there is a viable solution to this upgrade dilemma?
When I started playing with this, I had a windows machine onto which I 
tried installing Apache1. After a couple of days of frustration, the 
suggestion was 'Use Apache2', which installed and worked on W2k out of 
the box. So I have never actually had Apache1 working ;)

PHP4 installed with a few niggles (copy files to the right place), but 
PHP5 has never been a problem, just unzip and adjust a couple of path 
names in the config files.

I now have the same setup working on Linux and Windows and while I 
totally understand what Rasmus is saying about threading, it is 
essential for the next generation of system. Especially when you start 
looking at multiple processor systems?

--
Lester Caine
-
L.S.Caine Electronic Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Curt Zirzow
* Thus wrote Oliver John V. Tibi:
> Wow! And come to think of it, how did you do it? Or should I stick with
> Apache1 until there is a viable solution to this upgrade dilemma?

I would stay with stick with apache 1.x.

The only reason I would consider apache2 is if there was a module
only available in apache2 and no other reasonable solution that can
be done otherwise, that your site must have.

With apache2, I have one site that runs flawless, the other one has
spiratic wierd things happen that are unexplainable.

If you have an OS that installs apache2  by default (not to mention
any names) I would recomend an 'rpm delete apache2' and install
manually :)


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Oliver John V. Tibi
Wow! And come to think of it, how did you do it? Or should I stick with
Apache1 until there is a viable solution to this upgrade dilemma?

-- 

Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode).
"Live free() or die()."

"Lester Caine" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Chris Hayes wrote:
>
> >> And for a longer explaination:
> >>   http://marc.theaimsgroup.com/?l=php-dev&m=108736540021355&w=2
> >
> > Very well explained. Untill now this problem was explained to me with a
> > lot of techno mumbo jumbo, and I could not make sense of it. But now I
> > think I really understand what's going on.
>
> And following the last line - I'm still running Apache2 with PHP5 on
> Windows on an increasing number of sites, without a single problem to
> date ;)
>
> -- 
> Lester Caine
> -
> L.S.Caine Electronic Services

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Matthew Sims
> On Tuesday 20 July 2004 03:22, Marten Lehmann wrote:
>
>> Why shouldn't I use PHP 5.0.0 with Apache 2.0.50?
>
> You can, if it works for you, but ...
>
>   http://marc.theaimsgroup.com/?l=php-general&m=107916708217647&w=2
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz

Apache2 had been well known to not work completely with PHP. It's not
PHP's fault. Though some people have managed to get it right. YMMV.

You'll probably have an easier time using Apache1.3.

--Matthew Sims
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Jason Wong
On Tuesday 20 July 2004 03:22, Marten Lehmann wrote:

> Why shouldn't I use PHP 5.0.0 with Apache 2.0.50?

You can, if it works for you, but ...

  http://marc.theaimsgroup.com/?l=php-general&m=107916708217647&w=2

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
spagmumps, n.:
Any of the millions of Styrofoam wads that accompany mail-order items.
-- "Sniglets", Rich Hall & Friends
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Marten Lehmann
Hi,
I just wanted to post almost the same question: PHP for Apache 2 is 
idling around for years now. configure --with-apxs2 is still marked as 
[EXPERIMENTAL] and the documentation still warns:

"Do not use Apache 2.0 and PHP in a production environment neither on 
Unix nor on Windows."

What is the problem with PHP on Apache 2? Using the prefork-modell, it 
seems to run fine? I thought, that Apache 2 will be supported better 
with the 5.x releases of PHP, but all I said above reflects the state of 
the latest PHP release (5.0.0).

Why shouldn't I use PHP 5.0.0 with Apache 2.0.50?
Regards
Marten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Lester Caine
Chris Hayes wrote:
And for a longer explaination:
  http://marc.theaimsgroup.com/?l=php-dev&m=108736540021355&w=2
Very well explained. Untill now this problem was explained to me with a 
lot of techno mumbo jumbo, and I could not make sense of it. But now I 
think I really understand what's going on.
And following the last line - I'm still running Apache2 with PHP5 on 
Windows on an increasing number of sites, without a single problem to 
date ;)

--
Lester Caine
-
L.S.Caine Electronic Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Chris Hayes
At 18:55 19-7-04, you wrote:
> >I was wondering if there are already results from any benchmark that says
> >Apache 2 and PHP are ready for production environments.
> >
> >
> Don't know about benchmarks don't bother with them, but we were using
> PHP and apache 2 on a production server and it just had too many problems.
And for a longer explaination:
  http://marc.theaimsgroup.com/?l=php-dev&m=108736540021355&w=2
Very well explained. Untill now this problem was explained to me with a lot 
of techno mumbo jumbo, and I could not make sense of it. But now I think I 
really understand what's going on.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Curt Zirzow
* Thus wrote raditha dissanayake:
> Oliver John V. Tibi wrote:
> 
> >Hi!
> >
> >I was wondering if there are already results from any benchmark that says
> >Apache 2 and PHP are ready for production environments.
> > 
> >
> Don't know about benchmarks don't bother with them, but we were using 
> PHP and apache 2 on a production server and it just had too many problems.

And for a longer explaination:
  http://marc.theaimsgroup.com/?l=php-dev&m=108736540021355&w=2


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread raditha dissanayake
Oliver John V. Tibi wrote:
Hi!
I was wondering if there are already results from any benchmark that says
Apache 2 and PHP are ready for production environments.
 

Don't know about benchmarks don't bother with them, but we were using 
PHP and apache 2 on a production server and it just had too many problems.

Well what really happened was that our sever would just die at times of 
peak usage (nothing in the log files - no evidence of attack) on a hunch 
we switched from apache 2.x to 1.3x and we haven't had the same problem 
since then (god knows what the real problem was the result was a dead 
server every time)


Thanks and Cheers!
 


--
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Apache 2 and PHP for Production?

2004-07-18 Thread Oliver John V. Tibi
Hi!

I was wondering if there are already results from any benchmark that says
Apache 2 and PHP are ready for production environments.

Thanks and Cheers!

-- 

Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode).
"Live free() or die()."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] For/Next Help Needed

2004-07-04 Thread John W. Holmes
for($z=0;$zWhat is the difference between this code and using a "foreach" command?
Nothing, really. Using a foreach() simply means you don't have to keep 
up with the $z count variable...

foreach($recipient as $email)
{ mail($email,$subject,$message,$headers); }
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] For/Next Help Needed

2004-07-04 Thread mcp6453
John W. Holmes wrote:
> 
> mcp6453 wrote:
> 
> > I'm using Jack's PHP FormMail script, and I need to change it. I know
> > very little abou PHP, but here's what I very much need to do right away.
> >
> > I need the script to send the same hard coded message to each of 10
> > people. All of the email addresses do not need to be in the "To" field.
> > Only the intended recipient needs to be there.
> >
> > So, I see the code as something line this:
> >
> > $recipient[1] = "[EMAIL PROTECTED]";
> > $recipient[2] = "[EMAIL PROTECTED]";
> > ...
> > $recipient[n] = "[EMAIL PROTECTED]";
> >
> > Then, something like this:
> >
> > for ($z=0;$z >   mail($recipient[z$], $subject, $message, $headers);
> 
> for($z=0;$z { mail($recipient[$z],$subject,$message,$headers); }


Thanks, John. That's helpful. I'm not sure what other problems I'm going
to run into. It looks like I may have to put the whole script inside the
"for" loop.

What is the difference between this code and using a "foreach" command?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] For/Next Help Needed

2004-07-04 Thread John W. Holmes
mcp6453 wrote:
I'm using Jack's PHP FormMail script, and I need to change it. I know
very little abou PHP, but here's what I very much need to do right away.
I need the script to send the same hard coded message to each of 10
people. All of the email addresses do not need to be in the "To" field.
Only the intended recipient needs to be there.
So, I see the code as something line this:
$recipient[1] = "[EMAIL PROTECTED]";
$recipient[2] = "[EMAIL PROTECTED]";
...
$recipient[n] = "[EMAIL PROTECTED]";
Then, something like this:
for ($z=0;$zfor($z=0;$z
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] For/Next Help Needed

2004-07-04 Thread mcp6453
I'm using Jack's PHP FormMail script, and I need to change it. I know
very little abou PHP, but here's what I very much need to do right away.

I need the script to send the same hard coded message to each of 10
people. All of the email addresses do not need to be in the "To" field.
Only the intended recipient needs to be there.

So, I see the code as something line this:

$recipient[1] = "[EMAIL PROTECTED]";
$recipient[2] = "[EMAIL PROTECTED]";
...
$recipient[n] = "[EMAIL PROTECTED]";

Then, something like this:

for ($z=0;$zhttp://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Text/Image Streaming in PHP for a web chat application

2004-05-19 Thread Vail, Warren
I had a problem that I think might be similar to what you are struggling
with and solved it by causing the browser to drive the "push" (or in this
case more like a "pull").  The main page was sent with an imbedded frame and
other controls to allow the user to type in his real-time responses and a
submit button to send them.  If I recall the details correctly, what
appeared in the imbedded frame was a separate page that contained JavaScript
that that caused the imbedded page to be automatically refreshed every few
seconds (this would display your chat activity query results, refreshing
every few seconds), while the textarea on the base page remained static for
a user to type in and submit their own text.  It worked in the version of IE
I was supporting, but is at best risky that odd browsers (or other browsers)
won't support IFRAMEs in exactly the same way.

This worked for me, hope it gives you an option, other than resorting to an
applet, yeuk. ;-)

Warren Vail


-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 19, 2004 2:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Text/Image Streaming in PHP for a web chat application


Stephen Lake wrote:
> Hey all,
> 
> After reviewing all the scripts written for a web chat application at 
> the various sites (ie Hotscripts, cgi resource and so on) I have 
> resorted to writing my own as none available fit my specific 
> requirements.
> 
> What I need to know is, how can I implement a server push alternative 
> and/or text stream to a browser? or for that matter if anyone has code 
> available or knows of code that is even remotely similar to IFCS 
> (Interfun Chat Server
> http://www.interfun.com) they would be willing to share with me would be
> greatly appreciated.
> 

I've played around with this a couple of times.  Once using sockets, and 
another time just setting the max_execution_time of the script in the 
bottom frame to some ungodly size, running a loop which checks for new 
messages after sleeping for 10 seconds or so.  It turned out to be more 
of a pain than it was going to be worth.  If you come across something 
that has the look and feel of Chatropolis, but doesn't cost $1500, I'm 
interested.

BTW, it's http://www.interfun.net

-- 
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Text/Image Streaming in PHP for a web chat application

2004-05-19 Thread Stephen Lake
Hey all,

After reviewing all the scripts written for a web chat application at the
various sites (ie Hotscripts, cgi resource and so on) I have resorted to
writing my own as none available fit my specific requirements.

What I need to know is, how can I implement a server push alternative and/or
text stream to a browser? or for that matter if anyone has code available or
knows of code that is even remotely similar to IFCS (Interfun Chat Server
http://www.interfun.com) they would be willing to share with me would be
greatly appreciated.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Text/Image Streaming in PHP for a web chat application

2004-05-19 Thread John Nichel
Stephen Lake wrote:
Hey all,
After reviewing all the scripts written for a web chat application at the
various sites (ie Hotscripts, cgi resource and so on) I have resorted to
writing my own as none available fit my specific requirements.
What I need to know is, how can I implement a server push alternative and/or
text stream to a browser? or for that matter if anyone has code available or
knows of code that is even remotely similar to IFCS (Interfun Chat Server
http://www.interfun.com) they would be willing to share with me would be
greatly appreciated.
I've played around with this a couple of times.  Once using sockets, and 
another time just setting the max_execution_time of the script in the 
bottom frame to some ungodly size, running a loop which checks for new 
messages after sleeping for 10 seconds or so.  It turned out to be more 
of a pain than it was going to be worth.  If you come across something 
that has the look and feel of Chatropolis, but doesn't cost $1500, I'm 
interested.

BTW, it's http://www.interfun.net
--
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] For your reference, how to validate dynamic form fields.

2004-04-06 Thread holmes072000
> From: "Hawkes, Richard" <[EMAIL PROTECTED]>
> 
> Just spent far too long trying to figure out how to do this, so I thought I'd
> pass it on to you great guys, in case you need it for the future.
>  
> I used PHP to create multiple form rows, each one numbered:
> 
>  for ($i =1; $i <= 20; $i++) {
> echo("");
> }
> ?>

Use arrays. It'll make your life easier.

echo "");

You can still reference the element in Javascript, just "by name" or whatever you call 
it. 

form.element['userId[1]'] (or something like that).

You show a Javascript validation. Remember that this is easily bypassed so you also 
need to validate the numbers on the PHP side. 



---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] For your reference, how to validate dynamic form fields.

2004-04-06 Thread Hawkes, Richard
Just spent far too long trying to figure out how to do this, so I thought I'd
pass it on to you great guys, in case you need it for the future.
 
I used PHP to create multiple form rows, each one numbered:

");
}
?>

This creates a number of rows, each with a unique form value name. The problem
I had was that I needed to validate those rows, to make sure they were
numeric... Here's what I did. Have fun!
 



User ID Entry Example

function isNumeric(strString)
{
var strValidChars = "0123456789-.";
var strChar;
var blnResult = true;
 
if (strString.length == 0) return false;
 
//  test strString consists of valid characters listed above
for (i = 0; i < strString.length && blnResult == true; i++)
{
strChar = strString.charAt(i);
if (strValidChars.indexOf(strChar) == -1)
{
blnResult = false;
}
}
return blnResult;
}
 
 
function validateForm()
{
for (var i = 1; i <= ; i++)
{
var fieldName = 'UserId' + i;
var fieldValue =
document.forms.userForm.elements[fieldName].value;
if (fieldValue != '' && ! isNumeric(fieldValue))
{
alert("Field value in row " + i + " (" + fieldValue + ") is
not numeric.");
return false;
}
}
return true;
}




");
  }
?>




==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


[PHP] PHP for mobile applications and embedded devices

2004-03-29 Thread Michael O'Brien
Today Mbedthis Software announced a PHP Module for the Mbedthis
AppWeb embedded web server. In our latest development release,
AppWeb 1.1, includes a PHP module for the high performance use of
PHP and the LAMP architecture in mobile and embedded applications
and devices.

PHP and LAMP have attracted quite a following in the Enterprise
web application market. This module now allows embedded users to
leverage the PHP technology in their devices and applications and
helps to extend the reach of LAMP into the growing embedded market.

Developers can now migrate existing web applications into mobile
devices without changing their application model or having to resort
to proprietary mobile platforms. This AppWeb release allows PHP and
the LAMP architecture to be effectively used in mobile devices and
offline applications. Developers can now leverage their investment
in PHP applications on the mobile side.

We have optimized the integration of PHP with AppWeb for maximum
performance in mobile and embedded applications. AppWeb uses a
modular, multi-threaded core to deliver a highly secure HTTP server
that excels in terms of performance, functionality and memory
footprint. Embedded developers can selectively configure enabled
features for a memory footprint as low as 110K RAM. With PHP and
SSL enabled, a complete server can run in under 2MB. This makes it
ideal for mobile and offline applications. It can also be used for
many embedded applications that require management, web services
and web based user interfaces.

For more information and to download, go to:

http://www.mbedthis.com/

Michael O'Brien
Lead Architect
Mbedthis Software.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Compiling php for MySQL and Apache 2 Newbie

2004-01-14 Thread R'twick Niceorgaw
Hi James,

James Marcinek wrote:

>Hello Everyone,
>
>I'm still having problems compiling the latest version of PHP. I have
>several issues
>
>- The apache 2 that was installed was from a Red Hat package. From what I
>can tell it is configured in a manner that is similar to the
>with-apxs2filter. The configuration file that point to this kind of
>installation is already configured in apache. However there is no perl
>script apxs of any kind.
>
>  
>
install httpd-devel package. I believe it contains the apxs module.

HTH
R'twick Niceorgaw

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Compiling php for MySQL and Apache 2 Newbie

2004-01-14 Thread James Marcinek
Hello Everyone,

I'm still having problems compiling the latest version of PHP. I have
several issues

- The apache 2 that was installed was from a Red Hat package. From what I
can tell it is configured in a manner that is similar to the
with-apxs2filter. The configuration file that point to this kind of
installation is already configured in apache. However there is no perl
script apxs of any kind.

My question is can somebody tell me how to set up the configure to include
apache 2 and MySQL without the apxs?

When I do a whereis mysql I get the following:

mysql: /usr/bin/mysql /usr/lib/mysql /usr/include/mysql /usr/share/mysql
/usr/share/man/man1/mysql.1.gz

When I do a whereis httpd (The RH distro uses httpd instead of apachectl
BUT it is still there as well):

httpd: /usr/sbin/httpd /etc/httpd /usr/lib/httpd
/usr/share/man/man8/httpd.8.gz

Before I was getting function not defined when I called the mysql_connect
function, now the page is blank. I can still run php scripts that do not
interact with a database with no problems.

Any help is appreciated,

Thanks

James

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for statement weirdness, no echo

2003-12-09 Thread Richard Davey
Hello Jay,

Tuesday, December 9, 2003, 1:31:35 PM, you wrote:

JB> for($i = 2; $i < 0144; $i++){
JB> echo $i . "\n";
JB> }

JB> does not echo anything. Even put the numbers in quotes (single and
JB> double). What has being brain-dead caused me to miss this morning?

Look at your values being compared :)

-- 
Best regards,
 Richardmailto:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] for statement weirdness, no echo SOLVED

2003-12-09 Thread Jay Blanchard
[snip]
for($i = 2; $i < 0144; $i++){
echo $i . "\n";
}

does not echo anything. Even put the numbers in quotes (single and
double). What has being brain-dead caused me to miss this morning?
[/snip]

I found it...one too many zeros in initial $i (I wanted to say "one two
many..") :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] for statement weirdness, no echo

2003-12-09 Thread Jay Blanchard
for($i = 2; $i < 0144; $i++){
echo $i . "\n";
}

does not echo anything. Even put the numbers in quotes (single and
double). What has being brain-dead caused me to miss this morning?

Thanks!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for help :how to detect norton client through php socket

2003-12-04 Thread David Otton
On Thu, 4 Dec 2003 15:39:30 +0800, you wrote:

>how can i detect whether norton antivirus client  are installed on the hosts
>through php socket ?

Why would you want to?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] for help :how to detect norton client through php socket

2003-12-04 Thread lph
how can i detect whether norton antivirus client  are installed on the hosts
through php socket ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] for help :how to detect norton client through php socket

2003-12-04 Thread lph
how can i detect whether norton antivirus client  are installed on the hosts
through php socket ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Running PHP for different virtual domains on different Apaches

2003-11-22 Thread Marek Kilimajer
Tim Garton wrote:
Problem #2 is that the use of PHP makes each Apache process consume
more memory. The process consumes more memory even when it is serving
static (non-PHP) files such as a JPG. It would be more efficient to
have a pool of small processes serving static files, and some larger
processes serving the PHP scripts.
can't think of any other way to solve this problem than what you've done.

I don't think his solution really worked, in fact it makes the problem 
worse. Compared to a single pool of larger processes serving the PHP 
scripts, there is also a pool of small apache processes that serve 
static content with the overhead of proxying requests to php scripts to 
the other server.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: Running PHP for different virtual domains on different Apaches

2003-11-22 Thread Tim Garton
Philip Mak wrote:

Something that I wrote recently that I thought may be of general
interest for system administrators running PHP:
The web server runs on port 80, with the priviledges of the username
"apache". On most webhosts that support PHP, this web server executes
the PHP scripts. The PHP scripts would thus all run under the same
username.
Problem #1 is that a single web server generally services multiple
websites. Under the common setup, all of their PHP scripts will run
under the common "apache" username. This is a security flaw, because a
programmer for a website would be able to read the PHP scripts of any
other website, and probably also gain access to any databases or files
that those scripts make use of. Most webhosts probably get away with
this since one can only exploit this if they have an account on the
server, can only attack other websites on the server, and most people
aren't skilled/devious enough to do this.
check out php_admin_value open_basedir, should solve this.  allows you 
to specify what directory's a php script can read from.

Problem #2 is that the use of PHP makes each Apache process consume
more memory. The process consumes more memory even when it is serving
static (non-PHP) files such as a JPG. It would be more efficient to
have a pool of small processes serving static files, and some larger
processes serving the PHP scripts.
can't think of any other way to solve this problem than what you've done.

So on my server, the main web server on port 80 does not run PHP.
Rather, the client has a private PHP-enabled Apache that listens on
localhost port 8024. This private Apache runs under the priviledges of
the client's UNIX account, and only serves pages from the client's
domain.  Whenever the main Apache receives a request that requires PHP
to service(*), it will proxy the request to the PHP-enabled Apache.
This solves problems #1 and #2 above.
However, (*) is a bit problematic. Consider the following URLs:

(a) http://www.domain.org/page.php
(b) http://www.domain.org/page.html
(c) http://www.domain.org/image.jpg
(d) http://www.domain.org/
(a) should obviously be proxied, since it ends in .php and thus must
be a PHP script. (b) and (c) have obvious static file extensions, so
should not be proxied. But what about (d)? It could be either
index.php or index.html, but this can't be determined just from
pattern matching on the URL.
I came up with a recipe in httpd.conf to account for case (d): In the
case of a request to a directory, it will proxy if and only if
index.php exists.
RewriteEngine On
# Proxy any request to *.php
RewriteRule (.*)\.php$ http://127.0.0.1:8024$1.php [l,p]
# Proxy any request to a directory if index.php exists
RewriteCond %{REQUEST_URI} /$
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME}index.php -f
RewriteRule (.*) http://127.0.0.1:8024$1 [l,p]
where http://127.0.0.1:8024 is the address to the backend PHP.

%{DOCUMENT_ROOT} could be replaced with another directory path, if the
PHP scripts are kept in a separate directory tree. Note that the
RewriteCond -f means that the "apache" user will need to be able to
list the files in the directory (but does not need read access to the
files themselves). If more security is needed, the PHP files could be
kept in a separate tree (configured as the DocumentRoot on the private
Apache), and:
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME}index.php -f

could be replaced with a directive that determines whether the
frontend Apache can handle the indexing for the directory (e.g. if
index.html exists, or index.shtml, etc.), and not proxy if that is the
case, and proxy otherwise.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Running PHP for different virtual domains on different Apaches

2003-11-21 Thread Philip Mak
Something that I wrote recently that I thought may be of general
interest for system administrators running PHP:

The web server runs on port 80, with the priviledges of the username
"apache". On most webhosts that support PHP, this web server executes
the PHP scripts. The PHP scripts would thus all run under the same
username.

Problem #1 is that a single web server generally services multiple
websites. Under the common setup, all of their PHP scripts will run
under the common "apache" username. This is a security flaw, because a
programmer for a website would be able to read the PHP scripts of any
other website, and probably also gain access to any databases or files
that those scripts make use of. Most webhosts probably get away with
this since one can only exploit this if they have an account on the
server, can only attack other websites on the server, and most people
aren't skilled/devious enough to do this.

Problem #2 is that the use of PHP makes each Apache process consume
more memory. The process consumes more memory even when it is serving
static (non-PHP) files such as a JPG. It would be more efficient to
have a pool of small processes serving static files, and some larger
processes serving the PHP scripts.

So on my server, the main web server on port 80 does not run PHP.
Rather, the client has a private PHP-enabled Apache that listens on
localhost port 8024. This private Apache runs under the priviledges of
the client's UNIX account, and only serves pages from the client's
domain.  Whenever the main Apache receives a request that requires PHP
to service(*), it will proxy the request to the PHP-enabled Apache.
This solves problems #1 and #2 above.

However, (*) is a bit problematic. Consider the following URLs:

(a) http://www.domain.org/page.php
(b) http://www.domain.org/page.html
(c) http://www.domain.org/image.jpg
(d) http://www.domain.org/

(a) should obviously be proxied, since it ends in .php and thus must
be a PHP script. (b) and (c) have obvious static file extensions, so
should not be proxied. But what about (d)? It could be either
index.php or index.html, but this can't be determined just from
pattern matching on the URL.

I came up with a recipe in httpd.conf to account for case (d): In the
case of a request to a directory, it will proxy if and only if
index.php exists.

RewriteEngine On
# Proxy any request to *.php
RewriteRule (.*)\.php$ http://127.0.0.1:8024$1.php [l,p]
# Proxy any request to a directory if index.php exists
RewriteCond %{REQUEST_URI} /$
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME}index.php -f
RewriteRule (.*) http://127.0.0.1:8024$1 [l,p]

where http://127.0.0.1:8024 is the address to the backend PHP.

%{DOCUMENT_ROOT} could be replaced with another directory path, if the
PHP scripts are kept in a separate directory tree. Note that the
RewriteCond -f means that the "apache" user will need to be able to
list the files in the directory (but does not need read access to the
files themselves). If more security is needed, the PHP files could be
kept in a separate tree (configured as the DocumentRoot on the private
Apache), and:

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME}index.php -f

could be replaced with a directive that determines whether the
frontend Apache can handle the indexing for the directory (e.g. if
index.html exists, or index.shtml, etc.), and not proxy if that is the
case, and proxy otherwise.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Using php for non-web based applications

2003-10-27 Thread Jay Blanchard
[snip]
I am not sure if this is the right list to post to as most of you guys
are
probably run php as an Apache module.  However, I am currently using my
own xml data format for a non-web based application and I would like to
be
able to embed php within it.  Is there a C/C++ library that I can link
against to execute the  inside my xml when I load it?  Can
someone point me in the right direction?
[/snip]


This may help http://www.priadoblender.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Using php for non-web based applications

2003-10-22 Thread Paul Scruby
OK I figured out a solution.
If your interested I am just calling from stdlib.h:
system("php myFile.xml");
and then passing the result on the stdout to XERCES using stdin.

Paul Scruby wrote:

Hi there,

I am not sure if this is the right list to post to as most of you guys are
probably run php as an Apache module.  However, I am currently using my
own xml data format for a non-web based application and I would like to be
able to embed php within it.  Is there a C/C++ library that I can link
against to execute the  inside my xml when I load it?  Can
someone point me in the right direction?

Many thanks,

Paul

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Using php for non-web based applications

2003-10-22 Thread Paul Scruby
Hi there,

I am not sure if this is the right list to post to as most of you guys are
probably run php as an Apache module.  However, I am currently using my
own xml data format for a non-web based application and I would like to be
able to embed php within it.  Is there a C/C++ library that I can link
against to execute the  inside my xml when I load it?  Can
someone point me in the right direction?

Many thanks,

Paul

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for loop break and continue

2003-09-27 Thread Becoming Digital
> Can't you let me have a shred of programming self-respect?
> 
> Rich (I should have cracked the book) Fox

Get out!  No soup (or respect) for you! ;)

Edward Dudlik
Becoming Digital
www.becomingdigital.com



- Original Message - 
From: "Rich Fox" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, 25 September, 2003 12:26
Subject: Re: [PHP] for loop break and continue


Can't you let me have a shred of programming self-respect?

Rich (I should have cracked the book) Fox

> On Thu, 2003-09-25 at 12:04, Rich Fox wrote:
> > DOH!
> >
> > This is a new addition to PHP because it wasn't there before!
> >
> > Thanks for the slap.
>
> PHP has supported break for as long as I can remember which goes back to
> about 1999 and PHP 3.something.
>
> Cheers,
> Rob.
>
> -- 
> ..
> | InterJinn Application Framework - http://www.interjinn.com |
> ::
> | An application and templating framework for PHP. Boasting  |
> | a powerful, scalable system for accessing system services  |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for   |
> | creating re-usable components quickly and easily.  |
> `'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] for loop break and continue

2003-09-25 Thread Jay Blanchard
[snip]
Can't you let me have a shred of programming self-respect?

Rich (I should have cracked the book) Fox
[/snip]

Nah, too easy! :) We all get bumped from time to time

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for loop break and continue

2003-09-25 Thread Rich Fox
Can't you let me have a shred of programming self-respect?

Rich (I should have cracked the book) Fox

> On Thu, 2003-09-25 at 12:04, Rich Fox wrote:
> > DOH!
> >
> > This is a new addition to PHP because it wasn't there before!
> >
> > Thanks for the slap.
>
> PHP has supported break for as long as I can remember which goes back to
> about 1999 and PHP 3.something.
>
> Cheers,
> Rob.
>
> -- 
> ..
> | InterJinn Application Framework - http://www.interjinn.com |
> ::
> | An application and templating framework for PHP. Boasting  |
> | a powerful, scalable system for accessing system services  |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for   |
> | creating re-usable components quickly and easily.  |
> `'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for loop break and continue

2003-09-25 Thread Robert Cummings
On Thu, 2003-09-25 at 12:04, Rich Fox wrote:
> DOH!
> 
> This is a new addition to PHP because it wasn't there before!
> 
> Thanks for the slap.

PHP has supported break for as long as I can remember which goes back to
about 1999 and PHP 3.something.

Cheers,
Rob.

-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for loop break and continue

2003-09-25 Thread Rich Fox
DOH!

This is a new addition to PHP because it wasn't there before!

Thanks for the slap.


"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Take the sample code below, paste it to a PHP file, add a real
> conditional, execute script. Voila, you've taken the first step towards
> helping yourself.
>
> Cheers,
> Rob.
>
>
> On Thu, 2003-09-25 at 11:42, Rich Fox wrote:
> > Hi,
> > Is there an equivalent to the C++ 'break' command to stop execution of a
for
> > loop? I know I can use 'goto' but I don't want to unless I have to.
> >
> > for ($i=0; $i<$n; $i++)
> > if (some condition)
> > break;
> >
> > And, what about 'continue' which skips the rest of the code in the for
loop
> > and immediately goes on to the next iteration?
> >
> > Thanks,
> >
> > Rich
> >
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> -- 
> ..
> | InterJinn Application Framework - http://www.interjinn.com |
> ::
> | An application and templating framework for PHP. Boasting  |
> | a powerful, scalable system for accessing system services  |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for   |
> | creating re-usable components quickly and easily.  |
> `'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for loop break and continue

2003-09-25 Thread Robert Cummings
Take the sample code below, paste it to a PHP file, add a real
conditional, execute script. Voila, you've taken the first step towards
helping yourself.

Cheers,
Rob.


On Thu, 2003-09-25 at 11:42, Rich Fox wrote:
> Hi,
> Is there an equivalent to the C++ 'break' command to stop execution of a for
> loop? I know I can use 'goto' but I don't want to unless I have to.
> 
> for ($i=0; $i<$n; $i++)
> if (some condition)
> break;
> 
> And, what about 'continue' which skips the rest of the code in the for loop
> and immediately goes on to the next iteration?
> 
> Thanks,
> 
> Rich
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] for loop break and continue

2003-09-25 Thread Rich Fox
Hi,
Is there an equivalent to the C++ 'break' command to stop execution of a for
loop? I know I can use 'goto' but I don't want to unless I have to.

for ($i=0; $i<$n; $i++)
if (some condition)
break;

And, what about 'continue' which skips the rest of the code in the for loop
and immediately goes on to the next iteration?

Thanks,

Rich

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] For Loops and Variables??

2003-09-16 Thread Chris W. Parker
Chris W. Parker <>
on Tuesday, September 16, 2003 4:07 PM said:

> This Is Good(tm):
> 
> for($x=0;$x<100;$x++)
> {
>   for($x=0;$x<100;$x++)
>   {
>   echo "Me happy now!!";
>   }
> }

Hehe... whoops! Should be:

for($x=0;$x<100;$x++)
{
for($y=0;$y<100;$y++)
{
echo "Me happy now!!";
}
}



BYE!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] For Loops and Variables??

2003-09-16 Thread Chris W. Parker
John Ryan 
on Saturday, September 13, 2003 9:26 AM said:

> When I use for loops, at the start of each iteration, the variables
> hold the values from the last loop.

You're doing it wrong then (I think).

1. You should always initialize your loop counters.

i.e.

$x = 0;

while($x < 100)
{
$x++;
}

2. Don't use the same counter name in all your loops.

This is bad:

for($x=0;$x<100;$x++)
{
for($x=0;$x<100;$x++)
{
echo "i'm going to go on forever!!";
}
}

This Is Good(tm):

for($x=0;$x<100;$x++)
{
for($x=0;$x<100;$x++)
{
echo "Me happy now!!";
}
}



Does that help?

Chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] For Loops and Variables??

2003-09-13 Thread Curt Zirzow
* Thus wrote John Ryan ([EMAIL PROTECTED]):
> When I use for loops, at the start of each iteration, the variables hold the
> values from the last loop.
> 
> First, is there an elegant way of clearing variables at the start of each
> loop rather than using unset???! It just seems wrong.

I'm unclear as to what elegant implies.

> 
> Also, all my problems would be solved if variables in a for loop were kept
> local, but everything by default is a global. Can I change this in php.ini
> or something??

no, there are only two scopes in php, it is either GLOBAL or local inside
a function/class.


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] For Loops and Variables??

2003-09-13 Thread John Ryan
When I use for loops, at the start of each iteration, the variables hold the
values from the last loop.

First, is there an elegant way of clearing variables at the start of each
loop rather than using unset???! It just seems wrong.

Also, all my problems would be solved if variables in a for loop were kept
local, but everything by default is a global. Can I change this in php.ini
or something??

TIA

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] searching for javascript (or others) that can be used in conjunctionwith PHP for file folder uploads

2003-08-29 Thread Kenn Murrah
Greetings.

(I've seen this subject discussed, but cannot find a solution in the 
archives.)

I have a file upload site to which I need to add code for uploading of 
an entire folder/subdirectory ... I realize this can't be done in PHP 
alone but I'm hoping that a solution (possibly involving Javascript) can 
be found that can be added to my existing PHP solution ... I've seen 
ASP-related sites that can do this, but I can't find a way with PHP ...

Can anyone point me to a javascript (or other) script that I can buy and 
incorporate into my PHP ?

Thanks for the advice.

Kenn

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] for loop and FTP

2003-08-14 Thread Jay Blanchard
[snip]
I need to grab five pages from a web site every day and then FTP those
pages
to another site.

I was wondering if I should grab all five pages (and store them
somewhere)
and then FTP all five.
[/snip]

This sounds like the more prudent move as it is more efficient. You can
also confirm that you have received all five before establishing any FTP
connection (if it would be invalid to FTP less than the full set). 

HTH

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for the love of god, remove me

2003-08-09 Thread David Robley
In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> > It's not usless if you read the page. 
> > [EMAIL PROTECTED]
> 
> As I said, the page is useless. This doesn't work either.
> 
> J.
> 

You may be trying to unsubscribe from a different email address that the 
one used originally to subscribe. The original subscribe confirmation, if 
you kept it, should have the address in it. Failing that, have a look at 
the headers of any message from the list for a clue as to the subscribed 
address. I'd be more specific, but I read from the newsgroup so don't have 
an appropriate set of headers available to refer to.

-- 
Quod subigo farinam

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] for loop and FTP

2003-08-07 Thread Kevin Millecam
Hi all,

You can probably tell I'm pretty new at this.

I need to grab five pages from a web site every day and then FTP those pages
to another site.

I was wondering if I should grab all five pages (and store them somewhere)
and then FTP all five.

Or if I could keep the FTP connection open while I looped thorough the five
(grab,FTP,grab,FTP ...)

Thanks,

Kevin Millecam
www.bitworkz.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for the love of god, remove me

2003-08-07 Thread Joseph Bannon
> It's not usless if you read the page. 
> [EMAIL PROTECTED]

As I said, the page is useless. This doesn't work either.

J.



> On Sun, 2003-08-03 at 13:45, Joseph Bannon wrote:
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> > 
> > This page is useless, you can't remove yourself.
> > 
> > J. 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design software
> > http://sitebuilder.yahoo.com
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for the love of god, remove me

2003-08-03 Thread Curt Zirzow
* Thus wrote Joseph Bannon ([EMAIL PROTECTED]):
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> This page is useless, you can't remove yourself.

Internet technology hasn't gotten far enough to read the minds of
users.

If maybe you actually read the page you might have figured out that
it tells how to unsubscribe to the list, several different ways if
i might add.


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for the love of god, remove me

2003-08-03 Thread David Smith
It's not usless if you read the page. 
[EMAIL PROTECTED]
On Sun, 2003-08-03 at 13:45, Joseph Bannon wrote:
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> This page is useless, you can't remove yourself.
> 
> J. 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] for the love of god, remove me

2003-08-03 Thread Joseph Bannon
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


This page is useless, you can't remove yourself.

J. 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Pushing MySQL AB for using PHP for stored procedures language

2003-06-28 Thread Sancar Saran
Dear PHP users,

MySQL AB, going to add stored procedure language for MySQL. They say 

"Stored procedures are currently being implemented. This effort is based on 
SQL-99, which has a basic syntax similar (but not identical) to Oracle 
PL/SQL. We will also implement the SQL-99 framework to hook in external 
languages, and (where possible) compatibility with, for example, PL/SQL and 
T-SQL."

As you know our community mostly uses MySQL for SQL needs, also we had lots of 
open source projects depend on MySQL.

So I'm asking community to push MySQL AB to implement PHP language to MySQL 
stored procedure language.

Please wisit following url (MySQL AB todo list) and add your comments

http://www.mysql.com/doc/en/TODO_MySQL_5.0.html

Thanks...

Sancar "Delifisek" Saran


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Is there a PHP for Dummies?

2003-03-31 Thread Jennifer Goodie
>I tend to get more out of the users comments than the actual manual..

It is possible that is because you don't want to put the time into figuring
things out for yourself.  It's a lot easier to post a ton of RTFM questions
than to actually read the manual or research your question.  I seem to
recall you having the same problem with the MySQL documentation.

-Original Message-
From: Beauford.2002 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 6:52 PM
To: Leif K-Brooks
Cc: PHP General
Subject: Re: [PHP] Is there a PHP for Dummies?


I found that after the fact, but my question was regarding tutorials, books,
or other docs. This was just an example I used. In general I don't find the
PHP manual very helpful - I tend to get more out of the users comments than
the actual manual..

- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 9:49 PM
Subject: Re: [PHP] Is there a PHP for Dummies?


> After a quick search of the php manual, I came upon
> http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which
says:
>
> Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When
> magic_quotes are on, all ' (single-quote), " (double quote), \
> (backslash) and NUL's are escaped with a backslash automatically.
>
> Seems to explain it pretty nicely.
>
> Beauford.2002 wrote:
>
> >No,  the name explains absolutely squat. What is a magic quote? Sounds
like
> >something I smoked in the 60's. Maybe to you it makes sense as you know
what
> >it does. To me it means absolutely nothing - nor does the PHP manual
explain
> >it.
> >
> >B.
> >
> >
> >- Original Message -
> >From: "Jennifer Goodie" <[EMAIL PROTECTED]>
> >To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
> ><[EMAIL PROTECTED]>
> >Sent: Friday, March 28, 2003 5:07 PM
> >Subject: RE: [PHP] Is there a PHP for Dummies?
> >
> >
> >
> >
> >>That is a really, really, really poor example.  Tha name says it all.
It
> >>gets the magic quotes setting for gpc(get, post, cookie).  You can
figure
> >>out what most PHP functions do just by looking at their names, that's
> >>actually what I like about PHP.
> >>
> >>-Original Message-
> >>From: Beauford.2002 [mailto:[EMAIL PROTECTED]
> >>Sent: Friday, March 28, 2003 1:54 PM
> >>To: PHP General
> >>Subject: [PHP] Is there a PHP for Dummies?
> >>
> >>
> >>I'm really tired of trying to figure out the PHP manual and need
something
> >>that explains things in plain straight forward English. Like
> >>get_magic_quotes_gpc() for example - the manual says how to use it and
> >>
> >>
> >what
> >
> >
> >>it returns - but nowhere can I find out what it's for. Does it count
> >>
> >>
> >sheep,
> >
> >
> >>do a quote of the day, or what - maybe I'm just stupid - but in any
event
> >>
> >>
> >I
> >
> >
> >>have spent more time in the last two weeks searching for things and
> >>
> >>
> >getting
> >
> >
> >>no answers - Any help in pointing me a good straight forward
> >>
> >>
> >tutorial/manual
> >
> >
> >>would be appreciated.
> >>
> >>B.
> >>
> >>
> >>--
> >>PHP General Mailing List (http://www.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
>
> --
> The above message is encrypted with double rot13 encoding.  Any
unauthorized attempt to decrypt it will be prosecuted to the full extent of
the law.
>
>
>



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Is there a PHP for Dummies?

2003-03-29 Thread daniel
i can honestly say when i was a newbie , browsing other peoples code , and 
also especially the pear packages helped me formulate my own style , in 
particular , the pear packages helped alot to understand the structure and how 
to build classes properly , and phpdocs helped to understand a standardised 
and forumlated way to document code properly.

>= Original Message From Jason Sheets <[EMAIL PROTECTED]> =
>There is a second edition of MySQL and PHP, the first edition was a very
>good book but was written before the super globals were introduced.
>
>I would recommend going on Amazon and bn.com and reading the reviews.
>There is a lot you can learn from the PHP Manual but if you are truly a
>beginner you would benefit from a good PHP book.  O'reilly also has
>published a PHP book now as well.
>
>Jason
>
>Leif K-Brooks wrote:
>
>> I've seen some PHP books, and honestly, the only book I might buy
>> would be a printed copy of the PHP manual.  It's more in-depth than
>> most books.  Exactly what is your problem with it?
>>
>> Beauford.2002 wrote:
>>
>>> My comment was that they do not use manuals, they use books written
>>> by 3rd parties. Why? Because they are more detailed and go into more
>>> depth than the manual. Also keep in mind that different people have
>>> different learning curves - you may find the manual sufficient,
>>> however, I don't. Further note that schools only teach you the
>>> rudimentary base language - to really understand it is to look at
>>> other peoples code and write your own.
>>>
>>> B.
>>>
>>> - Original Message -----
>>> From: Leif K-Brooks <mailto:[EMAIL PROTECTED]>
>>> To: Beauford.2002 <mailto:[EMAIL PROTECTED]>
>>> Sent: Saturday, March 29, 2003 9:03 AM
>>> Subject: Re: [PHP] Is there a PHP for Dummies?
>>>
>>> Rule #1 im programming: what you learn in school is never right! :)
>>>
>>> Beauford.2002 wrote:
>>>
>>> I don't find manuals particularly usable and as such would rather
>>> have a good reference manual that speaks in plain english. I
>>> don't need to know the technical details - I need to know how it
>>> works, which I don't find manuals provide. I spent four years in
>>> college, and not once did they use the manual as the text of
>>> choice - simply because they are not meant to teach you how to
>>> use whatever it is your after.
>>>  B.
>>>
>>> - Original Message -
>>> From: Leif K-Brooks <mailto:[EMAIL PROTECTED]>
>>> To: Beauford.2002 <mailto:[EMAIL PROTECTED]>
>>> Cc: PHP General <mailto:[EMAIL PROTECTED]>
>>> Sent: Friday, March 28, 2003 9:59 PM
>>> Subject: Re: [PHP] Is there a PHP for Dummies?
>>>
>>> I can find an answer to nearly any question I have about PHP
>>> in the manual.  Any examples of what you're unable to find?
>>>
>>> Beauford.2002 wrote:
>>>
>>>> I found that after the fact, but my question was regarding
>>>> tutorials, books,
>>>> or other docs. This was just an example I used. In general I don't
>>>> find the
>>>> PHP manual very helpful - I tend to get more out of the users
>>>> comments than
>>>> the actual manual..
>>>>
>>>> - Original Message -
>>>> From: "Leif K-Brooks" <[EMAIL PROTECTED]>
>>>> To: "Beauford.2002" <[EMAIL PROTECTED]>
>>>> Cc: <[EMAIL PROTECTED]>
>>>> Sent: Friday, March 28, 2003 9:49 PM
>>>> Subject: Re: [PHP] Is there a PHP for Dummies?
>>>>
>>>>
>>>>
>>>>
>>>>> After a quick search of the php manual, I came upon
>>>>> http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which
>>>>>
>>>>
>>>> says:
>>>>
>>>>
>>>>> Sets the magic_quotes state for GPC (Get/Post/Cookie) operations.
>>>>> When
>>>>> magic_quotes are on, all ' (single-quote), " (double quote), \
>>>>> (backslash) and NUL's are escaped with a backslash automatically.
>>>>>
>>>>> Seems to explain it pretty nicely.
>>>>>
>>>>> Beauford.2002 wrote:
>>>>>
>>>&

Re: [PHP] Is there a PHP for Dummies?

2003-03-29 Thread Jason Sheets
There is a second edition of MySQL and PHP, the first edition was a very 
good book but was written before the super globals were introduced.

I would recommend going on Amazon and bn.com and reading the reviews.  
There is a lot you can learn from the PHP Manual but if you are truly a 
beginner you would benefit from a good PHP book.  O'reilly also has 
published a PHP book now as well.

Jason

Leif K-Brooks wrote:

I've seen some PHP books, and honestly, the only book I might buy 
would be a printed copy of the PHP manual.  It's more in-depth than 
most books.  Exactly what is your problem with it?

Beauford.2002 wrote:

My comment was that they do not use manuals, they use books written 
by 3rd parties. Why? Because they are more detailed and go into more 
depth than the manual. Also keep in mind that different people have 
different learning curves - you may find the manual sufficient, 
however, I don't. Further note that schools only teach you the 
rudimentary base language - to really understand it is to look at 
other peoples code and write your own.
 
B.

- Original Message -
From: Leif K-Brooks <mailto:[EMAIL PROTECTED]>
To: Beauford.2002 <mailto:[EMAIL PROTECTED]>
Sent: Saturday, March 29, 2003 9:03 AM
    Subject: Re: [PHP] Is there a PHP for Dummies?
Rule #1 im programming: what you learn in school is never right! :)

Beauford.2002 wrote:

I don't find manuals particularly usable and as such would rather
have a good reference manual that speaks in plain english. I
don't need to know the technical details - I need to know how it
works, which I don't find manuals provide. I spent four years in
college, and not once did they use the manual as the text of
choice - simply because they are not meant to teach you how to
use whatever it is your after.
 B.
- Original Message -
From: Leif K-Brooks <mailto:[EMAIL PROTECTED]>
To: Beauford.2002 <mailto:[EMAIL PROTECTED]>
Cc: PHP General <mailto:[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 9:59 PM
Subject: Re: [PHP] Is there a PHP for Dummies?
I can find an answer to nearly any question I have about PHP
in the manual.  Any examples of what you're unable to find?
Beauford.2002 wrote:

I found that after the fact, but my question was regarding 
tutorials, books,
or other docs. This was just an example I used. In general I don't 
find the
PHP manual very helpful - I tend to get more out of the users 
comments than
the actual manual..

- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 9:49 PM
Subject: Re: [PHP] Is there a PHP for Dummies?
 

After a quick search of the php manual, I came upon
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which
  
says:
 

Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. 
When
magic_quotes are on, all ' (single-quote), " (double quote), \
(backslash) and NUL's are escaped with a backslash automatically.

Seems to explain it pretty nicely.

Beauford.2002 wrote:

  

No,  the name explains absolutely squat. What is a magic quote? 
Sounds


like
 

something I smoked in the 60's. Maybe to you it makes sense as 
you know


what
 

it does. To me it means absolutely nothing - nor does the PHP manual


explain
 

it.

B.

- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 5:07 PM
Subject: RE: [PHP] Is there a PHP for Dummies?




That is a really, really, really poor example.  Tha name says it 
all.
  

It
 

gets the magic quotes setting for gpc(get, post, cookie).  You can
  

figure
 

out what most PHP functions do just by looking at their names, 
that's
actually what I like about PHP.

-Original Message-
From: Beauford.2002 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:54 PM
To: PHP General
Subject: [PHP] Is there a PHP for Dummies?
I'm really tired of trying to figure out the PHP manual and need
  

something
 

that explains things in plain straight forward English. Like
get_magic_quotes_gpc() for example - the manual says how to use 
it and

  
what



it returns - but nowhere can I find out what it's for. Does it 
count

  
sheep,



do a quote of the day, or what - maybe I'm just stupid - but in any
  

event
 

  
I



have spent more time in the last two weeks searching for things and

  
getting



no answers - Any help in pointing me a good straight forward

  
tutorial/manual



would be appreciated.

B.

--
PHP G

Re: [PHP] Is there a PHP for Dummies?

2003-03-29 Thread Leif K-Brooks
I've seen some PHP books, and honestly, the only book I might buy would 
be a printed copy of the PHP manual.  It's more in-depth than most 
books.  Exactly what is your problem with it?

Beauford.2002 wrote:

My comment was that they do not use manuals, they use books written by 
3rd parties. Why? Because they are more detailed and go into more 
depth than the manual. Also keep in mind that different people have 
different learning curves - you may find the manual sufficient, 
however, I don't. Further note that schools only teach you the 
rudimentary base language - to really understand it is to look at 
other peoples code and write your own.
 
B.

- Original Message -
From: Leif K-Brooks <mailto:[EMAIL PROTECTED]>
To: Beauford.2002 <mailto:[EMAIL PROTECTED]>
Sent: Saturday, March 29, 2003 9:03 AM
Subject: Re: [PHP] Is there a PHP for Dummies?
Rule #1 im programming: what you learn in school is never right! :)

Beauford.2002 wrote:

I don't find manuals particularly usable and as such would rather
have a good reference manual that speaks in plain english. I
don't need to know the technical details - I need to know how it
works, which I don't find manuals provide. I spent four years in
college, and not once did they use the manual as the text of
choice - simply because they are not meant to teach you how to
use whatever it is your after.
 
B.

- Original Message -
From: Leif K-Brooks <mailto:[EMAIL PROTECTED]>
To: Beauford.2002 <mailto:[EMAIL PROTECTED]>
Cc: PHP General <mailto:[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 9:59 PM
Subject: Re: [PHP] Is there a PHP for Dummies?
I can find an answer to nearly any question I have about PHP
in the manual.  Any examples of what you're unable to find?
Beauford.2002 wrote:

I found that after the fact, but my question was regarding tutorials, books,
or other docs. This was just an example I used. In general I don't find the
PHP manual very helpful - I tend to get more out of the users comments than
the actual manual..
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 9:49 PM
Subject: Re: [PHP] Is there a PHP for Dummies?
 

After a quick search of the php manual, I came upon
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which
   

says:
 

Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When
magic_quotes are on, all ' (single-quote), " (double quote), \
(backslash) and NUL's are escaped with a backslash automatically.
Seems to explain it pretty nicely.

Beauford.2002 wrote:

   

No,  the name explains absolutely squat. What is a magic quote? Sounds
 

like
 

something I smoked in the 60's. Maybe to you it makes sense as you know
 

what
 

it does. To me it means absolutely nothing - nor does the PHP manual
 

explain
 

it.

B.

- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 5:07 PM
Subject: RE: [PHP] Is there a PHP for Dummies?


 

That is a really, really, really poor example.  Tha name says it all.
   

It
 

gets the magic quotes setting for gpc(get, post, cookie).  You can
   

figure
 

out what most PHP functions do just by looking at their names, that's
actually what I like about PHP.
-Original Message-
From: Beauford.2002 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:54 PM
To: PHP General
Subject: [PHP] Is there a PHP for Dummies?
I'm really tired of trying to figure out the PHP manual and need
   

something
 

that explains things in plain straight forward English. Like
get_magic_quotes_gpc() for example - the manual says how to use it and
   

what

 

it returns - but nowhere can I find out what it's for. Does it count

   

sheep,

 

do a quote of the day, or what - maybe I'm just stupid - but in any
   

event
 

   

I

 

have spent more time in the last two weeks searching for things and

   

getting

 

no answers - Any help in pointing me a good straight forward

   

tutorial/manual

 

would be appreciated.

B.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


   

 

--
The above message is encrypted with double rot13 encoding.  Any
   

unauthorized attempt to decrypt it will be prosecuted to the full extent of
the law.
 

   



 

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the ful

Re: [PHP] Is there a PHP for Dummies?

2003-03-29 Thread -{ Rene Brehmer }-
Sofar I've found everything I needed from the manual, and other than the
"Install PHP Guide" on WebMonkey, I haven't used anything but the manual,
and scarsely this list...

And I do use the downloadable version of the manual, without the user
comments ... 

But of course, I've programmed since I was 8, so for me it's just another
syntax...

Rene

On Fri, 28 Mar 2003 21:51:56 -0500, Beauford.2002 wrote about "Re: [PHP]
Is there a PHP for Dummies?" what the universal translator turned into
this:

>I found that after the fact, but my question was regarding tutorials, books,
>or other docs. This was just an example I used. In general I don't find the
>PHP manual very helpful - I tend to get more out of the users comments than
>the actual manual..

-- 
Rene Brehmer

This message was written on 100% recycled spam.

Come see! My brand new site is now online!
http://www.metalbunny.net

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-29 Thread Haseeb Iqbal
if you don't find anything from the php manual or from the php lists then
you wont find it from any book.so i say you stick to this list and php
manual.
Haseeb.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Matt Giddings
I purchased a few php books and was sorely disappointed.  I
found that the online documentation and this php list were the best
resources for php.  You'll find that pretty much any book on php will be
outdated by the time it hits the shelves, and with php 5 coming out in
the near future (I hope) it is going to change even more.  You're best
bet is to take the time to read the manual (if you haven't already) and
follow this list, you'll soon find that php's resources are very well
organized.

Matt

> -Original Message-
> From: Beauford.2002 [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2003 9:52 PM
> To: Leif K-Brooks
> Cc: PHP General
> Subject: Re: [PHP] Is there a PHP for Dummies?
> 
> I found that after the fact, but my question was regarding tutorials,
> books,
> or other docs. This was just an example I used. In general I don't
find
> the
> PHP manual very helpful - I tend to get more out of the users comments
> than
> the actual manual..
> 
> - Original Message -
> From: "Leif K-Brooks" <[EMAIL PROTECTED]>
> To: "Beauford.2002" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, March 28, 2003 9:49 PM
> Subject: Re: [PHP] Is there a PHP for Dummies?
> 
> 
> > After a quick search of the php manual, I came upon
> > http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc,
which
> says:
> >
> > Sets the magic_quotes state for GPC (Get/Post/Cookie) operations.
When
> > magic_quotes are on, all ' (single-quote), " (double quote), \
> > (backslash) and NUL's are escaped with a backslash automatically.
> >
> > Seems to explain it pretty nicely.
> >
> > Beauford.2002 wrote:
> >
> > >No,  the name explains absolutely squat. What is a magic quote?
Sounds
> like
> > >something I smoked in the 60's. Maybe to you it makes sense as you
know
> what
> > >it does. To me it means absolutely nothing - nor does the PHP
manual
> explain
> > >it.
> > >
> > >B.
> > >
> > >
> > >- Original Message -
> > >From: "Jennifer Goodie" <[EMAIL PROTECTED]>
> > >To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
> > ><[EMAIL PROTECTED]>
> > >Sent: Friday, March 28, 2003 5:07 PM
> > >Subject: RE: [PHP] Is there a PHP for Dummies?
> > >
> > >
> > >
> > >
> > >>That is a really, really, really poor example.  Tha name says it
all.
> It
> > >>gets the magic quotes setting for gpc(get, post, cookie).  You can
> figure
> > >>out what most PHP functions do just by looking at their names,
that's
> > >>actually what I like about PHP.
> > >>
> > >>-Original Message-
> > >>From: Beauford.2002 [mailto:[EMAIL PROTECTED]
> > >>Sent: Friday, March 28, 2003 1:54 PM
> > >>To: PHP General
> > >>Subject: [PHP] Is there a PHP for Dummies?
> > >>
> > >>
> > >>I'm really tired of trying to figure out the PHP manual and need
> something
> > >>that explains things in plain straight forward English. Like
> > >>get_magic_quotes_gpc() for example - the manual says how to use it
and
> > >>
> > >>
> > >what
> > >
> > >
> > >>it returns - but nowhere can I find out what it's for. Does it
count
> > >>
> > >>
> > >sheep,
> > >
> > >
> > >>do a quote of the day, or what - maybe I'm just stupid - but in
any
> event
> > >>
> > >>
> > >I
> > >
> > >
> > >>have spent more time in the last two weeks searching for things
and
> > >>
> > >>
> > >getting
> > >
> > >
> > >>no answers - Any help in pointing me a good straight forward
> > >>
> > >>
> > >tutorial/manual
> > >
> > >
> > >>would be appreciated.
> > >>
> > >>B.
> > >>
> > >>
> > >>--
> > >>PHP General Mailing List (http://www.php.net/)
> > >>To unsubscribe, visit: http://www.php.net/unsub.php
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > The above message is encrypted with double rot13 encoding.  Any
> unauthorized attempt to decrypt it will be prosecuted to the full
extent
> of
> the law.
> >
> >
> >
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Leif K-Brooks
I can find an answer to nearly any question I have about PHP in the 
manual.  Any examples of what you're unable to find?

Beauford.2002 wrote:

I found that after the fact, but my question was regarding tutorials, books,
or other docs. This was just an example I used. In general I don't find the
PHP manual very helpful - I tend to get more out of the users comments than
the actual manual..
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 9:49 PM
Subject: Re: [PHP] Is there a PHP for Dummies?
 

After a quick search of the php manual, I came upon
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which
   

says:
 

Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When
magic_quotes are on, all ' (single-quote), " (double quote), \
(backslash) and NUL's are escaped with a backslash automatically.
Seems to explain it pretty nicely.

Beauford.2002 wrote:

   

No,  the name explains absolutely squat. What is a magic quote? Sounds
 

like
 

something I smoked in the 60's. Maybe to you it makes sense as you know
 

what
 

it does. To me it means absolutely nothing - nor does the PHP manual
 

explain
 

it.

B.

- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 5:07 PM
Subject: RE: [PHP] Is there a PHP for Dummies?


 

That is a really, really, really poor example.  Tha name says it all.
   

It
 

gets the magic quotes setting for gpc(get, post, cookie).  You can
   

figure
 

out what most PHP functions do just by looking at their names, that's
actually what I like about PHP.
-Original Message-
From: Beauford.2002 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:54 PM
To: PHP General
Subject: [PHP] Is there a PHP for Dummies?
I'm really tired of trying to figure out the PHP manual and need
   

something
 

that explains things in plain straight forward English. Like
get_magic_quotes_gpc() for example - the manual says how to use it and
   

what

 

it returns - but nowhere can I find out what it's for. Does it count

   

sheep,

 

do a quote of the day, or what - maybe I'm just stupid - but in any
   

event
 

   

I

 

have spent more time in the last two weeks searching for things and

   

getting

 

no answers - Any help in pointing me a good straight forward

   

tutorial/manual

 

would be appreciated.

B.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


   



 

--
The above message is encrypted with double rot13 encoding.  Any
   

unauthorized attempt to decrypt it will be prosecuted to the full extent of
the law.
 

   



 

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.



Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
I found that after the fact, but my question was regarding tutorials, books,
or other docs. This was just an example I used. In general I don't find the
PHP manual very helpful - I tend to get more out of the users comments than
the actual manual..

- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 9:49 PM
Subject: Re: [PHP] Is there a PHP for Dummies?


> After a quick search of the php manual, I came upon
> http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which
says:
>
> Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When
> magic_quotes are on, all ' (single-quote), " (double quote), \
> (backslash) and NUL's are escaped with a backslash automatically.
>
> Seems to explain it pretty nicely.
>
> Beauford.2002 wrote:
>
> >No,  the name explains absolutely squat. What is a magic quote? Sounds
like
> >something I smoked in the 60's. Maybe to you it makes sense as you know
what
> >it does. To me it means absolutely nothing - nor does the PHP manual
explain
> >it.
> >
> >B.
> >
> >
> >- Original Message -
> >From: "Jennifer Goodie" <[EMAIL PROTECTED]>
> >To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
> ><[EMAIL PROTECTED]>
> >Sent: Friday, March 28, 2003 5:07 PM
> >Subject: RE: [PHP] Is there a PHP for Dummies?
> >
> >
> >
> >
> >>That is a really, really, really poor example.  Tha name says it all.
It
> >>gets the magic quotes setting for gpc(get, post, cookie).  You can
figure
> >>out what most PHP functions do just by looking at their names, that's
> >>actually what I like about PHP.
> >>
> >>-Original Message-
> >>From: Beauford.2002 [mailto:[EMAIL PROTECTED]
> >>Sent: Friday, March 28, 2003 1:54 PM
> >>To: PHP General
> >>Subject: [PHP] Is there a PHP for Dummies?
> >>
> >>
> >>I'm really tired of trying to figure out the PHP manual and need
something
> >>that explains things in plain straight forward English. Like
> >>get_magic_quotes_gpc() for example - the manual says how to use it and
> >>
> >>
> >what
> >
> >
> >>it returns - but nowhere can I find out what it's for. Does it count
> >>
> >>
> >sheep,
> >
> >
> >>do a quote of the day, or what - maybe I'm just stupid - but in any
event
> >>
> >>
> >I
> >
> >
> >>have spent more time in the last two weeks searching for things and
> >>
> >>
> >getting
> >
> >
> >>no answers - Any help in pointing me a good straight forward
> >>
> >>
> >tutorial/manual
> >
> >
> >>would be appreciated.
> >>
> >>B.
> >>
> >>
> >>--
> >>PHP General Mailing List (http://www.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
>
> --
> The above message is encrypted with double rot13 encoding.  Any
unauthorized attempt to decrypt it will be prosecuted to the full extent of
the law.
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Leif K-Brooks
After a quick search of the php manual, I came upon 
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which says:

Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When 
magic_quotes are on, all ' (single-quote), " (double quote), \ 
(backslash) and NUL's are escaped with a backslash automatically.

Seems to explain it pretty nicely.

Beauford.2002 wrote:

No,  the name explains absolutely squat. What is a magic quote? Sounds like
something I smoked in the 60's. Maybe to you it makes sense as you know what
it does. To me it means absolutely nothing - nor does the PHP manual explain
it.
B.

- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 5:07 PM
Subject: RE: [PHP] Is there a PHP for Dummies?
 

That is a really, really, really poor example.  Tha name says it all.  It
gets the magic quotes setting for gpc(get, post, cookie).  You can figure
out what most PHP functions do just by looking at their names, that's
actually what I like about PHP.
-Original Message-
From: Beauford.2002 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:54 PM
To: PHP General
Subject: [PHP] Is there a PHP for Dummies?
I'm really tired of trying to figure out the PHP manual and need something
that explains things in plain straight forward English. Like
get_magic_quotes_gpc() for example - the manual says how to use it and
   

what
 

it returns - but nowhere can I find out what it's for. Does it count
   

sheep,
 

do a quote of the day, or what - maybe I'm just stupid - but in any event
   

I
 

have spent more time in the last two weeks searching for things and
   

getting
 

no answers - Any help in pointing me a good straight forward
   

tutorial/manual
 

would be appreciated.

B.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
   



 

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.



RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread John W. Holmes
I dare you to find an explanation of an ASP feature and you'll realize
how easy you've got it. How much easier can it be? First, you type in:

www.php.net/get_magic_quotes_gpc

to get the manual page. From there, in the explanation, there is a link
labeled "magic_quotes_gpc" (you can click on links) which takes you
here:

http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc

for an explanation of magic quotes. 

Say you have this string:

$str = "This has a \" quote in it";

If you don't understand why you need that backslash there (or escape
character) then you really don't need to be looking for the "quick"
answers on the PHP list. I don't mean to be rude, but keep reading and
searching and testing for a while until you've got the basics down. 

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/

> -Original Message-
> From: Beauford.2002 [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2003 9:32 PM
> To: Jennifer Goodie
> Cc: PHP General
> Subject: Re: [PHP] Is there a PHP for Dummies?
> 
> No,  the name explains absolutely squat. What is a magic quote? Sounds
> like
> something I smoked in the 60's. Maybe to you it makes sense as you
know
> what
> it does. To me it means absolutely nothing - nor does the PHP manual
> explain
> it.
> 
> B.
> 
> 
> - Original Message -
> From: "Jennifer Goodie" <[EMAIL PROTECTED]>
> To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
> <[EMAIL PROTECTED]>
> Sent: Friday, March 28, 2003 5:07 PM
> Subject: RE: [PHP] Is there a PHP for Dummies?
> 
> 
> > That is a really, really, really poor example.  Tha name says it
all.
> It
> > gets the magic quotes setting for gpc(get, post, cookie).  You can
> figure
> > out what most PHP functions do just by looking at their names,
that's
> > actually what I like about PHP.
> >
> > -Original Message-
> > From: Beauford.2002 [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 28, 2003 1:54 PM
> > To: PHP General
> > Subject: [PHP] Is there a PHP for Dummies?
> >
> >
> > I'm really tired of trying to figure out the PHP manual and need
> something
> > that explains things in plain straight forward English. Like
> > get_magic_quotes_gpc() for example - the manual says how to use it
and
> what
> > it returns - but nowhere can I find out what it's for. Does it count
> sheep,
> > do a quote of the day, or what - maybe I'm just stupid - but in any
> event
> I
> > have spent more time in the last two weeks searching for things and
> getting
> > no answers - Any help in pointing me a good straight forward
> tutorial/manual
> > would be appreciated.
> >
> > B.
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
Thanks to all that responded on this. There are some great examples here
that I will definitely look into.

BE.

- Original Message -
From: "Kenn Murrah" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 5:03 PM
Subject: Re: [PHP] Is there a PHP for Dummies?


> well, B., i've read a LOT of 'em .. it sort of depends on YOUR background
as
> to which is best ...
>
> i like "Professional PHP Programming" from Wrox ... don't bother with
> "Beginning PHP Programming" from Wrox ... it'll probably insult your
> intelligence ...
>
> one of the first i ever read, when i was first getting started, was "PHP
> Essentials" by Meloni ... simple, but some GOOD examples to study, and
when
> you finish, you'll have a decent foundation for more study ..
>
> my current personal favorite is "Mastering PHP 4.1" from Sybex ... good
> writing style, and it covers (obviously) 4.1, which a LOT of books out
don't
> do ... so it eliminates THAT frustration ...
>
> HTH
>
> kenM
>
>
> ----- Original Message -
> From: "Beauford.2002" <[EMAIL PROTECTED]>
> To: "PHP General" <[EMAIL PROTECTED]>
> Sent: Friday, March 28, 2003 3:53 PM
> Subject: [PHP] Is there a PHP for Dummies?
>
>
> > I'm really tired of trying to figure out the PHP manual and need
something
> > that explains things in plain straight forward English. Like
> > get_magic_quotes_gpc() for example - the manual says how to use it and
> what
> > it returns - but nowhere can I find out what it's for. Does it count
> sheep,
> > do a quote of the day, or what - maybe I'm just stupid - but in any
event
> I
> > have spent more time in the last two weeks searching for things and
> getting
> > no answers - Any help in pointing me a good straight forward
> tutorial/manual
> > would be appreciated.
> >
> > B.
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
No,  the name explains absolutely squat. What is a magic quote? Sounds like
something I smoked in the 60's. Maybe to you it makes sense as you know what
it does. To me it means absolutely nothing - nor does the PHP manual explain
it.

B.


- Original Message -
From: "Jennifer Goodie" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 5:07 PM
Subject: RE: [PHP] Is there a PHP for Dummies?


> That is a really, really, really poor example.  Tha name says it all.  It
> gets the magic quotes setting for gpc(get, post, cookie).  You can figure
> out what most PHP functions do just by looking at their names, that's
> actually what I like about PHP.
>
> -Original Message-
> From: Beauford.2002 [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2003 1:54 PM
> To: PHP General
> Subject: [PHP] Is there a PHP for Dummies?
>
>
> I'm really tired of trying to figure out the PHP manual and need something
> that explains things in plain straight forward English. Like
> get_magic_quotes_gpc() for example - the manual says how to use it and
what
> it returns - but nowhere can I find out what it's for. Does it count
sheep,
> do a quote of the day, or what - maybe I'm just stupid - but in any event
I
> have spent more time in the last two weeks searching for things and
getting
> no answers - Any help in pointing me a good straight forward
tutorial/manual
> would be appreciated.
>
> B.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Patrick Teague
Not sure if you've looked at it already or not, but www.webmonkey.com has
great web programming info.  I followed a couple php tutorials from there &
was up & running... then again I've done alot of programming prior to PHP so
maybe I'm just warped.

Patrick

- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 3:53 PM
Subject: [PHP] Is there a PHP for Dummies?


> I'm really tired of trying to figure out the PHP manual and need something
> that explains things in plain straight forward English. Like
> get_magic_quotes_gpc() for example - the manual says how to use it and
what
> it returns - but nowhere can I find out what it's for. Does it count
sheep,
> do a quote of the day, or what - maybe I'm just stupid - but in any event
I
> have spent more time in the last two weeks searching for things and
getting
> no answers - Any help in pointing me a good straight forward
tutorial/manual
> would be appreciated.
>
> B.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Bryan Lipscy
Yes, an excellent book.

-Original Message-
From: Kenn Murrah [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 2:14 PM
To: Mike; [EMAIL PROTECTED]
Subject: Re: [PHP] Is there a PHP for Dummies?


oh, and that reminds me ... another O'Reilly title, "PHP Cookbook" is
REALLY helpful if, like a lot of us, you like to learn from examples ...


- Original Message -
From: "Mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 4:10 PM
Subject: Re: [PHP] Is there a PHP for Dummies?


> Try out "Programming PHP" by Rasmus Lerdorf from O'Reilly. I got it 
> and learned everything from it. Once you've read the book once or 
> twice, you can just use the PHP Manual...
>
> -Michael
> On Fri, 2003-03-28 at 12:53, Beauford.2002 wrote:
> > I'm really tired of trying to figure out the PHP manual and need
something
> > that explains things in plain straight forward English. Like
> > get_magic_quotes_gpc() for example - the manual says how to use it 
> > and
what
> > it returns - but nowhere can I find out what it's for. Does it count
sheep,
> > do a quote of the day, or what - maybe I'm just stupid - but in any
event I
> > have spent more time in the last two weeks searching for things and
getting
> > no answers - Any help in pointing me a good straight forward
tutorial/manual
> > would be appreciated.
> >
> > B.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Kenn Murrah
oh, and that reminds me ... another O'Reilly title, "PHP Cookbook" is REALLY
helpful if, like a lot of us, you like to learn from examples ...


- Original Message -
From: "Mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 4:10 PM
Subject: Re: [PHP] Is there a PHP for Dummies?


> Try out "Programming PHP" by Rasmus Lerdorf from O'Reilly. I got it and
> learned everything from it. Once you've read the book once or twice, you
> can just use the PHP Manual...
>
> -Michael
> On Fri, 2003-03-28 at 12:53, Beauford.2002 wrote:
> > I'm really tired of trying to figure out the PHP manual and need
something
> > that explains things in plain straight forward English. Like
> > get_magic_quotes_gpc() for example - the manual says how to use it and
what
> > it returns - but nowhere can I find out what it's for. Does it count
sheep,
> > do a quote of the day, or what - maybe I'm just stupid - but in any
event I
> > have spent more time in the last two weeks searching for things and
getting
> > no answers - Any help in pointing me a good straight forward
tutorial/manual
> > would be appreciated.
> >
> > B.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Bryan Lipscy
Use the Zend Beauford.
http://www.zend.com

For beginners: http://www.zend.com/interest/beginners.php

Using Google:
http://www.phpbuilder.com/manual/function.get-magic-quotes-gpc.php



-Original Message-
From: Beauford.2002 [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 1:54 PM
To: PHP General
Subject: [PHP] Is there a PHP for Dummies?


I'm really tired of trying to figure out the PHP manual and need
something that explains things in plain straight forward English. Like
get_magic_quotes_gpc() for example - the manual says how to use it and
what it returns - but nowhere can I find out what it's for. Does it
count sheep, do a quote of the day, or what - maybe I'm just stupid -
but in any event I have spent more time in the last two weeks searching
for things and getting no answers - Any help in pointing me a good
straight forward tutorial/manual would be appreciated.

B.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Mike
Try out "Programming PHP" by Rasmus Lerdorf from O'Reilly. I got it and
learned everything from it. Once you've read the book once or twice, you
can just use the PHP Manual...

-Michael
On Fri, 2003-03-28 at 12:53, Beauford.2002 wrote:
> I'm really tired of trying to figure out the PHP manual and need something
> that explains things in plain straight forward English. Like
> get_magic_quotes_gpc() for example - the manual says how to use it and what
> it returns - but nowhere can I find out what it's for. Does it count sheep,
> do a quote of the day, or what - maybe I'm just stupid - but in any event I
> have spent more time in the last two weeks searching for things and getting
> no answers - Any help in pointing me a good straight forward tutorial/manual
> would be appreciated.
> 
> B.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Jennifer Goodie
That is a really, really, really poor example.  Tha name says it all.  It
gets the magic quotes setting for gpc(get, post, cookie).  You can figure
out what most PHP functions do just by looking at their names, that's
actually what I like about PHP.

-Original Message-
From: Beauford.2002 [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:54 PM
To: PHP General
Subject: [PHP] Is there a PHP for Dummies?


I'm really tired of trying to figure out the PHP manual and need something
that explains things in plain straight forward English. Like
get_magic_quotes_gpc() for example - the manual says how to use it and what
it returns - but nowhere can I find out what it's for. Does it count sheep,
do a quote of the day, or what - maybe I'm just stupid - but in any event I
have spent more time in the last two weeks searching for things and getting
no answers - Any help in pointing me a good straight forward tutorial/manual
would be appreciated.

B.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread CPT John W. Holmes
> I'm really tired of trying to figure out the PHP manual and need something
> that explains things in plain straight forward English. Like
> get_magic_quotes_gpc() for example - the manual says how to use it and
what
> it returns - but nowhere can I find out what it's for. Does it count
sheep,
> do a quote of the day, or what - maybe I'm just stupid - but in any event
I
> have spent more time in the last two weeks searching for things and
getting
> no answers - Any help in pointing me a good straight forward
tutorial/manual
> would be appreciated.

Ummm... it returns the setting of magic_quotes_gpc from the php.ini file. Do
you need to know what magic_quotes are? That's in the manual, too...

Usually something telling you "how to use it" and "what it returns" is good
enoughbut

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Kenn Murrah
well, B., i've read a LOT of 'em .. it sort of depends on YOUR background as
to which is best ...

i like "Professional PHP Programming" from Wrox ... don't bother with
"Beginning PHP Programming" from Wrox ... it'll probably insult your
intelligence ...

one of the first i ever read, when i was first getting started, was "PHP
Essentials" by Meloni ... simple, but some GOOD examples to study, and when
you finish, you'll have a decent foundation for more study ..

my current personal favorite is "Mastering PHP 4.1" from Sybex ... good
writing style, and it covers (obviously) 4.1, which a LOT of books out don't
do ... so it eliminates THAT frustration ...

HTH

kenM


- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 3:53 PM
Subject: [PHP] Is there a PHP for Dummies?


> I'm really tired of trying to figure out the PHP manual and need something
> that explains things in plain straight forward English. Like
> get_magic_quotes_gpc() for example - the manual says how to use it and
what
> it returns - but nowhere can I find out what it's for. Does it count
sheep,
> do a quote of the day, or what - maybe I'm just stupid - but in any event
I
> have spent more time in the last two weeks searching for things and
getting
> no answers - Any help in pointing me a good straight forward
tutorial/manual
> would be appreciated.
>
> B.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
I'm really tired of trying to figure out the PHP manual and need something
that explains things in plain straight forward English. Like
get_magic_quotes_gpc() for example - the manual says how to use it and what
it returns - but nowhere can I find out what it's for. Does it count sheep,
do a quote of the day, or what - maybe I'm just stupid - but in any event I
have spent more time in the last two weeks searching for things and getting
no answers - Any help in pointing me a good straight forward tutorial/manual
would be appreciated.

B.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



<    1   2   3   4   >