PDA

View Full Version : PLUGIN Output



jodasi
04-12-2005, 04:23 AM
Hi there

I'm trying to implement a couple of plugins, but no lucky until now.

I created the right structure, and the plugin is installed.

Default index.html
...............................
THIS IS A PLUGIN
...............................

Altough when i try to access

http://www.domain.com:2222/CMD_PLUGINS/___PLUGINNAME
or
http://www.domain.com:2222/CMD_PLUGINS/___PLUGINNAME/index.html

wont show nothing.

ANy clue?

****************CORRECTED************

Missing #!/usr/local/bin/php on the files

jodasi
04-12-2005, 04:49 AM
Solved one problem, other commes :)

I have made a form:

************ index.html ***********
#!/usr/local/bin/php
<table class=list cellpadding=3 cellspacing=1>
<tr>
<td class=listtitle><b>Plugin</b></td>
</tr>
<tr>
<td class=list>
<form method=POST action=newsletter/indexpost.html>
Base de Dados <input type=text name=bd size=20 /><br/>
<input type=submit value=Enviar />
</form>
</td>
</tr>
</table>
*******************************

when i try to make

***********indexpost.html*********
#!/usr/local/bin/php
Content: <?=$_POST["bd"];?>
*******************************

It just woinbt print the variable value!

Any help will be apreciated.