I have a file that has to be called U&blah.png
I cannot find any way to direct the browser to load it
U&blah.png doesnt work
U%26blah.png doesnt work
Using php rawurlencode doesnt work. It effectively does nothing
Any ideas?
The Natural Philosopher wrote:
I have a file that has to be called U&blah.pnghttp://localhost/U%26blah.txt
I cannot find any way to direct the browser to load it
U&blah.png doesnt work
U%26blah.png doesnt work
Using php rawurlencode doesnt work. It effectively does nothing
Any ideas?
works here (both with IIS on win11 and apache on Fedora)
I have a file that has to be called U&blah.pnghttp://localhost/U%26blah.txt
I cannot find any way to direct the browser to load it
U&blah.png doesnt work
U%26blah.png doesnt work
Using php rawurlencode doesnt work. It effectively does nothing
Any ideas?
I have a file that has to be called U&blah.png
I cannot find any way to direct the browser to load it
U&blah.png doesnt work
I have a file that has to be called U&blah.png
I cannot find any way to direct the browser to load it
U&blah.png doesnt work
U%26blah.png doesnt work
Using php rawurlencode doesnt work. It effectively does nothing
Any ideas?
On Sat, 07 Sep 2024 19:44:30 +0100, Andy Burns wrote:
The Natural Philosopher wrote:
I have a file that has to be called U&blah.pnghttp://localhost/U%26blah.txt
I cannot find any way to direct the browser to load it
U&blah.png doesnt work
U%26blah.png doesnt work
Using php rawurlencode doesnt work. It effectively does nothing
Any ideas?
works here (both with IIS on win11 and apache on Fedora)
With test files white_grapes.png and white&grapes.png
(where white_grapes.png is a symlink to white&grapes.png)
both
<img src="white_grapes.png" />
and
<img src="white&grapes.png" />
produced proper images in Firefox, from an apache server
bothto the o/p, is the filename exactly what you think it is?
<img src="white_grapes.png" />
and
<img src="white&grapes.png" />
produced proper images in Firefox, from an apache server
I have a file that has to be called U&blah.png
I cannot find any way to direct the browser to load it
The Natural Philosopher wrote:
I have a file that has to be called U&blah.pnghttp://localhost/U%26blah.txt
I cannot find any way to direct the browser to load it
U&blah.png doesnt work
U%26blah.png doesnt work
Using php rawurlencode doesnt work. It effectively does nothing
Any ideas?
works here (both with IIS on win11 and apache on Fedora)
On 07/09/2024 19:44, Andy Burns wrote:
The Natural Philosopher wrote:
I have a file that has to be called U&blah.pnghttp://localhost/U%26blah.txt
I cannot find any way to direct the browser to load it
U&blah.png doesnt work
U%26blah.png doesnt work
Using php rawurlencode doesnt work. It effectively does nothing
Any ideas?
works here (both with IIS on win11 and apache on Fedora)
Works here too when I actually point the browser at the development
server, not the old server.
I feel a trife ashamed....
On Sat, 07 Sep 2024 19:05:54 +0000, Lew Pitcher wrote:
On Sat, 07 Sep 2024 19:44:30 +0100, Andy Burns wrote:
The Natural Philosopher wrote:
I have a file that has to be called U&blah.pnghttp://localhost/U%26blah.txt
I cannot find any way to direct the browser to load it
U&blah.png doesnt work
U%26blah.png doesnt work
Using php rawurlencode doesnt work. It effectively does nothing
Any ideas?
works here (both with IIS on win11 and apache on Fedora)
With test files white_grapes.png and white&grapes.png
(where white_grapes.png is a symlink to white&grapes.png)
both
<img src="white_grapes.png" />
and
<img src="white&grapes.png" />
produced proper images in Firefox, from an apache server
Also
http://host/white&grapes.png
resolves to the proper image when entered in the URL bar
of Firefox (again, image served by an apache server on Linux)
Yeah apologies all round. I was making changes to the development server while testing on the old server.
On Sun, 8 Sep 2024 13:47:24 +0100, The Natural Philosopher wrote:
Yeah apologies all round. I was making changes to the development server
while testing on the old server.
I've never, ever done anything like that :) It does tend to make you doubt your sanity.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 498 |
Nodes: | 16 (3 / 13) |
Uptime: | 02:02:05 |
Calls: | 9,821 |
Calls today: | 9 |
Files: | 13,757 |
Messages: | 6,190,248 |