note 115853 added to features.commandline.options
| From: | Ap.Muthu | Date: | Fri, 03 Oct 2014 15:08:19 +0000 |
| Subject: | note 115853 added to features.commandline.options | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200580@lists.php.net to get a copy of this message | ||
If we start the php's built in webserver (PHP v5.4 onwards) with:
php -S localhost:8000 -t htdocs
and have an image file picture.jpg in it
and reference it in a html page with:
<img src="picture.jpg">
the rendered page will not show the image and the html code behind the image is:
http://localhost:8000/index.php/picture.jpg
If however, the html code in the page is:
<img src="/picture.jpg">
the picture displays correctly.
Hence relative addressing is broken in PHP 5.4.33 Win32 VC9 build.
----
Server IP: 72.52.91.14
Probable Submitter: 117.193.30.235
----
Manual Page -- http://php.net/manual/en/features.commandline.options.php
Edit -- https://master.php.net/note/edit/115853
Del: integrated -- https://master.php.net/note/delete/115853/integrated
Del: useless -- https://master.php.net/note/delete/115853/useless
Del: bad code -- https://master.php.net/note/delete/115853/bad+code
Del: spam -- https://master.php.net/note/delete/115853/spam
Del: non-english -- https://master.php.net/note/delete/115853/non-english
Del: in docs -- https://master.php.net/note/delete/115853/in+docs
Del: other reasons-- https://master.php.net/note/delete/115853
Reject -- https://master.php.net/note/reject/115853
Search -- https://master.php.net/manage/user-notes.php