Beginning with PHP and MySQL

Hello

I'm learning PHP and MySQL to build a dynamic web site. My webhost has very good support and they offer Linux or Windows servers. I've always used Windows servers, but I think on the use of a Linux server for my new web site. (I used asp with an Access database on a Windows Server, but that's the extent of my lats programming at this point).

Here are my questions: do I need no knowledge of Linux to use as a server for my web site? (The web hosting company will make the configuration and MySQL databases are included by default with Linux servers). Also, there are disadvantages of using Linux?

Thank you

Michael

David,

Thanks for all the great information. Yes, my hosting company is the latest versions of MySQL and PHP. I have been using Web Strike Solutions for the last 3 years and I have about 10 websites with them. They are always updating their apps and have very good support.

As by chance, I'm reading your book, "PHP for Dreamweaver. Do you recommend using the Apache server in this book, but I've always been reluctant to work with UNIX or LINUX. But it occurred to me it would not have a large knowledge of Linux, because the host will take care of all configurations. I also looked at your book, PHP Solutions, and this book has achieved nothing else that the stellar reviews on Amazon. After I get my website to the top and go, I intend to order this book as well. I also ordered a few books of Larry Ullman on MySQL and PHP. So, between books and this forum (in the case that I am really stuck), I think I'm in good shape.

Thanks again!

Michael

Tags: Dreamweaver

Similar Questions

  • Save my Clip Positions of film with PHP and MySQL

    Hello

    I created a video (FLV) Player, who just plays my videos. Everything works fine and I would like to add a new button to save the position according to which the film played up to. So I can come back later and have the opportunity to play the film to the point that the last time he was arrested. Therefore, I need to save my Clip Positions of film with PHP and MySQL.

    So far, I created a button that saves the position of the my video clip "ns.time' in a variable. I'm currently just display this variable, but I need to export to my file PHP where it gets sorted to be sent to mySQL database. Could you tell m e how can be down or where I can find more material (tutorial) to achieve this.

    I tried to export using 'getURL(url,window,method)' that points to my PHP file. But for some reason any when he sends some information to my php and not only the Position of Movie Clip. I realized from the address line that attempts to send millions of movie flow information, etc..

    I realized that Flash tries to send information of my Listbox and trees which are the list of film clips I have. I don't know why he's trying to send this information! Is anyway I can stop the Flash to send information to my PHP file and send only the value of my a Variable?

    Here's how I send the value of the Variable entry in the PHP file...

    getURL (" http://www.myDomainName.com/aishopper/test2/matrix.php","", "GET" ");

    Thank you so much and have a great day.

    Babak

    Hello JayCharles,

    Thanks for your suggestion. You are absolutely correct, and made me aware of the error I made. I used your suggestion and it has worked very well. Once again, thank YOU for your help.

    See you soon,.

    Babak: o).

  • Muse work with PHP and MySQL

    I have an investigation designed to go to a page of a site.  The designer will be using PHP and MySQL.  Compatible?

    Thanks for any help.

    SS

    Not really relevant. Whatever your designer will do will have to be inserted manually in HTML customized or by editing the HTML files published one way or another. It has nothing to do any with the Muse herself and the design of the process beyond 'make room', i.e. respective free addition where the code can be inserted.

    Mylenium

  • Send an email with php and mysql

    I want a visitor to my site click on a field in mysql to email with a BCC to me also, I want the link to show 'Send an email' not the e-mail address of the field

    There is no way to hide a BCC address with a mailto link, because it just opens the e-mail program of the user with the address fields filled in.

    What I would recommend is to create a contact form, as described in Chapter 5 of PHP Solutions. Using PHP to send the form hides your email address and all BCC addresses. It appears from your description that the email will be sent to different people according to which the link is clicked. If this is the case, the programming becomes more complex, but you can solve this problem, once you have learned how to create a contact form and email with PHP.

    I hope PHP Solutions is sufficient for your needs, but I warn you to take Chapter 3 slowly. Do not try to memorize everything in Chapter 3. Just have a general idea for how the language is structured and re-enter the chapter whenever you need to refresh your memory. If you feel the need for another book, I think that the books of Visual Quick Start of Larry Ullman are good.

  • Sites Web using php and mysql successfully stopped the week last of sorting drop-down lists. Change something?

    We run a programme of internal timesheet open source called Timesheet Next Gen available on Sourceforge. We have it worked for a few years without any problems. We moved all of our Firefox users because the developer has indicated that there are questions of the sort associated with PHP and MYSQL via Internet Explorer. Dropdown lists using surveyed data did not follow the order of sorting and list have been blurred without order with duplicate entries. We had experienced this on our Windows 7 workstations in Internet Explorer (any version) and everything worked fine in Firefox. For some of us with the MacBook, the sort worked well in Firefox and Safari.

    Departure last week (perhaps Tuesday or Wednesday) all our users to Workstation Windows 7 has started to have the same sorting problems in Firefox with our internal website of timesheet. There is no change for timesheet Web site or the server that is running as much as php and server extensions web apache. I've since updated the server (Ubuntu) and apache, mysql and php are underway. Now sort in Firefox has stop working on our mac workstations. Safari is the only browser that works. We have installed Chrome on mac and Windows 7 and it does not sort either.

    To wrap to the top of this thread, the solution is available here: http://sourceforge.net/p/tsheetx/discussion/779084/thread/02841540/

    The general idea behind that the solution can be applied to other projects where a JavaScript object is created in PHP and you need access to its members in order of addition.

  • I need PHP and MySQl base or image Extension download file

    I use php and MySQL in my web site, my site is www.cyberbogra.com
    Now, I suffer for php and MySQL based image or file upload extion.
    Please someone help find for free.

    I create a search engine with PHP and MySQL using DM8 now I suffer for it.
    My search engine address is www.cyberbogra.com/search

    Thank you.

    Here is a free extension for the PHP file upload.
    http://www.magicbeat.com/

    About 2/3 of the way to the bottom of the page.

    --
    Nancy Gill
    Adobe Community Expert
    BLOG: http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e - book for the DMX Zone
    Co-author: Dreamweaver MX: instant troubleshooting (August 2003)
    Technical writer: DMX 2004: The Complete Reference, DMX 2004: Beginner
    Guide, Mastering Macromedia contribute
    Technical reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web development

    "nobinxp" wrote in message
    News:e85rv8$1RN$1@forums. Macromedia.com...
    > I use php and MySQL in my web site, my site is www.cyberbogra.com
    > Now, I suffer for php and MySQL based image or file upload extion.
    > Please someone help find for free.
    >
    > I create a search engine with PHP and MySQL using DM8 now
    > I am
    > suffering for it.
    > Search engine my address is www.cyberbogra.com/search
    >
    > Thank you.
    >

  • Chinese characters in forms PHP and MySQL CS6

    Hello. I followed then adapted from David Power dynamic Web Tutorial sites to set up a basic online dictionary site. MySQL works very well for 4 of the 5 fields - post_id, pinyin, and updated. But the main field is hanzi - which should have Chinese characters. When I enter them using a form, MySQL doesn't show that '? 'or'? ' in the fields. Similarly, if I manually enter the correct characters in MYSQL through PHPAdmin, bed Web site as '?

    I did some research on this problem and found this page encoding or the ranking parameters may be the problem. So I put the 'MySQL connection classification"and the field classification table & hanzi to"GB2312_chinese_ci"for Chinese characters simplified. I also changed the encoding of PHP pages in < meta http-equiv = "Content-Type" content = text/html"; charset = GB2312"/ >

    However, I will still have almost the same problems. Rather than get a value of "?"or"?" in the hanzi MySQL field, I now get variations "? ±«.

    I am very new to PHP and MySQL, but as I said, the real pages and forms and queries are works well for all the fields with the exception of the character Chinese one.

    Help, please!

    OK thank you fixed your advice, Kenneth.

    I have been researching unicode & mysql and finally found this page that it started running properly: http://blog.al-aqel.com/programming/fix-and-store-unicode-in-mysql-php/

    As you say, establish codes of characters and rankings mysql to 'utf8_general_ci' including the server, database, tables & fields.

    Also, it is the addition of "mysql_set_charset('utf8')"; in my PHP pages this server accessed. This was in addition to affecting the UTF-8 character set in the page's meta tags.

    Awesome! Now have working Chinese simplified in my PHP pages, forms and MySQL database.

    Thank you again and hope that it might help others with similar problems.

  • Pre-Noob question, Flash Builder for PHP and MySQL... can pack and write?

    So I am COMPLETELY new to Flash Builder and Flex universe, but I'm familiar with PHP / MySQL. One thing that has not been specifically stated to me, is what Flash Builder with (Zend) PHP with the MySQL database when it is packaged and exported? If he did enter the database and is able to execute the query PHP application to the MySQL database within the application?

    I'm confused if she needs to go on the web and communicate with the server. Can he communicate with a LOCAL database?

    Thank you!!

    No Flash Builder package not the final result with data base and

    webserver. To run your application locally you would need to have a

    PHP and Mysql Web server running on your local computer.

    Maybe watch using wamp http://www.wampserver.com

    http://www.imonggo.com/> on your local computer.

    Otherwise I suggest you will probably need to create your program in

    Java who can speak directly to local databases without the need for php.

  • Could you please tell me the name of the program that plays the files (mp3) begins with V and resembles a cone orange and white?

    Could you please tell me the name of the program that plays the files (mp3) begins with V and resembles a cone orange & white?

    VLC.

    http://www.videolan.org/VLC/

  • AS3, PHP and MySQL help!

    Hello Forum,

    I created an interface using flash, php and mysql.

    The problem I have is that I have 2 fields dynamic text on the stage I want to display their content based on the page that I am.

    My txtTitle is showing two rows of mysql together

    like this: Aboutabout_content = about MySQL

    Here is my code:

    ====================================================

    FLASH ANIMATION

    Copy the following code gets the data from the home page of the database for display
    var PageTitle:String;
    var PageContent:String;
    Assign a variable name for our URLVariables object
    var page_variables:URLVariables = new URLVariables();
    Create the variable URL varSend
    var page_varSend:URLRequest = new URLRequest ("http://localhost/SANDBOX/developments/root/scripts/cms_control_file.php");
    page_varSend.method = URLRequestMethod.POST;
    page_varSend.data = page_variables;
    Build the varLoader variable
    var page_varLoader:URLLoader = new URLLoader;
    page_varLoader.DataFormat = pouvez;
    page_varLoader.addEventListener (Event.COMPLETE, page_var_comp);

    page_variables. SendRequest = "get_about_text";
    Send the data to the php file
    page_varLoader.load (page_varSend);

    function page_var_comp(event:Event):void {}
    All text from mysql database in the field of text
    PageTitle = event.target.data.about_title;
    PageContent = event.target.data.about_content;
    txtTitle.htmlText = "" + PageTitle;
    txtContent.htmlText = "" + PageContent.
    }

    =================

    PHP FILE

    =================

    <? PHP
    connect to your database to MySQL here
    include_once "connect_to_mysql.php";

    CONTENT OF THE LOAD
    If ($_POST ["sendRequest"] == "get_about_text") {}

    $sql = mysql_query ("SELECT title, content FROM cms_content");

    While ($row = {mysql_fetch_array ($sql))}
    $titles = $row ["title"];
    $contents = $row ["content"];
    print 'about_title = $titles. "about_content = $contents";
    #echo $row ["title"]. $row ['content'];
    }
    }
    UPDATE CONTENT
    If ($_POST ["sendRequest"] == "update_about_page") {}

    $titles = $_POST ["title"];

    $content = $_POST ['content'];
    $sql = mysql_query ("UPDATE cms_content SET title = '$titles', content =' $contents '");
    }
    ? >

    Any help?

    your php returns a string, not the variable/value pairs.

  • PHP and MySQL Error...

    Hi all...

    I am a developer web beginners using Dreamweaver 8... I'm going through the tutorials provided and try to learn how to develop a PHP web application... I configured PHP and test the connection to IIS... I also installed MySQL 5.0.

    My problem is when I try to connect to the MySQL database that Dreamweaver gives the error:

    "Your PHP server does not have the MySQL module loaded or you cannot use the mysql_ connect functions (p)."

    Can anyone give simple comments and a solution to this problem?

    jamTOAST wrote:
    > I installed PHP and MySQL from source and using windows sites installing...

    If you used the Windows Installer, you must select MySQL and MySQLi
    in the dialog box titled "choose what to install. See step 7 of the
    tutorial on my website:

    http://foundationphp.com/tutorials/php_installer.php

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Building a Blog with Dreamweaver, PHP, and MySQL-

    Hi all
    I posted in the general forum, a few days ago and so far, no response. So, I found this thread. For those of us who cannot shell out money for the Kollection bundle, is it possible to go forward with the tutorial? I'm almost ready to go on the fourth part (out of 6) and well, cannot complete because I can not install the necessary software. I understand that Adobe has bought and abandoned the free trial. I also posted on the forum of interAKT. I have a vague feeling that I am myself here, judging by the slow response in several other forums. I left comments with Adobe as well, but if someone can point me in another direction to implement a user / membership section using other tutorials/sites that do not require spending $400.00, not that it isn't worth it, I just don't have it, it would be greatly appreciated. Thank you

    Tutorial-part 4:

    Steve

    There is a 6 part series that I wrote a few years to the Community MX free
    for members or a small fee for non-members which shows how to generate a very
    blog of simple using only the tools of DW.

    http://communitymx.com/search.cfm?searchbox=simple+blog+part+6

    Or use the suggestion of David and Wordpress. You can't beat Wordpress so all the
    you need is a blog. If you use the tutorials to learn PHP and
    DW, then WP won't help, however.

    Tom Muck

    "steevo2" wrote in message
    News:el7uhm$Fab$1@forums. Macromedia.com...
    > Hi all,
    > I posted in general forum a few days ago and so far, no response.
    > So, I
    > found this thread. For those of us who cannot shell out money for the
    > Kollection bundle, is possible to go forward with the tutorial? I have
    > am
    > almost ready to go on part 4 (of 6) and well, cannot complete
    > since
    > I can't install the necessary software. I understand that Adobe has bought
    > and
    > abandoned the free trial. I also posted on the forum of interAKT. I have
    > have a
    > sneaking suspicion I myself here, judge slow in response
    > several other forums. I left your comments with Adobe as well, but if
    > someone
    > can point me in another direction to implement a user / subscription
    > article
    > using other tutorials/sites that do not require spending $400,00, not as
    > she
    > No, I don't have her, it would be greatly appreciated.
    > Thank you
    >
    > http://www.adobe.com/devnet/dreamweaver/articles/php_blog4.html
    >
    > Steve
    >

  • Problems with Coldfusion and MySQL

    I am trying to call a procedure stored in a MySQL database using coldfusion.

    PROCEDURE
    ---------------------------
    DELIMITER $$

    DROP PROCEDURE IF EXISTS 'adb_test '. "TestProcedure" $$
    CREATE DEFINER='ahecdev'@'%' PROCEDURE "TestProcedure")
    IN in_text varchar (100)
    , IN int in_number
    , BY out_text varchar (100)
    OUT int out_number
    )
    BEGIN
    SET out_text = CONCAT ('"', in_text, '"',)
    "is reversed."
    ("', REVERSE (in_text), '" ');
    SET out_number = in_number * in_number;
    END $$

    DELIMITER;
    ---------------------------------
    CFCODE
    < cfstoredproc procedure = "testProcedure" datasource = "adbDEV" >
    < cfprocparam type is 'in' cfsqltype = "cf_sql_varchar" dbvarname = "in_text" value is "blah" >
    < cfprocparam type is 'in' cfsqltype = "cf_sql_integer" dbvarname is "in_number" value = "123" >
    < / cfstoredproc >
    ------------------------
    I get this error message:
    ---------------------------------
    "The system has attempted to use a value that is undefined, which usually indicates an error programming, either in your code or system code."
    ---------------------------------
    I use CF 7 and MySQL 5 developers edition. I heard that there is a problem with a J for MySQL 5 connector. I followed the instructions from ADOBE on the driver update, but still make the same mistake. I wonder if my call to the stored procedure is not fair after all.

    Thank you

    Maybe this will help you:
    http://www.recfusion.com/blog/index.cfm/2006/8/5/CFMX--MySQL-50-stored-procedures
    (see NOTES below)
    HTH,
    Tim

  • Prob with DW list/Menu, PHP and mySQL

    I created a generic form with 7 text fields and 2 fields of list/menu. The information contained in my text fields is correctly sent to table/database mySQL, but this isn't the information of list/menu. Any ideas what it can be.

    Here is my form:

    < do action = "insert.php" method = "post" > "
    < p > first name:
    < input type = "text" name = "first" >
    < br >
    First name:
    < input type = "text" name = "last" >
    < br >
    Phone:
    < input type = "text" name = 'phone' >
    < br >
    Mobile:
    < input type = "text" name = "mobile" >
    < br >
    Fax:
    < input type = "text" name = "fax" >
    < br >
    E-mail:
    < input type = "text" name = "email" >
    < br >
    Web:
    < input type = "text" name = "web" >
    < br >
    < label >
    < select name = "acmod" size = "1" id = "acmod" >
    model < option selected = "selected" > < / option >
    < option > EMB135/145 < / option >
    < / select >
    < / label > < here >
    < /p >
    < p > < here >
    < select name = 'legs' size = '1' id = 'legs' >
    Legs of < option > < / option >
    < option > 1 < / option >
    < option > 2 < / option >
    < option > 3 < / option >
    < option > 4 < / option >
    < option > 5 < / option >
    < / select > < / p >
    < p >
    < input type = "Submit" >
    < /p >
    < / make >

    Here is my script PHP "insert.php".

    <?
    $username = "dbo233024213";
    $password = "Ja9DTJDW";
    $database = "db233024213";

    $first = $_POST ["first"];
    $dernière = $_POST ["last"];
    $phone = $_POST ['phone'];
    $mobile = $_POST ['mobile'];
    $fax = $_POST ['fax'];
    $email = $_POST ['email'];
    $web = $_POST ['web'];
    $acmod = $_POST ['acmod'];
    $legs = $_POST ['legs'];

    mysql_connect ("db1359.perfora.net", $username, $Password);
    @mysql_select_db ($database) or die ("unable to select database");

    $query = "INSERT INTO contacts VALUES (",' $premier$ ',' last ', '$phone', '$mobile', '$fax', '$email', '$web', 'acmod', 'legs') ";
    mysql_query ($Query);

    mysql_close();
    ? >



    Found my mistake. Post it here quickly made me see the error in my INSERT INTO query.

  • Muse has the possibility to use php and mysql?

    I'm really digging muse but I cannot find where or if the muse can include the type of code to interact with mysql via php... Thank you.

    HTML, CSS and Javascript only at this time.

Maybe you are looking for