I want to use GeoDjango to do basic location searches. Specifically I want to give the search function a ZIP code/city/county and find all the ZIP codes/cities/counties within 5mi, 10mi, 20mi, etc. I found the following paragraph in the documentation:
Using a geographic coordinate system may introduce complications for the develope...
I have taken an hosting a/c with limited bandwidth. I have embedded a video tag (object)that links to youtube on my webpage.
I wanted to know that if someone views that video, will that be counted against my website bandwidth?
...
Hi,
I have seen Zend certified engineers growing fast with upper hand over others.
I am also planning to take this exam.
I just wanted to know what areas of programming should I be more focused on when
preparing for this exam. Any help from zend certified engineers will be greatly appreciated.
EDIT
Also suggest good resources about t...
How exactly would we go about adding state to http without the hackish workarounds we currently use involving query strings, hidden fields, cookies and session state?
...
I always see code like this:
#container {
background:#000000 none repeat scroll 0 0;
display:block;
overflow:hidden;
position:relative;
width:100%;
}
I thought position relative is used to accommodate the div relatively to its parent element using the CSS proprieties left right top and bottom (px). What's t...
Hi,
I am currently working on a website. Basically when a user searches for something, i should be able to generate the pdf for the each of the search result item. I know one option of fpdf.
Is there something easier than fpdf or some service like if i send the url of my search result page, it sends back the generated pdf to me.
What ...
Hi,
I am a PHP newbie and trying to add a progress-bar to an existing PHP script using the following method :
$ch=curl_init() or die("ERROR|<b>Error:</b> cURL Error");
curl_setopt($ch, CURLOPT_URL, $c);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_FILE, $fp);
//##############################################...
We need some easy way to manage web sites at our company, and we are evaluating some CMS tools for this purpose.
We do not yet know what features the sites will need to have (but it will definitely be something with lots of functionalities), so we are looking for something with lots of features and more importantly to be easily extensi...
How to enable client side cookie for a page so that when a page is invoked for the first time , it works fine. Bur whe nthe same page is invoked for the second or third time , it gets redirected to other page.
i.e. Only one tab works at a time.
In rest of the other tabs, a default sequence works.
...
Hello All,
I use:
window.print();
to print documents.
Problem:
As you guys know that browsers automatically adds page's title, path on top of the print page and page number and date on footer of the page.
But the client has asked me to remove all those things from the page or change their color to white so that they are not visibl...
I'm looking for ways to present statistical information in my ASP.NET web application. Ease of use is not a priority: I have tried "Microsoft Chart Controls for Microsoft .NET Framework 3.5" and would like to have much more control on how my data is presented. Price is also of great importance...
Please advise.
...
Using Google Maps API v3, how do I pro grammatically change the marker icon?
What I would like to do is, when someone hovers over a link - to have the corresponding marker icon on the map change colors to denote the marker in question.
Essentially, the same function as what Roost does.
See the live example
When you hover over a home ...
What is the Websphere portal6????
What all can i do with this???
How can i install or run this thing???
What langauge is used in it???
is it free??? is it somewhat like drupal??
so plzz excuse my ignorance m a newbie and hv spent a lot of tym over net for finding the answer to there questions.... so plz help me out guys
...
What is the reason for automating download links in websites?
It could have the benefit of sparing the user a click, except that the browser always blocks it (you have to click on the yellow bar that appears at the top of the browser). That's harder than just clicking on the link that says, "If your download doesn't start automatical...
I'm trying to use the GoogleMaps javascript library from inside of SpiderMonkey using the pythong wrapper, but I can't because of the lack of a DOM.
Is there some way I can integrate a DOM into this so that I can get this to work?
...
Hi,
I have a datagrid that is bound to the results of an Stored Proc (a temp table), in code. Something like:
DataView _sendTo;
SqlDataSourceMatches.SelectCommand = EXEC get_matches 1, 2, 3
// The S/P returns multiple data sets
DataSet ds = ((DataView)SqlDataSourceMatches.Select(DataSourceSelectArguments.Empty)).Table.DataSet;
...
Hello I want to create a simple blog where users can post comments, but I don't really want to get into one of the heavier code generators or frameworks like Django or RoR or Wordpress. Reason is I need to learn this stuff from the inside out, given that my project will require a lot of programming "from basics" in the future (since it'l...
So the situation is for comments on a blog in progress, each commenter will have the ability to reply to any comment. To do this, I have a link that, when clicked, will reveal (with jQuery) a special reply form right there as opposed to the normal one at the bottom of the page. So instead of loading a form on every single comment when th...
Hi,
Any one of you who has worked on CI knows that it uses a segmental approach for the urls, eg.:
index.php/controller/function/params
Let's suppose I have put in place the following URL to submit the contact us form info:
index.php/contact/submit_contact
Now there is one thing that seems wrong. What if a bad guy sees the source ...
Hi,
How do i call a function of a child class from parent class?
Consider this:
class whale
{
function __construct()
{
// some code here
}
function myfunc()
{
// how do i call the "test" function of fish class here??
}
}
class fish extends whale
{
function __construct()
{
parent::construct();
}
function...