[PHP] unable to use built in functions

2002-03-11 Thread CHANDRA VENKAT RAO



Hi

  When I do ftp_connect() or printer_open() function in my scripts which are 
built in  functions but

I get
 Fatal error. Call to undefined function printer_open() in /home/~web on 
line 11

Pl help me



regards
CVR





_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: [PHP] unable to use built in functions

2002-03-11 Thread Jason Wong

On Monday 11 March 2002 20:07, CHANDRA VENKAT RAO wrote:
 Hi

   When I do ftp_connect() or printer_open() function in my scripts which
 are built in  functions but

FTP functions are only available when you compile PHP with --enable-ftp.

 I get
  Fatal error. Call to undefined function printer_open() in /home/~web
 on line 11

Printer functions are only available on Windows platforms.


Please RTFM.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk

/*
The mosquito exists to keep the mighty humble.
*/

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




Re: [PHP] unable to use built in functions

2002-03-11 Thread Jason Wong

On Monday 11 March 2002 23:31, CHANDRA VENKAT RAO wrote:
 How do I know the php on the  server  is confired with ftp-enabled!

Your PHP setup is NOT configured with --enable-ftp, that is why you're 
getting that error. How did you install PHP, from RPMs? from source?


 sorry I didn't get that Printer function are only available on windows
 platforms

 I written file.php on linux 7.2 with Apache as webserver  but accessing
 from windows os IE5.5. still I get the same error.

Printer functions are only available if the *webserver* (not the 
client/browser) is running on a Windows platform.


Again, please read the manual.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk

/*
BEWARE!  People acting under the influence of human nature.
*/

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