[PHP] Re: storing arrays

2002-02-17 Thread Christian Blichmann
$c = wddx_deserialize($packet); fclose($f); ? 2) Is it possible to specify the name of the key to each item of an array when you get the array using file(). Yep, you'll get the same array back... -- Christian Blichmann _ don't hesitate -

[PHP] Re: Where To Find Resources About Programming Style (my bleedin' code is so darn ugly)

2002-02-17 Thread Christian Blichmann
(); // Longest comment right-aligned to 80 chars ||| do_more_stuff();// But: // should be in one column. ? Ok, sorry for this mega-posting, hope it helps. P.S.: Your code _always_ works? -Wow... -- Christian Blichmann _ don't hesitate

[PHP] Re: Outputing XML to browser???

2002-02-16 Thread Christian Blichmann
tags with / instead of , like this: br / Hope it helps, regards, -- Christian Blichmann _ don't hesitate - email me with your thoughts: e-mail: [EMAIL PROTECTED] - please remove the .nospam from address. _ do

[PHP] Re: Outputing XML to browser???

2002-02-16 Thread Christian Blichmann
Whoops, sent you a wrong .htaccess - file, here's what I really use (the other one was old): AddType application/x-httpd-php .php .php4 .htm .html .xml .xhtml DirectoryIndex index.xml index.xhtml IndexIgnore .htaccess .htpasswd -- Christian Blichmann

[PHP] Re: Authentication with sessions - Recommendation and suggestions?

2002-02-14 Thread Christian Blichmann
t that I would use some more sophisticated session-id (like: http://www.domain.com/pathto/file.html?ID=12345678) to show off a bit ;-) Regards, -- Christian Blichmann _ don't hesitate - email me with your thoughts: e-mail: [EMAIL PROTECTED] - pleas

[PHP] Re: browser reload button

2002-02-14 Thread Christian Blichmann
as proper credit is given. Regards, -- Christian Blichmann _ don't hesitate - email me with your thoughts: e-mail: [EMAIL PROTECTED] - please remove the .nospam from address. _ do you want to know more? web:http

[PHP] Re: Implement @-domains with PHP?

2002-02-13 Thread Christian Blichmann
Hi folks! To end the discussion of how my posting has to be understood, I will further explain my idea: In Germany there's a web-space provider called 11 puretec (http://www.puretec.de/). They offer a feature called @-domain: Every time a user enters something like http:[EMAIL

[PHP] Re: Implement @-domains with PHP?

2002-02-12 Thread Christian Blichmann
Hello Again! Cc Zona [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'd like to retrieve the http://someReallyWeirdAtDomain-part. http://php.net/parse-url I think you misunderstood my question, my problem is not how to parse the URI, I discovered the the

Re: [PHP] Re: Implement @-domains with PHP?

2002-02-12 Thread Christian Blichmann
Peter Janett [EMAIL PROTECTED] wrote in message 022101c1b3ef$809cf450$4de70142@peters">news:022101c1b3ef$809cf450$4de70142@peters... $what_you_want = $HTTP_HOST . $REQUEST_URI; Well, thanks - but it didn't work for me (don't have the $REQUEST_URI variable set)... btw, my setup is: PHP 4.0.1

[PHP] Re: Implement @-domains with PHP?

2002-02-12 Thread Christian Blichmann
n dialog??? - btw, I know how to do this whole thing in JavaScript (using the location object), but that won't work for text browsers or oldtimers like NN 2.x. Can I use a blank password like in http://someUserText:@myDomainName.dom; ? -- THX, Christian B

[PHP] Re: Implement @-domains with PHP?

2002-02-12 Thread Christian Blichmann
Cc Zona [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You can look over the environment vars available to you with a quick call to phpinfo() http://php.net/phpinfo. Thanks for replying, but as Philip stated in his reply to my question its that the actual

[PHP] Substitute for getenv() when using ISAPI ??

2002-01-27 Thread Christian Blichmann
(SELECT visitor.id, visitor.ip, visitor.useragent, visits.timestamp FROM visitor, visits WHERE visitor.id = visits.visitor_id ORDER BY visitor.id DESC); // ... === CUT HERE === Christian Blichmann _ don't hesitate - email me with your thoughts: e-mail

[PHP] getenv() replacement when running as ISAPI ???

2002-01-26 Thread Christian Blichmann
, visitor.useragent, visits.timestamp FROM visitor, visits WHERE visitor.id = visits.visitor_id ORDER BY visitor.id DESC); // ... === CUT HERE === Christian Blichmann _ don't hesitate - email me with your thoughts: e-mail: [EMAIL PROTECTED] - please remove

[PHP] getenv() replacement when running as ISAPI ???

2002-01-25 Thread Christian Blichmann
, visitor.useragent, visits.timestamp FROM visitor, visits WHERE visitor.id = visits.visitor_id ORDER BY visitor.id DESC); // ... === CUT HERE === Christian Blichmann _ don't hesitate - email me with your thoughts: e-mail: [EMAIL PROTECTED] - please remove

[PHP] Re: PHP IDE

2002-01-25 Thread Christian Blichmann
but it's not primarily focused on PHP... Christian Blichmann _ don't hesitate - email me with your thoughts: e-mail: [EMAIL PROTECTED] - please remove the .nospam from address. _ do you want to know more? web:

Re: [PHP] Re: Resalution Dection

2002-01-25 Thread Christian Blichmann
erHeight (at least in Opera 4.x+ and NN4.x) or use document.body.clientWidth document.body.clientHeight (in IE) or through the DOM (Document Object Model, see http://www.w3c.org): document.body.offsetWidth document.body.offsetHeight This might be helpful for you as well... C