[PHP] How to authnticate and use contents from ${HOME}

2009-07-11 Thread schneider . chantale
Hello,

My name ich Chantale, I am 15years old and in a german Lycee. I like to study
Informatic in two years and now try to code my first applications. I am new to
php and like to code my own Intranet Web-Interface which should run on my
FileServer at home.

I have installed libapache2-mod-suphp and php5-auth-pam, but it
seems to be not the thing I need.

What I need is, that a ${USER} can login and work on her/his ${HOME}.

And NO, the /~${USER} thing is definitively not what I want.

How can I archive this?

Thank you
Chantale







#adBox3 {display:none;}



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



Re: Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-11 Thread schneider . chantale
What is xamp?

I have my own webinterface and need only to authenticate
the loginuser to let him/her work on the ${HOME}

Thanks
Chantale

- original Nachricht 

Betreff: Re: [PHP] How to authnticate and use contents from ${HOME}
Gesendet: Mo 06 Jul 2009 15:14:16 CEST
Von: Bastien Koertphps...@gmail.com

 Try xamp or one of the preconfigured packages
 
 bastien







#adBox3 {display:none;}



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



Re: Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-11 Thread schneider . chantale
Hello Isaac,

 http://en.wikipedia.org/wiki/List_of_LAMP_Packages

I am not interested in LDAP and MySQL stuff.
This is overkill for my Intranet Server.

 What are you wanting to build in your interface?

And as I have written, I am learning PHP-Coding.
So ready-to-use-stuff where no one know how it works is no option.

I have installed php5-auth-pam and it works already, speak,
I get the correct ExitStatus if one try to authenticate.

But this works only (in conjunction with suPHP) if the script run as
root which should not be.

Greetings
Chantale







#adBox3 {display:none;}



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



Re: Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-11 Thread Lenin
On Sat, Jul 11, 2009 at 9:41 PM, schneider.chant...@freenet.de wrote:

 What is xamp?


XAMPP is a preconfigured package for using apache, mysql, php/perl/python on
any platform like linux, mac OS or Windows. Look at www.apachefriends.de


Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-07 Thread Jan G.B.
2009/7/6 Isaac Dover isaacdo...@gmail.com

 Hi Chantale, as Bastien mentioned, a preconfigured package might be the
 best
 way to go. Wikipedia has more information:

 http://en.wikipedia.org/wiki/List_of_LAMP_Packages

 What are you wanting to build in your interface?

  - Isaac

 On Mon, Jul 6, 2009 at 9:14 AM, Bastien Koert phps...@gmail.com wrote:

  Try xamp or one of the preconfigured packages
 
  bastien
 
  On Sunday, July 5, 2009,  schneider.chant...@freenet.de wrote:
   Hello,
  
   My name ich Chantale, I am 15years old and in a german Lycee. I like to
  study Informatic in two years and now try to code my first applications.
 I
  am new to php and like to code my own Intranet Web-Interface which should
  run on my FileServer at home.
  
   I have installed suPHP, but it seems to be not the thing I need,
 because
  it works only on a VHost.
  
   What I need is, that a ${USER} can login and work on her/his ${HOME}.
  
   How can I archive this?
  
   Thank you
   Chantale
  
  




Installing LAMP is not a good idea for productive servers. Always stick with
the Packages of your distribution to get all upgrades.
Activating a module isn't hard at all, so... there's not really a need for
packages like LAMP on a unix-like OS.
The point in not using such Packages like LAMP on a system which isn't
productive is learning to set up a productive server. You decide.

mod_auth_pam might be a way fo accomplish what you want.

Just my two cent.


Re: Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-07 Thread Carl Furst
PHP may not be the thing to do this.. because it sounds like you want
the users to chroot to ${HOME}  which php especially on a vhost does not do.


If you want users to access an nfs or ftp I would use either samba or
vsftp or some other scp/ftp software.
Jan G.B. wrote:
 2009/7/6 Isaac Dover isaacdo...@gmail.com

   
 Hi Chantale, as Bastien mentioned, a preconfigured package might be the
 best
 way to go. Wikipedia has more information:

 http://en.wikipedia.org/wiki/List_of_LAMP_Packages

 What are you wanting to build in your interface?

  - Isaac

 On Mon, Jul 6, 2009 at 9:14 AM, Bastien Koert phps...@gmail.com wrote:

 
 Try xamp or one of the preconfigured packages

 bastien

 On Sunday, July 5, 2009,  schneider.chant...@freenet.de wrote:
   
 Hello,

 My name ich Chantale, I am 15years old and in a german Lycee. I like to
 
 study Informatic in two years and now try to code my first applications.
   
 I
 
 am new to php and like to code my own Intranet Web-Interface which should
 run on my FileServer at home.
   
 I have installed suPHP, but it seems to be not the thing I need,
 
 because
 
 it works only on a VHost.
   
 What I need is, that a ${USER} can login and work on her/his ${HOME}.

 How can I archive this?

 Thank you
 Chantale


 



 Installing LAMP is not a good idea for productive servers. Always stick with
 the Packages of your distribution to get all upgrades.
 Activating a module isn't hard at all, so... there's not really a need for
 packages like LAMP on a unix-like OS.
 The point in not using such Packages like LAMP on a system which isn't
 productive is learning to set up a productive server. You decide.

 mod_auth_pam might be a way fo accomplish what you want.

 Just my two cent.

   

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



[PHP] How to authnticate and use contents from ${HOME}

2009-07-06 Thread schneider . chantale
Hello,

My name ich Chantale, I am 15years old and in a german Lycee. I like to study 
Informatic in two years and now try to code my first applications. I am new to 
php and like to code my own Intranet Web-Interface which should run on my 
FileServer at home.

I have installed suPHP, but it seems to be not the thing I need, because it 
works only on a VHost.

What I need is, that a ${USER} can login and work on her/his ${HOME}.

How can I archive this?

Thank you
Chantale







#adBox3 {display:none;}



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



Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-06 Thread Bastien Koert
Try xamp or one of the preconfigured packages

bastien

On Sunday, July 5, 2009,  schneider.chant...@freenet.de wrote:
 Hello,

 My name ich Chantale, I am 15years old and in a german Lycee. I like to study 
 Informatic in two years and now try to code my first applications. I am new 
 to php and like to code my own Intranet Web-Interface which should run on my 
 FileServer at home.

 I have installed suPHP, but it seems to be not the thing I need, because it 
 works only on a VHost.

 What I need is, that a ${USER} can login and work on her/his ${HOME}.

 How can I archive this?

 Thank you
 Chantale







 #adBox3 {display:none;}



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



-- 

Bastien

Cat, the other other white meat

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



Re: [PHP] How to authnticate and use contents from ${HOME}

2009-07-06 Thread Isaac Dover
Hi Chantale, as Bastien mentioned, a preconfigured package might be the best
way to go. Wikipedia has more information:

http://en.wikipedia.org/wiki/List_of_LAMP_Packages

What are you wanting to build in your interface?

 - Isaac

On Mon, Jul 6, 2009 at 9:14 AM, Bastien Koert phps...@gmail.com wrote:

 Try xamp or one of the preconfigured packages

 bastien

 On Sunday, July 5, 2009,  schneider.chant...@freenet.de wrote:
  Hello,
 
  My name ich Chantale, I am 15years old and in a german Lycee. I like to
 study Informatic in two years and now try to code my first applications. I
 am new to php and like to code my own Intranet Web-Interface which should
 run on my FileServer at home.
 
  I have installed suPHP, but it seems to be not the thing I need, because
 it works only on a VHost.
 
  What I need is, that a ${USER} can login and work on her/his ${HOME}.
 
  How can I archive this?
 
  Thank you
  Chantale
 
 
 
 
 
 
 
  #adBox3 {display:none;}
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 

 --

 Bastien

 Cat, the other other white meat

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