[PHP] PHP Equivalent of REXX x2c and c2x Functions

2002-01-23 Thread David Drewa

I'm trying to port an application from WinREXX to PHP. What is the PHP
equivalent of the x2c() (hexadecimal to character) and c2x() (character to
hexadecimal) functions?

Is this hexdec() and dechex() functions? Or hex2bin()?

Thanks!




-- 
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] Require File on Another Computer with UNC Reference

2002-02-12 Thread David Drewa

I'm using IIS 5.0 on Windows 2000. I installed PHP 4.1.1 configured to be a
CGI interpreter.

I'm trying to require a file located on another W2K computer on our LAN with
this code:

require 'computername\\sharename\\functions.php';

However, when I try to execute this PHP script, I get this error:

Fatal error: Failed opening required
'computername\\sharename\\functions.php' (include_path='..') in
c:\inetput\wwwroot\keygen\index.php on line 3

Does anyone have advice on how to make this UNC reference work correctly?

Thanks!



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