General Chat
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsGeneralGeneral Chat

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old September 26th, 2004, 08:27 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
PHP or NO PHP?

hi,

some of my freinds say that Yahoo, Google and Orkut use php, but i do not see the .php extension in the address bar of my browser.

Also the source code of the page, too doesnt contain the the

"<? , or <?php" tags. is it possible to use php and not let ppl know that its php?


Reply With Quote
  #2  
Old September 26th, 2004, 09:19 AM
Yian Yian is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: UK
Posts: 279 Yian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: PHP or NO PHP?

Yes, just set the PHP MIME type as a different extension.

Reply With Quote
  #3  
Old September 26th, 2004, 11:54 AM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is offline
Moderator
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Finland
Posts: 2,332 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 26229 Folding Title: Starter FolderFolding Points: 26229 Folding Title: Starter Folder
Time spent in forums: 6 Days 16 h 34 m 49 sec
Reputation Power: 5
RE: PHP or NO PHP?

Although if a site uses PHP, you will never see <? or ?> tags in the page source because PHP works that way. The code between those tags is processed and the tags' content isn't sent to the browser.

As for .php not appearing on the address bar, this is how you can avoid it. Assume that you have a site at http://domain.com/. You have a page http://domain.com/index.php, but if you want to access it, it's enough if you write only http://domain.com/ to the address bar. Also http://domain.com/?page=about will show the page http://domain.com/index.php?page=about without showing .php in the address bar.

There are also other techniques you can use for hiding PHP's existence, like modrewrite.

Reply With Quote
  #4  
Old September 26th, 2004, 02:47 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: PHP or NO PHP?

so why would someone want to hide that they are using php?

if u use gmail, the web address says :

http://gmail.google.com/gmail?_sgh=
does this show that gmail is using php???


Reply With Quote
  #5  
Old September 26th, 2004, 02:59 PM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: PHP or NO PHP?

yahoo uses php now most of the time. in the past, they used some perl, and mostly their own "Y script" (or something similar). their backend was mostly written in c/c++ (but now, most of it gets written in php).

orkut uses asp.

google uses python on all other servers (google.com, gmail, etc), with a c/c++ backend..

Reply With Quote
  #6  
Old September 27th, 2004, 06:50 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: PHP or NO PHP?

it doesnt seem that Yahoo uses php on its site. i mean there isnt a page with .php or recognizable characteristics of php?

what do u mean by backend was in c/c++??

also so if google is using python does this mean it is better than php


Reply With Quote
  #7  
Old September 27th, 2004, 07:44 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: RE: PHP or NO PHP?

1) php pages don't need to end in .php

2) what are (other) "recognizable characteristics of php"?!?

3) truste me.. or don't, but then at least google it..

4) they even have (at least) one high-profile php guru working for yahoo (but i will not tell you the name.. google it)

5) if you don't know what backend means, than i can't explain it to you..

6) google using python means just that, that google uses it (and probably think it is better for them)

most of the world thinks php is better for them (for web stuff anyway)

Reply With Quote
Reply

Viewing: Codewalkers ForumsGeneralGeneral Chat > PHP or NO PHP?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek