php-windows Digest 18 Apr 2005 15:14:09 -0000 Issue 2637
Topics (messages 25863 through 25865):
Localhost not working with cookies
25863 by: Proudly Pinoy
25864 by: M. Sokolewicz
Call to undefined function printer_open()
25865 by: Nick
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
I've read from php.net/setcookie and codecomments.com that using localhost
won't work with cookies and neither are IP addresses. So how do I test
cookies on local system?
--- End Message ---
--- Begin Message ---
Proudly Pinoy wrote:
I've read from php.net/setcookie and codecomments.com that using
localhost won't work with cookies and neither are IP addresses. So how
do I test cookies on local system?
set the hostname to an empty string;
and 2, don't CROSS-post. That's a *very* bad habit
--- End Message ---
--- Begin Message ---
hey
i want to use that function, but i cant load it :s
content of php.ini:
;extension=php_pgsql.dll
extension=php_printer.dll
;extension=php_shmop.dll
extension_dir = "c:\php\ext"
the file is =>> C:\php\ext\php_printer.dll
this seems correct to me. why wont it load
some more info: i use apache(apache_1.3.31-win32-x86-no_src.exe), win xp
pro, mysql (mysql-4.0.20d-win.zip), php 5.0.1 (php-5.0.1-Win32.zip)
this didnt work ==> multithreaded
// Example loading an extension based on OS
if (!extension_loaded('printer')) {
if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) {
dl('php_printer.dll');
} else {
dl('printer.so');
}
}
System Windows NT PCNICK 5.1 build 2600
Build Date Aug 12 2004 23:30:01
Configure Command cscript /nologo configure.js "--with-gd=shared"
"--enable-snapshot-build"
Server API Apache
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS\php.ini
PHP API 20031224
PHP Extension 20040412
Zend Extension 220040412
Debug Build no
Thread Safety enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
--- End Message ---