How do I recollect my password?
Call to undefined function printer_open()
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > PHP web-programming > Call to undefined function printer_open() 28 March 2008 23:27:55

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Topic is moderated by the author — saritha.

Call to undefined function printer_open()

saritha 28 March 2008 23:27:55
 hie,i am attempting to use printer_open() but i am receiving the following error when i test through dl()

dl() [function.dl]: Not supported in multithreaded Web servers - use extension=printer in your php.ini in C:\AppServ\www\fyp\­ext_load.php on line 3

This is my code:
<?php
// Example loading an extension based on OS
if (!extension_loaded(­'printer'))
{
if (strtoupper(substr(­PHP_OS, 0, 3) == 'WIN'))
{
dl('printer');
}
else {
dl('printer.so');
}
}
// Or, the PHP_SHLIB_SUFFIX constant is available as of PHP 4.3.0
if (!extension_loaded(­'printer'))
{
$prefix = (PHP_SHLIB_SUFFIX == 'dll') ? 'php_' : '';
dl($prefix . 'printer.' . PHP_SHLIB_SUFFIX);
}
?>

why i cant load it? i am using AppServ 2.5.9.
i did the following configuration.
extension_dir = "C:\AppServ\php5\ex­t"

//uncommenting the wants one
;extension=php_mssq­l.dll
extension=php_mysql­.dll
;extension=php_mysq­li.dll
extension=php_print­er.dll

i have copied php_printer.dll into ext directory and libmysql.dll in c:/windows/system32­
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > PHP web-programming > Call to undefined function printer_open() 28 March 2008 23:27:55

see also:
FW: usage of keyword "our"
win32::RASE
Environment sourcing in perl script
пройди тесты:
Do you know women?
see also:
ABOUT FDG
How FDG control toner cartridge…
Quality toner cartridge of 435 436

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .