Glad you got it sorted! It just goes to show what a pointless "security" technique user agent checks are!
I suppose it stops some casual "script kiddie" novices who might try to access it via file_get_contents() or such, but it certainly won't stop any serious, semi-skilled web coder.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
I suppose it stops some casual "script kiddie" novices who might try to access it via file_get_contents() or such, but it certainly won't stop any serious, semi-skilled web coder.
Yea you're right.
It nearly stopped me in getting my server-to-server curl post to work!
Yea you're right.
It nearly stopped me in getting my server-to-server curl post to work!
Perhaps you are a novice in this area, but you were serious enough to work on finding a solution.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Perhaps you are a novice in this area, but you were serious enough to work on finding a solution.
Yup I'm a complete novice but it did occur to me that such a check might be made
Earlier post:
Is it possible that the database surver knows that the post is been made by a server opposed to a browser (and has a problem with this) as when I post this using a HTML form, everything works fine!
If so, is there any way of making the post appear as if it has originated from a browser?
If it wasn't for Mindzai though, it probably would have took me all day to figure out how to change the user agent!
Bookmarks