Firefox 3, Dreamweaver MX, and PHP and INC files

Firefox won't load my local PHP files

Page 1 of 1

7 Replies - 1183 Views - Last Post: 06 July 2009 - 03:34 AM Rate Topic: -----

#1 Jrdpa  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 38
  • Joined: 16-February 09

Firefox 3, Dreamweaver MX, and PHP and INC files

Posted 28 June 2009 - 02:54 PM

Hi all,

I searched a bit, but didn't see what I was looking for so I hope I'm not repeating a topic.

Anyway, the gal who redid a site I am working on converting to the new format used PHP and INC files. I've never used INC files before. I just use HTML and CSS. When I convert a file to the new PHP and try to look at it in Firefox (since DW MX refuses to let me see PHP or INC in Design and Code view) FF (version 3 on a Mac running 10.4) just opens a blank tab then opens the file in DW even though I keep telling it to open in FF. Any ideas what is going on? What could I be doing wrong?

Whenever I go to a site using PHP files I have no problems accessing the site. It's just my local files.

Thanks,

JRDPA

This post has been edited by Jrdpa: 28 June 2009 - 02:54 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Firefox 3, Dreamweaver MX, and PHP and INC files

#2 Valek  Icon User is offline

  • The Real Skynet
  • member icon

Reputation: 542
  • View blog
  • Posts: 1,713
  • Joined: 08-November 08

Re: Firefox 3, Dreamweaver MX, and PHP and INC files

Posted 28 June 2009 - 03:44 PM

You need to run it on a web server with PHP installed. If you're on a Windows system, I'd recommend XAMPP.
Was This Post Helpful? 0
  • +
  • -

#3 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2891
  • View blog
  • Posts: 10,025
  • Joined: 08-August 08

Re: Firefox 3, Dreamweaver MX, and PHP and INC files

Posted 28 June 2009 - 04:25 PM

Macs come with php built in, but if you don't know how to set it up then it's probably easier to download MAMP.
Was This Post Helpful? 0
  • +
  • -

#4 Valek  Icon User is offline

  • The Real Skynet
  • member icon

Reputation: 542
  • View blog
  • Posts: 1,713
  • Joined: 08-November 08

Re: Firefox 3, Dreamweaver MX, and PHP and INC files

Posted 28 June 2009 - 04:46 PM

*re-reads the first post, facepalms*

I need to slow down and read the whole thing instead of skimming it.
Was This Post Helpful? 0
  • +
  • -

#5 Jrdpa  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 38
  • Joined: 16-February 09

Re: Firefox 3, Dreamweaver MX, and PHP and INC files

Posted 28 June 2009 - 05:26 PM

View PostValek, on 28 Jun, 2009 - 02:44 PM, said:

You need to run it on a web server with PHP installed. If you're on a Windows system, I'd recommend XAMPP.


Should it automatically work when I upload to a web server? The only place they have it right now is a back-end directory I can't see from my machine. Hmm...perhaps I can put it on my own domain for now to test it out like I have been for other stuff for the site since they didn't have a test server set up...urgh. I really wish they would get one. I hate setting things up on my server (like Joomla!) and having to completely redo it on their server!

Jrdpa

View PostCTphpnwb, on 28 Jun, 2009 - 03:25 PM, said:

Macs come with php built in, but if you don't know how to set it up then it's probably easier to download MAMP.


So then it should have worked? Hmmm.. I really wish they would get a test server d@mn!t!

Jrdpa
Was This Post Helpful? 0
  • +
  • -

#6 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2891
  • View blog
  • Posts: 10,025
  • Joined: 08-August 08

Re: Firefox 3, Dreamweaver MX, and PHP and INC files

Posted 28 June 2009 - 05:32 PM

It shouldn't work if you haven't turned on php and you aren't accessing it via the server:
http://localhost/som...th/filename.php
or
http://127.0.0.1/som...th/filename.php
or
http://youripaddress...th/filename.php

You'll also likely need to have mysql or some other database installed and configured. OS X doesn't come with that, but you could download it. Of course, MAMP comes with php and mysql, and it runs as an application, so there is minimal configuring to be done.
Was This Post Helpful? 0
  • +
  • -

#7 Jrdpa  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 38
  • Joined: 16-February 09

Re: Firefox 3, Dreamweaver MX, and PHP and INC files

Posted 05 July 2009 - 05:52 PM

Is there anyone who has documentation for MAMP? I saw only MAMP PRO has it. I'm not sure what to open my files with once I install MAMP (which I have). The only help I see is about changing your passwords, which I've done.

Thanks,

JRDPA

:stupid: <--- How I feel right about now
Was This Post Helpful? 0
  • +
  • -

#8 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1002
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: Firefox 3, Dreamweaver MX, and PHP and INC files

Posted 06 July 2009 - 03:34 AM

Have you considered using XAMPP for Mac?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1