Re: [PHP] Problem with FTP and fopen
no sure if this helps but i had a similar problem with php < 4.3 . Afeter upgrading from 4.2.3 ftp worked fine. On 11 Feb 2003, Adam Voigt wrote: > I don't think PHP checks to see what FTPD your running, it's probably a > bug > in PureFTPD as opposed to PHP (since it works in WU). > > On Tue, 2003-02-11 at 10:10, Chris Boget wrote: > > OK, I used the php ftp_put function successfully to upload a file. > But > this is not what I need. I need to use the ftp_fput function to > transfer > from a file pointer. This function failed to transfer the file with > Pureftp server but transfers successfully using Wu-ftp. Any ideas on > why > Pureftp is failing to trasfer from a file point? I don't understand > why > it would even know the difference. Possible a bug in PHP? > > On Mon, 2003-02-10 at 13:30, Craig Jackson wrote: > > Anyone have any idea why this script cause a file to be created > without > > the contents? > > > > > > set_time_limit(1200); > > $filename = "testthis"; > > $fp = > fopen("<a href="ftp://user:pass@server/outbound/devel/$filename"">ftp://user:pass@server/outbound/devel/$filename"</a>;, > > "w"); > > $tran_info = sprintf( "%-10s\n","testthis"); > > echo "$tran_info"; > > fputs($fp, $tran_info ); > > fclose($fp); > > > > > > Using the latest version of pure-ftpd from source on Linux. > > -- > > > > Craig Jackson > > __ > > Wildnet Group LLC > > 103 North Park, Suite 110 > > Covington, Lousiana 70433 > > Office 985-875-9453 > > __ > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > -- > > Craig Jackson > __ > Wildnet Group LLC > 103 North Park, Suite 110 > Covington, Lousiana 70433 > Office 985-875-9453 > __ > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- Robin Mordasiewicz 416-207-7012 UNIX Administrator Primus Canada -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] default php sessions in a database
Is there a way to configure php to use a database for sessions rather than a text file. I have a server farm and want the session files to be accessible to all machines in the cluster. I can have the session file on nfs but I am worried about file locking. I have read tutorials on how to set session.save_handler = user and then each script configures their seesion variables and connections, but I want this to be transparant to my users. I do not want users to have to change anything in their scripts. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] msession users
Are there any msession users here, if so please share your experiences. I am considering using msession for a multiple server environment for handling session data. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] msession users
Any information would definitely be interesting. On Wed, 12 Feb 2003, Tom Rogers wrote: > Hi, > > Wednesday, February 12, 2003, 4:01:28 PM, you wrote: > RM> Are there any msession users here, if so please share your experiences. > RM> I am considering using msession for a multiple server environment for > RM> handling session data. > > I have been using it as a general session manager for about a year without ever > having any problems. I have a class to replace the normal php session handler if > you would like to take a look at it. > > -- Robin Mordasiewicz 416-207-7012 UNIX System Developer Primus Canada -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] buildconf: Your version of autoconf likely contains buggy cache code
when I run buildconf I get this message. Everything seems to work ok but Can someone explain this warning. buildconf: autoconf version 2.53 (ok) buildconf: Your version of autoconf likely contains buggy cache code. Running cvsclean for you. To avoid this, install autoconf-2.13 and automake-1.5. buildconf: automake version 1.6.3 (ok) buildconf: libtool version 1.4.2 (ok) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] mail function - using remote smtp in php.ini
IS there a way to tell php to use a remote smtp daemon for its mta under UNIX. I see in the example it looks like windows can be configured to use a remote smtp. If so what is the syntax. [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = [EMAIL PROTECTED] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php.ini for UNIX sendmail????
Is there any way to specify to use a remote smtp server in the php.ini On Tue, 18 Feb 2003, Scott Fletcher wrote: > Well, okay, even with the '\r\n' path, I still have problem. Here's the new script >and I retested it. > > --clip-- > $message = "This is a test"; > > mail("[EMAIL PROTECTED]", "the subject", $message, > "From: webmaster@$SERVER_NAME\r\n" > ."Return-Path: [EMAIL PROTECTED]\r\n" > ."Reply-To: webmaster@$SERVER_NAME\r\n" > ."X-Mailer: PHP/".phpversion()."\r\n"); > --clip-- > > So far, I never got the email at yahoo and I never got the email at abcoa.com. > "Adam Voigt" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Well your missing your \r\n at the end of your return path. > > On Tue, 2003-02-18 at 10:57, Scott Fletcher wrote: > Here's the command... > > --clip-- > mail("[EMAIL PROTECTED]", "the subject", $message, > "From: webmaster@$SERVER_NAME\r\n" > ."Return-Path: [EMAIL PROTECTED]" > ."Reply-To: webmaster@$SERVER_NAME\r\n" > ."X-Mailer: PHP/" . phpversion()); > --clip-- > > The bad thing is that when I send the mail. I never get an email back when >something is not working right by using the return-path. > > > "Adam Voigt" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Oh, ok, well how about your PHP code then (the actual mail() line)? > > On Tue, 2003-02-18 at 10:34, Scott Fletcher wrote: > Here's is the response to the command, 'where sendmail'. > >>bash: where: command not found > > So, I don't have a where command but I did the phpinfo() and it showed . > > --clip-- > Directive || Local Value || master value > > > sendmail_from || no value || no value > sendmail_path || /usr/sbin/sendmail -t -i || /usr/sbin/sendmail -t -i > --clip-- > > I don't have email problem when I send email to anywhere, the only problem is >the yahoo itself... > > Thanks... > "Adam Voigt" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Umm, are you asking for Sendmail's path? > It's usually /usr/bin/sendmail -t -i but you can verify where it is > on your system by typing "where sendmail". > > On Tue, 2003-02-18 at 10:25, Scott Fletcher wrote: > Hi! > > What is the appropriate filepath with the flag command for the sendmail on > the UNIX machine?? I send an email to yahoo and got the error message which > I'm going to paste it here... > > --clip-- > - The following addresses had permanent fatal errors - > [EMAIL PROTECTED] > > --- The transcript of the session follows --- > ... while talking to mx2.mail.yahoo.com.: > >>> MAIL From: SIZE=40 > <<< 501 Syntax error in parameters or arguments > 501 [EMAIL PROTECTED] Data format error > --clip-- > > One thing I know for sure is that the sendmail is working and that hte > PHP code is working. I don't think I did the bad php command. Could it be > the sendmail command be set wrong??? > > Thanks, > FletchSOD > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > Adam Voigt ([EMAIL PROTECTED]) > The Cryptocomm Group > My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc > -- > Adam Voigt ([EMAIL PROTECTED]) > The Cryptocomm Group > My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc > -- Robin Mordasiewicz 416-207-7012 UNIX System Developer Primus Canada -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php