[PHP] can I get at screen size ?

2004-04-05 Thread E . H . Terwiel
I want to write a Server Side PHP program that generates a HTML page client side. How would I get at the clients' screen size, before serving the generated page ? Would it be a two-step process: first let the client execute a piece of JavaScript to generate Height and Width, and then send those val

[PHP] .html or.php extension

2004-02-08 Thread E . H . Terwiel
My PHP system demands that files to be interpreted by PHP MUST have the .php extension. If I have an .html file with in it, it won't interpret the PHP code. Unlike JavaScript, f.i. Is there a way to make the server do the PHP code anyway, in an HTML file ? Or must the action yes-php/no-php be take

[PHP] connecting with C-code

2004-02-08 Thread E . H . Terwiel
I have a tried-and-tested (15 years of it) piece of C code that I could port from Windows to Linux, and I thought I put a PHP front on it. Is there a way to interface the C-code with PHP 4.3.4 ? If so, could you point me to docs ? frgr Erik -- PHP General Mailing List (http://www.php.net/) To un