Hi, I've found several tutorials on how to do this, but it doesn't work. Here's my simple emailing code:
<?php
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$zone = $_POST['zone'];
$call_time = $_POST['call_time'];
$comment = $_POST['comment'];
$to = 'MY EMAIL';
$subject = '$name is interested in you...
What do you think is the best iphone/ipod touch dev websites.
Like to see tutorial, sample codes for cool app, native or Web app.
...
Hi.
I'm building a sort of web framework I guess.. It started with a simple website I wrote in php. I decided not to use any framework out there, because I wanted to learn how to do things on my own and it was never supposed to be any fancy website anyways... Now I suddenly need a lot of "modules" I previously have used from frameworks o...
How can I embeded pdf viewer in ruby on rail?
Now I tried
<embed src="MyPdfDocument.pdf" width="500" height="375">
but it doesn't work. I used firebug and see the error like this
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStreamListener.onStopRequest]" nsresult: "0x80004005 (NS_ERROR_FAILURE)"...
Hi, I am just starting Django by reading the online django book. Could you provide productivity tips for Django web development.Code snippest? Which IDE you use? I am MySQL guy are there any benefits using PostgreSQL? I am using Linux(Ubuntu). Thanks a lot.
...
I am trying to create a full width background image that aligns vertically with a centered div. Should I create a wrapper around all the content, or is there another way to do this (without absolute positioning)? Thanks.
EDIT: Sorry if I didn't explain this very well. I've changed the image.
...
Hello to everybody!
I'm trying to improve my programming skills as web developer (still junior) and to accomplish that I do a lot of practice; but I know that should be a good practice to read and to study on some code written by professional programmers!
Until now, I have read only books (about PHP MySQL and a bit of JavaScript) that ...
hi,
i am trying to do something pretty common with GWT.
creating a button behavior with an image and a text. by positioning the text on top of the image.
i have used the HTML widget but how can i make the text not selectable?
...
I'm trying to modify this snippet:
$(document).ready(function(){
$('.showscript').show();
$("div.content:not(.about)").hide();
$(".subnav a, .mainnav a").click(function(){
//remove possible hilights
$(".subnav a, .mainnav a").removeClass("active");
var href = $(this).attr("href");
...
I'm attempting to run a CGI script in the current environment from another Perl module. All works well using standard systems calls for GET requests. POST is fine too, until the parameter list gets too long, then they get cut off.
Has anyone ran in to this problem, or have any suggestions for other ways to attempt this?
The following...
I want to write a web application that allows users to enter any HTML that can occur inside a <div> element. This HTML will then end up being displayed to other users, so I want to make sure that the site doesn't open people up to XSS attacks.
Is there a nice library in Python that will clean out all the event handler attributes, <scri...
I'd like to learn how to develop Java-based web front-ends (I already work with J2EE server-side). Microsoft's path appears quite straight-forward (ASP.NET; like it or not).
However, I'm not sure about Java's. JSF1.2/JSP or Facelets, and to get something like a date picker learn IceFaces/Dojo?
Any thoughts on a learning path would be...
I've been researching this on and off for a number of months now, but I am incapable of finding clear direction.
My goal is to have a page which has a form on it and a graph on it. The form can be filled out and then sent to the CGI Python script (yeah, I'll move to WSGI or fast_cgi later, I'm starting simple!) I'd like the form to be ...
I'm using the menu_block module in Drupal for my menus. This works very well, but I want my menu items styled as an image menu. This cannot be done nicely with the default settings - the menu items look something like this:
<li class="leaf first menu-mlid-199"><a href="/this/is/some/nice/url" title="Homepage">Homepage</a></li>
I'm gue...
While this isn't strictly programming related, it's something I've run into as a web developer on several occasions, and I imagine others have run into as well. For that reason, I hope this question can remain open.
As web developers, we know how to make our applications work. But clients/customers/visitors aren't necessarily happy with...
I have this web app that is running ASP .NET MVC 1.0 with LINQ 2 SQL
I'm noticing a very strange problem with LINQ 2 SQL throwing exceptions (mainly Specified cast invalid or Sequence contains more than one element) when under a certain amount of load.
The bigger problem is, I'm not talking about Real Heavy/Professional Stress Testing....
Hey all,
I'm trying to implement a faux column layout on a website. Briefly, it involves tiling a background image on the div that holds both the vertical columns to make it look like both columns extend all the way to the bottom.
My columns look like this:
XXXX MMMM
XXXX MMMM
XXXX
XXXX YYYY
XXXX YYYY
XXXX YYYY
XXXX YYYY
X...
What issues do I need to be aware of when I'm deploying an ASP.NET application as a web farm?
...
Hello All,
Do you guys have any idea of how to implement an automatic top bar like that of Stackoverflow
which appears when you look at a question.
I wonder how do they do it because there is no event triggered when you are at a page which has already been loaded. Also there is no page refresh. After being at questions/asnwer page; you...
Hello all
I am now in the process of choosing framework for our web application. I am coming from java/c++ background and built web front ends based on java, but for inner network applications ( not public internet ). I would like to hear what do you think about using java as framework for building web application for the public web...