| Re: fetch php script not parsing right in block :( |
| by phanoko on 2004/3/16 2:50:31 Works great! What else can you pull? |
| Re: fetch php script not parsing right in block :( |
| by HughG on 2004/3/16 2:36:06 Try this and see if you can get it do what you're trying to accomplish. le="color: #000000"><?php $hst = $_SERVER["HTTP_HOST"]; $uri = $_SERVER["REQUEST_URI"]; $rmt = $_SERVER["REMOTE_ADDR"]; $br = $_SERVER["HTTP_USER_AGENT"]; echo "Your IP address is : $rmt n<br>n The page you requested was: $uri n<br>n The browser you are using is $br"; |
| Re: fetch php script not parsing right in block :( |
| by phanoko on 2004/3/15 23:55:21 The echo worked. |
| Re: fetch php script not parsing right in block :( |
| by Dave_L on 2004/3/15 16:23:27 Start with something simpler. Put this (and nothing else) in a PHP Script block, and verify that it works: le="color: #000000"><?php echo "Hello, World!";
|
| Re: fetch php script not parsing right in block :( |
| by phanoko on 2004/3/15 16:18:49 When I have done that (with or without the <?php?>) nothing happens at all. I hit preview and my blank window pops up. |