Jump to content

Recommended Posts

Really odd one off problem I ran into today and Im trying to find out what causes it.

 

Using an image rezize script that works fine

Pass the image via the url and it resizes

 

I had a set of images named Echo-1.jpg,Echo-2.jpg etc...

 

Those images would not show, and if I put the url directly in the browser it gave me a Error 501 Not implemented error

 

If I change Echo- to Echo2- it works???

 

So

//does not work
<img src="resizeTest/bdgDev/resize_image.php?image=Echo-Neutral-Alpha.jpg&new_width=100&new_height=100">

//works
<img src="resizeTest/bdgDev/resize_image.php?image=Echo2-Neutral-Alpha.jpg&new_width=100&new_height=100">

Is there some signifigance to the word Echo wih a - that anyone ever ran into before?

Just really curious to get some input from the forum - just an odd case I havent ran across before.

 

Link to comment
https://forums.phpfreaks.com/topic/275732-_get-and-the-string-echo-error501/
Share on other sites

could be some sort of mod_security filter that is setup on your server causing the request to be rejected. There is nothing special about echo in that context and no reason it shouldn't work just fine. Whatever causes it to fail must be something either with your script or the server configuration.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.