- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- Web Development, Reading, Stock Market
75 Posted Topics
Re: If you are planning for JOB then JAVA...if you want to learn for self the whichever is easier ;) | |
Hi All, I have configured a spring JPA project but when I deploy and start the tomcat I get the exception nin stacktrace as shown below. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/database-config.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: … | |
Re: Why do u use PHP for timer...Its server-side...will put a lot of load on your server...Try using javascript...You'll get loads of scripts for that... | |
Re: @Eyal, Great to hear from the pioneers of the industry... Thanks for this wonderful interview. | |
Re: Content...it matters the most...You have good content people will stay around...I run a website where the average stay time of user is 13 minutes (At least that is what my Google Analytics account shows) | |
Hi Friends, We have been discussing Social Media Marketing and have seen a lot of articles on google regarding Social Media Marketing. We say, Have a Facbook Fan page. Twitter Profile, etc. etc. Add all the Social Media widgets like tweet, fbshare button to your website. Fine! every website gets … | |
Re: Why would you want to do that in first place. I mean if your site performance is really good then you can but not if your site performace is average. Also this can be easily done using jquery. Let me know if you need any assistance. | |
Re: [QUOTE=cscgal;1673229]Never give up, and never get discouraged. It took DaniWeb about a year before we started to break ground. We are now nearly ten years old. Just keep creating new good, quality content, and more and more people will naturally link to it and recommend it to their friends.[/QUOTE] It … | |
Re: Set a session variable for the role, and check the variable for admin value wherever u need to give admin access. :) | |
Re: Your code is very unclear but I will still tell u a solution what I feel is correct. [B]From:[/B] $pagination.= "<a href=\"$targetpage?page=$next\" >next » </a>"; [B]To:[/B] $pagination.= "<a href=\"$targetpage?q=<?php echo $var; ?>&page=$next\" >next » </a>"; if you still have any issues, mail me your script at vaibhav [at] blogskulz [dot] … | |
Hi All, Has anybody worked with extracting an image from RSS/Atom Feeds using Perl There is a modulke XML::RSS which extracts images from RSS feeds. But in Atom feeds the images are embedded in the description using the img tag. Need some help on extracting the image from the description … | |
Hi ALL, I am writing a script to retreive entries from a DB. And then I loop through all the entries. Once I am done looping through all the result sets, I have to re-loop over them again. This is done in an infinite loop (Please don't ask why to … | |
Re: [QUOTE=videoscape;1460365]i got another error [Tue Feb 01 09:03:21 2011] [error] [client 80.3.23.180] PHP Fatal error: Uncaught exception 'Exception' with message 'No database selected' in /var/www/html/play.php:11\nStack trace:\n#0 {main}\n thrown in /var/www/html/play.php on line 11, referer: [url]http://www.videoscape.org/[/url] Thank you for helping me though this[/QUOTE] Boss...somebody can tell you and guide you how … | |
Re: Its a very easy solution. Suppose in your session variable you have set up like $_SESSION['age']=<value_from_db> Now when you POST the new age in the form as 24 you want the $_SESSION['age'] to be updated as 24. Then on the server side when you check for your $_POST being set … | |
Hi All, In windows on easyphp we open the mysql console from the browser by typing [url]http://127.0.0.1/home/[/url] In ubuntu when I do the same thing, it does not happen. I installed LAMP server using the following command sudo apt-get install tasksel sudo tasksel and then it is interactive When I … | |
Hi All, Small issue while I am tring to cat the contents of the file . The script is posted here [CODE] myvar=`cat orders.0613` echo $myvar [/CODE] The contents of the file orders.0613 contains approximately 200 lines. but when I do echo $myvar the contents are printed in one line. … | |
Hi All, I am developing a perl script using the LWP library to extract all the links from a website. I only am planning to extract the internal links of a website. Now there is a URI class which has a hostname instance variable, which will always extract the domain … | |
Hi All, I have a forum with the name <snipped>. I have been getting adecent amount of traffic but that traffic does not get involved in community. Can a few of you provide insights on how to get people involved more? Thanks in Advance | |
Hi ALl, How many levels of subdomains are allowed? Can I have a link like [url]http://subdomain2.subdomain1.domain.com/[/url] Regards Vaibhav | |
Re: sends it sometimes...My referring site traffic majorly comes from stumbleupon | |
Re: Well when you page loads, first all the server side code is loaded then the client side code. So if you want the value of a javascript variable to be used in PHP...you'll have to send that value via a HTTPRequest or AJAX. Feel free to search more on google … | |
Re: Try using mysql_fetch_array($cresult) This gives you every row with an associated array. You can access the field names by their name. e.g. while($row=mysql_fetch_array($cresult)) { extract($row); // Now fields will be extracted into their variable names. // $realname will contain the field realname from db for that row. // $stage_name will … | |
Re: you can do a pattern matching in strings. Whenever somebody pastes a link in your textbox. Search for http:// and replace that text with <a href="<the-link>">the-link</a> I guess this might help...If not...send me a PM, I'll send you the PHP code. | |
Re: [QUOTE=emma123;1458607]Hi, i am new to this and was wondering the following question 'Is PHP a good way to implement a database driven Web site? Thanks[/QUOTE] For a newbie, its awesome...When you go more further in web development, you'll find that with JSP Servlets you can implement more security. However the … ![]() | |
Re: You'll have to enter data in the database anyhow before the moderator approves it or not. Then if the moderator disapproves the data, you can set the flag to "D" or anything in the DB whichever you find easy to code. Then to show the data to the user you … | |
Re: Try to first store the string you are trying to make in a variable. E.g. $output="<a href=\"" . $_SERVER['PHP_SELF'] . "?page=" . $nextpage . "\">Next</a>"; Then do an echo of the variable.... This might give u a good idea... Make a test script and see what is the value. | |
Hi All, Does anybody know of some Modal Window API? I made a custom modal window for my website, but it gave problems in IE7. I need to put various forms like login, newsletter, etc into them. Thanks in Advance | |
Hi All, What is the importance of adding a favicon. I recently added a favicon to my site, just because I had it as an action item to do. Does it really affect your Search Engine Rankings, etc. or is it only a part of creating brand value? ![]() | |
Hi All, Does there exist a free script which can create a sitemap for my website for free. My website includes more than 2000 pages. If there are paid sitemap generators, which one is the cheapest? Regards Vaibhav | |
Re: This is a simple arithmetic progression... Well I guess now I know why they teach you maths at school. The formula to find the sum of an arithmetic progression is (n/2)*(a+l) n-no. of terms in the progression a- first term l-last term In our case n-1001 a-0 l-1000 so the … | |
Hi All, I want to integrate a What you see is what you get editor for my website. I understand that the editor can be the one as I can see I am typing in. How do I store data in database so that when I retreive the data from … | |
Re: you can do a [B]tail-1000f <your-log-file>[/B] This command will show the latest 1000 lines from your log file...also if you log file is updated, it will only show the last 1000 lines... | |
Re: SQLExeption is mis-spelled. Please correct it... | |
Re: your function is incorrect buddy...why do u need a third variable being passed to the function max? | |
Re: you can edit using emacs or vi editor. If u are using cat you can only view the file and not edit it... | |
![]() | Re: First you need to have the permissions checked for your file...they should have the execute permission to the owner(assuming u are the owner). Also executing the shell script with a "." operator executes the script in the same shell. whereas executing it with a command ksh, bash, etc. will execute … |
Re: Hi Dear, With PHP you can do web development for self, free lancing, etc. But PHP is not the kind of language that will land you into a very high-profile job. If you wnat to be a very good engineer in teh IT industry, learn C++ or JAVA. I would … | |
Hi All, I am trying to implement a directory like url rewriting in php. My URL goes like this [url]www.xyz.com/Parameter1/Parameter2/1[/url] This request is forwarded to a php script, getParams.php Parameter1 and Parameter2 in the URL are GET parameters. "1" in the url indicates the page number. The URL rule that … | |
Re: getter and setter methods are specifications of Java MDB standards. The instance varibales are private. So to change their values and retreive their values we specify getter and setter methods. | |
Hi All, I am trying to implement a directory like url rewriting in php. My URL goes like this [url]www.xyz.com/Parameter1/Parameter2/1[/url] This request is forwarded to a php script, getParams.php Parameter1 and Parameter2 in the URL are GET parameters. "1" in the url indicates the page number. The URL rule that … | |
Hi All, I have a functionality in my website. When a user answers a question. The mail goes to the person who asked the question and also to the people who have already answered it. Suppose, A person opens his/her mailbox and finds that a question he asked or a … | |
Re: Chat is a very complex system. You start out by checking some basic scripts that implement mysql and PHP based chats. You'll get an idea of how it works. | |
Re: @srky, Well don't get prejudiced about anything. The exposure you get being a developer is always more than what you get as being a tester. The Developers are always the highly paid people and also job satisfaction is higher. Do what you like but also weigh this, What do you … | |
Re: [QUOTE=mitchneys;1340490]guys! can you help me convert this code to java language.... this is my code in c++....i need to convert in java.... # include <iostream.h> int num1,num2,sum; double add(double sum); int main() { cout<<"Enter first number"; cin>>num1; cout<<"Enter second number"; cin>>num2; sum=add(sum); cout<<"The sum is: "<< sum; return 0; } … | |
Re: 1. Make session_start the first line of your code. 2. Remove the blank line after "<?". 3. Change the line "session_start()" to "@session_start()". | |
Re: [QUOTE=JamesCherrill;1345708]You inherit the variable "balance" from the Account class, so it's not a good idea to declare a new one in CheckingAccount. Just use the inherited one, as in [CODE] public void setBalance(float Balance) { this.Balance = Balance - transactionFee; }[/CODE] Normally one would expect deposits to be done via … | |
Re: Netbeans is a very good option. Apart from this I have also worked on eclipse. Both of them are really cool to work with | |
Re: I guess these are the basics of any language. Y do u have to ask people to write code for u here? | |
Re: [QUOTE=samsons17;1339709]but let say that i use the first option,and i coded it in the file named login.php.. and in that file of login.php i wrote this: [CODE] $password="password"; if (password==$password){ ......... } [/CODE] is it possible that someone could hijack my website and found that login.php file and thus getting … |
The End.