Will
Members-
Content Count
23 -
Joined
-
Last visited
Everything posted by Will
-
Mtv - Real Life "i'm A Pro Gamer" anyone catch the show
Will replied to atomicnacho's topic in Computer Gaming
yeh I saw it, been waiting to see it for a while now. Ive played halo with tsquared before. Got owned but still played with him. http://www.majorleaguegaming.com/ go to that site if your interested in competetive gaming. -
Thanks I was looking for a tutorial liek this becasue I wanted to put a radio on my site. Thanks again.
-
dreamweaver is very good program, I havent used frontpage but theres no need when I can get everything done woth dreamweaver. I use it everyday almost. I like it for when Im too lazy to code something using notpad I just open up dreamweaver nd let it do all the work. I know its the lazy way out but it saves time.- Also another great program if you code in php is NuSphere phpEd - by far the best php editing program available. I recommend it to everything who codes in php.
-
PHP-Fusion "A light-weight open-source content management system (CMS) written in PHP. It utilises a mySQL database to store your site content and includes a simple, comprehensive adminstration system. PHP-Fusion includes the most common features you would expect to see in many other CMS packages." I use this CMS on my site this is what it can do: - News - Articles - Photo album - Download manager - Forum - Easy to modify / make custom pages - User system - Has a TON of themes to download or you can amke you own - A huge administration panel with a ton of options - An all around goo script / CMS... the best CMS I used.
-
The first step is to download the packages : * Apache : apache.org * PHP : php.net * MySQL : mysql.com You should get the latest version of each packages. As for the example in this tutorial i'm using Apache 2.0.50 ( apache_2.0.50-win32-x86-no_ssl.msi ), PHP 4.3.10 ( php-4.3.10-Win32.zip ) and MySQL 4.0.18 ( mysql-4.0.18-win.zip ). Now let's start the installation process one by one. * Installing Apache * Installing PHP * Modifying Apache Configuration * Installing MySQL * Modifying PHP Configuration File Installing Apache Installing apache is easy if you download the Microsoft Installer ( .msi ) package. Just double click on the icon to run the installation wizard. Click next until you see the Server Information window. You can enter localhost for both the Network Domain and Server Name. As for the administrator's email address you can enter anything you want. I'm using Windows XP and installed Apache as Service so everytime I start Windows Apache is automatically started. Installing Apache Installing apache is easy if you download the Microsoft Installer ( .msi ) package. Just double click on the icon to run the installation wizard. Click next until you see the Server Information window. You can enter localhost for both the Network Domain and Server Name. As for the administrator's email address you can enter anything you want. I'm using Windows XP and installed Apache as Service so everytime I start Windows Apache is automatically started. Click the Next button and choose Typical installation. Click Next one more time and choose where you want to install Apache ( I installed it in the default location C:\Program Files\Apache Group ). Click the Next button and then the Install button to complete the installation process. To see if you Apache installation was successful open up you browser and type LOCALHOST in the address bar. You should see something like this : By default Apache's document root is set to htdocs directory. The document root is where you must put all your PHP or HTML files so it will be process by Apache ( and can be seen through a web browser ). Of course you can change it to point to any directory you want. The configuration file for Apache is stored in C:\Program Files\Apache Group\Apache2\conf\httpd.conf ( assuming you installed Apache in C:\Program Files\Apache Group ) . It's just a plain text file so you can use Notepad to edit it. For example, if you want to put all your PHP or HTML files in C:\www just find this line in the httpd.conf : DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" and change it to : DocumentRoot "C:/www" After making changes to the configuration file you have to restart Apache ( Start > Programs > Apache HTTP Server 2.0.50 > Control Apache Server > Restart ) to see the effect. Another configuration you may want to change is the directory index. This is the file that Apache will show when you request a directory. As an example if you type http://www.php-mysql-tutorial.com/ without specifying any file the index.php file will be automatically shown. Suppose you want apache to use index.html, index.php or main.php as the directory index you can modify the DirectoryIndex value like this : DirectoryIndex index.html index.php main.php Now whenever you request a directory such as LOCALHOST/ Apache will try to find the index.html file or if it's not found Apache will use index.php. In case index.php is also not found then main.php will be used. Installing PHP First, extract the PHP package ( php-4.3.10-Win32.zip ). I extracted the package in the directory where Apache was installed ( C:\Program Files\Apache Group\Apache2 ). Change the new created directory name to php ( just to make it shorter ). Then copy the file php.ini-dist in PHP directory to you windows directory ( C:\Windows or C:\Winnt depends on where you installed Windows ) and rename the file to php.ini. This is the PHP configuration file and we'll take a look what's in it later on. Next, move the php4ts.dll file from the newly created php directory into the sapi subdirectory. Quoting from php installation file you can also place php4ts.dll in other places such as : * In the directory where apache.exe is start from ( C:\Program Files\Apache Group\Apache2 \bin) * In your %SYSTEMROOT%\System32, %SYSTEMROOT%\system and %SYSTEMROOT% directory. Note: %SYSTEMROOT%\System32 only applies to Windows NT/2000/XP) * In your whole %PATH% Modifying Apache Configuration Apache doesn't know that you just install PHP. We need to tell Apache about PHP and where to find it. Open the Apache configuration file in C:\Program Files\Apache Group\Apache2\conf\httpd.conf and add the following three lines : LoadModule php4_module php/sapi/php4apache2.dll AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps The first line tells Apache where to load the dll required to execute PHP and the second line means that every file that ends with .php should be processed as a PHP file. You can actually change it to anything you want like .html or even .asp! The third line is added so that you can view your php file source code in the browser window. You will see what this mean when you browse this tutorial. Now restart Apache for the changes to take effect ( Start > Programs > Apache HTTP Server 2.0.50 > Control Apache Server > Restart ) . To check if everything is okay create a new file, name it as test.php and put it in document root directory ( C:\Program Files\Apache Group\Apache2\htdocs ). The content of this file is shown below. phpinfo(); ?> phpinfo() is the infamous PHP function which will spit out all kinds of stuff about PHP and your server configuration. Type LOCALHOST/test.php on your browser's address bar and if everything works well you should see something like this : Installing MySQL First extract the package ( mysql-4.0.18-win.zip ) to a temporary directory, then run setup.exe. Keep clicking the next button to complete the installation. By default MySQL will be installed in C:\mysql. Open a DOS window and go to C:\mysql\bin and then run mysqld-nt --console , you should see some messages like these : C:\mysql\bin>mysqld-nt --console InnoDB: The first specified data file .\ibdata1 did not exist: InnoDB: a new database to be created! 040807 10:54:09 InnoDB: Setting file .\ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 040807 10:54:11 InnoDB: Log file .\ib_logfile0 did not exist: new to be created InnoDB: Setting log file .\ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 040807 10:54:12 InnoDB: Log file .\ib_logfile1 did not exist: new to be created InnoDB: Setting log file .\ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 040807 10:54:31 InnoDB: Started mysqld-nt: ready for connections. Version: '4.0.18-nt' socket: '' port: 3306 Now open another DOS window and type C:\mysql\bin\mysql if your installation is successful you will see the MySQL client running : C:\mysql\bin>mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.18-nt Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> Type exit on the mysql> prompt to quit the MySQL client. Now let's install MySQL as a Service. The process is simple just type mysqld-nt --install to install the service and net start mysql to run the service. But make sure to shutdown the server first using mysqladmin -u root shutdown C:\mysql\bin>mysqladmin -u root shutdown C:\mysql\bin>mysqld-nt --install Service successfully installed. C:\mysql\bin>net start mysql The MySQL service was started successfully. C:\mysql\bin>mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.18-nt Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> Modifying PHP Configuration File ( php.ini ) PHP stores all kinds of configuration in a file called php.ini.You can find this file in the directory where you installed PHP. Sometimes you will need to modify this file for example to use a PHP extension. I won't explain each and every configuration available just the ones that often need modification or special attention. Some of the configurations are : 1. register_globals 2. error_reporting and display_errors 3. extension and extension_path 4. session.save_path 5. max_execution_time register_globals Before PHP 4.2.0 the default value for this configuration is On and after 4.2.0 the default value is Off. The reason for this change is because it is so easy to write insecure code with this value on. So make sure that this value is Off in php.ini. error_reporting and display_errors Set the value to error_reporting = E_ALL during development but after production set the value to error_reporting = E_NONE . The reason to use E_ALL during development is so you can catch most of the nasty bugs in your code. PHP will complain just about any errors you make and spit out all kinds of warning ( for example if you're trying to use an uninitialized variable ). However, after production you should change the value to E_NONE so PHP will keep quiet even if there's an error in your code. This way the user won't have to see all kinds of PHP error message when running the script. One important thing to note is that you will also need to set the value of display_erros to On. Even if you set error_reporting = E_ALL you will not get any error message ( no matter how buggy our script is ) unless display_errors is set to On. extension and extension_path PHP4 comes with about 51 extensions such as GD library ( for graphics creation and manipulation ), CURL, PostgreSQL support etc. These extensions are not turned on automatically. If you need to use the extension, first you need to specify the location of the extensions and then uncomment the extension you want. The value of extension_path must be set to the directory where the extension is installed which is PHP_INSTALL_DIR/extensions, with PHP_INSTALL_DIR is the directory where you install PHP. For example I installed PHP in C:\Program Files\Apache Group\Apache2\php so the extensions path is : extension_path = C:/Program Files/Apache Group/Apache2/php/extensions/ Don't forget to add that last slash or it won't work After specifying the extension_path you will need to uncomment the extension you want to use. In php.ini a comment is started using a semicolon (. As an example if you want to use GD library then you must remove the semicolon at the beginning of ;extension=php_gd2.dll to extension=php_gd2.dll session.save_path This configuration tells PHP where to save the session data. You will need to set this value to an existing directory or you will not be able to use session. In Windows you can set this value as session.save_path = c:/windows/temp/ max_execution_time The default value for max_execution_time is 30 ( seconds ). But for some scripts 30 seconds is just not enough to complete it's task. For example a database backup script may need more time to save a huge database. If you think your script will need extra time to finish the job you can set this to a higher value. For example to set the maximun script execution time to 15 minutes ( 900 seconds ) you can modify the configuration as max_execution_time = 900 PHP have a convenient function to modify PHP configuration in runtime, ini_set(). Setting PHP configuration using this function will not make the effect permanent. It last only until the script ends. That's it, now you have Apache, PHP and MySQL installed and running smoothly. Notice from BuffaloHELP: DO NOT PLAGIARIZE! Source also found in http://forums.xisto.com/no_longer_exists/ Credit reduced. Warning issued.
-
Johnny's Random Facts: #1 Part 1 of my interesting facts
Will replied to Johnny's topic in General Discussion
The house where Jefferson wrote the Declaration of Indepedence was replaced with a hamburger stand.-----------------------------------------------------------------------------I find this kind of funny. Just think how big of a tourist attraction it would be today. What were they thinking when they replaced it. lol.... -
http://www.gimme5games.com/play-game/finger-frenzy-world/frenzy/ - This game is very addictive for me, but it is good practice for knowing where all the letters are if you are not that great at typing. Also if you have a chance check out the video section they have, there are 3 videos I think but the people are really fast at typing the alphabet. - My record was 4.207 I could probaly get faster but I put alot of time doing this nd dont want to get too addicted to it. - Post your times heres.
-
Most Important News Story In 2005 What do you think?
Will replied to Insanity's topic in General Discussion
I voted for "other". I think that all the hurricanes (spelling?) are imprt because they affected and still are affecting many people's lives. Heres something from cnn.com," More than 46,000 families in those states now have until January 7 to move out of hotels and into travel trailers, mobile homes or apartments until they find permanent homes.The deadline comes much sooner -- December 15 -- for 3,500 other households scattered nationwide, before the Federal Emergency Management Agency stops paying their hotel bills. "If you think about it january 7th is not that far away and it is very hard for families to find places to live. -
How To Sustain Hosting Credits A guide for the members
Will replied to Professor Kirby's topic in Web Hosting Support
Good tips, Ill keep those in mind when posting. I probally have liek 2 hours a day when I can post, so Il lmake them count by making them long. -
Do You Love Or Hate Spongebob Squarepants? love or hate Spongebob???
Will replied to P00ru's topic in General Discussion
I hate this show because its so annoying. Maybe it just me but his voice is the most annoying thing Ive heard. Not even that funy either, watch Family Guy. -
Why I Chose Trap17 as my free web host
Will replied to Professor Kirby's topic in General Discussion
I agree with you and the topic starter about this. I also think that it is a waiste of money to buy hosting with like a igger package when this is all the space i need and its for free. Love this place. -
yeah I wonder the same thing if this si a rumor or not, Ive heard about it before. And the link it pretty nasty. Now I dot even want to eat chicken. Never eally did liek it in the first place.
-
I would buy a huge amount of land and make it into a motocross track / campground / mall / skatepark / everything that you need to have a good time. And it owuld be like a summer camp with huge parties evry night. I would also buy a ton of stock and a few expensive cars. Mansion you know the usual billionaire things.
-
What Eye Colour Would You Prefer? If you could change it?
Will replied to life_is_life's topic in General Discussion
I have green eyes and thats what i prefer. Green look the best, but if I could get those contacts that make your eyes all white or all black then that would be sick. -
What Electronic Device Would You Take To Desert Island
Will replied to cumar11's topic in General Discussion
I would bring a computer with wireless internet (satelite) so I could stay in touch and order things, like a plane ride out. -
My favorite song is The Offspring - Gone Away , because I recently lost a 2 friends in a car accident and everytime I here it, it reminds me of them. ...On other note I like these types of bands: Coheed and Cambria, The Offspring, Green Day and a ton more but I dont want to get off topic.`Will
-
Family Guy is my all time favorite TV show. It is Hilarious..... I have evry episode upto last mondays with osama in the beginning and I have the movies and extras. If you havent watched Family Guy you are missing out. .Next to Family Guy would have to be everyting on Comedy Central. I like it all South Park, Reno, Daily show, everything! .~Will
-
Very interesting story. Its nice to know that people liek you are out there in the world willing to help others like this. Let me tell you that you made the right decision in sticking with the site because look how active it is now! Keep up the good work!
-
The best place I have ever gone to was Zermatt, Switzerland where I went skiing. My hotel was right below the Matterhorn, you could see it out the window. The skiing was great, no trees, perfect conditions and when you stopped for lunch you would eat out side and not have a coat on. We didnt have to wear coats because the elevation was so high you were closer to the sun. One day we skied down a 15mile trail ( all one trail ) to Italy, it was the best.. the views were amazing. I want to go back someday.
-
What's Your Music Player you current music player device
Will replied to hulunes's topic in General Discussion
My music player is my computer. But hopefully for christmas I should get an Ipod or something. I use winamp on my computer for listening to mp3's. I have a little over 15 gigabytes of music. Im always listening to music. You can check out my last.FM site here: http://www.last.fm/user/WillWillWill -
This is how I discovered Xisto....About a year and a half ago I decided to make a website so I used freewebs (lol), but it was a start. Eventually I wanted more out of a website so I started to look into it. I searched google and found out that you needed hosting with ftp and cpanel, mysql for the things I wanted to do. I read that you had to pay for hosting usually but some site can offer it for free. I searched for free mysql / ftp hosting and I found a website called nasway. Eventually nasway went down but I was still interested in webdesign so I bought a package. After a few months I became too busy to update the site and I shut it down. Now I want to start a site up again so I searched nasway and I was brought here.