Re: [PHP] PHP User

2010-02-06 Thread T L
Hello,

Depends on what you're looking to do.

For intermediate PHP I like

PHP Object-Oriented Solutions by David Powers (friends of ED)

The focus is on PHP 5...not sure if anyone outside of shared hosting uses
PHP 4, but worth a mention.

Regarding PHP In Action,
This might just be me personally, but I found PHP In Action to be a somewhat
difficult read--the authors really focus on nuance and try to show a "shades
of gray".  This means discussions on how PHP is different than Java, how PHP
5 is different than PHP 4, how this solution is subtly different than that
one, etc.  If you are new to ideas on both sides of the comparison, the
multitudes of comparisons can become a little tedious.

Basically, I would NOT recommend this book if you are trying to get a
refresher on syntax or are an amature/part-time programmer.  However, it
does have quite a few worthwhile sections--the authors are obviously
familiar with software design and the book is literally littered with
references to Folwer, GOF, TDD, Beck, etc--that try to bring in best
practices (largely from Java) to PHP (5).

Apologies for the rambling, both books are on amazon with a number of
reviews.

Cheers,
Tim





On Thu, Feb 4, 2010 at 12:17 AM, Paul M Foster wrote:

> On Thu, Feb 04, 2010 at 03:13:00PM +1030, abby ragz wrote:
>
> >
> > Hi,
> >
> > I used PHP 3 years back and was a standard user.
> >
> > but now I want to update myself and do self - study .
> >
> >
> >
> > Please advise from where should I start.
> >
> > Any good site recommendations.
>
> Programming PHP by Lerdorf, Tatroe, MacIntyre (O'Reilly)
>
> http://php.net/manual/en/
>
> For object oriented PHP code,
>
> PHP In Action: Objects, Design, Agility by Reiersol, Baker, Shiflett
> (Manning)
>
> Paul
>
> --
> Paul M. Foster
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Tim Loudon
(781) 686-6096


Re: [PHP] PHP User

2010-02-03 Thread Paul M Foster
On Thu, Feb 04, 2010 at 03:13:00PM +1030, abby ragz wrote:

> 
> Hi,
> 
> I used PHP 3 years back and was a standard user.
> 
> but now I want to update myself and do self - study .
> 
>  
> 
> Please advise from where should I start.
> 
> Any good site recommendations.

Programming PHP by Lerdorf, Tatroe, MacIntyre (O'Reilly)

http://php.net/manual/en/

For object oriented PHP code,

PHP In Action: Objects, Design, Agility by Reiersol, Baker, Shiflett
(Manning)

Paul

-- 
Paul M. Foster

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



[PHP] PHP User

2010-02-03 Thread abby ragz

Hi,

I used PHP 3 years back and was a standard user.

but now I want to update myself and do self - study .

 

Please advise from where should I start.

Any good site recommendations.

 

Thanks in advance:)
  
_
Search for properties that match your lifestyle! Start searching NOW!
http://clk.atdmt.com/NMN/go/157631292/direct/01/

Re: [PHP] PHP - user profile page with pic

2009-02-23 Thread Virgilio Quilario
> ---
> Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
> a Free CD of Ubuntu mailed to your door without any cost. Visit :
> www.ubuntu.com
> --
>
>> my level of coding is basic. out of the box is fine as long as it is a good
>> one. I do know how to connect to database pull and display records as well
>> as set up login. But I guess I have to create a session so that when a user
>> logs in only his/her information is shown correct?
>
>
> Yes, and it would be better for you to have an in depth look into the open
> source projects found. Get to analyse them. So, you'll get familiarized with
> the advanced well known methods. Learning from them you will be able to
> create something better and not reinventing the wheels.
>
> Lenin
>
>>
>>
>> -Jeff
>>
>>  The question can be equally rephrased as "How an Atom bom/Spaceship be
>>> created"?
>>>
>>> Answer depends on the level of knowledge you have on coding / developing
>>> sites. Woud you be using any framework? or would you use any readymade
>>> CMS?
>>> Or write everything from scratch?
>>>
>>> Question can also be generalized further like would php be your developing
>>> language? Or you'd develop your own new language out of the box. :)
>>>
>>> ---
>>> Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
>>> a Free CD of Ubuntu mailed to your door without any cost. Visit :
>>> www.ubuntu.com
>>> --
>>>
>>>
>>>  Any ideas or tutorials on how to build a user profile page sort of like
 facebook?

 -Jeff


hi,

i would recommend Joomla or Wordpress both have extensions for user
maintained profiles with pictures.

Virgil
http://www.jampmark.com

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



Re: [PHP] PHP - user profile page with pic

2009-02-23 Thread 9el
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--


On Mon, Feb 23, 2009 at 12:25 PM, Jeffery Harris <
jhar...@harris4interactive.com> wrote:

> my level of coding is basic. out of the box is fine as long as it is a good
> one. I do know how to connect to database pull and display records as well
> as set up login. But I guess I have to create a session so that when a user
> logs in only his/her information is shown correct?


Yes, and it would be better for you to have an in depth look into the open
source projects found. Get to analyse them. So, you'll get familiarized with
the advanced well known methods. Learning from them you will be able to
create something better and not reinventing the wheels.

Lenin

>
>
> -Jeff
> - Original Message - From: "9el" 
> Newsgroups: php.general
> To: "jeffery harris" 
> Cc: 
> Sent: Thursday, February 19, 2009 12:40 AM
> Subject: Re: [PHP] PHP - user profile page with pic
>
>
>  The question can be equally rephrased as "How an Atom bom/Spaceship be
>> created"?
>>
>> Answer depends on the level of knowledge you have on coding / developing
>> sites. Woud you be using any framework? or would you use any readymade
>> CMS?
>> Or write everything from scratch?
>>
>> Question can also be generalized further like would php be your developing
>> language? Or you'd develop your own new language out of the box. :)
>>
>> ---
>> Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
>> a Free CD of Ubuntu mailed to your door without any cost. Visit :
>> www.ubuntu.com
>> --
>>
>>
>> On Thu, Feb 19, 2009 at 9:46 AM, jeffery harris <
>> jhar...@harris4interactive.com> wrote:
>>
>>  Any ideas or tutorials on how to build a user profile page sort of like
>>> facebook?
>>>
>>> -Jeff
>>>
>>>
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>>
>>
>
>


Re: [PHP] PHP - user profile page with pic

2009-02-18 Thread 9el
The question can be equally rephrased as "How an Atom bom/Spaceship be
created"?

Answer depends on the level of knowledge you have on coding / developing
sites. Woud you be using any framework? or would you use any readymade CMS?
Or write everything from scratch?

Question can also be generalized further like would php be your developing
language? Or you'd develop your own new language out of the box. :)

---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--


On Thu, Feb 19, 2009 at 9:46 AM, jeffery harris <
jhar...@harris4interactive.com> wrote:

> Any ideas or tutorials on how to build a user profile page sort of like
> facebook?
>
> -Jeff
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


[PHP] PHP - user profile page with pic

2009-02-18 Thread jeffery harris
Any ideas or tutorials on how to build a user profile page sort of like 
facebook?

-Jeff 



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



Re: [PHP] PHP User Group in San Francisco

2005-08-15 Thread John Nichel

Catenare LLC wrote:

Are there any PHP user groups currently meeting in San Francisco?


http://www.phpusergroups.org/groups.phtml?country=United+States&menu=groups

--
John C. Nichel
ÜberGeek
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] PHP User Group in San Francisco

2005-08-13 Thread Catenare LLC

Are there any PHP user groups currently meeting in San Francisco?


Johan Martin
Catenare LLC
534 Pacific Ave
San Francisco, CA. 94133
Phone: (415) 834-9802
Fax: (415) 294-4495
http://www.catenare.com

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



Re: [PHP] php user groups - searching for php developers for a project...

2005-04-05 Thread Manuel Lemos
Hello,
On Fri, April 1, 2005 7:44 am, bruce said:
we're trying to find php developers/partners for a project, and we're
wondering if there are php user groups in the cali/bay area (san fran/san
jose) area that we can talk with, attend meetings, etc...
searching google didn't really turn up anything... we know that there are
some php job sites, but we didn't want to post there, given that this
isn't
a 'salaried' opportunity. this would be strictly startup/sweat equity,
ie..
risky as hell!!
Here you may find some user groups:
http://www.phpclasses.org/browse/group/bycountry/country/us/
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php user groups - searching for php developers for a project...

2005-04-05 Thread Richard Lynch
On Fri, April 1, 2005 7:44 am, bruce said:
> we're trying to find php developers/partners for a project, and we're
> wondering if there are php user groups in the cali/bay area (san fran/san
> jose) area that we can talk with, attend meetings, etc...
>
> searching google didn't really turn up anything... we know that there are
> some php job sites, but we didn't want to post there, given that this
> isn't
> a 'salaried' opportunity. this would be strictly startup/sweat equity,
> ie..
> risky as hell!!

http://phpusergroups.org/


-- 
Like Music?
http://l-i-e.com/artists.htm

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



Re: [PHP] php user groups - searching for php developers for a project...

2005-04-01 Thread Matthew Fonda
Im not sure if you have checked it, but there is a calender on www.php.net 
with a list of a lot of user group events, perhaps you could find one there.


hi...
we're trying to find php developers/partners for a project, and we're
wondering if there are php user groups in the cali/bay area (san fran/san
jose) area that we can talk with, attend meetings, etc...
searching google didn't really turn up anything... we know that there are
some php job sites, but we didn't want to post there, given that this 
isn't
a 'salaried' opportunity. this would be strictly startup/sweat equity, 
ie..
risky as hell!!

thanks
bruce
[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] php user groups - searching for php developers for a project...

2005-04-01 Thread bruce
hi...

we're trying to find php developers/partners for a project, and we're
wondering if there are php user groups in the cali/bay area (san fran/san
jose) area that we can talk with, attend meetings, etc...

searching google didn't really turn up anything... we know that there are
some php job sites, but we didn't want to post there, given that this isn't
a 'salaried' opportunity. this would be strictly startup/sweat equity, ie..
risky as hell!!

thanks

bruce
[EMAIL PROTECTED]

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



[PHP] PHP & User Interface

2004-06-05 Thread Galen
I've been working with PHP for a few years now. I like doing the "real" 
programming that really does something, but I find I'm wasting a great 
deal of time working with UI via HTML.

Are there any setups (classes, functions, etc) for PHP that drastically 
streamline working with the UI? Especially form-related things, it's 
really annoying to deal with. Also security is another concern, having 
to double check that the contents of the form submit (i.e. menu) are 
valid and include what you handed out in the first place can be very 
obnoxious! I know I could code something to accelerate this process, 
but before I look at doing this (and spend hours upon hours doing it), 
I want to check and see that nothing else is already out there.

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


Re: [PHP] php user management functionality

2004-05-01 Thread Travis Low
I wrote a job-tracking/workflow management application called Willow Job 
Tracker.  You can download a copy of the free GPL version from here:

  http://dawnstar.com/index.php?display=ProductDetails&id=780

And there's a demo here:

  http://dawnstar.com/wjtf/

Login to the demo using admin/admin.

Currently, only the MySQL DB is supported, but you can add support for other 
databases by implementing the Db.class.php for each database.

Also, there are no provisions for denying based on IP, but you could add that 
pretty easily.  Though I question the utility of that, since so many people 
live behind firewalls.

As for user registration, you'd have to clone the Add User page to make a 
Registration page, but that should be pretty easy too.

Other than that, I think it has everything you listed.  You'd have to rip out 
the job tracking stuff, but frankly, you could just remove the links and leave 
the code.  There is also extensive documentation to help you get started with 
your customizations.

Have fun.

cheers,

Travis

bruce wrote:
hey

doing some basic research... has anyone found a seriously good user
management script (preferably free) that can be incorporated within a web
application.
i'm looking for something that allows for the following functions:
 - user registration/login
 - admin function
 - group/team definition
 - email verification
 - database driven (mysql/postgres)
 - ability to grant user multiple rights/access levels
 - ability to check/deny by IP Address
 - session based function
 - page security
 - linux/apache/php
we've seen a few, but nothing that really grabs us we're considering
taking something like phpbb/gforge and just ripping the login/admin function
out, although we'd prefer another approach but if we have to rip the
functionality out of another app, has anybody seen an app (open source/free)
that has a serious login/admin/user management function that we should look
at...
thanks

bruce
[EMAIL PROTECTED]
--
Travis Low


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


[PHP] php user management functionality

2004-05-01 Thread bruce
hey

doing some basic research... has anyone found a seriously good user
management script (preferably free) that can be incorporated within a web
application.

i'm looking for something that allows for the following functions:
 - user registration/login
 - admin function
 - group/team definition
 - email verification
 - database driven (mysql/postgres)
 - ability to grant user multiple rights/access levels
 - ability to check/deny by IP Address
 - session based function
 - page security
 - linux/apache/php

we've seen a few, but nothing that really grabs us we're considering
taking something like phpbb/gforge and just ripping the login/admin function
out, although we'd prefer another approach but if we have to rip the
functionality out of another app, has anybody seen an app (open source/free)
that has a serious login/admin/user management function that we should look
at...

thanks

bruce
[EMAIL PROTECTED]

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



[PHP] PHP user group

2003-07-01 Thread Erich Kolb
Does anyone know of a PHP user group near Gurnee, IL.  I found one in
Chicago, but its a little far to go and they meet in the middle of the day
on Sat.



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



RE: [PHP] PHP User Groups

2003-03-15 Thread John W. Holmes
> Is or has anyone here been part of or started a PHP user group? I am
> thinking it would be a great thing to get started in my area (maybe
one
> already exists?) and I was looking for suggestions on how to go about
> it and things to know before getting started, etc.
> BTW. I live in Southern New Jersey (USA)

Check http://php.meetup.com/ for your area.

---John W. Holmes...

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



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



[PHP] PHP User Groups

2003-03-15 Thread Charles Kline
Hi all,

Is or has anyone here been part of or started a PHP user group? I am 
thinking it would be a great thing to get started in my area (maybe one 
already exists?) and I was looking for suggestions on how to go about 
it and things to know before getting started, etc.
BTW. I live in Southern New Jersey (USA)

Please feel free to contact me off list.

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


RE: [PHP] PHP User Name on Win2000

2002-10-02 Thread John W. Holmes

If you are using IIS, then PHP runs as the IIS user,
IUSR_. If your computer name is Mango, then it'd be
IUSR_MANGO.

---John Holmes...

> -Original Message-
> From: Ionut Ciocirlan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 02, 2002 2:54 PM
> To: PHP List
> Subject: Re: [PHP] PHP User Name on Win2000
> 
> The one that accesses the filesystem through PHP is the webserver
itself,
> not PHP. And as your server is probably instaleld as a service, it
runs
> under SYSTEM credentials.
> 
> - Original Message -
> From: "[-^-!-%-" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 02, 2002 9:43 PM
> Subject: [PHP] PHP User Name on Win2000
> 
> 
> >
> > Hello everyone!
> >
> > On Win 2k, what is PHP's user name?  Or, what username does PHP
access
> > files (on the system) as?
> >
> > -john
> >
> > =P e p i e  D e s i g n s
> >  www.pepiedesigns.com
> >  Providing Solutions That Increase Productivity
> >
> >  Web Developement. Database. Hosting. Multimedia.
> >
> >
> >
> > --
> > 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] PHP User Name on Win2000

2002-10-02 Thread Ionut Ciocirlan

The one that accesses the filesystem through PHP is the webserver itself,
not PHP. And as your server is probably instaleld as a service, it runs
under SYSTEM credentials.

- Original Message -
From: "[-^-!-%-" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 02, 2002 9:43 PM
Subject: [PHP] PHP User Name on Win2000


>
> Hello everyone!
>
> On Win 2k, what is PHP's user name?  Or, what username does PHP access
> files (on the system) as?
>
> -john
>
> =P e p i e  D e s i g n s
>  www.pepiedesigns.com
>  Providing Solutions That Increase Productivity
>
>  Web Developement. Database. Hosting. Multimedia.
>
>
>
> --
> 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] PHP User Name on Win2000

