LiveZilla Live Help
 


Go Back   Chime Host - Web Hosting Forum > World Wide Web > Programming / Scripting / Coding Forum > PHP
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

PHP The most widely used server-side programming language for web applications.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-29-2007, 05:12 AM
Junior Member
 
Join Date: May 2007
mldebo is on a distinguished road
Default how do i look at a php file when i download it? do i

need a program to do that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-29-2007, 06:05 AM
Junior Member
 
Join Date: May 2007
pandera p is on a distinguished road
Default

If you've got the whatever.php file, you can open it in Notepad.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-29-2007, 08:53 AM
Junior Member
 
Join Date: May 2007
da4stringer is on a distinguished road
Default

You can view it with any text or HTML editor. However, you might want to view it with Dreamweaver or some other software that recognizes php code. This will make the code more readable as it will use different colors for various keywords and stuff.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-29-2007, 12:51 PM
Junior Member
 
Join Date: May 2007
penguin_cogdill is on a distinguished road
Default

You can use notepad or an IDE like Eclipse. However, I would have to ask how you downloaded it. Did you download the source code from a directory or did you try to save from a web browser? You can't download a php page like you can a simple html page from a website. A PHP file will compile on the server end and then display the compiled web page on your browser. You will not see the source code behind it. Sorry if you already knew that but I just wanted to make sure.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-17-2007, 07:47 AM
Junior Member
 
Join Date: Aug 2007
zerofool2005 is on a distinguished road
Default

Open it in Notepad++ or did you download it form a server. You can only download the raw php code when the php deamon is turned off
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-18-2007, 03:47 AM
Junior Member
 
Join Date: Dec 2007
stalker is on a distinguished road
Default

you can open it with whatever text edititor.

bbedit is a good editor that you can demo

i like to use dreamweaver. you can also get a demo of that.

Adobe - Dreamweaver CS3, Web Site Design, Web Page Design, Web Design Software
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-18-2007, 03:57 PM
Senior Member
 
Join Date: Feb 2007
Jace is on a distinguished road
Default

Notepad and up should work. Sometimes it it's in UTF8 though. So normal notepad won't work so then you'll need alternatives like Microsoft word and Notepad ++

I've never used dreamweaver. Is it worth purchasing?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-02-2008, 08:33 AM
Senior Member
 
Join Date: Dec 2007
Location: Germany (in a small town)
snoop1990 is on a distinguished road
Default

dreamweaver is a wonderful tool for editing html but I do not need it for php because there are others available for free or less money. But that is an decision everybody has to do no his / her own.

About saving a php file, just just have to look for the ending, an php file ends with .php ,not .html, .htm or any other, just .php .

Regrades Snoop1990
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-30-2008, 06:15 AM
Senior Member
 
Join Date: Jan 2006
Location: A small remote village in Kerala, India
bizzard is on a distinguished road
Default

I have a doubt. Is it possible to view the code of PHP file, which generates the HTML code directly from the net?

I prefer notepad++ for editing my php files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-30-2008, 08:59 AM
Senior Member
 
Join Date: Dec 2007
Location: Germany (in a small town)
snoop1990 is on a distinguished road
Default

Quote:
Originally Posted by bizzard View Post
Is it possible to view the code of PHP file, which generates the HTML code directly from the net?
In general it should not be possible for security reasons (you do not want the others to get your database password stored in a php file). If you set all permissions the right way nobody should be able to access your files.

Regrades Snoop1990
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you install or use Pixelpost Photo Blog ? Chris Programming / Scripting / Coding Forum 0 03-15-2010 02:29 PM
What is wrong with my computer? (Javascript, animation, ?)? Jimmy W Javascript 0 01-11-2010 12:34 PM
HTML misc data for JQuery Script? John HTML/CSS/DHTML 0 01-10-2010 10:11 PM
How do i adopt a bunny @ http://thepagebunnies.com? Hostingforoz Internet 0 01-01-2010 10:06 PM
Sony ericsson c903?????? cHeEkY mOnKeY Sony Ericsson 0 12-17-2009 05:09 AM


All times are GMT +1. The time now is 09:01 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ChimeHost, a Profuse Solutions LLC company