PHP and EW (Full Version)

All Forums >> [Web Development] >> Expression Web Help



Message


javal -> 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 -> 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.




jurgen -> 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...




BobbyDouglas -> 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."




Tailslide -> 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?





ou812 -> RE: PHP and EW (11/29/2007 9:53:06)

I'm not sure what it means? [8|] I edit, publish(to my localhost), and then FTP my PHP pages with no problems at all.




BobbyDouglas -> 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.




caz -> 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.




ou812 -> 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?




jaybee -> 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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875