This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2005 > Server Scripts MMHTTPDB.php error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Server Scripts MMHTTPDB.php error
ed Cohen

2005-08-31, 7:34 pm

To All,
I have found a problem that Dreamweaver MX 2004 has with the ISP that my
client is using. When you want to connect Dreamweaver to a mysql db,
Dreamweaver creates 2 hidden files. One is: mysql.php. The second is
MMHTTPDB.php. Both are in the _mmServerScripts directory. Well, after much
looking around I found that the MMHTTPDB.php script does not work with old
versions of PHP. In this case, the isp that my client is using uses PHP version
4.0.6!! In this version of php, you cannot use the following:
$_POST['variableX']. It just does not work, the _POST variable does not exist.
My solution was to hand edit the MMHTTPDB.php file are replace all the _POST's
with HTTP_POST_VARS. Then I uploaded the file to the server and viola! It
works!!!
Now, here is my question, is there a patch, mod or something that I can
apply to Dreamweaver MX 2004 that will automatically solve this problem?

Ed Cohen | encohen@comcast.net

Tom Muck

2005-08-31, 7:35 pm

ed Cohen wrote:
> To All,
> I have found a problem that Dreamweaver MX 2004 has with the ISP that my
> client is using. When you want to connect Dreamweaver to a mysql db,
> Dreamweaver creates 2 hidden files. One is: mysql.php. The second is
> MMHTTPDB.php. Both are in the _mmServerScripts directory. Well, after much
> looking around I found that the MMHTTPDB.php script does not work with old
> versions of PHP. In this case, the isp that my client is using uses PHP version
> 4.0.6!! In this version of php, you cannot use the following:
> $_POST['variableX']. It just does not work, the _POST variable does not exist.
> My solution was to hand edit the MMHTTPDB.php file are replace all the _POST's
> with HTTP_POST_VARS. Then I uploaded the file to the server and viola! It
> works!!!
> Now, here is my question, is there a patch, mod or something that I can
> apply to Dreamweaver MX 2004 that will automatically solve this problem?


No. If there is a host still using 4.0.6, run away from that host. There
have been MAJOR security concerns and fixes since that version came out
over 4 years ago.

--
Tom Muck
http://www.tom-muck.com/
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews