Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
In firefox they only appear if there is somewhere to scroll to.
-
[quote author=redarrow link=topic=110242.msg445246#msg445246 date=1159798722] Are these elements or propertys dont get it sorry. caption: drop-downs: icon: menu: message-box: small-caption: status-bar: [/quote] As far as I know they aren't.
-
Wouldn't it be easier to just avoid defining a:visited then?
-
Google Ads - October 1st, 2006
Daniel0 replied to phpfreak's topic in PHPFreaks.com Website Feedback
[quote author=phpfreak link=topic=110155.msg444884#msg444884 date=1159737938] our contract is per impressions [/quote] Would it count to put <div style='display:none;'></div> around the ads? -
[quote author=nickholt1972 link=topic=109166.msg445155#msg445155 date=1159792076] I'm just releived my own website wasn't in your list [/quote] Your website looks ok (at least if it's the one on your profile).
-
Yeah, C++ is a language.
-
[url=http://php.net/mime_content_type]mime_content_type[/url] might help, but it requires that special file.
-
It is ok to use CSS to remove borders, that is actually W3C's recommendation. Do as wildteen said: [code]a img { border: none; }[/code] Or to make only specific images not have a border: [code].no_border { border: none; }[/code] Then just give the image the class no_border: [code]<img src='some_image.png' alt='bla bla' class='no_border' />[/code]
-
It works for me.
-
Hmmm, makes it annoying to check filetypes. That makes us having to depend on the extension I guess.
-
This code should give you an idea of how it's done. [code]<?php $links = array( 'index' => 'Main', 'staff' => 'Staff/Servers', 'tos' => 'TOS', 'aup' => 'AUP', ); $current_page = empty($_GET['page']) || !key_exists($_GET['page'],$links) ? 'index' : $_GET['page']; echo <<<EOF <style type="text/css"> .active { font-weight: bold; } </style> <ul> EOF; foreach($links as $link_key => $link_text) { if($current_page == $link_key) { } $extra = $current_page == $link_key ? " class='active'" : null; echo "\t<li{$extra}><a href='?page={$link_key}'>{$link_text}</a></li>\n"; } echo "</ul>\n"; ?>[/code]
-
Try this: [code]< script type="text/javascript"> var start = 10 var now = start var interval = setInterval('update_countdown()',1000); function update_countdown() { now = now-1 if(now >= 0) { document.getElementById('countdown').innerHTML = now } else { clearInterval(interval) } } </script> <div>There is <span id="countdown">10</span> seconds left.</div>[/code]
-
[quote author=Spencer V link=topic=109569.msg444544#msg444544 date=1159675217] Are you coding your .php page to use the same doctype as your working .html version? -SV [/quote] Shouldn't have any effect on how it works.
-
Check for admin rights, then just make pages where the admin can edit things. You should probably look into SQL.
-
In the table containing the emails, have a field called is_activated with this type: ENUM('0','1') and a field called activation code with something like this type: VARCHAR(50) When they add their email and you add it to the database set is_activated to 0 and make a random activation code like [code]uniqid(md5($email.microtime());[code] Then send them a mail containg a link like this: http://example.com/activate.php?activation_code=**the activation code here**&email=**the email here** on the activate page you should check if the email matches the activation code, and if it does, then set is_activated to 1. When sending mails, only send it to email where is_activated is set to 1.[/code][/code]
-
Google Ads - October 1st, 2006
Daniel0 replied to phpfreak's topic in PHPFreaks.com Website Feedback
And remember to click on them :P -
Hmmm, never noticed that. Is it something recently added?
-
It just redirects you to the first result of Google searching for that: http://www.google.com/search?q=448191 Searching for my own username http://www.google.com/search?q=Daniel0 I found out that other people than me use that for their username (not that it is very unlikely, but oh well...).
-
[quote author=shivabharat link=topic=110152.msg444786#msg444786 date=1159723004] Hi, You have to use the META tag for this [code]<meta http-equiv="refresh" content="2;url=http://mypage/index2.php">[/code] [/quote] Not a good idea: http://www.w3.org/QA/Tips/reback
-
It's not something really important, but people with red usernames are admins, blue usernames are mods, then what are purple usernames (see attachment)? [attachment deleted by admin]
-
We would need to see the part where $result is set/defined.
-
I don't like it. I think it's anoying that visited links are in another color.
-
Ah yeah, didn't notice.
-
shivabharat: there is no tutorial about forum systems
-
Just [code]mysql_query("INSERT INTO table (the_time) VALUES(".time().");");[/code]