-
Posts
171 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Ruud Hermans
-
-
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
-
-
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
-
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 Hermansbut 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. -
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
-
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
-
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).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?
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 Hermansbefore making your own computer as a server, please be sure that u high configuration and also check that your system is well secure. -
Working good on:FireFox: 1.5.0.7Opera: 9.01Ruud Hermans
-
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 HermansPython 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. -
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
-
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 HermansI 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. -
-
-
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
-
INSERT Query
in SQL
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
-
You can edit the template in any way you wish if you know some HTML and in most cases PHP.Ruud Hermansok, 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? -
INSERT Query
in SQL
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
-
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 Hermansk tnx for help guys but im using dreamweaver now. well c what can i do. -
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
-
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
-
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.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. -
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 HermansTheres 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) -
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
-
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
html and internet explorer
in HTML/XHTML
Posted
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