Ik probeer dit schript (met de extentie PHP) te draaien op m'n apache/php webserver. Werkt allemaal wel lekker enzo, maar apache/php denkt dat line 3 (<?import.......) een stuk is dat geparsed moet worden door PHP. Dit is dus niet het geval. Ik kan 'short-tags' niet uitzetten in m'n PHP.ini-bestand, simpelweg omdat ik geen toegang heb. Welke 'taal' is dit? Kan ik de '<?' niet veranderen door iets anders waardoor alles wel gaat werken?
code:
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
| <html xmlns:AI>
<head>
<?import namespace="AI" implementation="aiEditor.htc" />
<script language="javascript">
onload = function() {
aiEditor.append( 'id', 1 );
aiEditor.append( 'author', 'John Doe' );
aiEditor.append( 'author', 'John Q. Public' );
aiEditor.onbeforeload = function( e ) {
this.content = 'allyourbasearebelongtous';
}
}
</script>
<link href="external.css" rel="stylesheet" type="text/css">
<style>
a.important {
color: red;
}
.comment {
color: gray;
font : italic;
}
</style>
</head>
<body>
<AI:aiEditor id="aiEditor"
color="buttonface"
emo_get="sample/text/emotes.xml"
font="Arial ,Verdana , Tahoma, Times New Roman,Georgia"
font_size="8,9,10,11,12,13,14,16,20,24,48"
height="400"
hide_btn=""
load_method="inline"
load_url="sample/text/content.xml"
link_get="sample/text/links.xml"
open_method="default"
palette="web, system"
pic_get="sample/text/images.xml"
pic_put="sample/asp/upload.asp"
save_method="xml"
save_url="sample/asp/save_form.asp"
style_import="1"
stylesheet="internal.css"
width="600"
>
<br>
<p align="center"><b>Welcome to aynHTML Editor !</b> [img]"emote/emo_smiley.gif"></p>
</AI:aiEditor>
</body>
</html[/img] |