PHP/MySQL connection / testing server maybe?

Problem - I'm unable to connect to a PHP database. I'm
working right now with tutorials from the DW CS3 Bible by Lowery,
but haven't been able to connect at all. And I wasted weeks trying
the same thing with an ASP connection.
The error message I'm getting now is '405 Method not Allowed'
when working through the connection dialog. I thought PHP/MySQL was
supposed to be easier & better than ASP/Access?
In going through the site setup, instructions for setting up
the site's testing server say 'click test to verify the connection'
but there's no button to click. What am I missing?
Is there some kind of easy test script I can attempt, as with
asp? Problem there was that I could do the 'timetest' sample, but
nothing else.
I have gone through setting permissions and creating IUSR_my
computer name as a user - they seemd to work fine, but I still
can't connect.
Thanks anyone, and everyone - my first post regarding
connection problems was on 8/22 and I feel like I have gotten
nowhere.

Have you looked at this tutorial?
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Adobe Certified Expert - Dreamweaver CS3
Adobe Certified Expert - ColdFusion 8
Fordwebs, LLC
http://www.fordwebs.com
"LReber" <[email protected]> wrote in
message
news:gcegd6$qmu$[email protected]..
> Problem - I'm unable to connect to a PHP database. I'm
working right now
> with
> tutorials from the DW CS3 Bible by Lowery, but haven't
been able to
> connect at
> all. And I wasted weeks trying the same thing with an
ASP connection.
> The error message I'm getting now is '405 Method not
Allowed' when working
> through the connection dialog. I thought PHP/MySQL was
supposed to be
> easier &
> better than ASP/Access?
> In going through the site setup, instructions for
setting up the site's
> testing server say 'click test to verify the connection'
but there's no
> button
> to click. What am I missing?
> Is there some kind of easy test script I can attempt, as
with asp? Problem
> there was that I could do the 'timetest' sample, but
nothing else.
> I have gone through setting permissions and creating
IUSR_my computer name
> as
> a user - they seemd to work fine, but I still can't
connect.
> Thanks anyone, and everyone - my first post regarding
connection problems
> was
> on 8/22 and I feel like I have gotten nowhere.
>

