Jump to content

Ruud Hermans

Members
  • Posts

    171
  • Joined

  • Last visited

Everything 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. Thanks for the addings it's getting late and I wasn't paying attention enough I guess.Btw. for those to lazy to do this you can use XAMPP witch can be downloaded from Apachefriends the only problem with this is that it has some security issues but would do the job if you only needed it for testing your own scripts.Ruud Hermans
  8. Ruud Hermans

    Host

    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). 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
  9. Working good on:FireFox: 1.5.0.7Opera: 9.01Ruud Hermans
  10. 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
  11. 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 Go to the Apache website. On your left side now choose from "Apache projects" HTTP Server. 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) 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". 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. Create the folder you wish your files to be stored in for example d:/webpages Go to the apache folder and open conf/httpd.conf. Change "DocumentRoot" from the default settings to "d:/webpages". 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. Go to the apache folder and open conf/httpd.conf. Search for "Directory Index". 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 Go to the PHP website. On top choose downloads. Find the header "Windows Binaries" and download "PHP 5.1.6 zip package". Create the folder C:/php and extract the files to there. Configurate Apache For PHP Go to the apache folder and open conf/httpd.conf. 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 Open notepad. Create the file "test.php" with the following content.<?phpphpinfo();?> Save it in the folder you made Apache reffer to. 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 Go to the MySQL website. On your right side now choose "downloads". Find the header "MySQL Community Edition -- Database Server and Client" and choose "MySQL 5.0 -- Generally Available (GA) release for production use". Find the header "Windows downloads (platform notes)" and download "Windows (x86)". Now follow the installation wizzard. You have now managed to install and configurate Apache, PHP and MySQL.Greetings,Ruud Hermans
  12. Ruud Hermans

    Host

    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
  13. 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
  14. 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
  15. 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
  16. 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
  17. You can edit the template in any way you wish if you know some HTML and in most cases PHP.Ruud Hermans
  18. 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
  19. 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
  20. Yes, you can add thumbnails use the following code and edit hieght and width to your wishes. <a href="link to the image"><img src="your_image" width=100 height=100></a> Ruud Hermans
  21. 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
  22. 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.
  23. 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
  24. 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
  25. Ruud Hermans

    sql

    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...