2002-10-02 Thread [-^-!-%-


Hello everyone!

On Win 2k, what is PHP's user name?  Or, what username does PHP access
files (on the system) as?

-john

=P e p i e  D e s i g n s
 www.pepiedesigns.com
 Providing Solutions That Increase Productivity

 Web Developement. Database. Hosting. Multimedia.



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




RE: [PHP] PHP User Permissions

2002-09-13 Thread Jay Blanchard

[snip]
Does anyone know how to define a PHP script (within itself) to run as a
certain user. Currently my PHP scirpt runs as "nobody" and I need to change
the user it runs as temporarily to get certain permissions to update a file.
[/snip]

A running script cannot change its own permissions, and if accessed from the
browser will always run as Apache allows (which is generally
nobody/nogroup). What you need to do is change the permission/owner of the
file that you're trying to update with either chown(), chmod(), or both.

HTH!

Jay

Good Judgement comes from experience; experience comes from Poor Judgement

*
* Texas PHP Developers Conf  Spring 2003*
* T Bar M Resort & Conference Center*
* New Braunfels, Texas  *
* Contact [EMAIL PROTECTED]   *
*   *
* Want to present a paper or workshop? Contact now! *
*



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




[PHP] PHP User Permissions

2002-09-13 Thread Doug Kozar

Does anyone know how to define a PHP script (within itself) to run as a
certain user. Currently my PHP scirpt runs as "nobody" and I need to change
the user it runs as temporarily to get certain permissions to update a file.
Thank you.



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




RE: [PHP] PHP: User Authentication Script

2002-08-27 Thread Vail, Warren

Sounds like you've identified your problem.  I have never installed a module
but you can check out http://www.apache.org/ for some help installing
modules on the Apache server.  I believe it involves compiling the server,
for Windows platforms I believe you need Visual C++ 6.0.

If that is to technically demanding you can checkout several pre-packaged
distributions of Apache, PHP, MySQL, Perl and the like, looking for one
where PHP is installed as a Mod (don't personally know of any).  For a
fairly complete list of packages check out;

http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/

Sooner, or later, you will probably reach a point where it will become more
expedient for you to write your own authentication, which is what most
application developers do.  This has the advantage of allowing you to set up
your application security independent of your server or database security.

hope this helps,

Warren Vail
Tools, Metrics & Quality Processes

-Original Message-
From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 8:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP: User Authentication Script


In my
phpinfo()

I get:
php version 4.0.0

Server_APICGI
..

Is this why it is not working?

If so, how does one install PHP as a "module"?

Please advise.
Thank you.

TR
...

Warren Vail wrote in message:

> http://www.php.net/manual/en/features.http-auth.php also mentions that
http
> auth does not work when running php as a CGI, which may also give these
> symptoms.




-- 
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] PHP: User Authentication Script

2002-08-27 Thread @ Edwin
You can insert the line at the very end of your httpd.conf file...

I'm sure you can find more info here...

  http://www.php.net/manual/en/install.windows.php

- E

>
>Thank you for the reply Farianto.
>
>Exactly where in the
>
>httpd.conf file
>
>should I insert that line?
>
>If you could copy and paste the line *above* and *below* in the httpd.conf
>file that already exists so I know the location I would appreciate it.
>
>Thanks again.
>TR
>
>for example:
>
># blahblah1
>
>Load Module PHP4_Module c:/Apache/php/sapi/php4apache.dll  // insert this
>line
>
># blahblah2
>..
>
>
>- Original Message -
>From: Farianto Kurniawan <[EMAIL PROTECTED]>
>To: Anthony Ritter <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>
>Sent: Monday, August 26, 2002 10:36 PM
>Subject: Re: [PHP] PHP: User Authentication Script
>
>
> > ...hello .. Mr.Anthony Ritter ..
> >
> > Actually I have faced the same problem with you but right now I can fix 
it
>.
> >
> > What you must do is :
> > 1. Turn off your Apache Web Server
> > 2. Edit your httpd.conf file from folder conf under Apache folder.
> > 3. Please add this sentence  --   LoadModule php4_module
> > c:/Apache/php/sapi/php4apache.dll   -- in it. (the important thing   
that
> > php4apache.dll is in that directory , if itsn't change it to the right
> > position.
> > 4. Save it
> > 5. Turn Your Apache Web Server on.
> >
> > I hope it can work know...
> >
> > Regards,
> >
> > Farianto.K
> > PT.Yosibara Inti Corpora
> > Phone: 62-21-5267645/46
> > Indonesia
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php




_
$B2q0wEPO?$OL5NA!&=<http://auction.msn.co.jp/


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


Re: [PHP] PHP: User Authentication Script

2002-08-27 Thread Anthony Ritter

Thank you for the reply Farianto.

Exactly where in the

httpd.conf file

should I insert that line?

If you could copy and paste the line *above* and *below* in the httpd.conf
file that already exists so I know the location I would appreciate it.

Thanks again.
TR

for example:

# blahblah1

Load Module PHP4_Module c:/Apache/php/sapi/php4apache.dll  // insert this
line

# blahblah2
..


- Original Message -
From: Farianto Kurniawan <[EMAIL PROTECTED]>
To: Anthony Ritter <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, August 26, 2002 10:36 PM
Subject: Re: [PHP] PHP: User Authentication Script


> ...hello .. Mr.Anthony Ritter ..
>
> Actually I have faced the same problem with you but right now I can fix it
.
>
> What you must do is :
> 1. Turn off your Apache Web Server
> 2. Edit your httpd.conf file from folder conf under Apache folder.
> 3. Please add this sentence  --   LoadModule php4_module
> c:/Apache/php/sapi/php4apache.dll   -- in it. (the important thing   that
> php4apache.dll is in that directory , if itsn't change it to the right
> position.
> 4. Save it
> 5. Turn Your Apache Web Server on.
>
> I hope it can work know...
>
> Regards,
>
> Farianto.K
> PT.Yosibara Inti Corpora
> Phone: 62-21-5267645/46
> Indonesia




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




Re: [PHP] PHP: User Authentication Script

2002-08-26 Thread Farianto Kurniawan

...hello .. Mr.Anthony Ritter ..

Actually I have faced the same problem with you but right now I can fix it .

What you must do is :
1. Turn off your Apache Web Server
2. Edit your httpd.conf file from folder conf under Apache folder.
3. Please add this sentence  --   LoadModule php4_module
c:/Apache/php/sapi/php4apache.dll   -- in it. (the important thing   that
php4apache.dll is in that directory , if itsn't change it to the right
position.
4. Save it
5. Turn Your Apache Web Server on.

I hope it can work know...

Regards,

Farianto.K
PT.Yosibara Inti Corpora
Phone: 62-21-5267645/46
Indonesia


- Original Message -
From: "Anthony Ritter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 27, 2002 10:01 AM
Subject: Re: [PHP] PHP: User Authentication Script


> In my
> phpinfo()
>
> I get:
> php version 4.0.0
>
> Server_APICGI
> ..
>
> Is this why it is not working?
>
> If so, how does one install PHP as a "module"?
>
> Please advise.
> Thank you.
>
> TR
> ...
>
> Warren Vail wrote in message:
>
> > http://www.php.net/manual/en/features.http-auth.php also mentions that
> http
> > auth does not work when running php as a CGI, which may also give these
> > symptoms.
>
>
>
>
> --
> 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] PHP: User Authentication Script

2002-08-26 Thread Anthony Ritter

In my
phpinfo()

I get:
php version 4.0.0

Server_APICGI
..

Is this why it is not working?

If so, how does one install PHP as a "module"?

Please advise.
Thank you.

TR
...

Warren Vail wrote in message:

> http://www.php.net/manual/en/features.http-auth.php also mentions that
http
> auth does not work when running php as a CGI, which may also give these
> symptoms.




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




RE: [PHP] PHP: User Authentication Script

2002-08-26 Thread Vail, Warren

Was this before supplying the password or after?

I believe this log entry may be normal when authentication fails.

I also believe the message you got on your browser means that the 401 error
page is missing from your apache installation.

http://www.php.net/manual/en/features.http-auth.php also mentions that http
auth does not work when running php as a CGI, which may also give these
symptoms.

Warren Vail
Tools, Metrics & Quality Processes

-Original Message-
From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 7:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP: User Authentication Script


Thanks for the reply Warren.

It says...

[Mon Aug 26 20:46:13 2002] [error] [client 127.0.0.1] malformed header from
script. Bad header=HTTP/1.0 401 Unauthorized: c:/php4/php.exe
...


- Original Message -
From: Vail, Warren <[EMAIL PROTECTED]>
To: 'Anthony Ritter' <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, August 26, 2002 7:49 PM
Subject: RE: [PHP] PHP: User Authentication Script


> What does your apache server log say?
>
>
> Warren Vail
> Tools, Metrics & Quality Processes
> (415) 667-7814
> Pager (877) 774-9891
> 215 Fremont 02-658
.

> -Original Message-
> From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 6:51 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP: User Authentication Script
>
>
> Using Apache / Windows 98 / PHP / mySQL
>
> The following script is from Julie Meloni's book "PHP Essentials"
> (PrimaTech) on page 138.
>
> I've copied the script from her site and tried to run it and get the
> following:
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
unable
> to complete your request.
> Please contact the server administrator, [EMAIL PROTECTED] and inform them of
> the time the error occurred, and anything you might have done that may
have
> caused the error.
>
> More information about this error may be available in the server error
log.
>
> --
>
> Apache/1.3.12 Server at localhost Port 80
> ---
>
> The following is the script:
>
> 
> if (!isset($PHP_AUTH_USER))
>
>
> header('WWW-Authenticate: Basic realm="My Private Stuff"');
> header('HTTP/1.0 401 Unauthorized');
> echo 'Authorization Required.';
> exit;
>
> } else
>
>
> if (($PHP_AUTH_USER == "jane") && ($PHP_AUTH_PW == "mypassword"))
>
>
> echo "You have entered this username: $PHP_AUTH_USER";
> echo "You have entered this password: $PHP_AUTH_PW";
> echo "The authorization type is: $PHP_AUTH_TYPE.";
>
> } else
>
>
> echo "You are not authorized!";
>
> }
>
> }
>
> ?>




Warren Vail <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What does your apache server log say?
>
>
> Warren Vail
> Tools, Metrics & Quality Processes
> (415) 667-7814
> Pager (877) 774-9891
> 215 Fremont 02-658
>
>
> -Original Message-
> From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 6:51 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP: User Authentication Script
>
>
> Using Apache / Windows 98 / PHP / mySQL
>
> The following script is from Julie Meloni's book "PHP Essentials"
> (PrimaTech) on page 138.
>
> I've copied the script from her site and tried to run it and get the
> following:
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
unable
> to complete your request.
> Please contact the server administrator, [EMAIL PROTECTED] and inform them of
> the time the error occurred, and anything you might have done that may
have
> caused the error.
>
> More information about this error may be available in the server error
log.
>
> --
>
> Apache/1.3.12 Server at localhost Port 80
> ---
>
> The following is the script:
>
> 
> if (!isset($PHP_AUTH_USER))
>
>
> header('WWW-Authenticate: Basic realm="My Private Stuff"');
> header('HTTP/1.0 401 Unauthorized');
> echo 'Authorization Required.';
> exit;
>
> }

Re: [PHP] PHP: User Authentication Script

2002-08-26 Thread Anthony Ritter

Thanks for the reply Warren.

It says...

[Mon Aug 26 20:46:13 2002] [error] [client 127.0.0.1] malformed header from
script. Bad header=HTTP/1.0 401 Unauthorized: c:/php4/php.exe
...


