dropfaith Posted November 3, 2008 Share Posted November 3, 2008 im getting ready to build a cms for http://www.ndecboston.org/about.html and im wondering if it runs php the guy is getting the info and wont have it for a few days and im inpatient so i kinda want to start some basics on my own server but if it doesnt support php it would be wasted effort Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/ Share on other sites More sharing options...
R4nk3d Posted November 3, 2008 Share Posted November 3, 2008 Create a new text file and type this in it: <? echo phpinfo() ?> and if it shows you the info, you got all the specs for the version, etc. There ya go, hope it works. EDIT: sorry, save it as name.php and then upload it to his webserver. Then type in the url in a web browser. Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-680915 Share on other sites More sharing options...
corbin Posted November 3, 2008 Share Posted November 3, 2008 Server: Apache/2.2.3 If I had to guess I would say yes, but ya never know. Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-680943 Share on other sites More sharing options...
dropfaith Posted November 3, 2008 Author Share Posted November 3, 2008 sweet i dont currently have access to his server im waiting on those details i know the entire project scope but the guy i have contact with isnt the guy with the web details.. its annoying. but yea Apache at least makes me a little bit happy on the chance that he has php.. if not any ideas on how the best content manager would work out ive never used anything but php mysql Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-680962 Share on other sites More sharing options...
Lamez Posted November 3, 2008 Share Posted November 3, 2008 sweet i dont currently have access to his server im waiting on those details i know the entire project scope but the guy i have contact with isnt the guy with the web details.. its annoying. but yea Apache at least makes me a little bit happy on the chance that he has php.. if not any ideas on how the best content manager would work out ive never used anything but php mysql What What? Are you asking for a good PHP CMS? Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-680964 Share on other sites More sharing options...
dropfaith Posted November 3, 2008 Author Share Posted November 3, 2008 no i was asking if i didnt have php whats the best system to use to build a cms if i have php and mysql i pretty much have a cms i just need to edit some details for this project.. Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-680972 Share on other sites More sharing options...
Lamez Posted November 3, 2008 Share Posted November 3, 2008 The next thing in line would probably be, Perl or ColdFusion, but I have no idea. Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-681105 Share on other sites More sharing options...
DarkWater Posted November 3, 2008 Share Posted November 3, 2008 I strongly doubt that it's running PHP. Servers running PHP should be sending X-Powered-By headers, and this one isn't. Normally, it would say something like: X-Powered-By: PHP/5.2.6 Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-681119 Share on other sites More sharing options...
Daniel0 Posted November 3, 2008 Share Posted November 3, 2008 I strongly doubt that it's running PHP. Servers running PHP should be sending X-Powered-By headers, and this one isn't. Normally, it would say something like: X-Powered-By: PHP/5.2.6 Neither does this server and I can guarantee you we are running PHP Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-681169 Share on other sites More sharing options...
PFMaBiSmAd Posted November 3, 2008 Share Posted November 3, 2008 Also, the php header would only be sent if php was invoked to generate the web page. For a static .html page, php would not be involved at all. Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-681173 Share on other sites More sharing options...
Daniel0 Posted November 3, 2008 Share Posted November 3, 2008 And only if expose_php is set to On. Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-681180 Share on other sites More sharing options...
DarkWater Posted November 3, 2008 Share Posted November 3, 2008 Yeah, I meant in general. Most servers don't bother turning expose_php to off, and therefore send the header if they're using PHP. The server might have PHP on, but you can't be completely sure without actually having access. You can guess though. =P Quote Link to comment https://forums.phpfreaks.com/topic/131136-how-can-i-check-if-a-site-uses-php/#findComment-681186 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.