Location: PHPKode > scripts > CzarQuery > czarquery/readme.txt
##########################################
### 
### CzarQuery v1.00
### Made by: Czaries  [hide@address.com]
### http://www.czaries.net/scripts/
### for more scripts and updates.
###
##########################################

# Installation
# -----------------------------------------------------------------

1.   Open up the file 'czarquery.php' in a text-editor (or using Notepad), and edit the
	$server_ip, $server_port, and $page variables as outlined in the script.

	$server_ip - The IP address of your Half-Life server
	$server_port - The server port (the 5 numbers after the colon - ':' - usually '27015')
	$page - The way the script displays - as a full page, or as an include

2.   Upload all the files in the ZIP file to your website in the directory of your
	choice.  Make sure that the "mapimgs" directory is in the SAME directory that
	you put the script in, or the map images will not display correctly.  If you
	include the file on a different page, put the images directory in the same
	directory of the files that you included the script on.

3.   If you choose to use STYLES (which make the script look like the demo), you will
	have to do some extra work, as outlined below:

	- If you are displaying the script as a full page by itself, then the CSS file
	  should already be included for you, so long as it is IN THE SAME DIRECTORY as
	  the script itself.
	- If you are INCLUDING the file, you will have to link to the CSS Stylesheet in
	  the <head> tags of your header file, or on the page you are including the file on.
	  You can do so by adding the following 1-line code inbetween your <head> tags:
		<link rel="stylesheet" type="text/css" href="czarquery.css">
	  Please note that the 'href=' tag assumes that the CSS file is in the same directory
	  as the script you are including CzarQuery on.  If this is not the case, please feel
	  free to change it as appropriate.

### INCLUDING THE FILE ###

4.   On the page you wish to show the server status, you must INCLUDE the file
	'czarquery.php' via PHP's include() function.  The page you include the CzarQuery
	file on must be a PHP page (.php, .php3, .php4, .phtml), NOT an HTML page (.html)
	---

	The PHP code for including CzarQuery would be:
	<?
	include("czarquery.php");
	?>

##########################

5.   You should be all set!  Your server now has a live status so visitors can see what's
	going on before joining.



# Troubleshooting
# -----------------------------------------------------------------

As this is the first release, there are currently no common problems known.  If you
run into some sort of problem, please post it on the FORUMS under Scripts and
Troubleshooting.

Scripts Forums: http://forum.czaries.net

If that fails, you may email me at: hide@address.com



# License/Distribution
# -----------------------------------------------------------------

This script is distributed for free by www.czaries.net, or my personal collection
of websites only.  It is intended for use on websites of all types, personal and
commercial, as long as the credit link remains intact and visible wherever the
script is displayed.  This script was made in 2004 by Vance Lucas.  If you
choose to modify your copy of the script, you may do so freely, but please do not
re-distribute your modified copy, as it is not my work.


Return current item: CzarQuery