|
-
WHAT?!?! (EPS 12V)
Date: 01/04/07
(Computer Geeks) Keywords: html
http://www.playtool.com/pages/psuconnectors/connectors.html#4into8
"...Even if the motherboard works with a 4 pin 12 volt cable, you are still only providing half of the current carrying capacity which would be provided by an 8 pin EPS cable. That can overheat both the motherboard connector and 4 pin cable. Scorched or melted connectors can be a result."
I just plugged the 4pin into the 8pin. Looks like I'll have to get one of those expensive EPS 12V supplies before I could do any overclocking. Pbbt. In the meantime I'm getting a 4-8 converter cable to temporarilly stem the voltage drop.
I guess I'm lucky that nothing melted so far.
(I know that "dual core CPU" as in "two cores on a single die" could probably be counted as one CPU instead of two, but I'm not going to take chances with this expensive thing)
Blah, heading further into overbudget territory. I wish MB/CPU manufacturers could make a bigger deal out of EPS by printing (in BIG CAPITALIZED LETTERS) "USE EPS 12V SUPPLY OR THINGS COULD MELT ON YOU"
Source: http://community.livejournal.com/computergeeks/1018773.html
-
Opera = virus or spyware?
Date: 01/04/07
(Opera Browser) Keywords: html, virus, spyware, google
If I do a Google search by typing g whatever in the Opera address bar, I'm now getting a 403 Forbidden response, with an apology page: We're sorry...
... but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can't process your request right now. Then there's a captcha - "To continue searching, please type the characters you see below:"
I'm reasonably sure that the problem isn't a virus or spyware, but Google being suspicious of the Opera searches, so... Yuk!
Is this happening to anyone else?
Update: This seems to be related to where Google sees your request originating, and not anything to do with Opera. Apologies. It seems that Google has been doing this for quite a while. More info: http://www.spy.org.uk/spyblog/2005/06/stupid_google_virusspyware_cap.html
Source: http://community.livejournal.com/opera_browser/63728.html
-
HTML Text Editor for Mac
Date: 01/05/07
(WebDesign) Keywords: html
Hi guys! I'm looking for a decent HTML text editing program for Mac OS X. I use EditPlus on Windows and was wondering if there was anything comparable (preferably freeware/shareware).
Any suggestions you have would be greatly appreciated! Thanks in advance. =)
Source: http://community.livejournal.com/webdesign/1203434.html
-
PHP/MySQL Help
Date: 01/05/07
(WebDesign) Keywords: php, mysql, html, database, sql, web
Hoping somebody here can help me..
I'm going through the book PHP and MySQL Web Development by Luke Welling and Laura Thompson. I'm currently working through Chapter 26 (for those of you that have read it), Building User Authentication and Personalization. I've gotten through it pretty good so far, but am having some trouble with actually authenticating the user logins. My site is set up at http://test.aacapartsandsupplies.com. My problem is, whenever I click the login button, I always go to the member.php page.. even if I didn't put any login information in. It doesn't throw back any errors saying "you must be logged in to view this page", etc. Even if I do login, and I try to logout from member.php, it throws back the exception "you were not logged in, and so have not been logged out." I have registered some test users, and this happens on every login I've created.
I'm not exactly sure where the problem lies. I'm wondering if anyone has read this book and might be able to help me out. Even if you haven't read it and know more about PHP/MySQL than I do, I'd appreciate any kind of help. Posting the code for the two files where I *think* the problem lies.
< ?php
// include function files for this application require_once('tokens_fns.php'); session_start();
//create short variable names $username = $_POST['username']; $passwd = $_POST['passwd'];
if ($username && $passwd) // they have just tried logging in { try { login($username, $passwd); // if they are in the database register the user id $_SESSION['valid_user'] = $username; } catch(Exception $e) { // unsuccessful login do_html_header('Problem:'); echo 'You could not be logged in. You must be logged in to view this page.'; do_html_footer(); exit; } }
do_html_header('');
display_user_menu('');
check_valid_user('');
?>
< div id="right"> < div id="title"> < h1>Welcome to your AACA Locker < ?php $_POST['username'] ?> < /div> Thanks for logging in! You may now view your custom reports, vote in our polls, and be sure to check for any rewards you may have won! < /div>
< ?php
do_html_footer(''); ?>
This is simply the login and check_valid_user functions:
function login($username, $passwd) // check username and password with db // if yes, return true // else throw exception { // connect to db $conn = db_connect();
// check if username is unique $result = $conn->query("select * from user where username='$username' and passwd = sha1('$passwd')"); if (!$result) throw new Exception('Could not log you in.'); if ($result->num_rows>0) return true; else throw new Exception('Could not log you in.'); }
function check_valid_user() // see if somebody is logged in and notify them if not { if (isset($_SESSION['valid_user'])) { echo ' '; echo 'Logged in as '.$_SESSION['valid_user'].'.'; echo ' '; } else { // they are not logged in echo ' '; echo 'You are not logged in. '; exit; } }
I can provide more code if needed.
Thank you all in advance!!
Source: http://community.livejournal.com/webdesign/1203673.html
-
Auto-Watermarking...
Date: 01/08/07
(HTML Help) Keywords: php, browser, html, web
Howdy All,
Anybody know a way to automatically watermark an image when it is dragged from the users web browser to their desktop?
I have tried this, but my site is built in html and I think this is php: http://rs.bahneman.com/wm.php.html
Help. Thanks!
Source: http://community.livejournal.com/htmlhelp/2382248.html
-
Dumb question...
Date: 01/10/07
(WebDesign) Keywords: templates, html
Since I'm most accustomed to hand-coding but am using Dreamweaver today cause I'm in a hurry, I've run into a problem with templates. I've applied the template to all documents, but I find that the links don't work because the links refer back to the template which is inside the Templates folder. For instance, something that links to an item under images will say "../images/pic.jpg" because that's how the template finds it, but once I apply the template to, say, the index.html page, the link still says "../images/pic.jpg" which it can't find because the index.html page is NOT within the Templates folder.
Is there some function I'm missing? Should I have just handcoded it my darn self? Big hurry. Thanks!
Source: http://community.livejournal.com/webdesign/1207509.html
-
HTML TABLES.
Date: 01/11/07
(HTML Help) Keywords: html
oh no! html tables.
take a look-see at sofuckenvicious's userinfo. she used tables to put the links under the image, and the text to the right of the image. I really want to know how to do this, whether someone tells me how or tells me where to look to find out how.
any help is greatly appreciated. thanks in advance! ;]
Source: http://community.livejournal.com/htmlhelp/2382930.html
-
CLs: a means to an end
Date: 01/11/07
(Computer Geeks) Keywords: html, java, web
Ok. Let's say that I am a complete dummy w/ absolutely no knowledge of computer languages whatsoever. My question is: what can I create when I do master one? I know that some are created to make 'web applications,' like Java, and others are meant for algorithms. So assuming that the computer is, in itself, a means to end, what would be the logical end to the experience of working with a computer language preferrably something meant for algorithims and/or doesn't have a web-based purpose like Java or HTML.
Source: http://community.livejournal.com/computergeeks/1021140.html
-
Menus not working in Firefox?
Date: 01/11/07
(Web Development) Keywords: php, mysql, css, html, database, sql, web
I run a fan website and I'm currently having a problem with the navigation menu in one section.
The section is PHP/MySQL based (the other parts of the site are static HTML at the moment) and can be found here: http://www.selenayhaven.com/reviews/ It's the green left-hand navigation side bar that has problems reported. It uses unordered lists and CSS to acheive the 'button' appearance, following a tutorial from A List Apart. It works absolutely fine on all the instances of Firefox, Opera and IE that I've tested it on and other users report that it works in Safari. However, one user reports that the menu doesn't work when she clicks on it and I honestly cannot work out why.
Menus in the rest of the site (e.g. http://www.selenayhaven.com/gate/index.html) were constructed slightly differently (no lists) and my user has no problem with them. I decided to do them differently when I set up the database area because I thought it would be better from an accessibility POV - how wrong I was, apparently!
My query is whether anyone else using Firefox cannot use the problem navigation menu and whether anyone can suggest how I might be able to fix it. I'm about to start sorting out the site to accommodate IE7, so I want to make sure that I'm starting with a site that works properly before making yet more changes. My problem user has tested the site in both Firefox 1.5 and 2.0.
Source: http://community.livejournal.com/webdev/382284.html
-
CSS troubleshooting
Date: 01/14/07
(WebDesign) Keywords: css, html
Hey all,
I'm working on my online portfolio and want to do it using CSS. I've been teaching myself and have run into a problem with borders on divs.
The following is what I want the image to look like: http://filebox.vt.edu/users/araja/troubleshoot.jpg The red arrows point to the two borders I want to appear on the page, and how they appear.
However, when I apply the border properties to the document (you can view the page here: http://filebox.vt.edu/users/araja/trial.html), I'm applying it to the "info" div and the "newstuff" div in the CSS. The "info" div with an applied border creates a horizontal border that extends to the left beneath the "leftcol" div; the "newstuff" div with an applied border refuses to show the border. Where am I going wrong?
Thanks!
Source: http://community.livejournal.com/webdesign/1207949.html
-
3 Ways To Selectively Execute HTML Files Using Apache HTTP Server
Date: 01/14/07
(Java Web) Keywords: html
A very simple way to execute HTML files is by telling the server to parse html files for SSI commands. To do it simply add the following lines to your .htaccess file:
AddType text/html .html
AddHandler server-parsed .html
This has the downside of processing all the html files in that directory and its subdirectories. A better way [...]
Source: http://blog.taragana.com/index.php/archive/3-ways-to-selectively-execute-html-files-using-apache-http-server/
-
"dynamic" resizing
Date: 01/15/07
(Javascript Community) Keywords: php, html, xml
i have a div that's populated ("ajax-ey") with search results.
more text and stuff here blah blah
if few results are returned, i want the div to expand vertically to accomodate them, and push the "more text and stuff" down a little. which is how it works by default. however, if the div ends up with a ton of data in it, i'd like to shrink it down and allow the user to scroll through the results. i don't want to shove the "more text and stuff" 8,000,000 pixels down.
i tried this (the alerts are for trouble shooting):
function search(search_val) { xml_http = ajax(); if (xml_http) { document.getElementById('search_results').style.display = "block"; url = encodeURI("./search.php?search="+search_val); xml_http.open("GET",url,true); xml_http.onreadystatechange=function() { if (xml_http.readyState!=4) { document.getElementById('search_results').innerHTML="Searching..."; } else if (xml_http.readyState==4) { document.getElementById('search_results').innerHTML=xml_http.responseText; } } xml_http.send(null); resize_element('search_results',300); } }
function resize_element(elem,size) { alert("checking..."); if (document.getElementById(elem).clientHeight > size) { alert("resizing"); document.getElementById(elem).style.height = size; } }
no matter where i call the resize_element function, it keeps firing before the search_results element is fully populated, and oftentimes doesn't resize the thing at all. so, is there a better way to implement this? is there a way to say, "ok, the client has displayed all of the data, now check the size... ?
Source: http://community.livejournal.com/javascript/124459.html
-
Comic Gallery by date only
Date: 01/16/07
(Web Development) Keywords: php, css, html, java
So I'm thinking of building a comic gallery like http://www.comics.com, except I'm not sure how to go about doing it. Just a vague idea.
I found a comic gallery via HotScripts at http://www.designmeme.com/comicgallery/
I played with it. It's close to what I want, but it shows first comic to last comic. That's not what I want. I need it to display comics by today's date. So if it's Jan. 15, 2007, it should display the comic for that day. I don't want tomorrow's comics visible yet. But yesterday's and past comics should be available for up to 7 or 14 days. I haven't decided on 7 or 14 days yet.
I'm really braindead at this time of the night...
I'm using PHP, XHTML, CSS, and JavaScript. This comic gallery by Design Meme uses php.
Just need some pointers on how to get it to display by date only, and whether it can be tweaked into this Design Meme script.
Source: http://community.livejournal.com/webdev/383399.html
-
MS Outlook to go Old Skool
Date: 01/16/07
(WebDesign) Keywords: html, microsoft
http://www.campaignmonitor.com/blog/archives/2007/01/microsoft_takes_email_design_b.html
It's going to be fun launching pretty emails now, isn't it? The thought is that people will change to a new email client, but I have my doubts. We should have seen this one coming.
Source: http://community.livejournal.com/webdesign/1208931.html
-
Front-End Web Dev Interview Questions
Date: 01/16/07
(Javascript Community) Keywords: css, html, java, web, google
Hi, folks. I just found out that in roughly 26 hours, I'll have to interview someone for a job at my company. That is to say, I already have a job. We're hiring someone else to do more-or-less what I already do, which is JavaScript and AJAX web development. (I occasionally have to mess with HTML, CSS and images, but that's a secondary duty.)
I've tried a few Google searches involving words like "javascript" and "ajax" prepended to "interview questions" and gotten some pretty hideous results, so I thought I'd ask here: What do you think would be good questions to ask? What questions would you ask a prospective employee for such a position? Ideally, I want to be able to figure out: - Does this guy actually know his stuff, or has he padded his résumé?
- What's his coding and architecture philosophy like? Aside from simply knowing JS, will he actually write good code, rather than some kludged-up mess?
- Will he be good to work with?
I want to figure out the whole shebang, and that can certainly include asking him to write sample code, as far as I'm concerned. So, what would you all suggest for questions?
(Cross-posted to webdev.)
Source: http://community.livejournal.com/javascript/125319.html
-
Front-End Web Dev Interview Questions
Date: 01/16/07
(Web Development) Keywords: css, html, java, web, google
Hi, folks. I just found out that in roughly 26 hours, I'll have to interview someone for a job at my company. That is to say, I already have a job. We're hiring someone else to do more-or-less what I already do, which is JavaScript and AJAX web development. (I occasionally have to mess with HTML, CSS and images, but that's a secondary duty.)
I've tried a few Google searches involving words like "javascript" and "ajax" prepended to "interview questions" and gotten some pretty hideous results, so I thought I'd ask here: What do you think would be good questions to ask? What questions would you ask a prospective employee for such a position? Ideally, I want to be able to figure out: - Does this guy actually know his stuff, or has he padded his résumé?
- What's his coding and architecture philosophy like? Aside from simply knowing JS, will he actually write good code, rather than some kludged-up mess?
- Will he be good to work with?
I want to figure out the whole shebang, and that can certainly include asking him to write sample code, as far as I'm concerned. So, what would you all suggest for questions?
(Cross-posted to javascript.)
Source: http://community.livejournal.com/webdev/384135.html
-
login help
Date: 01/17/07
(PHP Community) Keywords: php, mysql, html, database, sql
I'm trying to create a super basic login page.. one that doesn't require a mysql database of usernames and passwords, which apparently is nearly impossible to find. I'm still relatively new to php.. bumbling along mostly. Anyway.. here's what I've got so far
In the first page of the protected section:
session_start(); if (isset($_POST['user'])) { $_SESSION['username'] = $_POST['user']; $_SESSION['password'] = $_POST['pass']; $_SESSION['authuser'] = 0; } //check username and password information if (($_SESSION['username'] == 'bob') and ($_SESSION['password'] == 'smith')) { $_SESSION['authuser'] = 1; } else { echo "Sorry, but you don't have permission to view this page, Try Again"; exit(); } ?>
What I'm trying to accomplish is being able to kill this information with a "Logout" button. I've attempted putting session_destroy() and session_unset(); in the header of that page.. tried resetting the $_POST['user'] to nothing or something other than 'bob' (and changing the isset part.)
Nothing works.. I'm still passing something that's allowing me to be logged in.
How can I code this so it's totally killed.. dead, gone.. when they hit a button that says logout ??
for the rest of the pages can I simply put in the header
session_start(); if ($_SESSION['authuser'] = 1) { ?>
html stuffs
else { echo "Sorry, but you don't have permission to view this page, Try Again"; exit(); } ?>
you guys are my last hope.. I'm about to toss the whole thing and resort to .htaccess .. please help!
ETA: Problem appears to be fixed.. thanks everyone!
Source: http://community.livejournal.com/php/530638.html
-
Logitech Z5500 manual
Date: 01/18/07
(Computer Geeks) Keywords: html
Hi all. Does anyone know where I could download a textual version of the Z5500 manual? I have the print version; however, that doesn't do any good in my case. I also don't have a scanner, unfortunately. I've been googling, however that hasn't turned up anything yet. So if someone could either tell me where I could find an HTML/whatever version, or is perhaps willing to scan there's and provide a download link, I'd really appreciate it. Thanks!
Source: http://community.livejournal.com/computergeeks/1024027.html
-
iframes
Date: 01/18/07
(HTML Help) Keywords: browser, html, web
Okay, well this is the raw website: http://www.shuushuubuttons.com/index2.html I have three iframes there...but when you bring the browser window in and out (using your mouse) the top frame gets eaten up by the bottom ones. Is there any way to 'lock' the top and left frame so it doesn't change size. I put in the 'noresize' tag, but that didn't seem to make any difference. Any help would be appreciated! Take a look at my html, maybe I've done the tags wrong.
Thanks!
Source: http://community.livejournal.com/htmlhelp/2384094.html
-
Word --> HTML
Date: 01/19/07
(WebDesign) Keywords: browser, css, html, technology
I am trying to make an HTML template out of a Word document (which will then be used to dynamically generate more HTML documents). The client expects the HTML document to look reasonably like the Word document. So far, it has been an... "adventure." Let's just say that my .css file has gone through several changes, involving changing the units of measure from inches and points to ems to pixels... all of which resulted in various problems.
The client wants the HTML document to also be the hard copy, so we are also trying to get the template to fit onto 1 page, as the Word document does. This is an interesting problem, because depending on how the margins display, and the text size, the text may take up more lines in HTML than in Word, and then go onto another page. We are also trying to get all of the images to have the same proportions as they do in the Word document.
Inches: Measuring the structure in inches worked fine, until I realized that image sizes cannot be set in inches in CSS or HTML, so I couldn't make them proportional with the rest of the structure. Ems: Measuring the images and text in ems, I could make them proportional to each other, but structure can't be set in ems, so I couldn't make the structure match. Pixels: I had to set the width of the body to less than 800 pixels, so that it would fit in 800x600 resolution. I don't know how the browser decides to translate pixels onto the printed page, but I believe this caused the margins to be less wide than in the Word document, because the text ended up taking more lines, and going onto the next page in the print preview.
I personally feel that what we are trying to accomplish is not realistic or advisable, given how differently things will display (and print) in different browsers. But I thought maybe somebody might have some advice on either how to accomplish the goal, or what to explain to the client the limitations of the technology are. I just don't feel that I have enough experience to know how to approach the problem, or to confidently tell the client what is possible to deliver and what is not.
Thanks for any help or advice. I can provide more information (e.g. the Word document or the HTML I'm working on) if necessary; if you want to take a look, please comment with your e-mail address, as I'd rather not publicly link to those documents.
Source: http://community.livejournal.com/webdesign/1210863.html
|