Project BigResource

Since 2005, our team is working 24/7/365 to maintain one of the World's largest resource center for webmasters and programmers. The project comprises a directory of 50,000 Scripts & Tutorials relating a wide range of programming languages from PHP, .NET, ASP and Java to emerging Android & iOS development.

We also maintain an index of over 3 million questions/answers posted over internet relating aforementioned technologies. To learn more about Tracker, click here.

It took us 10 years of hard work to build an index of 3 million plus qualified Q&As by humans, not the bots. Just Crawling and building a database of messages is not an art. The success of this unique project lies in the human editing of these messages by professionals for content validity and definitive solution to various problems to stay focused on the issue & saving time. Compare and see the difference between an original post on a forum and the same edited message added to our index here. No unanswered posts, salutations, lengthy code lines, images, avatars, attachments, closing remarks, reference URLs, signatures etc., just the core issues and solutions to them.

As of June 2014 stats, 50,000 unique visitors/webmasters visit us every day to get benefited from this index. We are working hard and striving harder to provide programmers an unmatchable resource index to their unanswered questions.

Recently Indexed Messages:


GetElementsByName() - Opera X Firefox
I'm trying to get all the "divs" that have a given NAME using
getElementsByName(). For example, the following code:

<script type="text/javascript">

function on_load()
var pages = document.getElementsByName("name");

<body onload="on_load()">
<p name="name" id="id">Teste</p>

when I open this page in Firefox, it gives me a popup saying "1", that
is correct. But if I do it in Opera, it gives me "0".... ...

Make A Little Menu Where The User Can Set The Font Size?
how to make a little menu where the user can set the font size? I wanted three a's like this: A A A. When you click on it, the font-size on the website will change. I think you can do this with javascript, but i don't know any javascript . ...

JQuery :: Link To Tab From Different Page?
I created a tabbed menu with jquery. [URL]...By default the first tab is shown and the other tabs are hidden. I need to link straight to the 4th tab from a different page. If I am on the same page with the tabbed menu, the link to open my tabs are like the following: <li><a href="#tab4">4th Tab</a></li>

When I add the /#tab4 to the link from the external page, the tab does not show. Is there a way to go straight to the fourth tab when linking from a different page? ...

JQuery :: Getting The Value Of A Specific Value Contained In A <p> Tag?
I am having difficulty getting the value of a specific value contained in a <p> tag, what is happening is that it retrieves the value of the first <p> tag value and not the one the user clicksWhat I need is to retrieve the value from the <p> tag the user clicked

$(document).ready(function() {
$("p").click(function () {
var prop = $("#property_links").val();

[code].... ...

Maintain Active Tab And Tab Contents?
[URL]...When you click the "More" tab, the browser forgets the active tab styling and current tab contents; I don't want these to change - all I want to change on the click "More" tab action is the navigation tab. But my browser should maintain the styling for the last active tab and continue to display its corresponding tab contents. Yet it forgets these details when the user clicks "More".

In particular, when user navigates back and forth between the two tab sets, whatever was the last styled active tab remains styled as such. Browser should remember this.

$(document).ready(function() {

//When page loads...
$(".tab_content").hide(); //Hide all content
$("ul.tabs li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show(); //Show first tab content
//On Click Event
$("ul.tabs li").click(function() {

[Code]... ...


Photoshop :: Rounded Corners
Im working on a little project and i have a design im almost happy with. All of the corners are square so i want to change two of them (top left and bottom right) to rounded corners while still having the red border in proportion. ...

AutoCad 2D :: Customized Linetypes For RW And PL
Need some customized linetypes for RW, PL, and so on that I can use? ...

Illustrator Scripting :: How To Put Cursor In ScriptUI Edittext Form
          ↑ : now                            ↑  : i want
 function getInfo(){
var win =new Window ("dialog");
  win.orientation = "column";
var first = win.add ("edittext", undefined, ""); = true;

i know ".active = true" is solution. But it's not working my script.
what is my fault?
How can i put cursor in ScriptUI edittext form? ...

CorelDRAW Graphics Suite X6 :: How To Cut One Line Feature Using Another One
Here I have some blue line features. Then I drawn another red line passing through these features. I am trying to cut blue feature wherever red line intersects. how can I achieve this? ...

Revit :: Change Colors Of Mep Elements
When linking in a revit mep 2012 into an architectural model is there a way to change the colors of the mep elements (ie. ductwork, piping etc.) to black or even to grayscale? ...


Function Returns String On First Call And Object On Subsequent Calls
I have a function which is meant to return a column Status from one of my tables, visit.

function someFunction($visitId = null) {
$visit = VisitQuery::create()

If I var_dump($visit), when calling the function for the first time, it outputs: string '1' (length=1)

Subsequent, identical calls to the function however seem to return an entire object:

protected 'startCopy' => boolean false
protected 'id' => int 362
protected 'job_id' => int 351
protected 'company_id' => int 2
protected 'type_id' => int 1
protected 'visit_date' => string '2013-08-23 00:00:00' (length=19)
protected 'status' => string '1' (length=1)

I'm calling the function for the first time with an (int) $visitId passed via a posted form:

var_dump($visitId); // int 362

Subsequent calls are made with an (int) $visitId which is returned from another function, saveVisit() (which uses Propel to save the record - I believe this may have something to do with it).

$visitId = saveVisit($visitId);
var_dump($visitId); // int 362

I tried to do some debugging, and for some reason the query issued to MySQL is different between the first function call and subsequent ones:

SELECT visit.STATUS AS "Status" FROM `visit` WHERE visit.ID=362 // 1st call
Propel's create() method:
public static function create($modelAlias = null, $criteria = null)
[code]... ...

Sorting By Modified Or Created
i have a table with created- and modified-date. both field are "datetime". when an item is created, the create-date is inserted, and the modified-date is "0000-00-00 00:00:00". only with the first modify of the item, the modified-date is i want to sort my items in this form:if item is not modified, the sorting-field is the created-date. if item is modified, the sorting-field is the modified-date. ...

Php - How To Connect A HTML Page
How to connect a HTML page to MySQL for example, i want to use <?php echo $_POST['username']; ?> in a HTML file. How do i connect to MySQL. I have tried this:

<?php$con=mysql_connect("HOST", "USERNAME", "PASSWORD"); mysql_select_db("DATABASE"); ?>

But it did not work. ...

Php - Insert Data To Table Row From Another Table Row (this Row Is Just Been Created)
I am working on a small news portal php + mysql project I have two tables in mysql database.

1: news (
n_id (primary key)

2: news_image (
ni_id (primary key)
n_id (foreign key from news table)

(n_ prefix is for new and ni_ is prefix for news_image)

news table will hold the news story and news_image table will store the names and captions for the images of the news. separate table for news images is because on later stage, i will be adding more than one images for each story. the script works fine (as i have tested it by entering data in data base through phpmyadmin.

Problem: I created a php script to add data to news table and to upload images to file system. it works fine. I used this query to add row to news table

n_title = '$title',
n_text = '$text'

n_id is the primary key (integer and is AUTO_INCREMENT).. this works fine but I want a query that will execute just after the execution of above query and will automatically insert a new row in news_image table, taking n_id of the row that has just been inserted in news table. ni_name and ni_capption in news_image table is not a problem, I can get it easily but getting the n_id from news table of the newly inserted row is the problem... How can I get n_id... ...

Remote Connection To Database To Bypass Through Squid Proxy Server
I am using Squid as a proxy server for web cache in my local network. I have developed a utility in VB.NET that requires a remote connection to a MySQL database on a remote server over internet. I am able to connect to remote server if I disable the proxy server but can not if the proxy is enabled.

I don't know if I can use MySql Proxy in this scenario on my local proxy server and what configurations will I have to make.

Below is my squid configuration;

ACL to define ports allowed to passthrough Squid acl SSL_ports
port 443 acl Safe_ports port 80 # http acl Safe_ports
port 21 # ftp acl Safe_ports port 1025-65535 #
unregistered ports acl Safe_ports port 3306 # mysql remote
connection acl CONNECT method CONNECT http_access
deny !Safe_ports http_access allow Safe_ports http_access
allow CONNECT !SSL_ports

What alternative I can have to achieve a similar setup that is web cache + remote connection to mysql database. ...