[PHP] Is there a way to call php functions in perl? and vice versa

2001-02-06 Thread david klein
Is there a way to call php functions in perl? or call perl functions from PHP codes? Thanks, David _ Get your FREE download of MSN Explorer at http://explorer.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] how to specify the sender email address in the mail() function?

2001-02-02 Thread david klein
It seems that mail($recipient, $subject, $content) has no place to specify the sender's email address. Does anyone know how to specify the sender's email address? Thanks, David _ Get your FREE download of MSN Explorer at http://exp

Re: [PHP] .htpasswd?

2001-01-31 Thread david klein
Yes, you can, just write a script to call "htpasswd -b yourUserFile userID passwd". :) David >From: James Smith <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: [PHP] .htpasswd? >Date: Wed, 31 Jan 2001 13:21:35 -0800 (PST) > >Is there a way that when a user signs up for

RE: [PHP] Symbolic link fails when User Authentication comes in

2001-01-31 Thread david klein
Johnny, It works, but how could this create a security hole? Could you please expalin a little bit more? Thanks, David >From: "johnny p." <[EMAIL PROTECTED]> >To: "david klein" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: RE: [PHP] Sym

[PHP] Symbolic link fails when User Authentication comes in

2001-01-31 Thread david klein
I am using Apache user authentication, and it works fine. However, if there is a symbolic link inside a securied directory, the symbolic linked file will deny any access. For example, directory "/apps/apache/docs/test1" is a securied directory, and there is a symbolic linked file "file1.txt",

[PHP] Automate the apache authentication process

2001-01-29 Thread david klein
I am using apache authentication. The problem is: I want the user to be able to get registered throught the web GUI, and all the users' password and userID will be kept in the database. In my mind, I can use php later to get all these userID/password, and run the apache htpasswd to register the

Re: [PHP] AUTH_PW & External Authentication

2001-01-29 Thread david klein
I don't think it is easy to steal the password by using PHP_AUTH_PW. PHP_AUTH_PW is cached in the browser, if you exit the browser, nobody can steal it. If the other people is using a different browser, there is no way for him to steal it even if he is accessing the same URL. Just my understa

Re: [PHP] Resize the pop-up window

2001-01-29 Thread david klein
Joe, Got it! Thank you very much. Now the codes are like this:

[PHP] Resize the pop-up window

2001-01-29 Thread david klein
Hello, I know this question is out of PHP, but I'll very appreciate if some guru here could help me out. I have a link, which will pop up a new window, but the problem is: I don't know how to resize the new popped-up window. My code is like this: intel connection Thank you very much in ad

[PHP] can't upload files with more than one dot in the file name.

2001-01-26 Thread david klein
Hello! I am trying to upload the files to the sever. For files that has only one dot such as abc.txt and 123.doc, it works fine. But when uploading files that have more than one dot such as 123.txt.pdf, there's problem, and I tried to echo the $userfile[i], and it is "none". Codes are attached as

[PHP] can't upload files if extension has more than one dot.

2001-01-25 Thread david klein
Hello! I am trying to upload the files to the sever. For files that has only one dot such as abc.txt and 123.doc, it works fine. But when uploading files that have more than one dot such as 123.txt.pdf, there's problem, and I tried to echo the $userfile[i], and it is "none". Codes are attached

Re: [PHP] How does PHP accept multiple selection

2001-01-23 Thread david klein
Shawn, Tested, it works now. Thanks a bunch! Best Regards, David >From: Shawn Blaylock <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: david klein <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: [PHP] How does PHP accept multiple selection >D

[PHP] How does PHP accept multiple selection

2001-01-23 Thread david klein
Hello, I have some codes like: Page 1 Page 2 Page 3 If I selected item 1 and item 3 both, how can I get my multiple selection in the PHP codes? (it seems to me it always give me the last selection only). Thank you very much in advance. Regards, David

[PHP] upload files from the local PC/UNIX to the web sever

2001-01-22 Thread david klein
Hello, Is there a way to upload files from the local PC/UNIX to the web sever? Especially multiple files at the same time? What we need to do at the server and client side? Thank you very much in advance. Best Regards, David _

Re: [PHP] How to get userID/password from the browser session

2001-01-18 Thread david klein
It works! Great! Thank you very much for the great help! Regards, David >From: Ignacio Vazquez-Abrams <[EMAIL PROTECTED]> >To: david klein <[EMAIL PROTECTED]> >Subject: Re: [PHP] How to get userID/password from the browser session >Date: Thu, 18 Jan 2001 18:38:34 -

[PHP] How to get userID/password from the browser session

2001-01-18 Thread david klein
In Apache authentication, userID/password are stored in browser session, and every time, these information will be sent back to the Apache server and do the authentication. My question is: can we get the userID/password from the browser session, especially in PHP? Thank you very much in advan

[PHP] Thanks for all -- Re: [PHP] How to handle multiple lines in PHP?

2001-01-16 Thread david klein
Hi, it works now! Thank everyone very much for the great help, especially Atom and others who helped me out. Have a wonderful day! Best Regards, David >From: <[EMAIL PROTECTED]> >To: david klein <[EMAIL PROTECTED]> >Subject: Re: [PHP] How to handle multiple lines in PH

[PHP] How to handle multiple lines in PHP?

2001-01-16 Thread david klein
I have a textarea in one php page to allow user to leave message. How ever, if the user input(three lines): 123 456 567 after I get it through some php scripts, and put it into database, later on, I try to display it, but it becomes(only one line): 123 456 789 Does anyone know how to handle