iGuest
Members-
Content Count
72,093 -
Joined
-
Last visited
-
Days Won
5
Everything posted by iGuest
-
My question is, if they are advanced enough to create this website and run a server, why can't they make the setup like on other websites where it is automated? that would save a lot of the admins time...
-
I totally forgot about The Shadow it is the best super hero movie!
-
there is a function in PHP called mail();which sends the mail directly from your site... but the email you are using should be hosted from the same webhost...the mail function can be found in the tutorial of php.netenjoy...bye
-
From what I hear its good... but I dont know if I'm going to pay money for it.
-
Mine cost about $400. It's an Axim X3i. It doesn't have a lot of internal storage, but it has an sd slot for more.
-
I was wondering if anyone knows how I can set something up so that people on my site can email me directly from the page. Someone mentioned something about PHP. Please Help
-
Yes I did check out your site, looks good! Not quite sure what its for... but then inspiration hit...and so posted a website address on it that seemed like it might be the right kind of thing!PS. If anyone in Admin can help me figure out why I cant log in anymore with my old user name and password, and why my domain name doesnt work anymore and what I can do about it...would be great! Thanks!
-
I saw The Incredibles the other night, and all i can say is WOW. that movie was awsome. Pixar is unstopable
-
I agree with huandeptrai, I'd give it a 6/10
-
I just wanted to say thanks for the free web hosting! Good job!Marco
-
move yr cursor to a link 4 detail after paste this script after <body> tag: <script language="javascript">var rate = 20;var obj;var act = 0;var elmH = 0;var elmS = 128;var elmV = 255;var clrOrg;var TimerID;if (navigator.appName.indexOf("Microsoft",0) != -1 && parseInt(navigator.appVersion) >= 4) {Browser = true;} else {Browser = false;}if (Browser) {document.onmouseover = doRainbowAnchor;document.onmouseout = stopRainbowAnchor;}function doRainbow(){if (Browser && act != 1) {act = 1;obj = event.srcElement;clrOrg = obj.style.color;TimerID = setInterval("ChangeColor()",100);}}function stopRainbow(){if (Browser && act != 0) {obj.style.color = clrOrg;clearInterval(TimerID);act = 0;}}function doRainbowAnchor(){if (Browser && act != 1) {obj = event.srcElement;while (obj.tagName != 'A' && obj.tagName != 'BODY') {obj = obj.parentElement;if (obj.tagName == 'A' || obj.tagName == 'BODY')break;}if (obj.tagName == 'A' && obj.href != '') {act = 1;clrOrg = obj.style.color;TimerID = setInterval("ChangeColor()",100);}}}function stopRainbowAnchor(){if (Browser && act != 0) {if (obj.tagName == 'A') {obj.style.color = clrOrg;clearInterval(TimerID);act = 0;}}}function ChangeColor(){obj.style.color = makeColor();}function makeColor(){if (elmS == 0) {elmR = elmV; elmG = elmV; elmB = elmV;}else {t1 = elmV;t2 = (255 - elmS) * elmV / 255;t3 = elmH % 60;t3 = (t1 - t2) * t3 / 60;if (elmH < 60) {elmR = t1; elmB = t2; elmG = t2 + t3;}else if (elmH < 120) {elmG = t1; elmB = t2; elmR = t1 - t3;}else if (elmH < 180) {elmG = t1; elmR = t2; elmB = t2 + t3;}else if (elmH < 240) {elmB = t1; elmR = t2; elmG = t1 - t3;}else if (elmH < 300) {elmB = t1; elmG = t2; elmR = t2 + t3;}else if (elmH < 360) {elmR = t1; elmG = t2; elmB = t1 - t3;}else {elmR = 0; elmG = 0; elmB = 0;}}elmR = Math.floor(elmR);elmG = Math.floor(elmG);elmB = Math.floor(elmB);clrRGB = '#' + elmR.toString(16) + elmG.toString(16) + elmB.toString(16);elmH = elmH + rate;if (elmH >= 360)elmH = 0;return clrRGB;}</script>
-
With great power comes great responsibility I like the above quote very much. Spidey's Aunty rightly told Spiderman too. The only sole super-power in the world today is the USA. US must behave responsibly in dealing with other countries. If she misuses her power, chaos and more problems will only spill out here and there. But Osama must be brought to justice.
-
At first place there is no alternative, Kerry represents immoral, liberal, God-fearless modern American, but thank God there are more people who wants to fear God and are religious and wanted to avoid mindless modernism and liberal thinking...Bush represents the majority of American, rich or poor their nation was built On God We Trust..... Thumps up to Mr. GEORGE, who am BUSHED KERRY sensationally despite losing the battle of the three debates......I do not endorse his War of Iraq, but still he is a better choice than Kerry in many other issues.....
-
how long do yas think it will take before i get an answer on the free hosting?
-
This script uses a cookie, so that's your only real restriction, as some browsers wont accept them usually due to privacy/security settings, but most will. -------------------------------------------------------------------------------- Firstly you'll want to create the themes/styles that you want to use, the more knowledge you have of css the better as your styles need to be mostly css based. Lets say you have two styles style1.css and style2.css now we'll create the file that does the switching between the two. Code:<?php if (isset($_POST['set'])) { //set a cookie with the users choice of theme setcookie ('theme',$_POST['set'],time()+31536000,'/','.domain.com','0'); //send the user back to the same page header("Location: $HTTP_REFERER"); } else { header("Location: $HTTP_REFERER"); } ?> Hopefully you can see what to edit "domain.com" is obviously the most important, the rest you can leave as is, 31536000 is the time the cookie you set will last for (in seconds) this is a year, you can edit that if you like. That's basically all the code you need, save it as theme.php and upload, next we need to include the chosen css file into our page. Code:<link rel="stylesheet" type="text/css" title="user theme" href="http://domain.com/<? echo(!$theme)?'style':$theme ?>.css"> Again you need to edit "domain.com" and this should be the full path to your css files, so if they are in a folder called "themes" you would have href="http://forums.xisto.com/no_longer_exists/ etc (don't forget the trailing slash) this will include the chosen theme that's been defined from theme.php Ideally this should be in the <head> section of your page, and obviously in all pages that you want to apply the style to. Only one thing left to do, and that's give your users a way to change the theme, basically all you really need to do is call the following url http://yourdomain.com/theme.php?set=css_file_name (make sure you leave the .css off the end of the css file name) The easiest way for people to select a style would be via a drop down box, something like the following: Code: <form name="theme" action="theme.php" method="post"> <select name="set" onChange="this.form.submit()"> <option value="">-- select --</option> <option value="style1">Style1</option> <option value="style2">Style2</option> </select> </form> That's all you need, as the user selects a theme from the list it'll set the $set variable as either style1 or style2, set the cookie with the selected style and call the relevant .css file
-
How's this? http://forums.xisto.com/no_longer_exists/
-
Variables We use variables for values that are likley to change, so we always have something familiar to relate to when we want to display or use that value. Here's a basic example, it's probally not something you'd use but it just gives the general idea how variables work in PHP. <?php $title = "Welcome to my webpage"; ?> <html> <head> <title><?php echo("$title"); ?></title> </head>That would set your page title to "Welcome to my webpage" , so basically we set the variable with $variable="value"; then we can just echo or print it to our page wherever we like. Some other basic points about variables in PHP. They can be any size, e.g everything on this page could be set as one variable called $tutorial or whatever. All PHP variables are defined by the dollar sign $ They must always begin with an aplhabetic character a-z or an underscore _ NOT with a number. They are CASE SENSITVIVE so setting a variable named $blah would not be the same as a variable named $BLAH -------------------------------------------------------------------------------- I hope this helped a little bit
-
You don't have to resize the image. You can stipulate the size in the call, like this: <A HREF="website.com/&%2334; target="_blank"><img src="image.jpg" width="800" height="600" border="0"></A> It is however, a good idea to reduce the size/resolution to make it load quicker in your visitors browser.
-
Using PHP on your pages Any PHP that you want to include in your HTML pages is contained within it's own tags, which are: <?php code goes here; ?> You may see some people (including myself) using just this: <? code goes here; ?>But although you'll probally never come across the problem, the shorter form tags are not supported on all servers so it's probally better to get in the habbit of using the first. Now you can add your PHP code at whatever points you like within your normal pages, the first example here being how to output text. "print" and "echo" are what we use to display text on the page when we're using PHP, for example: <?php echo("i like bananas"); ?>Would display the text "I like bananas" (without the quotes) on your page.But you can also use "print" to give the same output eg: <?php print("i like bananas"); ?>Would display the same thing. So what's the difference? well so far the only difference i know of between using print and echo is that echo gives you the option to output multiple lines, like echo ("do one thing", "do another thing"); print doesn't support using a comma to seperate lines like that, as far as i know there's no other difference, most examples and tutorials i've seen tend to use echo 90% of the time. One other basic example i'll give is setting a variable with php, because it's something that eventually you'll use quite often.
-
How do i use it? Well obviously first of all you'll need a host that supports PHP, any paid hosting package should give you PHP support these days and there's alot of free hosts that offer PHP now also, and any pages that include PHP scripting need to be given a .php extension, instead of .htm or .html First of all, just quickly a little PHP syntax. 1. Tabs, spaces and returns don't really matter for example <?php echo (" blah "); ?> would be the same as <?php echo("blah"); ?> 2. Each PHP statement must end with a semicolon ; 3. You can make comments inside your PHP tags in three ways <?php /* comments here */ //comments here #comments here ?> With the last two, the comments would extend to the end of the line.
-
What can i do with it? The first time i looked at a PHP tutorial (which wasn't very long ago) i first thought why the heck do i want to mess around with all this echo and print stuff when i can just type what i want on a blank page and it'll appear? well i soon changed my mind, PHP gives you so many more choices and options than basic Javascript, you'll soon be adding things to your pages that you probally never thought possibile, or at least didn't expect them to be so simple. Basically PHP makes it very simple to Collect, process and store data Create dynamic page content Create a more "interactive" website And much more ... Using PHP with one of the many databases that it supports (mysql, dbase, oracle etc) is when it really starts to get fun
-
Whoah man image on the right at the top of the page!! The theme is absolutely awesome and the colors all work!Great job 10/10skyglow1
-
What is PHP? PHP is a server side scripting language that's used (mostly) within HTML, being a server side language it means the code is processed or "parsed" and sent to the browser as simple HTML, so people don't need any sort of addons to read the pages, like flash plugins etc. If you don't have a reasonable understanding of the basics of HTML then really you're starting in the wrong place, but if you do, then the basics of PHP at least are not difficult to learn, you'll also find that experience of any other kind of scripting language is a benefit, if you use mIRC you'll even see similarities with if and else statements and other syntax.
-
Nice site! I like the background image of soccer in the banner and footer. I only don't really like the dotted borders. The buttons work well and are cool. Nice and readable.8/10skyglow1
-
Yeah layout is nice. Only a few things, like the banner I don't really like. And also the background color for the things on the side of the page is so light that I it doesn't give a definite outline look if you get what I mean. Like the most recent news thing has a darker background color so that looks cool.skyglow1