php-windows Digest 18 May 2005 16:07:59 -0000 Issue 2673
Topics (messages 26020 through 26023):
Re: How to Access HTTP headers in IIS?
26020 by: Shinan Kassam
Re: Questions oh PHP
26021 by: Louis Solomon \[SteelBytes\]
Re: Firefox COM objects?
26022 by: Louis Solomon \[SteelBytes\]
problems / mistake in pack () and unpack() ???
26023 by: Burkhard Herre
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 ---
See if this gets you what you need:
function emu_getallheaders() {
foreach($_SERVER as $h=>$v)
if(ereg('HTTP_(.+)',$h,$hp))
$headers[$hp[1]]=$v;
return $headers;
}
It was posted not too long ago here:
http://us2.php.net/manual/en/function.getallheaders.php
Hope that helps.
Shinan
On 5/17/05, Wu, Jin Yong <[EMAIL PROTECTED]> wrote:
>
> Dear all,
>
> I'm encountering a problem how to access HTTP headers in IIS.
> I know there is a function getallheaders() for Apache, but what about IIS?
> Does anyone have any idea? Thank you so much in advance!
>
> Yong
> 2005/5/17
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Shinan S. Kassam
--- End Message ---
--- Begin Message ---
don't confuse client side operations such as keyboard handling (eg
jscript,vbscript) with server side scripting (eg php).
--
Louis Solomon
www.SteelBytes.com
"Barry Fawthrop" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all
>
> being new to PHP I would like to try and convert some of the apps I have
> into PHP
> PHP that produces a webpage or HTML code displayed in a brower
>
> 1) Can you use shortcuts, Like Alt+F, and Alt+F4, etc. Can you capture
> these key inputs, and have the script perform an action, or can it only be
> <a href link based ?
>
> 2) Create a File, Edit, View...... Help System Menu. Just like any app,
> that has File, Edit.... menu on the top. Create a PHP script that displays
> a File Menu in the browser, that you can click?
>
> 3) Create hot spots on a graphic?
>
> I'm used to developing web app .dll in Delphi but would like to convert to
> a PHP based application. for multi platfom base.
>
> Thanks In Advance
>
> Barry
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.11.12 - Release Date: 5/17/2005
--- End Message ---
--- Begin Message ---
>>Does Firefox support COM objects
>> ask the firefox team
> theres some css for firefox you can use
umm ... what does CSS have to do with COM?
--
Louis Solomon
www.SteelBytes.com
--- End Message ---
--- Begin Message ---
hello
i use the function pack() and unpack()
i have following question:
$content = -2147483647;
$binarydata = pack("V", $content);
...(fwrite in file)
...(fread from file)
$bin_str = fread ($handle, 4);
$ascii_array = unpack("V", $bin_str);
$ascii_str = $ascii_array[1];
it makes no difference if i use the "V", the "l" or the "L" flag !
every flag works the same...output is '-2147483647'
but from the php page i get this:
l -- Long-Typ with sign (always 32 Bit, Byte-sequenz maschine depent)
L -- Long-Typ without sign (always 32 Bit, Byte-sequenz maschine depent)
V -- Long-Typ without sign (always 32 Bit, little endian)
why is it so ?
what happends ?
thank you
--- End Message ---