-

  • (44)
  • (41)
  • (35)
  • (33)
  • (15)
  • (14)
  • (8)
  • Geek (4)

 - e-mail

 

 -

   Smile_ArT

 -

 -

 LiveInternet.ru:
: 16.10.2007
:
:
: 380

:

.


: (15), (35), (44), (14), (41), (33), Geek(4)
(2)

web-

, 16 2009 . 12:36 +

, , web , web .

 

0.

  STPServer, ,  Denwer. , ,  ,  , ( ) . *(,  ) , Denwer. ,  http://pecl4win.php.net/ dll ,  .

. , Denwer . . , . ,  ,  / . , ,  .

Denwer Dropbox! ,  .

,

 0.0

:


Web- («..w.», «») —  , (Apache, PHP, MySQL, Perl ..) , Web- «» () Windows- . — Flash-.


Dropbox. , . .


 

1. Dropbox

- Dropbox . ,  (, , ). , , .

 

2. Denwer

Denwer , , , .

,  , ,  , ,  ( .), , -, (© Denwer). Z, ,  X.

, ,  ,  Dropbox' . ,  Dropbox ,  Denwer . C:\My Dropbox\Denwer.

, . .

 

3. ()

. . PHP PDO - XML ,  PHP 5. ,  UTF-8,  .htaccess AddDefaultCharset utf-8,  .

,  php.ini , ,  .

- (, ,  ) ,  Dropbox.

,   :) , ,  , Dropbox. , ,  , Dropbox.

 





 




:  
(0)

, 20 2009 . 14:22 +

- !

!

,   Zend Framework?

, , , . - , - " ". ! , , , :)

, -...


:  
(3)

Zend Framework

, 27 2009 . 12:33 +

- :)

Zend Framework, , . , , -.

:

,  - .   ,  , ,  . Zend .

 

:

, GD URI, Zend' img.

,  , ,  .

 
header
("Content-type:  image/gif");
$img_src=imagecreatefromgif($src);
imagegif($img_src);

$src, , .

 

:

. , Zend. - , -   BLOB . Layout' :

 
function init()
{
   
$this->_helper->viewRenderer->setNoRender();
   
$this->_helper->layout->disableLayout();
}

. , . , ,  FirePHP  . stand-alone ( Zend ( ,  , "!")) Response, :

ÿØÿà�JFIF�

Zend :

ÿØÿà�JFIF�

         ,     .

 

:

,  ( PHP , ).

, ! .

 :

0.

1. <?php
2. /**
3. *   
4. *
5. * @author Smile @rT
6. * @version development
7. * @since 08.11.2008
8. */

9.

10.  require_once 'lib/our/Standard_Controller_Actions.php';
11.class ReaderController extends StandardControllerAction
12. {
13.   ...

 

 :

 

0. <?php
1. /**
2. *   
3. *
4. * @author Smile @rT
5. * @version development
6. * @since 08.11.2008
7. */

8.  require_once 'lib/our/Standard_Controller_Actions.php';
9.class ReaderController extends StandardControllerAction
10. {
11.   ...

:)  , , , ,  Zend ,  ( ) , ,  !

, , , . :)

 

 




:  
(0)

-

, 02 2008 . 22:31 +

, , . , , " PHP" . , , .

, , " ". PHP HTML ( echo, ), - , , email GET, .. .. ..

. - , , , .

, - .

, , , ...



:  
(10)

MySQL ZendFramework

, 21 2008 . 19:08 +

MySQL ZendFramework , - , , Zend' .

PHP . , , , , , , .

, ...

:
- ZendFramework-1.5.3 ( stable )
- PHP Version 5.2.6
- : StpServer 1.0
- MySQL 5.0.51b


, , :

Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' withmessage 'The mysql driver is not currently installed' inT:\home\virtual\zend\library\Zend\Db\Adapter\Pdo\Abstract.php:103 Stacktrace: #0T:\home\virtual\zend\library\Zend\Db\Adapter\Abstract.php(389):Zend_Db_Adapter_Pdo_Abstract->_connect() #1 .......


phpinfo() , ...

PDO, , PDO, sqlite2. , MySQL.

Note: PDO (PHP Data Objects) - PHP, PHP .

PDO , , , PDO .

PDO PHP 5.1, PECL PHP 5.0; PDO OO PHP 5 PHP .


, , PDO . .

PHP, STP:

If you're running a PHP 5.1 release, PDO and PDO_SQLITE is included inthe distribution; it will be automatically enabled when you runconfigure.


mysql.

, :
 

extension=php_pdo.dll
extension=php_pdo_firebird.dll
extension=php_pdo_informix.dll
extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
extension=php_pdo_oci.dll
extension=php_pdo_oci8.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll


, PDB PECL, . , PHP pecl.

http://pecl.php.net/ PDO Packages.

. PDO_MYSQL. .

, [ Download Latest ], , ... . -, PECL.

Windows Available Releases, 1.0.2

- Package Information, :
Windows binaries can be found at http://pecl4win.php.net/ext.php/php_pdo_mysql.dll

!

, , . PECL PHP. T:\usr\local\Php\PECL\

- php.ini . pdo.

, :

;extension=php_msql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pdf.dll
extension=php_pdo.dll
extension=php_pdo_mysql.dll
;extension=php_pgsql.dll
;extension=php_printer.dll


, extension=php_pdo.dll, PHP PDO , :

---------------------------
Warning
---------------------------
PHP Startup: Unable to load dynamic library '/usr/local/PHP/PECL\php_pdo_mysql.dll' - .

---------------------------

---------------------------


.

, MySQL ZendFramework, .

, , , . - , - !

   MovableType API



:  
(0)

PHP

, 09 2008 . 14:26 +

, .

PHP: , ?

, : . , , ... ..

, , , - , , . ( ). , , , .

, " ", , , , , . , ini-?

: !

( , , ). , - LAMPP!

, ... "" -. LAMPP, Linux+Apache+MySQL+PHP+Perl. , .

.

XAMPP (X - , ) : http://www.apachefriends.org/en/xampp.html

. ( , , )

/opt, sh- lampp.

, 127.0.0.1 ( localhost) , . ( :-/) , - .


A matter of security (A MUST READ!) , .


, : /opt/lampp/htdocs/

, : , - ZendStudio, - .wine

( ): Zend ru. , , , ( ).

-PHP- ! :)

   MovableType API



:  
(13)

- URL

, 22 2008 . 23:39 +

-

, , , , URL.

, : .

, , : http://zcontest.ru/2008.02/zrex.php


... URL http https, . , , .. IP URL . , , GET , , . . , «-» . «_» . .

:

http://www.zcontest.ru
http://zcontest.ru
http://zcontest.com
https://zcontest.ru
https://sub.zcontest-ru.com:8080
http://zcontest.ru/dir%201/dir_2/program.ext?var1=x&var2=my%20value
zcon.com/index.html#bookmark

:

Just Text.
http://a.com
http://www.domain-.com



/^(https?:\/\/)?(([0-9a-z_!~*'().&=+$%-]+:)
?[0-9a-z_!~*'().&=+$%-]+@)?(([0-9]{1,3}\.){3}
[0-9]{1,3}
|
([0-9a-z_!~*'()-]+
\.)*
([0-9a-z][0-9a-z-]{0,61})+
[0-9a-z]
\.
[a-z]{2,6})
(:[0-9]{1,4})?((\/?)
|
(\/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+\/?)$/


- .

, , - . , - .

 (210x300, 68Kb)


:  
(6)

, 07 2008 . 18:38 +

-

, . , Nigma (http://www.nigma.ru), . .

, :


/^[A-Z][a-z]{2,}\040[A-Z][a-z]{2,}$/



, , . 2- .

, , , :


/^
([-][-]{2,}
\040
[-][-]{2,}
\040
[-][-]{2,}
$/


, , .

- .

regex :


/^
[\xa5\xaf\xb2\xaa-][\xb4\xb3\xbf\xba\x27-]{2,}
\040
[\xa5\xaf\xb2\xaa-][\xb4\xb3\xbf\xba\x27-]{2,}
\040
[\xa5\xaf\xb2\xaa-][\xb4\xb3\xbf\xba\x27-]{2,}
$/


! , , , - .

, , :


/^
([\xa5\xaf\xb2\xaa-][\xb4\xb3\xbf\xba\x27-]{2,}
|
[\xa5\xaf\xb2\xaa-][\xb4\xb3\xbf\xba\x27-]{2,}
\-
[\xa5\xaf\xb2\xaa-][\xb4\xb3\xbf\xba\x27-]{2,})
\040
[\xa5\xaf\xb2\xaa-][\xb4\xb3\xbf\xba\x27-]{2,}
\040
[\xa5\xaf\xb2\xaa-][\xb4\xb3\xbf\xba\x27-]{2,}
$/


, -, - , .

- . - .

. , .

'- ' !

-...


, :

http://www.pcre.ru/

mod_rewrite :

http://www.egoroff.spb.ru/portfolio/apache/mod_rewrite.html

 (480x486, 23Kb)



:  

 : [1]