Jump to content
php.lv forumi

gaziks52

Reģistrētie lietotāji
  • Posts

    63
  • Joined

  • Last visited

gaziks52's Achievements

Newbie

Newbie (1/14)

  1. viss strādā ... uzliku parentam "overflow: auto;" paldies par atsaucību :)
  2. <div id="container" style="background: red; width: 200px;"> <div id="1" style="float: left; height: 50px; background: blue; width: 100px;"></div> <div id="2" style="float: left; height: 50px; background: green; width: 100px;"></div> </div> Kapēc "container" div`s netiek stiepts līdzi kad iekš tā ir floutojoši div`i ??? Kā var šo kļūdu labot?
  3. tas ir skreens no šīs grāmatas, no šīs lappuses ... bet tuvāk diezvai izdosies pievilkt .... pirms pāris dienām pasūtīju šo grāmatu, izskatās noderīga, cerams ka nākošnedēl jau būs klāt
  4. Palasīju mazliet par regulārajām izteiksēm, bet man nepalika skaidrs kapēc 2. variantā jāliek dubultās pēdiņas?! 1: preg_match('/^en/', 'enjoy'); 2: preg_match("/joy$/", 'enjoy');
  5. "These PHP configuration settings are customizable by the server administrator. They are listed for reference only." njā ... ciks es sapratu, tā kā man ir vislētākais hosting plāns tad es nevaru izmainīt php.ini ------------------------------------------------------------------------------------------------------------- nē tomēr kļūdījos .... viss sanāca lietojot šo fukciju date_default_timezone_set('Europe/Riga'); paldies par info
  6. Sveiki! lūk vienkāršs kods <?php $time = time(); echo $time; echo '<br />'; echo strftime("%c", $time); ?> šādi tiek izdrukāts uz localhost 1257886792 11/10/09 22:59:52 šādi kad kods hostēts uz kautkāda ārzemju servera (laikam Holandes, īsti neatceros :), bet tas nav svarīgi) 1257886581 Tue Nov 10 20:56:21 2009 kā lai panāk to, ka hostējot uz tā servera tiktu drukāts latvijas laiks? mēģināju setlocale(LC_ALL, 'lv_LV') , bet tas tikai nomainīja dienas nosaukumu no "Tue" uz "Otrdiena"
  7. diez vai būtu prātīgi atslēgt un ignorēt tos warnus, lai gan īsti nesaprotu ko tas "Deprecated" nozīmē ... 1.3 dev versijā šitais ir izlabots
  8. jop ... uzliku PHP 5.2 viss aizgāja ... paldies!
  9. 1. downloudoju jaunāko Wamp versiju 2. uzinstalēju Wamp 3. downloudoju CakePHP 1.2.4.8284 Stable versiju 4. atraroju failu cake_1.2.4.8284 5. mapi pārsaucu par cake_1_2 un pārkopēju uz C:\wamp\www 6. direktorijā C:\wamp\www\cake_1_2\app\config failu database.php.default nokopēju un pārdēvēju par database.php 7. failā database.php uzstādu datubāzes nosaukumu, ūseri un paroli 8. browserī rakstu localhost/cake_1_2/, bet man izsviež errorus P.S OS: Windows 7 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\inflector.php on line 131 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\configure.php on line 136 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\configure.php on line 226 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\configure.php on line 906 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\configure.php on line 946 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\cache.php on line 71 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\cache.php on line 151 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\debugger.php on line 99 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\debugger.php on line 108 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\file.php on line 96 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\cache\file.php on line 89 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\dispatcher.php on line 453 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\dispatcher.php on line 677 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\router.php on line 173 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\controller\controller.php on line 338 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\controller\controller.php on line 779 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\controller\component.php on line 237 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\controller\component.php on line 239 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\view\view.php on line 748 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\class_registry.php on line 68 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\class_registry.php on line 140 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\class_registry.php on line 148 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\security.php on line 53 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\string.php on line 45 CakePHP: the rapid development php framework Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\i18n.php on line 109 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\i18n.php on line 110 Deprecated: Function split() is deprecated in C:\wamp\www\cake_1_2\cake\libs\l10n.php on line 396 Release Notes for CakePHP 1.2.4.8284. Read the changelog Notice (1024): Please change the value of 'Security.salt' in app/config/core.php to a salt value specific to your application [CORE\cake\libs\debugger.php, line 557] Code function checkSessionKey() { if (Configure::read('Security.salt') == 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi') { trigger_error(__('Please change the value of \'Security.salt\' in app/config/core.php to a salt value specific to your application', true), E_USER_NOTICE); Debugger::checkSessionKey() - CORE\cake\libs\debugger.php, line 557 include - CORE\cake\libs\view\pages\home.ctp, line 32 View::_render() - CORE\cake\libs\view\view.php, line 666 View::render() - CORE\cake\libs\view\view.php, line 376 Controller::render() - CORE\cake\libs\controller\controller.php, line 803 PagesController::display() - CORE\cake\libs\controller\pages_controller.php, line 82 Object::dispatchMethod() - CORE\cake\libs\object.php, line 118 Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227 Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194 require - APP\webroot\index.php, line 88 [main] - CORE\index.php, line 61 Your tmp directory is writable. The FileEngine is being used for caching. To change the config edit APP/config/core.php Your database configuration file is present. Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\model\connection_manager.php on line 66 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\model\connection_manager.php on line 80 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cake_1_2\cake\libs\model\connection_manager.php on line 106 Cake is able to connect to the database. Editing this Page To change the content of this page, create: APP/views/pages/home.ctp. To change its layout, create: APP/views/layouts/default.ctp. You can also add some CSS styles for your pages at: APP/webroot/css. Getting Started new CakePHP 1.2 Docs The 15 min Blog Tutorial More about Cake CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. * Cake Software Foundation o Promoting development related to CakePHP * CakePHP o The Rapid Development Framework * CakePHP Documentation o Your Rapid Development Cookbook * CakePHP API o Quick Reference * The Bakery o Everything CakePHP * The Show o The Show is a live and archived internet radio broadcast CakePHP-related topics and answer questions live via IRC, Skype, and telephone. * CakePHP Google Group o Community mailing list * irc.freenode.net #cakephp o Live chat about CakePHP * CakePHP Trac o For the Development of CakePHP (Tickets, SVN browser, Roadmap, Changelogs) * CakeForge o Open Development for CakePHP * Book Store o Recommended Software Books * CakePHP gear o Get your own CakePHP gear - Doughnate to Cake CakePHP: the rapid development php framework (default) 0 query took ms Nr Query Error Affected Num. rows Took (ms)
  10. neredzu pamatu uztraukumam. esmu iesācējs šajā jomā, un nedomāju, ka tagad izkonkurēšu pieredzējušus programmētājus, strādājot bez atalgojuma. netaisos visu mūžu strādāt bez maksas.
  11. Sveiki! Esmu sudents, meklēju darbu pieredzes uzkrāšanai. Pārzinu PHP, HTML, CSS, JS, AJAX. Strādāšu bez atalgojuma. Ja ir kādas idejas, rakstat uz gaziks52@inbox.lv
  12. $dati=mysql_query("SELECT * FROM chats ORDER BY laiks DESC") or die (mysql_error());
  13. vēl sagribēsi ielogošanās skriptiņu, reģistrācijas skriptiņu, meilu sūtīšanas skriptiņu .... tad jau uzreiz paprasi lai tev visu webu uzkodē
×
×
  • Create New...