[PHP] ?PHP 4.0.5 and ftp_pwd
Hi! ftp_pwd does always return "1" (That is, True?) ?!? What am I doing wrong? ,[ This Code outputs '1'... ] | $Stream = ftp_connect($Server, $Port); | ftp_login($Stream, $Nutzer, $Passwort) || die("Fehler beim Einloggen auf |dem FTP-Server!\n"); | $aktdir = ftp_pwd($Stream) || die("Konnte aktuelles Verzeichnis nicht |lesen!\n"); | echo "Aktuelles Verz.: $aktdir\n"; // $aktdir == 1 ??? ` Greetinx, Gunter Ohrner -- Tourist, Rincewind decided, meant "idiot".-- (Terry Pratchett, The Colour of Magic) +-+-+-+-+ http://www.scheibenwelt.de +-+-+ http://www.lspace.org +-+-+-+-+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Who has PHP4 and FTP experience?
Hi! I'm looking for some hints for the PHP ftp module as I have some problems using it - if anyone has experience in using the PHP ftp module it would be very cool someone could send me an email... Greetinx, Gunter Ohrner -- Tourist, Rincewind decided, meant "idiot".-- (Terry Pratchett, The Colour of Magic) +-+-+-+-+ http://www.scheibenwelt.de +-+-+ http://www.lspace.org +-+-+-+-+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] PHP and xEmacs
Hi! Anyone in here who managed to get xEmacs working with psgml-html and php-mode combined? If yes, which php-mode did you use and what did you do? I use psgml-html and Turadg Aleahmad's php-mode 1.0.2 (I just tried it with Fred Yankowski, too, getting excactly the same results) and tried to combine both using mmm-mode 0.4.7. So far it does work, however I cannot indent the embedded php-code at all... :-( Pressing TAB in a line just causes its indentation to get lost, that is, the line starts at column 1, no matter if it's in a statemant block or somewhere else. Is there any solution to that problem or is there any preferable way to edit embedded PHP code with xEmacs? I'd really like to use psgml-html for the non-PHP-parts of the file as I really got used to it. Greetinx, Gunter Ohrner -- The Supreme Life President of Hell wrote: "What business are we in???" He thought for a bit, and then carefully wrote, underneath: "We are in the damnation business!!!"-- (Terry Pratchett, Eric) -+-+-+-+-+- PDEPP Webserver: http://pdepp.SourceForge.net/ -+-+-+-+-+- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP and xEmacs
Gunter Ohrner wrote: > I use psgml-html and Turadg Aleahmad's php-mode 1.0.2 (I just tried it > with Fred Yankowski, too, getting excactly the same results) and tried to > combine both using mmm-mode 0.4.7. > So far it does work, however I cannot indent the embedded php-code at > all... :-( Pressing TAB in a line just causes its indentation to get lost, To answer my own question: Using the latest mmm-mode from CVS fixes that, indentation still is not perfect but it does at least work - and not too bad at all. :-) Greetinx, Gunter Ohrner -- If the Creator had said, "Let there be light" in Ankh-Morpork, he'd have gotten no further because of all the people saying "What colour?"-- (Terry Pratchett, Men At Arms) -+-+-+-+-+- PDEPP Webserver: http://pdepp.SourceForge.net/ -+-+-+-+-+- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Why?
Matt Parlane wrote: > There's even an RFC published on this: > http://www.faqs.org/rfcs/rfc3092.html "1 April 2001"? ;) The HTTP-based network protocol for controlling coffee machines was not bad, either. I'm already really curious for the RFC published this April, the 1th. :-) Greetinx, Gunter Ohrner -- Nanny Ogg looked him up and down or, at least, down and further down. "You're a dwarf," she said.-- Nanny Ogg meets Casanunda (Terry Pratchett, Witches Abroad) -+-+-+-+-+- PDEPP Webserver: http://pdepp.SourceForge.net/ -+-+-+-+-+- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php