RE: [PHP-WIN] Tow Tiny Questions!
| From: | Asendorf, John | Date: | Wed, 20 Dec 2000 20:10:58 +0000 |
| Subject: | RE: [PHP-WIN] Tow Tiny Questions! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4559@lists.php.net to get a copy of this message | ||
I think that I can answer #1...
> print "<embed src=\""http://myserver/file.wav"..�Ò
> Œ>¿¢3¹÷IpÓ. >";
would probably be better written as
echo "<embed src=\"http://myserver/file.wav\"... >";
at least that is what I would use. I think your "'s are getting messed up.
Use \" to echo (or print) a " and just plain old " to set off what you want
echoed.
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
The benefit to the government of replacing all $1 Federal Reserve notes with
$1 coins would be $522.2 million per year, according to estimates of the
General Accouting Office released on April 7, 2000.
> -----Original Message-----
> From: nastaran kashani [mailto:nkashani2000@yahoo.com]
> Sent: Wednesday, December 20, 2000 3:07 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Tow Tiny Questions!
>
>
>
> Dear Sir,
>
>
> At first ,I should thank you and "The PHP
> Development Team" and all persons who help
> for improvment of "PHP".
> I have tow questions about PHP:
> 1)If I want to use some HTML tags like <embed
> src="http://myserver/file.wav" ... > in a PHP
>
> page ,how can I use them?
> (I examined print "<embed
> src=\""http://myserver/file.wav"... >";
> but it didn't
> work)
> 2)If there is any limitation for executation of PHP
> pages on various browsers and platforms ?
> (What about the question number 7.8 in FAQ?
> I have printed it here:
>
> 7.8. My PHP script works on IE and Lynx, but on
> Netscape some of my output is missing. When I do a
> "View Source" I see the content in IE but not in
> Netscape. Even when I telnet to port 80 directly the
> correct content shows up. How can this be? PHP is
> server-side and my browser can't possibly know that
> the content it is seeing is generated by PHP, so what
> is going on?
> Very good question! ;) This is a tricky little issue
> and it has come up twice in the past month as of this
> writing. Both times I ended up spending a good 20
> minutes trying to figure out what the heck was going
> on. The answer is that both IE and Lynx ignore any
> NULs (\0) in the HTML stream. Netscape does not. The
> best way to check for this is to compile the
> command-line version of PHP (also known as the CGI
> version) and run your script from the command line and
> pipe it through 'od -c' and look for any \0
> characters. (If you are on Windows you need to find an
> editor or some other program that lets you look at
> binary files) When Netscape sees a NUL in a file it
> will typically not output anything else on that line
> whereas both IE and Lynx will. If this issue has
> bitten you, congratulations! You are not alone)
>
>
> your sincerely
> Atieh Kashani
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>