I am really upset and confussed....Yesterday I had opened dreamweaver mx 2004 to try to play around with a php page. (I am new to php) I had first went to www.phpvideotutorials.com because someone had told me you could learn a lot there. I went step by step with the guy on there and downloaded wamp and php developer. After that I had went to dreamweaver and chose to create a new php page. I was placing some pictures on there and i had clicked on the world icon to view it in explorer when i did that it started asking me all these questions about a local server etc....i didnt know what to put because i am new to php so i guessed. after i was finished it brought up internet explorer and said my page can not befound. So i decided to open an html page which i always work on so i am familiar with that and i just placed some pics on there and when i clicked on the world to view it in enternet explorer it said page not found. I tried it several times, i thought maybe my internet connection wasnt working but it was.. So i threw away and removed all the applications that i had just downloaded (wamp and phpdeveloper) hoping i could get dreamweaver to work the way i use to use it with the html pages, but i keep getting these pop ups...when i go to create a new html page and view it in enternet explorer the first pop up appears that says: dreamweaver mx 2004 The file "untitled-1.htm" has been modified. do you wish to save the file before putting? yes no...i click yes (although i dont know what "putting" means) after i click yes another pop up comes and says: update copy on testing server? this will update the file on testing server. This might affect others working on the file. Proceed? yes no.....i click yes the next pop up appears and says: dependent files Include dependent files? yes no cancel... i click yes then the last and final pop up appears a red circle with a white x MACROMEDIA DREAMWEAVER MX 2004 while executing receive arguments in PIB_Dynamic.htm, the following javascript errors occured: at line 111 of file "c:\program files\macromedia\dreamweaver mx 2004\configuration\menues\mm\pib_dynamic.js" exception thrown in native function. then i have to click ok and it just goes back to the page i was working on. No preview nothing... what is wrong?and how can i fix this to just get back to working on dreamweaver how i normally do? is this because i downloaded php and wamp and then threw it away? i dont understand i want to cry, its so fustrating when you dont know anything. can someone please help me fix this 🙁

    Hi,

    I'm sorry but your story is very chaotic.

    You can't learn php just by installing a WAMP setup and opening dreamweaver. If you want to learn (the basics of) php, don't even think of touching dreamweaver for a while (just use a basic texteditor like textpad). Start with an simple "hello world" script. Understand what PHP is doing and how it relates to standard html and javascript. Learn what the difference is between clientside and serverside.

    You need to take your time. So get yourself some cups of coffee ( but not to much because you don't want to space out 😉 ) grab a book or tutorial and read, read, read. It will be worth it.

    Good luck,

    Marvin

      I found the tigzag tutorial particularly useful.

      I also use dreamweaver, but as Rodney said - in SOURCE VIEW ONLY - I do like using DW for this as I find the syntax highlighting very handy for spotting typos.

      I also bought a book (not something i do much of) - "How to do just about everything with PHP & MySQL. I find the sections on PHP very clearly laid out and written, whether they're referring to SQL or not.

      www.php.net or this site can answer most questions that arise.

      Best of luck!

        EDIT:

        THe reason WHY you downloaded WampServer in the first place was to install:

        1) PHP
        2) Apache
        3) MySQL
        4) and PhpMyAdmin

        This will allow you to run php scripts on your local computer without uploading each file to your server that has been configured to run PHP scripts. It saves a lot of time testing and writing and especially learning PHP. SO if you Un-installed it, you will have to RE-install WAMPSERVER....

        The reason why IE asked you all those questions is because when you create a website using Dreamweaver to view PHP files locally you have an additional step to do. Here is what you do:

        1) You first create the site locally (Where your files are located on your computer). You will still need wampserver, and you will need to create your folders/sites inside the "www" folder within WAMP on your C: drive.

        2) Create your FTP/REMOTE site

        3) Create your testing server. You will select PHP/MySQL as your server model. Then you will specify "local network" as your type. Lastly, you will have to provide an address to the site for previewing the files on localhost. With WAMP installed on your C: drive and using your first site in a folder called "test" your address would be: http://localhost/wamp/test if memory serves me. (It may be http://localhost/test however)

        To TEST your website after you define it, create a file called "info.php" and write the following lines of code (in code-view):

        <?php
        
        phpinfo();
        
        ?>
        

        if you see a page with a bunch of information ABOUT php, then you have installed WAMPserver correctly and defined your site's testing server correctly in DW.

        You may use Dreamweaver in SOURCE-CODE view (only) if you want to. But don't use any of their built in functions. They are mostly garbage, hard to read, and bloated code examples.

        Then, I suggest reading the following and DOING the examples as well:

        1) http://www.zend.com/php/beginners/

        2) http://www.tizag.com/phpT/

        3) http://www.hudzilla.org/phpbook/

        (In dreamweaver, the term "putting" means UPLOADING the files on your remote server. You "put" the new files up, in other words...)

          Write a Reply...