|
-
Seems like a stupid question...
Date: 04/24/06
(Web Development) Keywords: browser, html
I cannot seem to override the fact that, in html, *some* form elements of type="text" default to a yellow background. I have tried to force a non-yellowed out background, but it still shows up on form elements like phone, email, name, etc. Is this some kind of browser-specific mark-up that resists styles?
I have tried setting the background-color attribute in the style for the input tag as well as a self-defined style called .nonyellowbox - neither have been successful. Help?
Source: http://community.livejournal.com/webdev/315897.html
-
Security?
Date: 04/24/06
(PHP Community) Keywords: php, mysql, html, sql, security, web, spam
Hi everyone,
I'm looking for some advice on some simple security measures. I deal with a political web site that wouldn't necessarily be sticking its neck out for malicious attacks but has received some spam attention on its forms already, and I worry as we store more data in a MySQL db (is it wrong to store a mailing list there?) that an injection could get in and send out sensitive information or potentially attack our larger parent organization that provides us with server space.
Basically I have the same kind of simple form doing the same thing in a few instances of the web site. The form has about 20 fields, most type text some textarea, and a few of type file (for resumes, applications, etc). I don't currently copy any of the files to the server because I don't have access to, so I email them (via PHP) to myself or whoever the coordinator is. I don't currently have anything in place except for strip slashes and/or remove html in some cases, but I know that these measly little concoctions don't do anything to protect me from a sophisticated (or hell, even newbie) attack.
What kinds of things should I be doing? I should probably be processing strings to make sure that they don't have any sql in them or make it so that the user is blocked from having access to damaging things, but I don't know what signifiers to look for or even what functions to use. Anyone have any basic suggestions or advice, or a link to a source that might help me beef up my data police? Thanks in advance!
Source: http://community.livejournal.com/php/443711.html
-
Security Flaws
Date: 04/26/06
(Opera Browser) Keywords: browser, html
http://news.com.com/Bugs+bite+into+popular+browsers/2100-1002_3-6065048.html?tag=nefd.top
Browser flaws have been found in IE, Safari and Firefox. Not all the bugs that were found are critical but Symantec did say that the IE flaw could be exploited to run malicious code. There are currently no fixes available for any of the newly found flaws.
Yet another reason to use Opera. :p
Source: http://community.livejournal.com/opera_browser/53619.html
-
auto complete in BBedit
Date: 04/26/06
(Web Development) Keywords: css, html
I'm using version 8.2.5 of BBedit to edit CSS and HTML documents and was wondering, is there an auto complete feature in BBedit (like what Dreamweaver has)? I've looked around in the preferences, but can't find anyway of turning it on.
Thanks
Source: http://community.livejournal.com/webdev/315995.html
-
php's include function question
Date: 04/28/06
(PHP Community) Keywords: php, browser, html, web, apache
I currently have a paid webhost, which runs *nix, I have a web proxy script running on there and rather than calling the script directly, I use the
include('cgi-bin/proxy.pl'); ?> function to load it in an index.php file on my webserver.
Now I also have a local webserver, running Win2k3, Apache 2.0.55, the latest PHP, and Perl. (I'm not sure if its a misconfiguration on my part, or if theres something I'm doing wrong...) I setup everything, Installed the same proxy script (and when accessed directly, it runs exactly as it should,) But when I use the include('cgi-bin/proxy.pl'); function, It just returns the entire cgi script in plaintext exactly like this: #!/usr/bin/perl --## CGIProxy 2.0.1## nph-proxy.cgi-- CGIProxy 2.0.1: a proxy in the form of a CGI script.# Retrieves the resource at any HTTP or FTP URL, updating embedded URLs# in HTML resources to point back through this script. By default, no# user info is sent to the server. Options include text-only proxying# to save bandwidth, cookie filtering, ad filtering, script removal,# user-defined encoding of the target URL, and more. Requires Perl 5.## Copyright (C) 1996, 1998-2002 by James Marshall, james@jmarshall.com# All rights reserved.## For the latest, see http://www.jmarshall.com/tools/cgiproxy/### IMPORTANT NO
I've also tried using the full URL in the include path include('http://mysiteurl/cgi-bin/proxy.pl'); But that causes it to timeout, and gives the following errors:
Warning: include(http://mysiteurl/cgi-bin/proxy.pl) [function.include]:failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in D:\WebServer\htdocs2\public\index.php on line 5
Warning: include() [function.include]: Failed opening 'http://mysiteurl/cgi-bin/proxy.pl' for inclusion (include_path='.') in D:\WebServer\htdocs2\public\index.php on line 5
This also happens when I try to "include" any other file by the complete url... I'd like to figure out what's causing this, and why it can't read it from the complete url (all files I've tested, can be accessed fine via a web browser by the full URL, so I don't know why Apache / PHP is having a hard time with it.)
I'm not quite sure where the problem is, But the first way of calling it include('cgi-bin/proxy.pl'); Obviously works, it just doesn't execute the cgi script before displaying it (which my paid webhost apparently does) How does one accomplish this?
I'm by far no expert with PHP, I can piece together scripts and things, and do basic setting up, but this has really baffled me. :(
---Edit--- Here are some actual domains so you can see what I really mean:
My Webserver (Win2k3, Apache, PHP, Perl): The actual CGI Script (This runs fine): http://proxytest.dyndns.org/cgi-bin/nph-proxy.pl The PHP file using the include function to load the cgi script (Displays the actual CGI file in plaintext): http://proxytest.dyndns.org/proxy.php
My Paid Host (Pre-configured, running on *nix): The actual CGI Script (This runs fine): http://www.wolfstudios3d.ca/cgi-bin/nph-proxy.pl The PHP file using the include function to load the cgi script (Displays the processed CGI File, exactly as if accessed directly): http://www.wolfstudios3d.ca/proxy.php
Source: http://community.livejournal.com/php/445071.html
-
Adobe Pagemill web pages in Explorer
Date: 04/30/06
(Web Development) Keywords: html, web
Hi all,
I'm an HTML beginner and now a friend of mine asked me to help him debugging his webpages (for a client).
The website appears in Firefox, but not in Explorer.
Can you spot the trouble line or tell me what code I need to add in order to make it work?
Thanks a lot for your help,
Julie :-)
http://www.saunainfrarouge.com
Please let me know if I should copy other parts of the code. Thanks!
Source: http://community.livejournal.com/webdev/317163.html
-
Help me! I am a graphic designer in over my head!
Date: 05/02/06
(WebDesign) Keywords: css, html, java, security, web, hosting, shopping
Hello all-- hoping to get some advice about security, and/or online stores. I am designing a website for a friend of the family and she wants it not only to be informational but also for customers to be able to order products online. She really has no idea what she is asking for because she doesn't really know how any of this works. I am a graphic design student who is familiar with html, css and some java script but I don't know ANYthing about ssl or encryption or anything.
So, I have looked at websites like Verisign, who offer certificates and I have this question: what does that actually do for a business?
And I have viseted sites such as Networksolutions.com who offer secure hosting with a shopping cart pachage and what not for $99/month... and I am wondering is this pretty much standard for hosting? Can I do better?
I am sorry if these are all really obvious questions. I have read books and searched online but nothing is better than personal experience and advice.
If you don't know the answer, perhaps you know who I might ask who might... I was thinking perhaps the business owner could contact her credit card company (the service through which she accepts credit cards), and they could probably give her some idea as to what to do to accept credit cards online...
Anyhow. I have known this woman my whole life and I am doing this for free (because she is desperate and isn't making a lot of money yet and because I am so underqualified... obviously).
Source: http://community.livejournal.com/webdesign/1101886.html
-
The 'New' Pop-up.. that apparently Opera can't see?
Date: 05/02/06
(Opera Browser) Keywords: software, browser, html, java
http://www.tomshardware.com/site/intellitxt.html
"What if you can't see it?" The Intellitxt software only operates on Internet Explorer browsers, version 5 and above, Netscape 7.2 and above, andFirefox .8 and above. So, Mac users and Opera lovers will just have to believe them that it's there!
http://shokuji.info/temp/Toms_Ads.png
What version of Opera are these guys using? I mean, 8.54 gets them just fine; though I wish I couldn't see them.
http://shokuji.info/temp/Toms_Ads2.png
This little plague is the new pop-up. It runs on Javascript and actually slows down the page a bit. Plus it uses mouse overs to pop up this little bastard of a advertisement.
Source: http://community.livejournal.com/opera_browser/54022.html
-
Website design...
Date: 05/03/06
(Computer Geeks) Keywords: html, web
Hey guys, I'm new here, and I've got a question about web design / building a website.
My church wants to have a website (a fairly interactive one), and I'm trying to find an inexpensive web designer, or a program that would let me or someone else design a good-looking site for a reasonable price.
Someone called my pastor, and said that she could make a site with Front Page for free. This is a sample of her work, and I'm not that impressed. I don't want our website to fall into the catgegory of 'typical church websites'... I want it to look nice, and I want people to enjoy it.
Can anyone recommend a program / web designer? I've been looking at Dreamweaver. How long would it take me to be able to make a site with that (I have a bit of HTML knowledge, and it mostly comes from manipulating someone else's coding)? I'm quite taken with this site (it's a template). How difficult would it be for me to make a design similar to that with Dreamweaver? How hard would it be to 'update' a template like that with new information / blogs? Would I need Dreamweaver to do that?
I apologize for all of my questions... I'm just praying that our church site won't look... cheesy. Any help would be extremely appreciated. If this post isn't permitted, I'll gladly delete it. :)
Source: http://community.livejournal.com/computergeeks/919750.html
-
Improving myself
Date: 05/04/06
(Web Development) Keywords: php, mysql, css, html, sql, web
Hello! I was wondering if I could get some advice on how to increase my skills as a web programmer and become more marketable. I know HTML backward and forwards, know quite a bit of PHP (especially in conjuction with MySQL) and CSS. I recently bought one of Eric Myer's books on CSS. It gave me ideas for layouts and such but didn't really expand my knowledge much. I also have a Sams 21 days book on .Net for a VB programmer (which I used to be till I didn't have access to Visual Studio). I thought about learning .Net but .Net requires the Visual Studio IDE and a server with .Net support, neither of which I have. What next? Should I go with AJAX maybe ? Also, I am a programmer, not a designer and would like to improve the artisitc side so my sites don't look as bad as they do now. Is there a list of topics every web developer should know before moving to other topics? Any advice would be greatly appreciated! Thanks!
If you would like to look at my site, it is here
Source: http://community.livejournal.com/webdev/318007.html
-
Icon Table Code
Date: 05/04/06
(HTML Help) Keywords: html
I am having a really hard time making my icon table for disney100. I have made tables before but this one is just kicking my but. Normally it takes me like two or three days to make the table. But it's been like a week now and I still don't have it completed. I can't seem to figure this one out. It's not very well made. I'm not very good with HTML. I have the words and all up on the table. My problem is working with the colors. I can't figure out where to put the colors on like say the text or background. It's all so close together that it's really confusing me.
Source: http://community.livejournal.com/htmlhelp/2294196.html
-
moving host woes
Date: 05/06/06
(PHP Community) Keywords: php, html
Hi, moving a friend's site from one site to another proved to be a bit of a problem. I was at first getting Internal Server Errors, when I checked the logs I was getting premature end of script headers. After changing permissions I managed to avoid this error, but get another error. My problem is now this:
Fatal error: Call to a member function on a non-object in /home/public_html/index.php on line 126
when i check line 126 this is what's there: $default_num_rows = $get_default->numRows();
this doesn't look like something that would be affected by a move of hosts as nothing appears to be defined to any specific directory that isn't already there? can anyone help me?
Source: http://community.livejournal.com/php/448029.html
-
form disrupting css
Date: 05/07/06
(WebDesign) Keywords: php, css, html
I'm probably overlooking something obvious, but I've been staring at this so long I can't think properly.
I'm having an issue with an html form processed by php. When all fields are filled in and the "success" message appears, there's no problem, but when there's an error, the background gets messed up.
If someone has a moment, can you please use this form and fill it in completely (use fake info, I don't care) and then try it again leaving a field blank and see the resulting problem... The css is available here. (Beware, it's kind of a mess at this point.)
Please don't bother to complain about the design... it's what my client wants.
Thanks in advance!
*edited to add* This seems to be an issue in FF and Opera thus far, not IE
*edited again to add* The issue is related to the exit command in my php conditionals, so it's not getting to the closing div tags :)
Source: http://community.livejournal.com/webdesign/1104552.html
-
HELP ASAP PLEASE!!
Date: 05/08/06
(HTML Help) Keywords: html
I really need a quick fix immediately. I'm trying to post icons and I am using rich text so that I can make a table and everything. The problem is that I also would like to make textbox so that people can copy the html of the image. However, because I'm in rich text, when I go to preview it, it just gives the html that I put in without a text box.
How can I put in a textbox while using rich text? Thank you!!
Source: http://community.livejournal.com/htmlhelp/2295680.html
-
Why...isn't...it....working!!
Date: 05/08/06
(HTML Help) Keywords: html
I'm not an HTML expert, but I've been working on one site for a while, and recently have been asked to work on another one. He wants a black box set up at the top of the page with white and red text in it, along with some images. The site is coded sort of funnily, but from what I can tell, should this not give me a black box (if there is already a table code set up)?
Is there an easier way to go about this?! For some reason it is a white box with a strip of black along the left edge. I have no idea why this isn't working, and it's beginning to frustrate me...well, okay, it's been frustrating me for a while now.
Now I'm even more frustrated knowing that LJ makes it turn out the way I want it to...just not this site!
Source: http://community.livejournal.com/htmlhelp/2296116.html
-
Does this exist?
Date: 05/10/06
(HTML Help) Keywords: html, web, linux
I'm looking for a Web page that can translate normal text into displayed HTML code, but I'm not sure if such a site exists.
For example, some sort of page where I could input the following block of text (noting the bold, italics, and paragraphs): Condoleezza Rice's abrupt dismissal of a letter from Iran's president might only strengthen hardline attitudes and mistrust of America, some Iranians warned Tuesday.
As President Mahmoud Ahmadinejad began a high-profile visit to a key Muslim country, Indonesia, a former top Iranian official said Rice's response will give new justification to those who oppose ties with the U.S.
Iran's former ambassador to France, Sadeq Kharrazi, said the letter -- the first from an Iranian head of state to an American president in 27 years -- "could have been a turning point in relations." ... and have it spit out:<p><b>Condoleezza Rice</b>'s abrupt dismissal of a letter from Iran's president might only strengthen hardline attitudes and mistrust of America, some Iranians warned Tuesday.</p><p>As President <b>Mahmoud Ahmadinejad</b> began a high-profile visit to a key Muslim country, Indonesia, a former top Iranian official said Rice's response will give new justification to those who oppose ties with the U.S.<p><p>Iran's former ambassador to France, <i>Sadeq Kharrazi</i>, said the letter -- the first from an Iranian head of state to an American president in 27 years -- "could have been a turning point in relations."</p> ... which could then be easily copied and pasted.
All it would be required to do is simple HTML -- bold, italics, links, lists, and paragraphs -- although if it comes down to it, only paragraphs are truly necessary. Essentially, programs like Frontpage do this if you work in the WYSIWYG editor and then immediately view the code, but a Web-based system would be easier for what I'm trying to do.
Does anyone here know of such a site? (Or, alternatively, a free program that could be run on a Linux machine to do the same thing.) Thank you for any help!
Source: http://community.livejournal.com/htmlhelp/2296816.html
-
More IE Table Fun!
Date: 05/10/06
(Web Development) Keywords: html
Hi everyone!
As usual, IE is placing stupid stripes and gaps between things, even though I never told it to! Everything renders fine in FF, but the stupid line (the weird line that's like a slice of the picture above it, right before the 'Echobrook Nursery, 1120 Grafton st, Worcester MA' header information.
http://www.echobrooknursery.com/index_copy.html
Any ideas why it's there and how I can get it to go away? Thanksinadvance.
Source: http://community.livejournal.com/webdev/319700.html
-
screen caps
Date: 05/15/06
(WebDesign) Keywords: html
I thought I'd post this fab little app for those pc users who are looking to make quick, easy screen caps. I love it and can't imagine life without it. you can take pics of all or part of the screen, menus, etc. and it has a bunch of other cool features. best of all, it's free! but if you like it, I urge you to make a donation to the guy who made it. he totally deserves it!
http://www.mirekw.com/winfreeware/mwsnap.html
Source: http://community.livejournal.com/webdesign/1109250.html
-
screen caps
Date: 05/15/06
(Web Development) Keywords: html
I thought I'd post this fab little app for those pc users who are looking to make quick, easy screen caps. I love it and can't imagine life without it. you can take pics of all or part of the screen, menus, etc. and it has a bunch of other cool features. best of all, it's free! but if you like it, I urge you to make a donation to the guy who made it. he totally deserves it!
http://www.mirekw.com/winfreeware/mwsnap.html
Source: http://community.livejournal.com/webdev/320252.html
-
How To Create AJAX Commenting System for Static HTML Pages
Date: 05/15/06
(Java Web) Keywords: mysql, html, database, sql
I wanted to create ajax based commenting system for some html pages. The design goals were:
1. Simple to use and install
2. Database (MySQL) backed
3. Minimal changes to HTML template / files
4. Support effective (no frequent cache refreshes) html page compression / caching strategy for heavily commented sites.
An AJAX based system fits the bill. The new [...]
Source: http://blog.taragana.com/index.php/archive/how-to-create-ajax-commenting-system-for-static-html-pages/
|