isaac_cm Posted October 12, 2009 Share Posted October 12, 2009 Hello, I see some sites that does not display extensions at all , for example: www.site.com/login (for login page) but how I can know the language used in this site ? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/177458-how-to-know-if-online-site-made-with-php/ Share on other sites More sharing options...
Alex Posted October 12, 2009 Share Posted October 12, 2009 You're looking for mod_rewrite mod_write will 'redirect' certain urls to other paths without actually redirecting. eg. You can redirect site.com/login to site.com/login.php Quote Link to comment https://forums.phpfreaks.com/topic/177458-how-to-know-if-online-site-made-with-php/#findComment-935668 Share on other sites More sharing options...
mattal999 Posted October 12, 2009 Share Posted October 12, 2009 Try navigating to http://www.site.com/login.php, and if it works then its made with PHP. If not, then it still may be but the .htaccess rewriterule may be blocking that. Not sure otherwise. Quote Link to comment https://forums.phpfreaks.com/topic/177458-how-to-know-if-online-site-made-with-php/#findComment-935669 Share on other sites More sharing options...
smerny Posted October 12, 2009 Share Posted October 12, 2009 suppose you could try www.site.com/index.php to see if the website uses php... what mattal said wouldn't work if login is a folder, might try www.site.com/login/index.php... but possibly depending on mod rewrite set up and such that might not always work Quote Link to comment https://forums.phpfreaks.com/topic/177458-how-to-know-if-online-site-made-with-php/#findComment-935673 Share on other sites More sharing options...
mikesta707 Posted October 12, 2009 Share Posted October 12, 2009 also remember that not all sites are written in purely PHP. there are many different web programming languages that people can use, like javascript, asp, RoR, perl, etc. Quote Link to comment https://forums.phpfreaks.com/topic/177458-how-to-know-if-online-site-made-with-php/#findComment-935692 Share on other sites More sharing options...
isaac_cm Posted October 12, 2009 Author Share Posted October 12, 2009 I know that is mod_rewrite I just ask to know if there is a standard way to know the languages used in that kind of sites but www.site.com/index.php worked Quote Link to comment https://forums.phpfreaks.com/topic/177458-how-to-know-if-online-site-made-with-php/#findComment-935777 Share on other sites More sharing options...
cags Posted October 13, 2009 Share Posted October 13, 2009 Depending on how the site is setup (with mod_rewrite etc.) a link of www.site.com/index.php working, would not guarantee the site uses php. You might find it will work regardless of the extention you write. Quote Link to comment https://forums.phpfreaks.com/topic/177458-how-to-know-if-online-site-made-with-php/#findComment-936066 Share on other sites More sharing options...
isaac_cm Posted October 13, 2009 Author Share Posted October 13, 2009 so no way to know ? Quote Link to comment https://forums.phpfreaks.com/topic/177458-how-to-know-if-online-site-made-with-php/#findComment-936089 Share on other sites More sharing options...
Mark Baker Posted October 13, 2009 Share Posted October 13, 2009 so no way to know ?Correct, while you might be able to make an educated guess, there is no way to know. Why do you need to know? Quote Link to comment https://forums.phpfreaks.com/topic/177458-how-to-know-if-online-site-made-with-php/#findComment-936091 Share on other sites More sharing options...
isaac_cm Posted October 13, 2009 Author Share Posted October 13, 2009 for knowledge mostly Quote Link to comment https://forums.phpfreaks.com/topic/177458-how-to-know-if-online-site-made-with-php/#findComment-936197 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.