Re: com web/php: Let the client decide which protocol to use rather than defining it statically in the code (except where applicable).:
include/layout.inc styles/phpnet.css
| From: | Daniel Brown | Date: | Mon, 03 Dec 2012 17:12:46 +0000 |
| Subject: | Re: com web/php: Let the client decide which protocol to use rather than defining it statically in the code (except where applicable).: include/layout.inc styles/phpnet.css |
||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-15023@lists.php.net to get a copy of this message | ||
On Mon, Dec 3, 2012 at 12:11 PM, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
>
> Is // some new trick I am unaware of and my browser doesn't understand?
>
>
> All these links look very broken to me.
No, it's been around for years. Using // as opposed to http:// or
https:// causes the client to dynamically perform the request using
the same protocol of the parent page.
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/