Jump to content
php.lv forumi

Ugga

Reģistrētie lietotāji
  • Posts

    180
  • Joined

  • Last visited

Everything posted by Ugga

  1. Ugga

    Bbcode

    Mnjaa, bet kā varētu noformatēt
  2. Ugga

    Parse Error

    Ok, tas ebūks laikam pa 7 gadiem ir novecojis. :)
  3. Ugga

    Parse Error

    nu tas ir itkā konstruktors.., bet nu labi paldies par to pašu
  4. Ugga

    Parse Error

    pag pag, bet iekš klases definīcijas tak ir jāizmanto $this-> priekš klasē esošajiem mainīgajiem...vai ne tā? atvainojos, ka pārējo skriptu neieliku, bet nu te viņš nav būtisks. varbūt kāds var palīdzēt? kur tur vajag kādu " ' "???
  5. Ugga

    Parse Error

    ... var $seshid; var $sessdata; var $err; var $err_no; var $expire_time=900; // length of time until expiration in seconds var $userid; // Define the methods: function Session($this->seshid,$this->userid=0) //#19 Šeit rāda kļūdu { } .... // connect to MySQL Kāpēc man viņš met ārā kļūdu: Parse error: parse error, expecting `')'' in z:\home\localhost\www\inc\session.inc.php on line 19 ? Itkā viss pēc ebūka...
  6. Ugga

    id no urlas

    Topika nosaukums ir krimināls, es domāju jau, ka te par urlām runā.
  7. Ugga

    Pat nezinu..

    Javascript nederēs?
  8. Ugga

    CSS VALIDATE

    Kjipa font-weight: none; nebija valīds?
  9. Ugga

    loggeris

    Tak Apacis visu izdara tavā vietā.
  10. Nu esmu esmu amatieris. Tabula taisīta 3 gadus atpakaļ, tātad 14 gadu vecumā. :) Bet to taču var elementāri pamainīt :)
  11. Hmm..Iemaucu šo kodu no php.net: <?php $file = fopen ("http://localhost/index.php", "r"); if (!$file) { echo "<p>Unable to open remote file.\n"; exit; } while (!feof ($file)) { $line = fgets ($file, 1024); /* This only works if the title and its tags are on one line */ if (eregi ("<title>(.*)</title>", $line, $out)) { $title = $out[1]; break; } } fclose($file); ?> allow_url_fopen = On Kā palaižu skriptu tā Windows izmet :PHP Script Interpreter has encountered a problem and needs to close. We are sorry for the inconvenience. Error_log failā ir: Premature end of script headers: c:/php/php.exe. Kas par bumbām? Netieku pat tiktāl ka būtu "Unable To Open Remote File". Itkā viss ir pareizi
  12. Kādam te vajadzēja un kādam varbūt noderēs. Vārda Dienu Tabula MySQL: http://paste.php.lv/3292/nonum Iepriekšējais topiks par šito tika slēgts. Piedodiet, ja posts nevietā. :>
  13. Ugga

    phpMyAdmin

    :D pa telefonu runā :DD...labs...
  14. Varu uzdāvināt jums savu datubāzes gabalu ar visām vārda dienām.
  15. Ugga

    Pakepes

    Lasu grāmatu un lūk example: // Declare and define the function function cube($num) { return $num * $num * $num; // Returns $num } // Invoke the cube() function: echo (cube(6)); // Prints 216
  16. Ugga

    Include & Require

    Nu es te 1999 gada ebūku lasu un tur ir sekojošs teksts: .....The include statement also accesses an external file of code, but it evaluates and executes the code in the external file each time that the include statement is encountered, rather than just replacing itself with the external code once at the beginning of execution. Suppose we have three files, named file1.php, file2.php and file3.php, which contain code we want to include in another PHP pahe. With include, we can do this: for ($i = 1; $i <= 3; ++$i) { include("file" . $i . ".php"); } If we tried this with require, the contents of file1.php would replace the require statement on the first iteration of the loop, and that code would thus be re-executed on the subsequent iterations......... Bet tur bija arī piebilde, ka kopš PHP4 tas tā vairs nav. Vnk interesanti. ;)
  17. Kāda fukcionāli atšķirās Include no Require? php.net rakstīts ka pēc kļūdas require pārtrauc lapas ielādi, bet include nē. tā ir vienīgā atšķirībā? kā ar pieredzi?
  18. Ugga

    MVC iekš PHP

    Varbūt kāds kodētājs, kas kodē ar tiem templeitiem var parādīt kādu piemēru? Kas tur ir tik sarežģīts, ka "Hello World!" ir tik rijīgs?
  19. Ugga

    phpBB style

    Nu tur līdzi būtu jānāk Install.txt, vai kautkam tādā garā. Kad es liku man viss aizgāja bez problēmām
  20. Ugga

    Bildes..

    Manuprāt ideja skaidra un paskaidrojumi lavi, vajag tikai darīt.
×
×
  • Create New...