PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

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:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old July 19th, 2003, 12:08 AM
free free is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: canada
Posts: 10 free User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to free
viewing php in dreamweaver

im new to this,
i have a question which was probably asked somewhere here.

im running dreamweaver 4.0 as an editor, id like to know if i can view php coded forums offline (without an internet connection)
in dreamweaver and be able to view it as if it was on my web server ?

if i can what would i need to download to my pc to do this.

currently when i try i only see text codeing.
so it tells me im missing some stuff.

id like to view it just as if it were a webpage but without a connection to the net.

thanks for any help in this..

Reply With Quote
  #2  
Old July 19th, 2003, 02:08 PM
jorgen jorgen is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Hardenberg, Holland<marquee>
Posts: 284 jorgen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: viewing php in dreamweaver

Do you mean this?

Menu: view -> design

Reply With Quote
  #3  
Old July 19th, 2003, 02:57 PM
free free is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: canada
Posts: 10 free User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to free
RE: viewing php in dreamweaver

i mean for example.
in dreamweaver, if i insert an image file dreamweaver would show the codeing in code and design view.
but when you click view in browser(preview page) in internet explorer instead of seeing just code you see the page as it was intended with the image instead of the code.

just like if you use java script in code design view it shows the script code but in preview it runs the code just as if you were connected to the internet.but without the internet.

the above 2 examples is what i want to do say with an invision board or php forum, if i edit a page in dreamweaver id like to preview what the changes would look like but without haveing to connect to the internet and without haveing to upload all changed files to a server just to see if the edited script works and what it looks like.

sorry if this seems confuseing

Reply With Quote
  #4  
Old July 19th, 2003, 03:04 PM
jorgen jorgen is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Hardenberg, Holland<marquee>
Posts: 284 jorgen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: viewing php in dreamweaver

I asume you have a local webserver with PHP installed, including a database system...

If so: Ctrl-S F12...

Otherwise I don't get the problem, sorry :$

Reply With Quote
  #5  
Old July 19th, 2003, 03:55 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: 24
RE: viewing php in dreamweaver

ok,
if i go to my forum and open my index.php i get my login and index page etc everything works ok like a forum should.

when i download the files via ftp to my hdd, and edit say the index.php file useing my dreamweaver program,i want to preview the changes first before uploading them back to the server.
when i try to preview the index.php in my internet explorer all i see is this code for example---

error_reporting (E_ERROR | E_WARNING | E_PARSE); set_magic_quotes_runtime(0); class Debug { function startTimer() { global $starttime; $mtime = microtime (); $mtime = explode (' ', $mtime); $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; } function endTimer() { global $starttime; $mtime = microtime (); $mtime = explode (' ', $mtime); $mtime = $mtime

instead of the actual page you see at

http://freelynksbb.distanthost.com/forums/index.php

why when i try to view the changes on my harddrive in internet explorer, all i see is the code like the above code,and when i use the url to the page on my host i see the forum page, what am i missing on my harddrive that will let me preview the page the same way without connecting to the internet ?


Reply With Quote
  #6  
Old July 19th, 2003, 04:01 PM
free free is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: canada
Posts: 10 free User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to free
RE: viewing php in dreamweaver

the annomise post was mine and the system didnt show me loged in.

also dont click the [set_magic_quotes_runtime]
the url is ok


Reply With Quote
  #7  
Old July 25th, 2003, 03:20 PM
mugane mugane is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Charlottesville, VA USA
Posts: 425 mugane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to mugane Send a message via Yahoo to mugane
RE: viewing php in dreamweaver

Install Zend studio eval, it will set up php and the apache web server for you. Then you can view php files as if they were on the web. you would not be able to do so from your dreamweaver though, you would have to enter the address http://localhost/file.php into the url of your browser

Reply With Quote
  #8  
Old July 25th, 2003, 08:52 PM
free free is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: canada
Posts: 10 free User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to free
RE: viewing php in dreamweaver

i also found an excellent program which works well for offline viewing of php files etc.
its called phpdev ver.4.23.
it serves the exact purpose i need.
thanks for the suggestions

Reply With Quote
  #9  
Old July 26th, 2003, 04:21 AM
bakertrg's Avatar
bakertrg bakertrg is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Scottsdale AZ, US
Posts: 2,253 bakertrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 48 m 45 sec
Reputation Power: 4
Send a message via Yahoo to bakertrg
RE: viewing php in dreamweaver

the easiest way I have found to get a full local php development environment is to instal foxserv on your machine and put the website inside the server directory.

The reason javascript displays correctly when you edit and code it on your machine then view your work is because the browser interprets javascript (it's a client side thing) php is a server side module and thus you need to have a server running in order to show the result of your code.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > viewing php in dreamweaver


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway