Forum: PHP 7 Days Ago |
| Replies: 2 Views: 191 Do you know how to edit joomla templates? From my experience, the steps are the same for any template. What happens with some free templates is that the the designers encrypt some files like... |
Forum: Linux Servers and Apache 7 Days Ago |
| Replies: 5 Views: 10,455 It seems you can make your own radio station using Tempest Showroom! Thumbs up for all these GNU/Linux developers |
Forum: HTML and CSS 12 Days Ago |
| Replies: 5 Views: 375 Maybe an example will do
<fieldset>
<legend>Daniweb in a nutshell</legend>
<p>About Daniweb About Daniweb About Daniweb About Daniweb About Daniweb</p>
</fieldset>
Fieldsets are normally... |
Forum: Geeks' Lounge 12 Days Ago |
| Replies: 25 Views: 1,052 It seems Go will be used so much on server applications that's why windows has not been considered. |
Forum: Geeks' Lounge 12 Days Ago |
| Replies: 22 Views: 799 cwarn23 you are right (though my posts are still way below 1000). Before I joined daniweb, I knew very little in the software development field and on a lighter note, How may solved threads makes one... |
Forum: Window and Desktop Managers 14 Days Ago |
| Replies: 12 Views: 5,290 @jbennet
You may not like gNewSense but it is one of the distros which currently concur with the goals and targets of the GNU project ( a completely free operating system ) when it was started in... |
Forum: PHP 15 Days Ago |
| Replies: 1 Views: 148 PHP provides you with all the necessary functions to access the filesystem just as you would do through the command line. for example listdir.
Find more on these here (http://www.php.net) |
Forum: *nix Software 18 Days Ago |
| Replies: 2 Views: 417 Since you are using ubuntu (which is debian), it is good to remember to precede any action that requires root privileges by sudo
To delete the file, simply invoke
sudo rm <path_to_file_to_rm>
You... |
Forum: Geeks' Lounge 18 Days Ago |
| Replies: 143 Views: 9,083 Looks very true but in some fields you will have to be an expert without making a mistake, an example is a nuclear firm. So I think we can rewrite it a little bit mathematically
An expert is someone... |
Forum: Geeks' Lounge 18 Days Ago |
| Replies: 13 Views: 971 Disk space is like clothing. You only buy what fits and what your pocket allows. |
Forum: PHP 21 Days Ago |
| Replies: 2 Views: 195 $query="SELECT * FROM products WHERE part LIKE \"%$pt%\""
This will match any string in the column `part` where the substring/string contained in $pt is found |
Forum: Geeks' Lounge 22 Days Ago |
| Replies: 5 Views: 316 I agree with you! It is of no use funding multi million dollar projects researching on such topics while hunger is real in some parts of the world especially Kenya where I come from. |
Forum: PHP 26 Days Ago |
| Replies: 13 Views: 306 The date function needs a timestamp argument as the second argument and you should terminate this line.
date("argument 1",time());
Google for more info on how to use the date function |
Forum: C++ 29 Days Ago |
| Replies: 3 Views: 454 How about using C++ vectors? |
Forum: PHP 29 Days Ago |
| Replies: 1 Views: 178 There are many ways to do this. What happens is that the next and previous links are generated automatically by php and the appropriate arguments given to them.
For example you can generate such... |
Forum: PHP 31 Days Ago |
| Replies: 2 Views: 145 I'm sure you want to do it without reloading the page. If so, then what you need is javascript. If the page will be reloaded when a the select box value changes then php will work. |
Forum: DaniWeb Community Feedback Oct 14th, 2009 |
| Replies: 91 Views: 6,359 Personally I'm never bothered so much by the user interface as long as the site content is presented in a nice and simple way that is readable by everyone. So far I think you are doing fine in the... |
Forum: Geeks' Lounge Oct 12th, 2009 |
| Replies: 21 Views: 845 |
Forum: Geeks' Lounge Oct 12th, 2009 |
| Replies: 1,377 Views: 147,331 I'm taking tea with high milk content |
Forum: PHP Oct 12th, 2009 |
| Replies: 1 Views: 226 A checkbox value will only be set only if it was selected. So a simple test will do
if(isset($_POST['check-box-name']){
//the checkbox was selected therefore do something
} |
Forum: Python Oct 12th, 2009 |
| Replies: 5 Views: 396 I realized that a python list can hold as much data as the computer memory allows. On the python interpreter I gave this lines just to verify this and then on one console I gave the top command just... |
Forum: Linux Servers and Apache Oct 12th, 2009 |
| Replies: 17 Views: 31,331 @guest10000
If you have ever listened to one of RMS's speeches or read his essays, then you will agree with Ken Hess that gNewSense deserves that spot at least for this year considering the fact... |
Forum: *nix Software Oct 10th, 2009 |
| Replies: 12 Views: 7,027 I wonder whether the word "free" (not in price but freedom) would have been part of the software,OS and web development "dictionary" if it were not for this man (R.M.S).
This man is an inspiration.... |
Forum: Python Oct 10th, 2009 |
| Replies: 5 Views: 396 I wrote a python program that gets input from an input file. It works fine for small input files since after opening the file I did this to get the data
data=fPtr.readlines()
Since readlines... |
Forum: PHP Oct 6th, 2009 |
| Replies: 4 Views: 227 How about adding a die statement to assist in debugging like so
$this->con=mysql_connect($server,$name,$pass) or die(mysql_error());
happy times! |
Forum: PHP Oct 6th, 2009 |
| Replies: 4 Views: 209 What you need is simply DHTML. Just like Gmail's attach another file, you need something like that which when clicked will add two text fields for item code and another one for serial no.
So the... |
Forum: PHP Oct 6th, 2009 |
| Replies: 4 Views: 358 Simply test using php if the checkbox was selected
if(isset($_POST['check-box-name'])){
//Do something
}
From there you can proceed with inserting the values to the database. Test for each... |
Forum: PHP Oct 6th, 2009 |
| Replies: 1 Views: 205 That is one of the problems that you will have to experience when you use one of those freely available templates.
If you want to avoid this problems, buy a professional template or write a css file... |
Forum: PHP Sep 30th, 2009 |
| Replies: 3 Views: 175 It is simple, just like a grading system you assign each member/user a category base on his ranking and then print the appropriate image for his category. e.g if you are a newbie then the image that... |
Forum: PHP Sep 30th, 2009 |
| Replies: 2 Views: 574 As far as I know, PHP cant open a new window. What you can do is to have php print the relevant link in html which when clicked directs a user to the page where the pdf file will be viewed with the... |
Forum: PHP Sep 30th, 2009 |
| Replies: 11 Views: 3,600 Hey! this script i'm sure is meant for beginners. If you know about SQL injection then I guess you are not a beginner and you can even do this community a favour by posting another version of the... |
Forum: PHP Sep 28th, 2009 |
| Replies: 5 Views: 182 Only the check box that is checked will be sent so you can check if it is set like below
if(isset($_POST['check-box-1'])){
//Do something
}
[/code] |
Forum: Linux Servers and Apache Sep 23rd, 2009 |
| Replies: 7 Views: 5,225 Streamlining the kernel is a really good idea. It will/may give more developers an easier learning curve than as it is currently |
Forum: IT Professionals' Lounge Sep 10th, 2009 |
| Replies: 42 Views: 2,987 I expected such talk from a newbie whose only knowledge is most likely windows packages. From an expereinced poster like you and more so a very good programmer who understands the computer inside... |
Forum: Python Aug 27th, 2009 |
| Replies: 2 Views: 235 Maybe what you need is this python library:
urllib or
urllib2
Right now I can't remember of any good tutorial on the net but you can always google for this.
You can also take a look at... |
Forum: C++ Aug 22nd, 2009 |
| Replies: 10 Views: 374 Try python (http://www.python.org), it may be what you want! |
Forum: PHP Aug 11th, 2009 |
| Replies: 1 Views: 429 $data=array(1,2,3,4,5,6);
$rev=array();
$i=count($data);
$x=0
for( $j=$i-1; $j>-1; $j--){
$rev[$x]=$data[$j];
$x++;
} |
Forum: PHP Aug 3rd, 2009 |
| Replies: 2 Views: 183 Have you established a valid connection to the database? |
Forum: PHP Jul 30th, 2009 |
| Replies: 2 Views: 182 I am not using IE right now but you will have to write a separate css file for windows that handles the top alignment.
You know how to go about this? |
Forum: PHP Jul 28th, 2009 |
| Replies: 0 Views: 140 How do I run the gabbage cleaner function in a session class from within the PHP framework.
I use GNU/Linux and I have done it through CRON. Any scheduling library available in PHP?
Any help will... |