Jump to content

Recommended Posts

Hi, thanks for looking at my problem, can you please help??

 

Basically when launch some PHP code that has not been bcomplied I see all of the $_SERVER variables (I am interested in REMOTE_ADDR), which is fine, however...

 

When I use bcomplier I dont see an $_SERVER variables at all. The application otherwise runs fine complied, and I do see $_POST and $_GET

 

Any ideas please?

Link to comment
https://forums.phpfreaks.com/topic/165379-_server-missing-when-bcomplied/
Share on other sites

yes I mean the bcomplier function, thanks for clarifing.

 

I use it to help speed the code up a little and also provide "some" protection of my code on the customer site. As I say everything works fine (and I do lots with it already), its just that the $_SERVER vars dont arrive.

 

Do I have to declare it someother way?

Well to start it says EXPERIMENTAL in caps and red so somehow using that for a customer product doesn't sound like that good of an idea. Something else I read is the following

To enable the production of php-gtk applications that could be used on client desktops, without the need for a php.exe.

That makes me think that it simply doesn't support the $_SERVER var since it prob wasn't intended for writting scripts on a webserver.

 

I think you're better using something else for protecting your source

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.