Jump to content

Ruud Hermans

Members
  • Posts

    171
  • Joined

  • Last visited

Posts posted by Ruud Hermans

  1. Why do We Use Lowercase Tags?We have just said that HTML tags are not case sensitive: <B> means the same as <b>. When you surf the Web, you will notice that most tutorials use uppercase HTML tags in their examples. We always use lowercase tags. Why?If you want to prepare yourself for the next generations of HTML, you should start using lowercase tags. The World Wide Web Consortium (W3C) recommends lowercase tags in their HTML 4 recommendation, and XHTML (the next generation HTML) demands lowercase tags.Source: http://www.w3schools.com/html/html_elements.aspRuud Hermans

  2. Uploading files is needed when your server is on a different computer then the one you got the files on. If you say your server is on your localhost that means it's your own computer and you can just put the files in the directory your server sofware requires you to.Ruud Hermans

    Host

    I didn't try to say he should close it for security reasons.Most ISP's close this port and won't open it for you to use SMTP I faced this problem once with one of my old Internet Service Providers.Ruud Hermans

  3. We'll I have never trusted google anyway sinds as I stated above they collect your personal information. I think they are selling it to gouverments sinds all there is behind google are some greedy moneymakers.Ruud Hermans

  4. but some part u cannot edit and when u develop of your own you will be knowing the code so adding new features is not so difficult.
    Indeed,But if I look at the question I don't think the person is capable of devolping it himself otherwise he wouldn't have asked this question.-----at least I presume.Ruud Hermans
  5. Depends on what you call dominating I refuse to use something from google beside their searchengine for the simple reason that they collect your personal information as stated in the TOS of most of their products and I'm not aware of any person who does uses other products of google.So if you only reffer to their searchengine then yes I think they are dominating.Ruud Hermans

    Host

    Think of this as a rithorical question but... how can one have "a lot of knowledge about the servers" and not being able to at least install Apache (or another server!) at the same time?
    Guess that's his issue when he runs into some security problems. I just wrote a tutorial for you and others interested in instlling Apache, PHP and MySQL on thier computer it's located here.Btw. Boen_robot I love Bulgaria weater seems to be nice there all the time at least in Sofia and Dolchev (hope I spelled that one right).
    before making your own computer as a server, please be sure that u high configuration and also check that your system is well secure.
    Beside that I would also suggest you ask your ISP if port 25 is allowed to be used for SMTP otherwise it could couse trouble when you try to run certain scripts.Most ISP's close this port for use becouse of security related issues.Ruud Hermans
  6. Python is made for a lot more then server side scripting and it's harder to install (as far as I'm aware of). It's also not related to PHP in any way. In other words: useless. Skip it or learn it if you won't use PHP, ASP(.NET), Cold Fusion, JSP, etc.
    What I tried to point out is that Basic and Python are probably the 2 languages that are used to program that are easiest to learn and of witch you can find the best tutorials on the web.Having knowledge about programming is important in my vision before learning a language like PHP. I don't care how many times the PHP community said it's a easy language to learn, books and tutorials give you great examples but they mostly fail in making you understand how everything works.Ruud Hermans
  7. About: this tutorial only covers the basics of Apache, PHP and MySQL installation and configuration.Tutorial written by: Ruud HermansDate: 01-10-2006Operatins system: Windows XP (pro.)Apache Installation

    1. Go to the Apache website.
    2. On your left side now choose from "Apache projects" HTTP Server.
    3. Find the header "Apache 2.2.3 Released" and click on "Download" underneath it. (Windows 9.x users need to download Apache version 1.3)
    4. Find the header "Apache HTTP Server 2.2.3 is the best available version" and choose to download "Win32 Binary (MSI Installer): apache_2.2.3-win32-x86-no_ssl.msi".
    5. Now follow the installation wizzard.

    For more information about Apache read the Apache user manual.To verify that Apache is working correctly after the installation visit http://localhost ore http://127.0.0.1 witch will direct you to the Apache welcome page.Apache File ConfigurationBy default the file storage path for Apache webserver is htdocs to change this do the following.

    1. Create the folder you wish your files to be stored in for example d:/webpages
    2. Go to the apache folder and open conf/httpd.conf.
    3. Change "DocumentRoot" from the default settings to "d:/webpages".
    4. Change "Directory" from the default setting to "d:/webpages".

    Apache ConfigurationBy default your server will search for a file named index.html to display when visiting you server to make it search for index.php as well do the following.

    1. Go to the apache folder and open conf/httpd.conf.
    2. Search for "Directory Index".
    3. Add "index.php" behind "index.html.var".

    To verify you made no errors in editing the configuration file visit http://localhost ore http://127.0.0.1, Apache should now display the files stored in the file you made it reffer to.After making changes to the Apache configuration file the Apache service needs to be restarted.PHP Installation

    1. Go to the PHP website.
    2. On top choose downloads.
    3. Find the header "Windows Binaries" and download "PHP 5.1.6 zip package".
    4. Create the folder C:/php and extract the files to there.

    Configurate Apache For PHP

    1. Go to the apache folder and open conf/httpd.conf.
    2. Add to the end of the file the following lines:LoadModule php5_module C:/php/php5apache2.dllAddType application/x-httpd-php .php

    Notest:Make sure "C:/php/php5apache2.dll" directs to the right path.Notest:beside the file "php5apache2.dhl" the file php5ts.dhl needs to be in the same folder. Configuration Control

    1. Open notepad.
    2. Create the file "test.php" with the following content.
      <?phpphpinfo();?>

    3. Save it in the folder you made Apache reffer to.
    4. Start you browser and open "http://localhost/test.php" ore "http:/127.0.0.1/test.php"

    If PHP is installed the right way you should ow see you PHP Version info if not read back in this tutorial to find what you did wrong.MySQL Installation

    1. Go to the MySQL website.
    2. On your right side now choose "downloads".
    3. Find the header "MySQL Community Edition -- Database Server and Client" and choose "MySQL 5.0 -- Generally Available (GA) release for production use".
    4. Find the header "Windows downloads (platform notes)" and download "Windows (x86)".
    5. Now follow the installation wizzard.

    You have now managed to install and configurate Apache, PHP and MySQL.Greetings,Ruud Hermans

    Host

    I have a lot of knowledge about the servers, it's just that part of the coding part is missing so I can start to code mine.
    I just recieved your PM, you can ask questions on the forum in that way others can learn from it as well.I read you can't manage to set up Apache, what OS is your computer using?Ruud Hermans

    sql

    You can connect to the database using command.

    C:\>mysql -h (host) -u (user) -p

    Replace (host) with your host and (user) with your username, it will then ask you for your password and welcome you to MySQL presuming you are using MySQL.Ruud Hermans

    Host

    No,What I mean is that you need to redirect your IP to the domain name you have registered you can do this at dnsexit.But really you should first learn more about setting up your own webserver becouse there is a lot more involved with it then you might think.Ruud Hermans

    Host

    No, if you decide to make a server out of your computer all data and software need to be installed on your own pc. You just register a domain and make sure your IP adress connects to it by setting the right DNS settings.I would suggest you read some more about server software before you attempt to do this.Ruud Hermans

  8. I ment it should look something like this:

    INSERT INTO mpoll_results (question, numberofoptions, opt1, opt2, opt3, opt4, opt5, opt6, opt7, opt8, opt9, opt10, count1, count2, count3, count4, count5, count6, count7, count8, count9, count10, totalvotes) VALUES('question','numberofoptions','opt1','opt2','opt3','opt4','opt5','opt6','opt7','opt8','opt9','opt10','count1','count2','count3','count4','count5','count6','count7','count8','count9','count10','totalvotes');

    See if I got the table name right couse I couldn't figure out what "& #40" ment.Ruud Hermans

  9. ok, i gues a portal is the best bet. thing is, will it limit the website look to the style of said portal, or will i have complete control over it?
    You can edit the template in any way you wish if you know some HTML and in most cases PHP.Ruud Hermans
  10. If the server is running on your localhost try using something like:

    C:\>mysql -h localhost -u user -p

    Then when asked for your password insert it.connect to the right databse with the following command:

    USE (databasename);

    Then try to add the information to your database simular to the following:

    INSERT INTO (table) (last_name, first_name) VALUES('Stein','Waldo');

    Replace (table) with your table the () also need to go.Ore use:

    LOAD DATA LOCAL INFILE "file.txt" INTO TABLE (table);

    Ruud Hermans

  11. k tnx for help guys but im using dreamweaver now. well c what can i do.
    Dreamweaver is of no good it couses corrupt code in some situations, when working with PHP it "corrects" itself. I think for HTML it will not cost any problems but when you go into creating dynamic pages I suggest you start using editors like "Crimson Editor".Ruud Hermans
  12. Allow me to add 3 things to that Boen Robot.1. you will need to close the <head> tag.

    <head><title>BEGUNJE-GHETTO</title></head>

    2. You will need to close the <b> tag.

    <b>P.S. Z LJUBEZNIJO VAs IN EDINI JoZhA</b>

    3. You will need to close the <center> tag.

    <center><H2>BEGUNJE-GHETTO</H2></center>

    Tip: Do not use capitilised letters in your tags.Ruud Hermans

  13. As some people on here know, I'm a fan of the O'Reilly series. They have several good books on a wide range of topics.
    O'Reillys books are mainly about security as far as I know and how to bypass it ore I should have been reading the wrong books.Ruud Hermans.
  14. Theres more but since I'm not that good in English, I'll let others do the work for me :)One last thing, what I suggest for you to learn in the following order:HTML >> XHTML >> CSS >> Javascript (Then HTML DOM) >> PHP (+ Data-base stuff)
    No offence but wouldn't it be more easy to learn Basic ore Python before making the step to PHP and before learning about databases I would recommend to first read something about SQL.Ruud Hermans
  15. The design of your website can never be limited by design issues sinds allmost everything is possible as long as you are willing to learn how to make it work.If you would like your mainpage to look like a forum I presume you point out to phpBB if so there are several portals that can do what you described just google for "phpBB portal" and I'm sure you will find one.Ruud Hermans

  16. If you decide to learn MySQL I can recommend the book MySQL written by Paul DuBois witch also go's in deeper about the PHP, and DBI API from Perl.Anyway after you downloaded MySQL from www.mysql.com you can connect to the database using:

    C:\>mysql -h (location) -u (user) -p (password)

    short if my database would be on my own computer and I would use the default username witch is root it would look like:

    C:\>mysql -hlocalhost -uroot -p

    After this command you will be asked for the password witch is blank if you did not set no password.More documentation about MySQL can be found at their website.Ruud Hermans

×
×
  • Create New...