<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Php require</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 10:00:36 -0000</pubDate>

		<item>
			<title>Dave</title>
			<description><![CDATA[does ti will work with specific game server or any?]]></description>
			<pubDate>Zo, 09 Aug 2009 16:55:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3052&d=0#post15740]]></link>
		</item>
		<item>
			<title>marshall700</title>
			<description><![CDATA[im converting an opensource piece of PHP written to control Game Servers! (rcon) and im creating it into a plugin so that it intergrates within Cotonti!<br />
<br />
Also thanks kilandorit worked a treat!]]></description>
			<pubDate>Vr, 07 Aug 2009 16:16:03 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3052&d=0#post15652]]></link>
		</item>
		<item>
			<title>Dave</title>
			<description><![CDATA[ot: just wondering, what kind of plugin?]]></description>
			<pubDate>Ma, 27 Jul 2009 14:41:56 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3052&d=0#post14924]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[require or includes you have to specify the path to the file. The above would mean a local file form where the script was executed (root), But we don't want that.<br />
<br />
So you need to change the path to require($cfg['plugins_dir'].'/your_plugin_name/inc/init.inc.php');<br />
<br />
just replace the your_plugin_name with the plugin &quot;code&quot; name<br />
<br />
The problem with tags not found is it means, its opening the file looking for the data to load the file as a plugin, such as a hook or standalone or setup. Specificaly its looking for the &quot;[BEGIN_SED_EXTPLUGIN]&quot; block in the file.<br />
<br />
If you notice my path above I gave you I included /inc/ if you place the extra files, the non plugin files in it then you won't see those errors. So any files without that block should go in there.]]></description>
			<pubDate>Ma, 27 Jul 2009 14:26:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3052&d=0#post14922]]></link>
		</item>
		<item>
			<title>marshall700</title>
			<description><![CDATA[Im having problems creating a plugin for Cotonti.... its a piece of code used to admin game servers and i want to encorporate it using a plugin! Ive got the code.... but in the code it uses the Php require tag... ive never encountered it before this is the code:<br />
<br />
<div class="highlight"><pre class="php">require ('init.inc.php');</pre></div>
<br />
ive been able to sucessfully use it out of the plugin but i cant get cotoniti to use it. It doesnt find the file. Anyone got any ideas?<br />
Also when i install the plugin i get alot of &quot;Warning: No tags found in...&quot; i dont know what this means anyone?<br />
<br />
Here is the error i keep getting:<br />
<pre class="code">Warning: require(init.php) &#091;function.require&#093;: failed to open stream: No such file or directory in /home/marshall/public_html/cms/plugins/rcon/rcon.admin.php on line 28
Warning: require(init.php) &#091;function.require&#093;: failed to open stream: No such file or directory in /home/marshall/public_html/cms/plugins/rcon/rcon.admin.php on line 28

Fatal error: require() &#091;function.require&#093;: Failed opening required 'init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/marshall/public_html/cms/plugins/rcon/rcon.admin.php on line 28</pre>
Thanks Marshall]]></description>
			<pubDate>Ma, 27 Jul 2009 07:51:12 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3052&d=0#post14921]]></link>
		</item>
	</channel>
</rss>