niwa3836 Posted July 9, 2009 Share Posted July 9, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/165379-_server-missing-when-bcomplied/ Share on other sites More sharing options...
RichardRotterdam Posted July 9, 2009 Share Posted July 9, 2009 When I use bcomplier I dont see an $_SERVER variables at all. Do you mean this thing on the following url ??? http://us3.php.net/manual/en/intro.bcompiler.php Quote Link to comment https://forums.phpfreaks.com/topic/165379-_server-missing-when-bcomplied/#findComment-872182 Share on other sites More sharing options...
niwa3836 Posted July 9, 2009 Author Share Posted July 9, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/165379-_server-missing-when-bcomplied/#findComment-872185 Share on other sites More sharing options...
RichardRotterdam Posted July 9, 2009 Share Posted July 9, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/165379-_server-missing-when-bcomplied/#findComment-872190 Share on other sites More sharing options...
niwa3836 Posted July 9, 2009 Author Share Posted July 9, 2009 Maybe your right, I cant see anyother reason, unless anyone else knows. As I said I am only affect the remote ip address, i wonder if there is another way of getting it? Quote Link to comment https://forums.phpfreaks.com/topic/165379-_server-missing-when-bcomplied/#findComment-872196 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.