- Original Message -
From: Vail, Warren <[EMAIL PROTECTED]>
To: 'Anthony Ritter' <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, August 26, 2002 7:49 PM
Subject: RE: [PHP] PHP: User Authentication Script


> What does your apache server log say?
>
>
> Warren Vail
> Tools, Metrics & Quality Processes
> (415) 667-7814
> Pager (877) 774-9891
> 215 Fremont 02-658
.

> -Original Message-
> From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 6:51 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP: User Authentication Script
>
>
> Using Apache / Windows 98 / PHP / mySQL
>
> The following script is from Julie Meloni's book "PHP Essentials"
> (PrimaTech) on page 138.
>
> I've copied the script from her site and tried to run it and get the
> following:
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
unable
> to complete your request.
> Please contact the server administrator, [EMAIL PROTECTED] and inform them of
> the time the error occurred, and anything you might have done that may
have
> caused the error.
>
> More information about this error may be available in the server error
log.
>
> --
>
> Apache/1.3.12 Server at localhost Port 80
> ---
>
> The following is the script:
>
> 
> if (!isset($PHP_AUTH_USER))
>
>
> header('WWW-Authenticate: Basic realm="My Private Stuff"');
> header('HTTP/1.0 401 Unauthorized');
> echo 'Authorization Required.';
> exit;
>
> } else
>
>
> if (($PHP_AUTH_USER == "jane") && ($PHP_AUTH_PW == "mypassword"))
>
>
> echo "You have entered this username: $PHP_AUTH_USER";
> echo "You have entered this password: $PHP_AUTH_PW";
> echo "The authorization type is: $PHP_AUTH_TYPE.";
>
> } else
>
>
> echo "You are not authorized!";
>
> }
>
> }
>
> ?>




