Dat ligt gewoon aan wat jij onder "uiterste waarde" verstaat. Je kan ook zeggen dat 1 en 10 de uiterste waarden zijn, dan is de kans op een uiterste waarde 20%.quote:Op zaterdag 22 oktober 2005 12:33 schreef the_disheaver het volgende:
[..]
Ja, de uitkomst zou iig gelijk zijn, en is het waarschijnlijk nagenoeg ook.
Maar als je naar de getallen 1-10 kijkt, en daar de uiterste waarde uit gaat halen:
Dat zijn 1,2,3&8,9,10
De niet uiterste waarde zijn 4,5,6,7
Ofwel: 6/10de is een uiterste waarde, ofwel de kans op een uiterste waarde is 60%.
Gallery?quote:Op zaterdag 22 oktober 2005 20:45 schreef fokME2 het volgende:
Ik ben opzoek naar een script om fotoalbums 'online' te krijgen. Ik heb al redelijk wat gezocht, gecopy-paste, maar het lukt met maar niet..
Ik zoek een script waarbij je:
>> Zipfiles uploaden
>> Zipfiles die je ftp hebt geupload openen
>> De foto's automatisch resizen
>> De foto dumpen in een aparte map per fotoalbum
Iemand?
Misschien iets met eval() ?quote:Op zaterdag 22 oktober 2005 18:38 schreef Darkomen het volgende:
Vraagje:
Ik heb een cms gebouw, de pagina;s worden opgelagen in een mysql tabel.
Maar ik wil in een enkele pagina ook php gebruiken hoe kan ik dat doen?
niet?quote:Op zaterdag 22 oktober 2005 18:38 schreef Darkomen het volgende:
Vraagje:
Ik heb een cms gebouw, de pagina;s worden opgelagen in een mysql tabel.
Maar ik wil in een enkele pagina ook php gebruiken hoe kan ik dat doen?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | if (isset($verzonden)) { $_SESSION['tekst'] = $tekst; } echo "<form method=\"post\" action=\"$PHP_SELF\">\n"; echo "<td><font color=\"#DAAE57\"> Tekst: </td>"; echo "<td><input type=\"text\" name=\"tekst\" size=\"17\" maxlength=\"9\">"; echo "<td><font size=\"1\" face=\"Arial\"><font color=\"#FFFFFF\">Max. 9 posities in hoofdletters</font</td>"; echo "</tr><tr>"; echo "<td><font color=\"#DAAE57\"> Kleur opdruk: </td>"; echo "<td><select size=\"1\" name=\"kleuropdruk\"> <option>Zwart</option> <option>Wit</option></select></td>"; echo "<input type=\"submit\" name=\"verzonden\" value=\"Toevoegen\">"; echo "</form>"; ?> |
1 |
edit: whats wrong with it ?quote:Warning: Delimiter must not be alphanumeric or backslash in /usr/home/jeroen/www/forum/sources/functions.php on line 2135
1 |
1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | /// /// Find file sources/functions.php /// at the beginning after php and copyright insert these lines (between ///) /// function include_hack_handler($buf) { global $include_temp_str; $include_temp_str.=$buf; return ""; } /// /// In sources/functions.php find this line: $text = preg_replace( "/(<|<)% (BOARD HEADER|CSS|JAVASCRIPT|TITLE|BOARD|STATS|GENERATOR|COPYRIGHT|NAVIGATION) %(>|>)/i", "<% \2 %>", $text ); /// Replace it with $text = preg_replace( "/(<|<)% (BOARD HEADER|CSS|JAVASCRIPT|TITLE|BOARD|STATS|GENERATOR|COPYRIGHT|NAVIGATION|INCLUDE \"\S*?\") %(>|>)/i", "<% \2 %>", $text ); /// /// ///In file sources/functions.php find function do_output($output_array) { global $DB, $Debug, $skin_universal, $ibforums; /// replace with function do_output($output_array) { global $DB, $Debug, $skin_universal, $ibforums, $include_temp_str; /// /// ///In file sources/functions.php after $ibforums->skin['template'] = str_replace( "<% NAVIGATION %>" , $nav , $ibforums->skin['template']); /// insert this // // Include tag hack // $incmatches=array(); while (preg_match("x3C% INCLUDE \"(S*?)\" %x3E",$ibforums->skin['template'],$incmatches)>0) { $include_temp_str=""; ob_start('include_hack_handler'); include($incmatches[1]); ob_end_flush(); $ibforums->skin['template'] = str_replace("<".$incmatches[0].">",$include_temp_str,$ibforums->skin['template']); $incmatches=array(); } /// //Now you can use this directive in board wrapper: <% INCLUDE "http://www.yourdomain.com/test.php" %> //You can include any valid PHP or HTML file this way. ?> |
[offtopic]quote:Op dinsdag 25 oktober 2005 21:16 schreef SuperRembo het volgende:
Ik zie wel dat de nieuwe code-tag met scrollbars knap waardeloos is als de horizontale scrollbar buiten beeld is
Dat heb ik inderdaad ook wel eens gezien, en dat werkt ook wel handigquote:Op woensdag 26 oktober 2005 05:53 schreef Ro�a� het volgende:
In principe kan je code tags idd gewoon collapsen tot één regel waar alleen "klik hier voor alle code" staat. Geen idee of dat is wat GoT doet?
Forum Opties | |
---|---|
Forumhop: | |
Hop naar: |