-
Posts
866 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Anders Moen
-
I don't think this work...you gotta use PHP or ASP. There are lots of free servers with PHP as server-side language http://www.4uhost.info/forum - that's one of them, I use it.
-
Maybe IE blocks for some sites...and in this case, it blocked yours :)I have no idea, I haven't used IE in a while now, so...
-
Here's the code I always use, and that works perfect for me: <link rel="shortcut icon" href="/favicon.ico"> And by the way; do you use Internet Explorer to check? It doesn't work in IE6 and older. I don't know in IE7 because I don't have it and I'm not gonna get it. But in Opera and Mozilla it works.
-
The first one's almost right!Use this instead:<link rel="shortcut icon" href="frontstuff/favicon.ico" type="image/x-icon">(bold text on the thing you forgot)
-
Yes, but you can't include something from http://mysite/folder/file.php. You can take from folder/file.php or http://www.mysite.com/folder/file.php You see?
-
Is this a search script? Because I need one in PHP but I don't know how to do it
-
Explain better...I didn't get it
-
You can't use this:require("http://mysite/includes/includes.php");But you could use:require("http://mysite.com/includes/includes.php");
-
Okay, I'll try to find something there then.I'll send it when I've made one.Actually, I can't ASP, so you can read about email at W3Schools, right about here
-
I think tables are like harder, lol...I made my Web sites in tables, for like 1 year and a half, and 4 months ago I started with divs, and I would say I'm already better with them And tables (td) is for tabular data.
-
You need to be able to use either PHP or ASP(.NET) or something...I use PHP so I have a contact script in PHP that you can have <?phpif ($_POST['submit'] == TRUE) { $to = "your@email.com"; $name = stripslashes(strip_tags($_POST['name'])); $email = stripslashes(strip_tags($_POST['email'])); $subject = stripslashes(strip_tags($_POST['subject'])); $msg = stripslashes(strip_tags($_POST['msg'])); $ip = $_SERVER['REMOTE_ADDR']; $msgformat = "From: $name ($ip)\nEmail: $email\n\n$msg"; if(empty($name) || empty($email) || empty($subject) || empty($msg)) { echo "<h2>The email was not sent</h2><p>Please fill all the required fields</p>"; } elseif(!ereg("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email)) { echo "<h2>Not sent message</h2><p>The email address is invalid</p>"; } elseif(mail($to, $subject, $msgformat, "From: $name <$email>")) { echo "<h2>Sent message</h2><p>I will get back to you as soon as possible.</p>"; } else { echo "<h2>Not sent</h2><p>Try some other time :)</p>"; }}else { ?><form method="post" action=""><p><label for="name">Name</label><input id="name" name="name" type="text" size="30" maxlength="40" /><br /><label for="email">Email</label><input id="email" name="email" type="text" size="30" maxlength="40" /><br /><label for="subject">Subject</label><input id="subject" name="subject" type="text" size="30" maxlength="40" /><br /> <label for="message">Message</label><textarea id="message" name="msg" cols="50" rows="6"></textarea><br /> <label for="submit"> </label><input id="submit" class="button" type="submit" name="submit" value="Send" /></p></form><?php } ?> If you can't use PHP I'm afraid I can't help you. And remember, the mail function must be on :)But seriously, I recommend to add this into a MySQL database instead...
-
Ok, but I don't have the same problem then...maybe you can figure it out though Here's my Web site:http://www.andersmoen.hotserv.dkHere's the validation results:http://validator.w3.org/check?uri=http%3A%...moen.hotserv.dk
-
An easy way to go: just count IP's.
-
Hmm...okay.I'll try to understand what you mean, but now I gotta go to bed, so let's talk tomorrow instead
-
<select><option name='name_the_thing'>1</option><option name='name_the_thing'>2</option><option name='name_the_thing'>3</option><option name='name_the_thing'>4</option></select>Isn't this right?
-
Okay, then I just have to wait 'till I buy my own computer
-
Haha, okay.Well done, mac
-
Hmm, okay. But have you tried the code I gave you?
-
Do I have to have XP Pro to install it? Because I'm not gonna buy computer before like a half year.
-
I only use<?phpsession_start();?>on top of all my sites (well, only index.php since I use the GET method in the URL address), and if I haven't been at the logout page where I have <?php session_start(); session_destroy(); ?> it survives...it did last time I accidentely closed my Web site where I'm making my own CMS where I use that log in script that works fine.
-
Ok, but the text you've added on the site..wait, ill take a screenshot of it :)Just wait a minute, and it'll come.
-
This is just what I'm looking for too. Anyone got anything?
-
Where do you download the IIS server?
-
Yea, I have a register script (and a login script), but I them to be able to have a personal site, like you can at this forum. And I cannot do that with the one I have now...