Warren Vail <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What does your apache server log say?
>
>
> Warren Vail
> Tools, Metrics & Quality Processes
> (415) 667-7814
> Pager (877) 774-9891
> 215 Fremont 02-658
>
>
> -Original Message-
> From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 6:51 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP: User Authentication Script
>
>
> Using Apache / Windows 98 / PHP / mySQL
>
> The following script is from Julie Meloni's book "PHP Essentials"
> (PrimaTech) on page 138.
>
> I've copied the script from her site and tried to run it and get the
> following:
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
unable
> to complete your request.
> Please contact the server administrator, [EMAIL PROTECTED] and inform them of
> the time the error occurred, and anything you might have done that may
have
> caused the error.
>
> More information about this error may be available in the server error
log.
>
> --
>
> Apache/1.3.12 Server at localhost Port 80
> ---
>
> The following is the script:
>
> 
> if (!isset($PHP_AUTH_USER))
>
>
> header('WWW-Authenticate: Basic realm="My Private Stuff"');
> header('HTTP/1.0 401 Unauthorized');
> echo 'Authorization Required.';
> exit;
>
> } else
>
>
> if (($PHP_AUTH_USER == "jane") && ($PHP_AUTH_PW == "mypassword"))
>
>
> echo "You have entered this username: $PHP_AUTH_USER";
> echo "You have entered this password: $PHP_AUTH_PW";
> echo "The authorization type is: $PHP_AUTH_TYPE.";
>
> } else
>
>
> echo "You are not authorized!";
>
> }
>
> }
>
> ?>
>
>
>
>
> --
> 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] PHP: User Authentication Script

2002-08-26 Thread Vail, Warren

What does your apache server log say?


Warren Vail
Tools, Metrics & Quality Processes
(415) 667-7814
Pager (877) 774-9891
215 Fremont 02-658


-Original Message-
From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 6:51 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP: User Authentication Script


Using Apache / Windows 98 / PHP / mySQL

The following script is from Julie Meloni's book "PHP Essentials"
(PrimaTech) on page 138.

I've copied the script from her site and tried to run it and get the
following:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error log.

--

Apache/1.3.12 Server at localhost Port 80
---

The following is the script:

You have entered this username: $PHP_AUTH_USER";
echo "You have entered this password: $PHP_AUTH_PW";
echo "The authorization type is: $PHP_AUTH_TYPE.";

} else


echo "You are not authorized!";

}

}

?>




-- 
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] PHP: User Authentication Script

2002-08-26 Thread Anthony Ritter

Using Apache / Windows 98 / PHP / mySQL

The following script is from Julie Meloni's book "PHP Essentials"
(PrimaTech) on page 138.

I've copied the script from her site and tried to run it and get the
following:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error log.

--

Apache/1.3.12 Server at localhost Port 80
---

The following is the script:

You have entered this username: $PHP_AUTH_USER";
echo "You have entered this password: $PHP_AUTH_PW";
echo "The authorization type is: $PHP_AUTH_TYPE.";

} else


echo "You are not authorized!";

}

}

?>




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




[PHP] PHP User Group

2002-08-15 Thread B i g D o g

Is anyone here have any information on the PHP Users Group of Salt Lake
City, Utah?

Thanks,

.: B i g D o g :.




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