<div dir="ltr"><div><div><div><div><div><div>Thanks all for your kind responses.<br><br></div>I am new to web world.<br><br></div>I am worried for few things. Lets say I will be taking a dedicated server say from rackspace or doster or godady and host my site as a commercial one.<br>
<br></div>I would not doubt the companies like rackspace or godady ..., but difficult to believe admin engineers who may take the source code and give it to somebody else for few dollars..,<br><br></div>How do we protect such things.., please guide me..., thats the reason I would like to obfuscate the code or build the exe by using hiphop or phc.<br>
<br></div><div>Again.., not sure if it is feasible to build drupal using hiphop or phc.., has anybody tried and running as commercial site...<br></div><div><br></div>Thanks<br></div>Austin<br><div><div><div><div><div><div>
<br></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 25, 2012 at 6:53 PM, Jamie Holly <span dir="ltr"><<a href="mailto:hovercrafter@earthlink.net" target="_blank">hovercrafter@earthlink.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Those aren't errors. They are notices.
<br>
<br>
Since the errors only occur when using PHC, then the problem lies
in PHC. I would ask on their mailing list. <br>
<br>
I doubt you would find much help from the Drupal Community since
obfuscating is generally frowned upon (and even consider a
violation of terms by some) by the open source world and therefor
not really used. <br><span class="HOEnZb"><font color="#888888">
<pre cols="72">Jamie Holly
<a href="http://www.intoxination.net" target="_blank">http://www.intoxination.net</a>
<a href="http://www.hollyit.net" target="_blank">http://www.hollyit.net</a></pre></font></span><div><div class="h5">
On 12/25/2012 5:26 AM, Austin Einter wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Dear All<br>
</div>
I compiled phc in ubuntu 10.04 lts.<br>
</div>
Next I am trying to obfusace some php code (which is part
of a drupal based code). I just tried obfuscating a single
file using phc. It did work.<br>
<br>
</div>
But when I am trying to access my site, I get bunch of below
errors.<br>
<br>
<i>Notice: Undefined variable: TSa200978216 in
doc_search_my_form() (line 475 of /var/www/<a href="http://example.com/sites/all/modules/doc_search/doc_search.module" target="_blank">example.com/sites/all/modules/doc_search/doc_search.module</a>).<br>
Notice: Undefined variable: TSa1454652404 in
doc_search_my_form() (line 482 of /var/www/<a href="http://example.com/sites/all/modules/doc_search/doc_search.module" target="_blank">example.com/sites/all/modules/doc_search/doc_search.module</a>).<br>
</i><br>
<br>
</div>
Mostly these are variable undefined errors. When the file is
in normal mode (having normal php code), it does not throw any
error. When the file is in obfuscated mode , when I access my
site I get lots of variable undefined error. Any idea what's
wrong here.<br>
<br>
</div>
Thanks</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div></div></div>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>