Facebookov profil osebe Stanko Milosev

Home » PHP » PHP

PHP (13)RSS Feed

Results 1 - 10 of 13

1.4/5 (11 votes)
PHP/PHP
Author:Stanko Milošev
So, this is my first post How to check is anything passed to $_GET or $_POST variables? Easily: if (!isset($_GET['download'])) else ?> Taken from here.
Wednesday, 06 August 2008 | 616 hits | Print | PDF | Report | Read more
1.7/5 (7 votes)
PHP/PHP
Author:Stanko Milošev
There is no such thing as TStringList So, note to my self, for saving files in PHP (good for geting and analyzing queries) : $fp = fopen('c:data.txt', 'w'); fwrite($fp, $MySQL); fclose($fp); Taken from here.
Monday, 18 August 2008 | 470 hits | Print | PDF | Report | Read more
1.0/5 (1 vote)
PHP/PHP
Author:Stanko Milošev
Whenever is possible use parameterized queries in MS driver for PHP for MS SQL, to reduce risko of SQL injection attack.Taken from here. Using of parametrized queries is simple, you can use example from here, for varchar types everything is same...
Wednesday, 27 August 2008 | 304 hits | Print | PDF | Report | Read more
1.3/5 (3 votes)
PHP/PHP
Author:Stanko Milošev
If you are receiving error "The specified module could not be found." then try to instead of "C:Program FilesPHPphp5isapi.dll" write C:Progra~1PHPphp5isapi.dll (without quotes) in Web Sites node, and in Default Web Site node, or any other. Right...
Wednesday, 27 August 2008 | 332 hits | Print | PDF | Report | Read more
5. NuSoap
1.0/5 (1 vote)
PHP/PHP
Author:Stanko Milošev
Here are my expirience in working with NuSoap (SOAP) in PHP. Creating simple SOAP function is simple,  so there is no need to explain. Problems are coming when you need a complex types, like array, and UTF-8 encoding. Here is an example of adding...
Friday, 29 August 2008 | 448 hits | Print | PDF | Report | Read more
2.5/5 (2 votes)
PHP/PHP
Author:Stanko Milošev
I am too lazy, I know. Here is recursive way: And here is iterative:
Wednesday, 03 September 2008 | 292 hits | Print | PDF | Report | Read more
2.5/5 (2 votes)
PHP/PHP
Author:Stanko Milošev
If you need to redirect page and pass $_POST variable (or any other variable) you should use following code:  
Monday, 08 September 2008 | 308 hits | Print | PDF | Report | Read more
8. NuSOAP
1.0/5 (1 vote)
PHP/PHP
Author:Stanko Milošev
In queries can't be unicode characters, at least, I couldn't find way to do it. Of course, in a result can be unicode characters as I already described. Also, it is very important how do you save your unit, if it is saved as unicode, again, you will...
Tuesday, 09 September 2008 | 308 hits | Print | PDF | Report | Read more
1.0/5 (1 vote)
PHP/PHP
Author:Stanko Milošev
With using DomDocument class. Like this: ab'; $doc = new DOMDocument(); $doc->preserveWhiteSpace = false; ...
Monday, 22 September 2008 | 291 hits | Print | PDF | Report | Read more
0.0/5 (0 vote)
PHP/PHP
Author:Stanko Milošev
If the path to your PHP directory has spaces (e.g. "C:\Program Files\PHP") and IIS gives a 500+ error or responds with "The specified module could not be found." when you try to run a PHP script, try changing the ISAPI DLL's path in IIS (in the...
Wednesday, 12 November 2008 | 351 hits | Print | PDF | Report | Read more

<< Start < Prev 1 2 Next > End >>

Page 1 of 2


Powered by AlphaContent 4.0.16 © 2005-2010 - All rights reserved