http://www.url.com/script?id=value. I want to get that kind of get type in PHP. How to do it? in .htaccess? How to do it? How to get it? If the file has no extension, how to get it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The type of the resource at a particular URL can only be defined by the
Content-Typeheader returned from the server.If you wish to determine the type of a resource, then do a
HEADor aGETrequest, parse the response headers, and use the type returned. cURL is commonly used for this.