Quick asp tutorial for a php developer????

Discussion in 'C#' started by 123GoToAndPlay, Jul 22, 2008.

  1. #1
    Hello,

    As a php developer i have been asked to convert a .asp/.mdb based website to a php/mysql website.

    I have never develop with .asp so i need your advice. All static .asp files can be convert with no problems.

    But i see a folder called data with a .mdb file in it.
    I guess this is the Microsoft access database file, can i import this into a mysql database?

    Is there an access equivalent as phpmyadmin?

    What are common pitfalls when converting .asp to php??
     
    123GoToAndPlay, Jul 22, 2008 IP
  2. VishalVasani

    VishalVasani Peon

    Messages:
    560
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello

    Check the Below URL this may help u :
    http://www.bullzip.com/products/a2m/info.php

    It is a convertor program for Access to Mysql
     
    VishalVasani, Jul 22, 2008 IP
  3. tarun

    tarun Active Member

    Messages:
    219
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    tarun, Jul 22, 2008 IP
  4. Sleeping Troll

    Sleeping Troll Peon

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ignore the database type, once you have connection in place just stick to SQL.
     
    Sleeping Troll, Jul 23, 2008 IP
  5. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #5
    Converting from ASP-Access to PHP-MySQL should be straight forward, unless there are proprietary calls in the ASP code or the odd JetSQL code. For example, if the ASP calls and instantiates Microsoft-specific components or the database is using stored queries or embedded functions. Another tip, if the Access migration is a problem then look at using ODBC and PHP.

    $db = ADONewConnection('access');
    $dsn =
    "Driver={Microsoft Access Driver (*.mdb)};Dbq=d:\inetpub\data\northwind.mdb;Uid=Admin;Pwd=;";
    $db->Connect($dsn);

    Good luck!
     
    Social.Network, Jul 24, 2008 IP