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 ... 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. 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 :)

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 '' : failed to load external entity "

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

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


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...

Post Posted: July 21st, 2011, 3:10 pm

the curly wrapper is pretty old, as I can remember using it in PHP4. I read about the curly brackets in arrays in some book. It was suggested to be the PHP5 method of accessing array indexes. And as fas as I know it works, not sure if it will be finally adopted or if it will actually enhances perfor...

Post Posted: July 21st, 2011, 2:48 pm

some error messages (maybe they help) [Thu Jul 21 22:23:18 2011] [error] [client] PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from '' : failed to load external entity "http://webservic...

Post Posted: July 21st, 2011, 2:23 pm

Sidenotes, using curly brackets might clean the code even further. i.e. [php] echo "article id:" . $row['id'] . "<br />TITLE: " . $row['Titel'] . "<br />more text:" . $row['omraade']; echo "<br ...

Post Posted: July 21st, 2011, 2:08 pm

It depends on who is redirecting. If the redirect is done by the DNS server hosting the zone file for the TLD, then you need to contact the administrator managing that DNS server. If its done in the configuration/.htaccess of the webserver, then you need to contact the person hosting t...

Post Posted: July 21st, 2011, 1:59 pm

On the question the other way around, the answer is no. This would suggest that the remote user is exposed to the internet, waiting for an update. The correct way around this is make the browser 'query' in a timed manner using Javascript. Then using the XHTTP Request, you are able to 'check' the sta...

Post Posted: July 21st, 2011, 1:51 pm

Hi There, I have build a simple "draw" script using ajax and php. YOu can download the source here, maybe it will help you understand the XHTTP request (ajax) calls. It is a working example that require...

Post Posted: July 21st, 2011, 1:47 pm

Hi guys, I have been breaking my head over this, so i was hoping you guys could possibly hint me in the right direction. Oke, the symptom is the following. I wrote a little script that uses the SOAP client to load an WSDL from a public webservice which works perfectly on windows. Now the idea was to...

Post Posted: June 8th, 2011, 10:27 am

LOL? why not, you invested some of your time in it, I learned a new trick so some credit is justified :)

Post Posted: June 8th, 2011, 10:00 am

For anyone that likes to experiment with this, here is the full code ;) DO NOTE THAT ITS NOT FIT (YET) FOR PRODUCTION PURPOSES. THE CODE NEEDS REFINEMENT AND OBVIOUS SECURITY CHECKS AND ESCAPES. [html] <?php // Fetch the patient_id and Image_id ?> <html> <head> <!-- Enable IE8 S...

Post Posted: June 8th, 2011, 9:58 am


Thx it works like a charm :D

Post Posted: June 8th, 2011, 9:40 am

Yeah, I also noted that IE does not pass the value like mozilla like browser. Your solution 'ugly' as you name it :) looks rather lumbersum, but if it works ill go with that. I am a bit worried about looping through each value, which might become a problem with large select lists and poor client per...

Post Posted: June 7th, 2011, 1:24 pm

Hi Guys, I have this little project going in which I use HTTPRequest to draw into an image using a PHP backend. In the Ajax frontend I use a select dropdown in conjunction with onchange="function" to update a JS global var. All is working as expected in Firefox without any errors, except i...

Post Posted: December 2nd, 2009, 6:29 am

I found a solution. You can add your own modules by doing something like this. You need to create a folder tree inside your application folder that looks like this. /Application (main app container) /Application/Lib/Modulename/ Inside this modulename you copy the .pm file that you are trying to load...

Post Posted: December 2nd, 2009, 3:16 am

Hi all, I not sure how to explain this, but im writing a perl daemon in which i utilize the Config::Inifiles module. Sadly this module isnt delivered by default and might need to be downloaded and compiled when missing. At this moment it is a "manual" task using >`Cpan -i Config::Inifil...

Post Posted: August 10th, 2009, 1:47 am

Thanks for the headsup rabid :)

First off, You allready know that answer, but for the latter yes they are indeed short-crcuit (lazy) operators. if one 'and' two is false then they will all be, if one or two is true they will all be.

Thanks for that typo i have corrected it :)
  • Sort by

© 1998-2016. Ozzu® is a registered trademark of Unmelted, LLC.