Search found 328 matches

Actual Results

Post Posted: July 30th, 2011, 12:27 pm

Just glad it works. I understand that most MVC frameworks will unregister the globals for obvious security related reasons. I dont now the Joomla internals, and depending on the return values the object method supports your approach might or might not be the right one. Im just glad it worked out for...

Post Posted: July 28th, 2011, 11:25 pm

I have seen allot in my days, but your last comment doesnt make any sense.

!$_SESSION{'something'} might trigger and PHP NOTICE message if the var $_SESSION{'something'} isnt defined, this is why you want to test it with isset first.

Post Posted: July 27th, 2011, 6:42 am

Can you be more specific on 'the logger' system? Is it an procedure someone has written, or a procedure that you need to write, or is it an application someone has created? The documentation is very complete on the Lazarus IDE. But no 'logger' is part of that documentation which leads me to believe ...

Post Posted: July 27th, 2011, 12:58 am

Hi Wpas, I think you isset function will work. Logic : If var is not set (read is var defined?), then define the variable using the following value. Else do nothing because the var is allready there. [php] session_start(); if(!isset($_SESSION{'HTTP_REFERER'})){ $_SESSION{'HTTP_REFERER'} = $_SERVER{'...

Post Posted: July 25th, 2011, 11:56 pm

Hi Wpas, Your missing the point on why the $_SESSION superglobal even exists in PHP. And then there is this other point, how am i supposed to help you when you are altering my scripts which where intended to teach you something? In short, is the referrer information shown on page2.php after calling ...

Post Posted: July 25th, 2011, 3:50 am

Check the free pascal sites documentation
http://wiki.lazarus.freepascal.org/Laza ... umentation

Post Posted: July 25th, 2011, 3:01 am

it was an addition to you own code. oke, this is what it 'could' look like using a redirect from page1.php to page2.php using the session vars. [php] //page1.php // Check if we have the reff information from the server // collected headers if(isset($_SERVER{'HTTP_REFERER'})){ $sRef = $_SERVER{'H...

Post Posted: July 25th, 2011, 2:37 am

Hi wpas, I still dont see what good the referrer is in this example. Anyway you prob. get a blank line because you are not accessing the session var in which you are storing the information in the first place. i.e. This example should explain the session vars a bit. Load the code into an php file an...

Post Posted: July 25th, 2011, 1:26 am

Hi Wpas, Consider reading the following. http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol http://httpd.apache.org/docs/current/vhosts/ http://php.net/manual/en/reserved.variables.server.php http://en.wikipedia.org/wiki/Transmission_Control_Protocol Depending on your goal, understanding of th...

Post Posted: July 22nd, 2011, 5:19 am

Well it doesnt make any sense on why it only seems to block requests made by linux, whereas it simple accepts the requests made by a WAMP environment thats located in the same zone..

Well its working non the less :)
http://213.154.233.137/cws.php?i=nl

Thx again for your help.

Post Posted: July 22nd, 2011, 4:42 am

This is absurd Content filtering wasnt configured, at least no 'policy' was defined. But on the zones page it was still enabled. removing the CFS from the zone configuration resolved this problem. Weird thing is that PHP running under Windows doesnt seem to be affected by this.. :s Great hint on the...

Post Posted: July 22nd, 2011, 4:20 am

The annoying part is that no error logging is returned anywhere. The same works like a bliss on my windows environment. :S

Well, ill keep on experimenting :)
Im installing Ubuntu Server as a LAMP, so lets see what that one will do :)

Post Posted: July 22nd, 2011, 4:18 am

Shamefully it still doesnt work on a different installation, same error. :/ SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL' : failed to load external entity "http://webservices.oorsprong.org/websamples.countryinf...

Post Posted: July 22nd, 2011, 4:06 am

You are right (:/) overlooked it the first time

http://oss.oracle.com/projects/php/files/EL5/x86_64/

thx

Post Posted: July 22nd, 2011, 3:12 am

Might be a nix issue indeed, sorry for that. I compiled PHP from source because Oracle Enterprise Linux doesnt provide the --enable-soap option, and in this case we need the SoapClient class to be available. During compile we did use the complile options provided by a RPM installed PHP environment f...
  • Sort by
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.