I wanted to change the world but god wouldnt give me the source code
Het maakt eigenlijk niet uit wat je bewuste geest doet, omdat je onderbewuste automatisch precies dat doet wat het moet doen
AddType application/x-httpd-php .php
(iig bij php 4.1.2 (default in debian) met apache 1.3.26)
Daar kun je .html bijzetten en dan zou .html ook geparsed moeten worden.
Je moet alleen even kijken welke file je moet hebben
[ Voor 21% gewijzigd door Atomstar op 19-06-2003 23:37 ]
Verwijderd
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
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
| <?php //This script is created by Reptilian Feline //www.reptilian-feline.net //If you use it, please link to my site $full_path = getenv("REQUEST_URI"); //put the base URL in case you need it $base = "http://subomain.domain.ext"; //Get the name of the file $page_file = basename($full_path); //The files are named file_1.php, file_2.php, etc. Extract number from it. $page_num = substr($page_file , strrpos($page_file, "_") + 1 , strpos($page_file, ".php") - strrpos($page_file, "_") - 1 ); $partial_path = substr($page_file, 0, strrpos($page_file, "_")); //Build array of pagenumbers. Here are ten pages. $all_pages = array (1,2,3,4,5,6,7,8,9,10); foreach ($all_pages as $all_page) { //Create link to all the previus pages and put in prev-image. if ($all_page < $page_num) { print "<a href=\"$partial_path"."_". $all_page . ".php\">[img]\"images/prev.gif\"[/img]</a>"; } //Create I-am-here-image. elseif ($all_page == $page_num) { print "[img]\"images/here.gif\"[/img]"; } //Create links to all the next pages and put in next-image. else { print "<a href=\"$partial_path"."_" . $all_page . ".php\">[img]\"images/next.gif\"[/img]</a>"; } } ?> |
</body>
</html>
I wanted to change the world but god wouldnt give me the source code
Nog 1 keertje.. het is SinergyX, niet SynergyX
Im as excited to be here as a 42 gnome warlock who rolled on a green pair of cloth boots but was given a epic staff of uber awsome noob pwning by accident.
I wanted to change the world but god wouldnt give me the source code
Had al aantal dingen van google gezocht en geprobeerd \0/ moest dus gewoon apache opnieuw starten
naja
iig bedankt voor de reactie's
I wanted to change the world but god wouldnt give me the source code
Verwijderd
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
en
</body>
</html> gedeelte
overigens, AoA2002:
da's niet nodig, hoorencoding=\"iso-8859-1\"?".">"; ?>
Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz
Dit topic is gesloten.
![]()