Similar Messages

  • New PHP/MySQL Connection extension doesn't  show tables.  What's the next step?

    I'm creating Dreamweaver extensions to work with my CMS.
    Since it is already connecting to the MySQL database I'd like
    Dreamweaver to access the same connection without asking the
    developer for the MySQL credentials again. I have created the HTML
    form, the EDML for the connection script, and the JavaScript to
    stitch it together, and I can successfully create connections. The
    connection script looks good but when I try to expand the tables in
    the database window it doesn't post a request to the server and it
    just shows "None". I have a regular PHP MySQL connection on the
    same site which works fine.
    I feel like I'm missing a required next step which would tell
    it how to enumerate tables. It would be ideal if I could plug into
    the existing PHP MySQL code for this.
    I would really appreciate any help and/or pointers!

    "zymsys" <[email protected]> wrote in
    message
    news:fiuho4$ao8$[email protected]..
    > I'm creating Dreamweaver extensions to work with my CMS.
    Since it is
    > already
    > connecting to the MySQL database I'd like Dreamweaver to
    access the same
    > connection without asking the developer for the MySQL
    credentials again.
    > I
    > have created the HTML form, the EDML for the connection
    script, and the
    > JavaScript to stitch it together, and I can successfully
    create
    > connections.
    > The connection script looks good but when I try to
    expand the tables in
    > the
    > database window it doesn't post a request to the server
    and it just shows
    > "None". I have a regular PHP MySQL connection on the
    same site which
    > works
    > fine.
    > I feel like I'm missing a required next step which would
    tell it how to
    > enumerate tables. It would be ideal if I could plug into
    the existing PHP
    > MySQL code for this.
    >
    > I would really appreciate any help and/or pointers!
    Are you using the Database access functions?
    http://livedocs.adobe.com/dreamweaver/8/apiref/07_mmd31.htm
    MMDB.getTables()
    http://livedocs.adobe.com/dreamweaver/8/apiref/07_mmd42.htm
    MMDB.getColumns()
    http://livedocs.adobe.com/dreamweaver/8/apiref/07_mmd34.htm
    Or are your trying to create a new Connection Type for the
    PHP_MySQL_ServerModel or a whole new servermodel alltogether?

  • PHP MySql connection to GoDaddy

    I use DWCS4, PHP, MySQL. I have created a MySql database on my GoDaddy-hosted account and can FTP to it and have transferred tables and data to it. However, when I try to create a database connection in DW, I get the following error message; "Your PHP server does not have the MySQL module loaded or you can’t use the mysql_(p)connect functions."
    I searched for solutions on the web (no answers in this forum), and got several results that said to manually create the connection file such as the following
    <?php//Sample Database Connection Syntax for PHP and MySQL.
    //Connect To Database
    $hostname="your_mysqlserver.secureserver.net";
    $username="your_dbusername";
    $password="your_dbpassword";
    $dbname="your_dbusername";
    $usertable="your_tablename";
    $yourfield = "your_field";
    mysql_connect($hostname,$username, $password) OR DIE ("<html><script language='JavaScript'>
    alert('Unable to connect to database! Please try again later.');
    history.go(-1);</script></html>");
    mysql_select_db($dbname);
    ?>
    Just fill in your password etc, save it as connectdb.php (or whatever), and include it at the top of the files that need to access the database. You could use an if statement to determine whether you were working locally or on GoDaddy.
    I tried that, but it still won't connect. (My regular connection for just transferring files works fine).
    Has anyone out there solved the GoDaddy database connection problem?
    Frank

    Check php_info()to see which connector is enabled.
    It should be either mysql or mysqli.
    Since you are having problems with mysql, try to connect with mysqli connector.
    If that won't solve your problem, email GD about your problem, and ask if any mysql connectors are enabled in your hosting plan.

  • Help with php mysql connect script

    Ok guys im new to php mysql and i'm trying to insert some
    form information in my database. Im using a script from sitepoint
    in which i went through the tutorial did some experiments of my own
    and it worked....
    but now i'm getting this error which i cant figure out....
    Error placing order: You have an error in your SQL syntax;
    check the manual that corresponds to your MySQL server version for
    the right syntax to use near 'order SET product ='1',
    size='medium', color='', quantity = '1' at line 1
    here is the page
    http://vaughntucker.com/imagecon/hats.php
    and this is the script
    <?php
    //default page display
    //connect to database
    $dbcnx = @mysql_connect('p3nl41mysql7.secureserver.net',
    'imagecon', 'Dub*boss_1');
    if (!$dbcnx) {
    echo '<p> Unable to connect to the '. 'database server
    at this time.</p>';
    exit();
    //select database
    if (!@mysql_select_db('imagecon')) {
    exit('<p>Unable to locate the ' .
    'database at this time.</p>');
    //Mysql query add joke
    if (isset($_POST['submit'])) {
    $product = 1;
    $size = $_POST['size'];
    $color = $_POST['color'];
    $quan = $_POST['quantity'];
    $sql = "INSERT INTO order SET
    product ='$product',
    size='$size',
    color='$color',
    quantity = '$quan',
    date = CURDATE()";
    }else{
    echo 'No data submited';
    if (@mysql_query($sql)) {
    echo '<p>Your order has been submited.</p>';
    } else {
    echo '<p>Error placing order: ' .
    mysql_error() . '</p>';
    ?>
    thanks in advance

    $sql = "INSERT INTO order SET
    product ='" . $product . "',
    size='" . $size . "',
    color='" . $color . "',
    quantity = '" . $quan . "',
    I believe there are other more elegant ways to do this, as
    well.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "beatzMalone" <[email protected]> wrote in
    message
    news:[email protected]...
    > Ok guys im new to php mysql and i'm trying to insert
    some form information
    > in
    > my database. Im using a script from sitepoint in which i
    went through the
    > tutorial did some experiments of my own and it
    worked....
    >
    > but now i'm getting this error which i cant figure
    out....
    >
    > Error placing order: You have an error in your SQL
    syntax; check the
    > manual
    > that corresponds to your MySQL server version for the
    right syntax to use
    > near
    > 'order SET product ='1', size='medium', color='',
    quantity = '1' at line 1
    >
    > here is the page
    >
    http://vaughntucker.com/imagecon/hats.php
    >
    > and this is the script
    > <?php
    > //default page display
    > //connect to database
    > $dbcnx = @mysql_connect('p3nl41mysql7.secureserver.net',
    'imagecon',
    > 'Dub*boss_1');
    > if (!$dbcnx) {
    > echo '<p> Unable to connect to the '. 'database
    server at this
    > time.</p>';
    > exit();
    >
    > }
    >
    > //select database
    > if (!@mysql_select_db('imagecon')) {
    > exit('<p>Unable to locate the ' .
    > 'database at this time.</p>');
    > }
    >
    > //Mysql query add joke
    > if (isset($_POST['submit'])) {
    > $product = 1;
    > $size = $_POST['size'];
    > $color = $_POST['color'];
    > $quan = $_POST['quantity'];
    > $sql = "INSERT INTO order SET
    > product ='$product',
    > size='$size',
    > color='$color',
    > quantity = '$quan',
    > date = CURDATE()";
    > }else{
    > echo 'No data submited';
    >
    > }
    > if (@mysql_query($sql)) {
    > echo '<p>Your order has been submited.</p>';
    > } else {
    > echo '<p>Error placing order: ' .
    > mysql_error() . '</p>';
    > }
    >
    >
    >
    > ?>
    >
    > thanks in advance
    >

  • Updating to 10.4.11 killed my PHP/MYSQL connections

    Hi all - I use Dreamweaver CS3 for web development, and have been using some very simple PHP/MYSQL Select and Inserts. Everything was working fabulously up until this morning, when I updated to 10.4.11 (Macbook Pro, CoreDuo). As soon as I updated, I get a 'No Database Selected' message in Safari, Firefox and IE. I can see the database and work with it in DWeaver, just can't get it to go live in browsers.
    I'm running PHP 5.2.4, MYSQL 5.1.8 and whatever version of Apache is bundled in OS X (I think it's 1.x - but can't find how to get that number!)
    Just for record, I have stopped/restarted Personal Web Sharing, Personal File Sharing, OS X, MYSQL to just check whether something wasn't working there.
    I'm about to close out, zap the PRAM and then come back in.
    Any ideas?
    Vince

    Thanks - A couple of additional points. This is OS X 10.4.11, not OS X Server, so I had installed MYSQL and PHP as fresh installations. MYSQL has not changed since I installed and is running fine through direct client (Navicat).
    For PHP I was running 4 and it had been running fine. When the update to OSX came through, PHP 4 didn't work - no change had been made to any configuration file that was working already. These are the httpd.conf instructions I had followed to set-up PHP 4:
    +1 Launch Terminal from /Applications/Utilities.+
    +2 Open the Apache configuration file and edit the UNIX shell prompt:+
    +sudo pico /etc/httpd/httpd.conf+
    +3 When prompted for a password, enter the Mac OS X administrator account password.+
    +4 Uncomment the following lines:+
    +LoadModule php4_module libexec/httpd/libphp4.so+
    +AddModule mod_php4.c+
    +5 Add the following lines (add these lines above: AddType application/x-tar .tgz):+
    +AddType application/x-httpd-php .php+
    +AddType application/x-httpd-php-source .phps+
    +Note: All the commands for the pico editor display on the screen and you can start any commands with the Control key. Use the arrow keys to move around. Pico is a text editor, mostly for UNIX users to use at the UNIX command line. The pico text editor resides in /usr/bin/ directory.+
    +6 Add a new index page for PHP (index.php) so that the web server will recognize it as the first page to load:+
    +<IfModule mod_dir.c>+
    +DirectoryIndex index.html index.php index.htm+
    </IfModule>
    +7 Save the httpd.conf file by pressing ^X (control & x keys). When the screen asks "Save Modified buffer?", press "Y". When prompted for "File Name to write : httpd.conf", press Return once to accept it. This will return you to the UNIX shell prompt.+
    When PHP 4 stopped working, I took the decision to upgrade to 5 and then fix the breakdown (by now, I was convinced it was an Apache change (nothing in config had changed at all). So, upgraded to PHP 5 and, to do so, had to reverse the directions above. Since then, I've tried reenabling the above, replacing with PHP5 wherever PHP4 appears, all to no avail (in fact, it just froze the Personal Web Sharing that turns Apache on/off).
    Right now, running the phpinfo check detailed above tells me the PHP 5 is successfully installed and running. The text from the test copied here:
    +System Darwin Vincet-MacBook-Pro.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386+
    +_Build Date_ Aug 31 2007 23:38:11+
    +_Configure Command_ './configure' '--prefix=/usr/local/php5' '--with-apxs' '--with-config-file-scan-dir=/usr/local/php5/php.d' '--with-iconv' '--with-openssl=/usr' '--with-zlib=/usr' '--with-gd' '--with-zlib-dir=/usr' '--with-ldap' '--with-xmlrpc' '--with-iconv-dir=/usr' '--with-snmp=/usr' '--enable-exif' '--enable-wddx' '--enable-soap' '--enable-sqlite-utf8' '--enable-ftp' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-mbstring' '--enable-calendar' '--enable-bcmath' '--with-bz2=/usr' '--enable-fastcgi' '--enable-cgi' '--enable-memory-limit' '--enable-zip' '--enable-pcntl' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-curl=shared,/usr/local/php5' '--with-mysql=shared,/usr/local/php5' '--with-mysqli=shared,/usr/local/php5/bin/mysql_config' '--with-pdo-mysql=shared,/usr/local/php5' '--with-libxml-dir=shared,/usr/local/php5' '--with-xsl=shared,/usr/local/php5' '--with-pdflib=shared,/usr/local/php5' '--with-imap=../imap-2004g' '--with-kerberos=/usr' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr/local/php5' '--with-png-dir=/usr/local/php5' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local/php5' '--with-iodbc=shared,/usr' '--with-pgsql=shared,/usr/local/php5' '--with-pdo-pgsql=shared,/usr/local/php5' '--with-t1lib=/usr/local/php5' '--with-gettext=shared,/usr/local/php5' '--with-ming=shared,/usr/local/php5' '--with-mcrypt=shared,/usr/local/php5' '--with-mhash=shared,/usr/local/php5' '--with-mssql=shared,/usr/local/php5' '--with-fbsql=shared,/Users/liyanage/svn/entropy/universalbuild/src/FBDeveloper Libraries/Library/FrontBase' '--with-json=shared' '--enable-memcache' '--enable-openbase_module'+
    +_Server AP_I Apache+
    +_Virtual Directory Suppor_t disabled+
    +_Configuration File (php.ini) Path_ /usr/local/php5/lib+
    +_Loaded Configuration File_ /usr/local/php5/lib/php.ini+
    +_Scan this dir for additional .ini files_ /usr/local/php5/php.d+
    +_additional .ini files parsed_ /usr/local/php5/php.d/10-extension_dir.ini, /usr/local/php5/php.d/50-extension-curl.ini, /usr/local/php5/php.d/50-extension-fbsql.ini, /usr/local/php5/php.d/50-extension-gettext.ini, /usr/local/php5/php.d/50-extension-json.ini, /usr/local/php5/php.d/50-extension-mcrypt.ini, /usr/local/php5/php.d/50-extension-mhash.ini, /usr/local/php5/php.d/50-extension-ming.ini, /usr/local/php5/php.d/50-extension-mssql.ini, /usr/local/php5/php.d/50-extension-mysql.ini, /usr/local/php5/php.d/50-extension-mysqli.ini, /usr/local/php5/php.d/50-extension-odbc.ini, /usr/local/php5/php.d/50-extension-pdf.ini, /usr/local/php5/php.d/50-extension-pdo_mysql.ini, /usr/local/php5/php.d/50-extension-pdo_pgsql.ini, /usr/local/php5/php.d/50-extension-pgsql.ini, /usr/local/php5/php.d/50-extension-xsl.ini+
    +_PHP API_ 20041225+
    +P_HP Extension_ 20060613+
    +_Zend Extension_ 220060519+
    +_Debug Build_ no+
    +_Thread Safety_ disabled+
    +Zend Memory Manager enabled+
    +_IPv6 Support_ enabled+
    +_Registered PHP Streams_ zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps+
    +_Registered Stream Socket Transports_ tcp, udp, unix, udg, ssl, sslv3, sslv2, tls+
    +_Registered Stream Filters_ string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*+
    I don't know if any of this helps, but it's what I find. From my online troubleshooting and reading, I believe all of the above looks right and that things should work. So, I'm still left with an informed gut decision that something in the set-up of Apache changed (location in file structure, configuration file, etc.) Could it be looking at a second copy of httpd.conf somewhere else? That would seem to make sense - however I haven't managed to turn up how to assess which version of Apache is loaded (I think 1.3) or where it's located.
    If anyone can confirm what PHP5 code should be included in httpd.conf given the above, that would be a great next step.
    Thanks for all your assistance!
    Vince

  • CS6 Dreamweaver using PHP & MySQL - Delete Record Server Behavior?

    When I try to insert the Delete Record server behavior. I get an error message about a DeleteRecord.js file, which seems to be missing or defective.  I cannot use the server behavior.  I have a file that I developed using CS5, and it does indeed delete the record, but does not proceed to the destination I want.  I cannot change that except in the server behavior, so I'm stuck.  I have noticed that server behaviors seem to disappear without apparent cause, as it seems to have in this case.  I will appreciate any suggestions!  Is there any way to embed a call to a target page manually?  All is working WITHOUT the server behavior appearing, but I want to go to a confirmation display page that shows the record is indeed deleted, and we just return to the (now blank) delete confirmation page.  That'll drive a user bonkers!
    Thanks!
    Delete Record in CS6 Dreamweaver using PHP & MySQL?

    Well, your error message is self-explanatory.
    DW stores ServerBehaviors in 'Configuration' folder in installation directory. If one of the behavior JS files is missing/ corrupt, you'll see the error message you just did.
    I've uploaded a functional, proper version of DeleteRecord.js onto my site for you to download. Here's the link:
    http://www.sudarshan.me/adobeforum/dw/app/behavior-js/DeleteRecord.zip
    Download this file, extract it and put DeleteRecord.js file in your installation directory as follows. If prompted, 'replace' your local copy:
    Mac: Applications > Adobe Dreamweaver CS6 > Configuration > ServerBehaviors > PHP_MySQL
    Windows: C:\Users\Your User Name\AppData\Roaming\Adobe\Dreamweaver CS6\[language]\Configuration\ServerBehaviors\PHP_MySQL
    It should work as expected.
    If that still doesn't solve the problem, reset your DW preferences and cache and try doing it. Follow the instructions here to reset cache: http://forums.adobe.com/thread/494811
    Let us know how it goes.
    -ST

  • Mysql connection mac-server 2003

    Hi there,
    Recently I bought my first Mac(book). I'm running MySQL on a local server
    and with my PC I can connect without a problem to localhost in the MySQL
    Connection box.
    On my Mac I can't get this done. Tried several things like the IP adress,
    servername etc. and am realy stuck. Anybody here has a solution?
    Greetings,
    Henk

    Not many of us have 2003, so pardon if our answers miss the mark...
    OS X tries to use your OS X username/password, so do you have an account set up on 2003 with that username?
    You do know that you will need a different driver for network printing to the Deskjet? The HP-provided driver (including pre-installed on OS X) is written to use USB only.
    Get hpijs and ESP ghostscript from:
    http://www.linuxprinting.org/macosx/hpijs/

  • PHP MySQL connect error

    OK
    I get the following error when running my php pages on our
    new web server (Windows Server 2003):
    Fatal error: Call to undefined function mysql_pconnect() in
    c:\Inetpub\wwwroot\jionas_website\Connections\jonas_website.php
    on line 9
    When I open the file jonas_website.php it indicates the
    filename Connection_php_mysql.htm. It is on my local machine in the
    programs folder but not on the web server. Should it be?
    If I run a phpinfo page it runs fine...actually any php
    commands seems to work.
    I also get that "unidentified error" when I try to connect to
    MYSQL through Dreamweaver MX 2004. I have followed all the
    suggestions in the technote for this error. I still get it.
    I can connect to the MYSQL server through MYSQLadministrator
    so I am not sure what is going on.
    Please help.
    Darren

    Hung Kuen Kung Fu wrote:
    > MYSQL is not listed under the phpinfo page. MMM. Not
    sure how to enable this in the php.ini so i will have to look.
    Remove the semicolon from the beginning of these lines in the
    Windows
    extensions section:
    ;extension=php_mbstring.dll
    ;extension=php_mysql.dll
    Also add this line after them:
    extension=php_mysqli.dll
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Php mysql connect with yahoo

    I HAVE HOST ON YAHOO AND THIS SCRIPT DOSN'T WORK WITH YAHOO
    can u help me ....
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_midcommerce = "localhost";
    $database_midcommerce = "DATABASE";
    $username_midcommerce = "USER";
    $password_midcommerce = "PASSWORD";
    $midcommerce = mysql_pconnect($hostname_DATABASE,
    $username_DATABASE, $password_DATABASE) or
    trigger_error(mysql_error(),E_USER_ERROR);
    ?>

    Hung Kuen Kung Fu wrote:
    > MYSQL is not listed under the phpinfo page. MMM. Not
    sure how to enable this in the php.ini so i will have to look.
    Remove the semicolon from the beginning of these lines in the
    Windows
    extensions section:
    ;extension=php_mbstring.dll
    ;extension=php_mysql.dll
    Also add this line after them:
    extension=php_mysqli.dll
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • CS5.5 I can't get testing server, "design" and "Split" views operational

    I just upgraded from DWCS3 to DWCS5.5 and am trying to get php (dynamically related) files working. Very frustrating.
    I have set up everything according to the tutorial at http://www.adobe.com/devnet/dreamweaver/articles/setup_testing_server.html Nothing seems to work. And no one seems to currently be answering posts...so I apologize if this is a faux pas, but I'm starting a new thread in hopes that I and others can get some help.
    Here's what I have:
    WAMP server: : C:\TNG813onMowesII\www\ (Mowes Portable II is  software that enables you to quickly set up a WAMP (Windows, Apache, MySQL and PHP) system on any Windows system.))
    Site Name: localhost genealogy Local Site Folder: C:\TNG813onMowesII\www\ Server Name: localhost  Server Folder: C:\TNG813onMowesII\www\  Web URL: http://localhost/genealogy/ Server Model: PHP MySQL Connection: Local/Network
    Remote - unchecked
    Testing - checked
    I also have an idnetical image at D:/MyWebs/public_html/ for syncing with my remote website - http:larryvoyer.com
    My "Design", "Split", "Live View" and "Inspect" buttons are greyed out.
    Again, I apologize if I messed things up bu opening a thread on a prvious subject
    Larry Voyer
    Site Creator/Administrator
    http://larryvoyer.com/genealogy/
    Attempting to solve this on another thread, I was asked for the code that I was trying to see in design view...here it is if it's important:
    <?php
    $flags['noicons'] = true;
    $flags['noheader'] = true;
    $flags['nobody'] = true;
    //Change the text in quotes below to reflect the title of your site
    tng_header( "{$tmp['t5_maintitle']}", $flags );
    ?>
    <body>
    <div align="center">
    <table width="90%" class="maintable">
      <tr>
        <td class="row" colspan="6"></td>
      </tr>
    <tr>
      <td class="imagesection"> </td>
      <td class="spacercol">  </td>
      <td class="content" colspan="4">
       <table border="0" cellpadding="5" cellspacing="0" width="2%" class="innertable">
            <tr>        
        <td class="leftimage"><img src="<?php echo $cms['tngpath'] . $templatepath; ?><?php echo $tmp['t5_leftimg']; ?>" alt="louis voyer" ></td>
        <td class="banner" colspan="2"><img src="<?php echo $cms['tngpath'] . $templatepath; ?><?php echo $tmp['t5_titleimg']; ?>" alt="title"/></td>
        <td class="rightimage"><img src="<?php echo $cms['tngpath'] . $templatepath; ?><?php echo $tmp['t5_rightimg']; ?>" alt="louis voyer" ></td>
      </td>
    </tr>
        <tr>
            <td colspan="4" class="boxback">
       <a href="whatsnew.php" class="lightlink2"><?php echo $text['mnuwhatsnew']; ?></a>
                | <a href="browsemedia.php?mediatypeID=photos" class="lightlink2"><?php echo $text['mnuphotos']; ?></a>
                | <a href="browsemedia.php?mediatypeID=documents" class="lightlink2"><?php echo $text['documents']; ?></a>
                | <a href="browsemedia.php" class="lightlink2"><?php echo $text['allmedia']; ?></a><br />
    <!-- SECOND LINE OF LINKS-->
                <a href="mostwanted.php" class="lightlink2"><?php echo $text['mostwanted']; ?></a>
                | <a href="reports.php" class="lightlink2"><?php echo $text['mnureports']; ?></a>
                | <a href="cemeteries.php" class="lightlink2"><?php echo $text['mnucemeteries']; ?></a>
          | <a href="browsemedia.php?mediatypeID=headstones" class="lightlink2"><?php echo $text['mnutombstones']; ?></a>
          | <a href="anniversaries.php" class="lightlink2"><?php echo $text['anniversaries']; ?></a>
          | <a href="places.php" class="lightlink2"><?php echo $text['places']; ?></a><br />
    <!-- THIRD LINE OF LINKS-->
          <a href="browsenotes.php" class="lightlink2"><?php echo $text['notes']; ?></a>
          | <a href="browsesources.php" class="lightlink2"><?php echo $text['mnusources']; ?></a>
             | <a href="browsetrees.php" class="lightlink2"><?php echo $text['mnustatistics']; ?></a>
             | <a href="bookmarks.php" class="lightlink2"><?php echo $text['bookmarks']; ?></a>
          | <a href="suggest.php" class="lightlink2"><?php echo $text['contactus']; ?></a>
    <?php
    if( $allow_admin ) {
      echo "| <a href=\"showlog.php\" class=\"lightlink2\">{$text['mnushowlog']}</a>\n";
      echo "| <a href=\"admin.php\" class=\"lightlink2\">{$text['mnuadmin']}</a>\n";
    ?>
      </td>
         </tr>
          <tr>
         <td class="leftcontent" rowspan="3">
      <div class="header">
                  <p>Our Noble Background</p>
       </div>
       <p>Recently, the <a href="Longueval" _mce_href="http://www.habitant.org/longueval/">Longueval">http://www.habitant.org/longuev al/">Longueval Research Project </a> has established the connection, through Anne Couvent, into the royalty database.
        This site includes that ancestry.
        Anne Couvent is in your ancestry, have fun loking at some of our famous and infamous ancestors. </p>
        <li><div align="left">
         <ul>
          <li> <a href="pedigree.php?personID=I63070&amp;tree=v7_28"><img src="img/Chart.gif" class="chartimg" alt="" /></a>  <a href="getperson.php?personID=I63070amp;tree=v7_28" class="pers" id="pI63070_tv7_28">Queen Cleopatra </a>  </li>
          <li> <a href="pedigree.php?personID=I107713&amp;tree=v7_28"><img src="img/Chart.gif" class="chartimg" alt="" /></a>  <a href="getperson.php?personID=I107713&amp;tree=v7_28" class="pers" id="pI185929_tv7_28">Alexander the Great</a>  </li>     
          <li> <a href="pedigree.php?personID=I186817&amp;tree=v7_28"><img src="img/Chart.gif" class="chartimg" alt="" /></a>  <a href="getperson.php?personID=I186817&amp;tree=v7_28" class="pers" id="pI186817_tv7_28">Attila the Hun</a>  </li>
          <li> <a href="pedigree.php?personID=I83464&amp;tree=v7_28"><img src="img/Chart.gif" class="chartimg" alt="" /></a>  <a href="getperson.php?personID=I83464&amp;tree=v7_28" class="pers" id="pI83464_tv7_28">Charlemagne</a>  </li>
          <li> <a href="pedigree.php?personID=I185929&amp;tree=v7_28"><img src="img/Chart.gif" class="chartimg" alt="" /></a>  <a href="getperson.php?personID=I185929&amp;tree=v7_28" class="pers" id="pI185929_tv7_28">King Louis XIV</a>  </li>
         </ul>
          </div></li>
       <p> Here are some links showing noble ancestors as they are related to me </p>
          <ul><li>
          <div align="left"><a href="rulers/rulers_france.php">Rulers of France</a></div>
        </li>
        <li>
          <div align="left"><a href="rulers/rulers_germany.php">Rulers of Germany</a></div>
        </li>
        <li>
          <div align="left"><a href="rulers/rulers_hre.php">Rulers of theHoly Roman Empire</a></div>
        </li>
        <li>
          <div align="left"><a href="rulers/rulers_italy.php">Rulers of Italy</a></div>
        </li>
        <li>
          <div align="left"><a href="rulers/rulers_visigoths.php">Rulers of the Visigoths</a></div>
        </li>
        <li>
          <div align="left"><a href="rulers/rulers_franks.php">Rulers of the Franks</a></div>
        </li>
         </ul>
         <p>  </p>
         <span class="style26o">Please note: this is not complete and is included for the user to see their potential relationship to past nobility
              The nobility database is far from the primary focus of the site and will not be supported other than the correction of errors.</span></div>
            </td>
      <td>
       <div class="header">
                  <?php echo $text['welcome']; ?>!
       </div>
       <div class="normal">
          <img src="<?php echo $cms['tngpath'] . $templatepath; ?><?php echo $tmp['t5_mainimage']; ?>" alt="" style="float:right" class="indexphoto" width="300"  /><br /><br />
         <p>Welcome to the genealogy site devoted to Voyer and Bedard ancestry. Why Voyer and Bedard? My father was a Voyer. My mother a Bedard
         I believe that this is the largest compilation of Voyers with 4000+ and 24,000+ Bedards. I hope that it will be useful to those looking for their heritage.</p>
         </p>I am indebted to my cousin Jacqueline TIERNAN Poudrier for her tireless research and contributions to this site. </p>
         <p>If you have any questions or comments about the information on
         this site, <a href="suggest.php">please contact us</a>.
         We look forward to hearing from you.</p>
         <ul>
          <?php
           if(!$currentuser) {
            if(!$tngconfig['disallowreg'])
             echo "<li><a href=\"newacctform.php\">{$text['mnuregister']}</a></li>\n";
            echo "<li><a href=\"login.php\">{$text['mnulogon']}</a></li>\n";
           else {
            echo "<li><a href=\"logout.php\">{$text['mnulogout']}</a></li>\n";
           if($chooselang)
            echo "<li><a href=\"changelanguage.php\">{$text['mnulanguage']}</a></li>\n";
          ?>
         </ul>
         <p></p>
         <div>
         <div class="header">
                  <p>DNA Genealogy</p>
       </div>
       <p></p>
         <p>DNA technology allows us another way to investigate our ancestry, especially with regard to lines that have been difficult or even impossible to resolve as is our case with the lack of records in France.<p></p> 
    There are many ways to test and analyze DNA, but there are two particular kinds of DNA testing that are especially useful in genealogy:  Y-chromosome DNA (Y-DNA) testing and mitochondrial DNA (mtDNA) testing.  The genealogical usefulness of these two DNA tests is based on two aspects of human inheritance:
       <ol>
       <li>  that the Y chromosome is passed on only by the father</li>
       <li>  that mitochondria are passed on only by the mother</li>
       </p>
       <p>Both a VOYER and a BEDARD DNA project have been created and can reached through the links below. Please make sure that the person submitted for DNA tests is in our dtabase so that we can determine the earliest ancestor.
       If you are submitting for a mitochondrial DNA test, please contact us so that we can attempt to trace your maternal pedigree.
              <div class="subheader"><span class="style41"><a href="Voyer" _mce_href="http://www.worldfamilies.net/surnames/voyer">Voyer">http://www.worldfamilies.n et/surnames/voyer">Voyer DNA Project</a> <a href="Bedard" _mce_href="http://www.worldfamilies.net/surnames/bedard">Bedard">http://www.worldfamilies .net/surnames/bedard">Bedard DNA Project</a></span></div>
        <div>
        </td>
      </div>
      <td> </td>
            <td class="rightcontent">
        <div class="language_box">
         <?php
          if($chooselang) {
           $query = "SELECT languageID, display, folder FROM $languages_table ORDER BY display";
           $result = mysql_query($query) or die ($text['cannotexecutequery'] . ": $query");
           $numlangs = mysql_num_rows( $result );
           if($numlangs > 1) {
            echo getFORM( "savelanguage2", "get", "tngmenu3", "" );
            echo "<select name=\"newlanguage3\" id=\"newlanguage3\" style=\"font-size:11px;\" onchange=\"document.tngmenu3.submit();\">";
            while( $row = mysql_fetch_assoc($result)) {
             echo "<option value=\"{$row['languageID']}\"";
             if( $languages_path . $row['folder'] == $mylanguage )
              echo " selected=\"selected\"";
             echo ">{$row['display']}</option>\n";
            echo "</select>\n";
            echo "<input type=\"hidden\" name=\"instance\" value=\"3\" /></form>\n";
           mysql_free_result($result);
          echo "</p>\n";
         ?>
       </div>
       <form action="search.php" method="get">
        <table class="indexbox">
         <tr>
          <td class="padding"><span class="boxback"><?php echo $text['mnulastname']; ?>:<br />
           <input type="text" name="mylastname" class="searchbox" size="14" /></span></td></tr>
           <tr><td class="padding"><span class="boxback"><?php echo $text['mnufirstname']; ?>:<br />
           <input type="text" name="myfirstname" class="searchbox" size="14" /></span>
          </td>
         </tr>
         <tr>
          <td class="padding"><span class="normal"><input type="hidden" name="mybool" value="AND" />
          <input type="submit" name="search" value="<?php echo $text['mnusearchfornames']; ?>" class="small" /><br /><br />
          <?php
           echo "<a href=\"surnames.php\" class=\"lightlink2\">{$text['mnulastnames']}</a><br />\n";
           echo "<a href=\"searchform.php\" class=\"lightlink2\">{$text['mnuadvancedsearch']}</a>\n";
          ?></span>
          </td>
         </tr>
        </table>
       </form>
       <p></p>
       <div class="help">
       <div class="subheader">Can You Help?</div>
       <p></p>
        <p.request>Can you make yourself available to translate correspondence and site content into French?.</p>
        <p.request>Do you read the Obituaries? If you find BEDARD and VOYER obituaries (links or scans)? </p>
        <p.request>Are you a BEDARD or VOYER and not in our database? </p>
        <p.request>Are you interested in being part of the site research or development team?
        <p> </p><a href="suggest.php">please contact us</a>..</p>
       </div>
      </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td colspan="6" class="row12"></td>
      </tr>
      <tr>
      <div class="c3"></div>
    </td>
    </tr>
    </table>
    <br />
    <div>
      <br />
      <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <div align="center">
      <input type="hidden" name="cmd" value="_s-xclick" />
      <input type="hidden" name="hosted_button_id" value="1942114" />
      <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="" />
      <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
      </div>
    </form>
    </div>
    </td></tr>
    <tr><td class="tableheader"><img src="img/spacer.gif" width="25" height="25" alt="" /></td></tr></table>
    <div class="footer small">
    <br />
    This site powered by <a href="http://lythgoes.net/genealogy/software.php" class="footer">The Next Generation of Genealogy Sitebuilding</a> &copy;, v. 8.1.3, written by Darrin Lythgoe 2001-2012.
    <br /><br />
    Voyer & Bedard Genealogy &copy; Larry Voyer 2008-2012.
    <br /><br />
    <span class="sitecounter">Unique visitors since January 1, 2012: </span>
         <div>
            <!-- Start of StatCounter Code for Default Guide -->
       <script type="text/javascript"> var sc_project=7546502; var sc_invisible=0; var sc_security="d0ac87ac"; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter.js"></script>
       <noscript><div class="statcounter"><a title="web counter" href="http://statcounter.com/free-hit-counter/" target="_blank"><img class="statcounter" src="http://c.statcounter.com/7546502/0/d0ac87ac/0/" alt="web counter"></a></div></noscript>
      <!-- End of StatCounter Code for Default Guide -->
    </div>
    </div> <!-- end of footer div -->
    </div> <!-- end of center div -->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-2104283-2");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    <!-- end footer.php for template 5--><script type="text/javascript" src="js/litbox.js"></script>
    </div> <!-- end of center div -->
    </body>
    </html>

    John,
    I misundrstood you response
    I entered http://localhost in my browser and recieved the following page:
    Asd you can see everything is working. I thought that when you called local host, it went to the www/ directory where I have my sites
    I still don't see a problem with my settings
    Server Folder: C:\TNG813onMowesII\www\
    Web URL: http://localhost/genealogy/
    I hate it when the tool is more trouble than the work.
    Larry Voyer
    Site Creator/Administrator
    http://larryvoyer.com/genealogy/

  • Mac testing server URL prefix problem

    Greetings,
    I've searched through a bunch of forum and support topics
    with no success so here's a post.
    I'm building a site on a Mac using some basic PHP (not
    database driven) and would like to be able to preview the files in
    a browser. I'm setting up a testing server with PHP/MySQL as the
    Server Model, Access as Local/Network, and the location of the site
    folder pointed to. My problem is the URL prefix...
    I have tried the following URL prefixes and keep getting the
    same error message in DW ("Dreamweaver cannot use the prefix you
    entered to display live data....HTTP error:0") and a connection
    failure in the browser. The following attempts include the name of
    my hard drive, my Mac User name, and the name of the folder my site
    rests in.
    http://myHDname/
    http://myHDname/~myUserName/
    http://myHDname/~myUserName/siteFolderName/
    http://localhost/
    http://localhost/~myUserName/
    http://localhost/~myUserName/siteFolderName/
    Any ideas as to what I'm doing wrong?
    Thanks!

    "dixiedoo" <[email protected]> wrote in
    message
    news:fbp5vi$mlm$[email protected]..
    > Greetings,
    >
    > I've searched through a bunch of forum and support
    topics with no success
    > so
    > here's a post.
    >
    > I'm building a site on a Mac using some basic PHP (not
    database driven)
    > and
    > would like to be able to preview the files in a browser.
    I'm setting up a
    > testing server with PHP/MySQL as the Server Model,
    Access as
    > Local/Network, and
    > the location of the site folder pointed to. My problem
    is the URL
    > prefix...
    >
    > I have tried the following URL prefixes and keep getting
    the same error
    > message in DW ("Dreamweaver cannot use the prefix you
    entered to display
    > live
    > data....HTTP error:0") and a connection failure in the
    browser. The
    > following
    > attempts include the name of my hard drive, my Mac User
    name, and the name
    > of
    > the folder my site rests in.
    >
    >
    http://myHDname/
    >
    http://myHDname/~myUserName/
    >
    http://myHDname/~myUserName/siteFolderName/
    >
    http://localhost/
    >
    http://localhost/~myUserName/
    >
    http://localhost/~myUserName/siteFolderName/
    >
    > Any ideas as to what I'm doing wrong?
    My guess is: you are not actually using a web server to serve
    your
    documents.
    see if reading the documentation helps....
    Preparing to build dynamic sites
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0/WSc78c5058ca073340dcda9110b1f693f21-7a31.h tml
    Joris

  • Need Help Setting Up Testing Server

    Hi. I have been using Dreamweaver for a while, but am
    extremely new at the whole testing server thing, as I have been
    building only simple pure-html pages.
    I am want to password protect a part of my site using the
    Insert > Data Objects > User Authentication > Log In User.
    I have already converted my whole site from .html pages to
    .php pages, because I thought that .html pages wouldn't work.
    Everytime I try to use that Log In User menu command,
    Dreamweaver gives me a dialog box that says, "Before inserting this
    object, please do the following: 1. Create a site for this file 2.
    Choose a document type 3. Set up the site's testing server".
    Numbers 1 and 2 have a checkbox which I am assuming means they are
    done correctly. But number 3 (set up teh site's testing server) has
    no checkbox and the dialog box will not allow me to click OK, which
    leads me to assume that I need to accomplish the aforementioned
    step number 3.
    So I go to the Site Definition for my site and under the
    Advanced Tab go to Testing Server. I want PHP MySQL as the server
    model, so I chose that. And I am guessing I need to choose
    Local/Network for the Access option because
    the computer I am building this site on is not connected to the
    internet. (I have no intention of hooking this machine up to
    the internet becauase all of my work I have ever done is on it!)
    Now, here lies my main question: What should the Testing
    server folder be? And what should the URL prefix be? And do I need
    to change anything else?
    If I am not being clear about anything regarding my
    questions, please make a point of it, and I will try to be more
    clear.
    Thank you so much for helping!

    > Host Directory:/root folder/ (if no root folder
    directory use "/"
    Or leave it blank.
    > FTP Host:yoursite.com
    I see that this is a *real* domain, with a real registration.
    It's best to
    just use 'example.com' for dummy domain names.
    > URL Prefix:
    http://your-site.com/
    Ditto. And by the way, there was no hyphen when you first
    used this!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "DWFAQ.info" <[email protected]> wrote in
    message
    news:gkeu60$hjl$[email protected]..
    > You need to be connected to the internet to test dynamic
    attributes.
    >
    > For advanced/testing server enter the following
    formatted exactly as it is
    > displayed:
    >
    > Access:FTP
    > FTP Host:yoursite.com
    > Host Directory:/root folder/ (if no root folder
    directory use "/" no
    > quotations)
    > Login:Host login Username
    > Password: Host Login Password
    > Check Save checkbox
    > No other checkboxes
    > URL Prefix:
    http://your-site.com/
    >
    > Click the test button and see what happens.
    >
    > Best,
    >

  • Issue with Setting Up Test Server for PHP/MySQL to work

    I've got a few newbie issues
    which I hope someone can help with!
    I'm trying to get Security Assist to work, so I've put MYSQL and workbench on my computer to get it going. I haven't created a test server in PHP, because I'm wondering if it will affect my already running website ftp? Will it take down my company website if I create a test server with the same ftp as my website?
    So, I created a model in workbench (table) and I've tried to connect mysql to dreamweaver. I keep getting an error when I try to connect!
    Despite the error saying an error has occurred..I have something which looks like a plus (+) sitting in my database area on DW, but it says there's no tables there! And in mysql there is a table!
    I'm a bit bloody lost to tell you the truth. Just changing the password on mysql to get going was horrendous.
    Anybody have a solution to get me going, so that my tables are sitting nicely in my dW and can be connected to my SA (Security Assist).
    Ugh!

    The first question: on what platform? Windows - Mac?
    I only succeeded in setting up a testing server on my Mac
    with PHP and MySQL after reading a book of David Powers. On Leopard
    I belief there still are problems connecting PHP to MySQL.

  • How do I setup a php testing server that connects to my web host?

    My web host (webhostingpad.com) has php on it. I need to setup a testing server that connects to this so I can test my site locally.
    My questions are:
    1. Do I set this up as a local network connection or an sftp (same as my remote)?
    2. what information do I put in to make this work?

    1024MB is enough to have 2 instances but You have to know what are going to be the requirements levels of those instances in order to check if your memory is enough.
    The memory is a theme that relate Oracle SGA with RAM in the machine.
    To have a second database server you have to make another installation in a different Oracle Home.
    It is not the same to have 2 instances than 2 Oracle database servers.
    Do you know what is the difference ?
    Joel P�rez

  • PHP/MySQL Test/Production Server best practices

    Hello,
         I am currently learning PHP/MySql and have setup a test server to develop on and a production server to go live with. I wanted to know what are the best practices for synchronizing the test server with the production. Should I export the database from the test server and import it to the production server each time I make a change or is there better way to incrementally sync the databases. I am using Dreamweaver to design the web site.
    Thanks,
    Nick

    Thanks, but does this mean that after I go live I should make changes on the production database only and not use the development database, if say I need to add a new table or record(s)?
    Procedure
    1. Take production web site down
    2. Export/Save current database
    3. Make changes to production database
    4. Export/Save new database
    5. Bring production web site up
    Is this correct?

Maybe you are looking for