Search found 65 matches
- Wed May 03, 2006 12:17 am
- Forum: Site News
- Topic: I don't use the forum search option because...
- Replies: 18
- Views: 32059
- Tue May 02, 2006 10:37 pm
- Forum: Site News
- Topic: I don't use the forum search option because...
- Replies: 18
- Views: 32059
They haven't. Go to the Olympus Development Website, make a user account and check. Still sorted by Date, author, or etc instead of relevance.Everah wrote:The phpBB search feature is kinda limited. I am sure they will address this in Olympus (I hope they do anyway).
- Tue May 02, 2006 8:59 pm
- Forum: PHP - Code
- Topic: Syntax Question
- Replies: 2
- Views: 538
Re: Syntax Question
I think you want:
Code: Select all
$query = "SELECT * FROM workshop WHERE type = 'Workshop' ORDER BY id ASC LIMIT $offset, $rowsPerPage";- Tue May 02, 2006 8:47 pm
- Forum: PHP - Code
- Topic: Beginner >>>EOD problem
- Replies: 2
- Views: 638
Re: Beginner >>>EOD problem
feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] EOD must ...
- Sat Apr 22, 2006 5:20 pm
- Forum: Installation and Configuration
- Topic: Mod_Rewrite
- Replies: 15
- Views: 3782
- Sat Apr 22, 2006 5:14 pm
- Forum: PHP - Security
- Topic: How secure is my user authentification concept
- Replies: 4
- Views: 2886
The basics will work, but they won't do much to keep someone who really wants to get in from getting in. Personally I think that IP and timeout functionality are a must for any authentication design (though it is a nice touch to add a 'remeber me' option that they can use when they are on a computer...
- Tue Apr 04, 2006 10:03 am
- Forum: General Discussion
- Topic: Coding Contest
- Replies: 30
- Views: 5859
Wow, now I feel dumb..
High values of $n will not work very well, but my calculator can't handle that either, so it is ok 
Code: Select all
function getFibanacci($n){
if($n == 1 || $n == 2) return 1;
return getFibanacci($n-1) + getFibanacci($n-2);
}- Tue Apr 04, 2006 9:42 am
- Forum: Linux
- Topic: Help me pick a distro.
- Replies: 16
- Views: 9368
- Tue Apr 04, 2006 9:38 am
- Forum: General Discussion
- Topic: Coding Contest
- Replies: 30
- Views: 5859
There is actually an error in my code, it should be testing for $n==0 in addition to testing for $n==1. Anyway, I think that for a coding contest the challenge should be more difficult than a well known sequence (with a defined function) being implemented. I remember doing this when I first started ...
- Tue Apr 04, 2006 8:40 am
- Forum: General Discussion
- Topic: Coding Contest
- Replies: 30
- Views: 5859
Code: Select all
function getFibanacci($n){
if($n == 1) return 1;
return getFibanacci($n-1) + getFibanacci($n-2);
}- Wed Nov 02, 2005 6:18 pm
- Forum: Installation and Configuration
- Topic: Run PHP4 *and* PHP5 on a single apache installation
- Replies: 7
- Views: 2226
AddHandler application/x-httpd-php4 .php AddHandler application/x-httpd-php5 .php5 In httpd.conf or, if your configuration allows, .htaccess will work. I have it run all scripts in php4, and if I need a php directory I just: .htaccess AddHandler application/x-httpd-php5 .php As it overwrites the ht...
- Wed Nov 02, 2005 5:10 pm
- Forum: PHP - Code
- Topic: Uploading Files
- Replies: 6
- Views: 784
- Wed Nov 02, 2005 4:13 pm
- Forum: General Discussion
- Topic: PHPDN Project
- Replies: 18
- Views: 3362
Best reference to my idea is http://codestriker.sourceforge.net/index.html, but that is just my CVS idea implemented, and it should be extensible.
- Wed Nov 02, 2005 7:20 am
- Forum: General Discussion
- Topic: PHPDN Project
- Replies: 18
- Views: 3362
You mean an interface like http://cvs.php.net/ ? Similar, but that doesn't allow one to submit patches to be reviewed and comitted upon review completion. That looks like viewCVS to me. I also think my idea could be extended into a developers website if it had support for roadmaps, discussion, API,...
- Wed Nov 02, 2005 7:10 am
- Forum: Miscellaneous
- Topic: inneficient c++ code
- Replies: 4
- Views: 1482
Might consider creating a vector of a struct of something like this:
Then you can interact with the variable 'students' for all your needs. (Allowing nearly unlimited records)
Code: Select all
struct StudentGrades{
char *studentName;
vector<int> grades;
};
vector<StudentGrades> students;