navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

PHP and EW

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Expression Web Help >> PHP and EW
Page: [1]
 
javal

 

Posts: 26
Joined: 7/10/2004
Status: offline

 
PHP and EW - 11/27/2007 21:03:10   
OK, I admit I'm panicking reading about EW's incompatability with PHP. I decided to rebuild my 2,000 page FP site from scratch using EW. So far so good. But my discussion board is PHP based, and since the hits it generates are important for my ad-based site, I have this question:

If I simply create a folder within my site (www/my site/forum), will it be OK? The board works with PHP and a Mysql database, but I wouldn't actually be working on it using EW. Does that make sense?

Is there a way that I can keep this board? Any help appreciated, and if the question doesn't make sense, let me know what other info I can provide. (Gotta tell ya, EW is challenging as heck to us novices!) Thanks for any help..
ou812

 

Posts: 1592
Joined: 1/5/2002
From: San Diego
Status: online

 
RE: PHP and EW - 11/27/2007 22:53:51   
I don't see why there would be any problem at all. I use ASP, PHP, ASP.NET with different DB's all in EW with no problems. EW publishes them just fine, and then I FTP to whatever site.

_____________________________

-brian

EnterpriseDB: Enterprise-class relational database management system
PostgreSQL: The world's most advanced open source database

(in reply to javal)
jurgen

 

Posts: 385
Joined: 1/9/2007
From: Castle Rock, Colorado
Status: offline

 
RE: PHP and EW - 11/27/2007 23:12:39   
What I am curious, how can you have 2000+ pages.... generated in FP. What has to forum to do with FP. Most probably it is running under a separate program anyways. The only thing you are doing is link to it, either way.

I don't think you have set up the forum within FP in the first place.

There is absolutely np problem, FP, EW or DW. Those programs have nothing to do how your forum is running...

_____________________________

Wedding Dresses Colorado

(in reply to ou812)
BobbyDouglas

 

Posts: 5470
Joined: 5/15/2003
From: Arizona
Status: offline

 
RE: PHP and EW - 11/29/2007 3:16:16   
As long as you don't publish to the folder that has the forum, and you don't modify any of those files, you'll be perfectly fine.

You may want to create a folder with the name of your forum's folder, and set it to "Do not publish."

_____________________________

Arizona Web Design - Mr Bobs Web Design in Arizona
The Arizona Web Hosting Challenge

(in reply to jurgen)
Tailslide

 

Posts: 6126
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: PHP and EW - 11/29/2007 6:06:32   
Ok so can I ask a reaaally stupid question here?

I don't use these sorts of editors but I hear that EW isn't PHP compatible. What does that actually mean in practice?

If you had a PHP script running on a EW page which you'd coded using the code view - what would happen to it if you tried to publish it? Can you use an FTP and it would be ok?



_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to BobbyDouglas)
ou812

 

Posts: 1592
Joined: 1/5/2002
From: San Diego
Status: online

 
RE: PHP and EW - 11/29/2007 9:53:06   
I'm not sure what it means? :) I edit, publish(to my localhost), and then FTP my PHP pages with no problems at all.

_____________________________

-brian

EnterpriseDB: Enterprise-class relational database management system
PostgreSQL: The world's most advanced open source database

(in reply to Tailslide)
BobbyDouglas

 

Posts: 5470
Joined: 5/15/2003
From: Arizona
Status: offline

 
RE: PHP and EW - 11/29/2007 14:46:27   
It is read as if it was EW opening up a .txt file. Zero syntax highlighting, and no support for anything PHP related (can't run anything, lookup functions, check syntax, etc..).

MS did this so people would be forced to use ASP over PHP with EW.

_____________________________

Arizona Web Design - Mr Bobs Web Design in Arizona
The Arizona Web Hosting Challenge

(in reply to ou812)
caz

 

Posts: 3552
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: PHP and EW - 11/29/2007 14:54:31   
I believe that MS are having second thoughts about php for the next release of EW, of course one really shouldn't believe everything that is seen in blogs I suppose.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to BobbyDouglas)
ou812

 

Posts: 1592
Joined: 1/5/2002
From: San Diego
Status: online

 
RE: PHP and EW - 11/29/2007 15:09:34   

quote:

ORIGINAL: BobbyDouglas

It is read as if it was EW opening up a .txt file. Zero syntax highlighting, and no support for anything PHP related (can't run anything, lookup functions, check syntax, etc..).

MS did this so people would be forced to use ASP over PHP with EW.


Hmm, I must be missing something with all of my ASP. My PHP and ASP act just the same in EW. No highlighting, function lookup, syntax checking for either. Is there some nice toggle feature I should be turning on the get ASP to look and play nicer?

_____________________________

-brian

EnterpriseDB: Enterprise-class relational database management system
PostgreSQL: The world's most advanced open source database

(in reply to BobbyDouglas)
jaybee

 

Posts: 14176
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: PHP and EW - 11/29/2007 15:55:51   
If it's just a PHP call within an HTML file it's not really a problem with certain provisos (see below). If however you edit a PHP file in EW you can expect trouble. EW will mod bits you don't want changed and add spaces where there shouldn't be any.

The other problem is that EW will load the page with a BOM and cause no end of hassle. There is an old thread somewhere with all the details. Search for BOM or Byte Order Mark.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to ou812)
Page:   [1]

All Forums >> Web Development >> Expression Web Help >> PHP and EW
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts