Jump to content
php.lv forumi

include


hEiti

Recommended Posts

Problema sekojosa

Warning: include(indexphp) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\registracija.php on line 1

 

Warning: include() [function.include]: Failed opening 'indexphp' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\registracija.php on line 1

bet ka sen atpaka man teica kad itka neksiste fails bet sis fails eksiste!

 

nesaprotu kapec man ir shis error lapa itka ir .php bet problema ir un paliek :(

dodiet ludzu kadu gudru padomu

Link to comment
Share on other sites

Iekš PHP ir tā - ja tu neietver stringu pēdiņās, tad PHP vispirms domā, ka šis strings ir konstante. Bet ja tādas konstantes nav definētas, tad notiek fallbacks uz string.

 

Tavā gadijumā PHP domāja, ka tu mēģini konkatēt (savienot) divu kontanšu saturu. Bet tā kā šīs konstantes nebija definētas, tad notik fallbacks uz stringiem. Rezultātā include() fjai tika padots "indexphp".

 

Saregulē error reportingu, lai rāda Notices. Tad ātrāk šitādas problēmas pamanīsi.

Link to comment
Share on other sites

tagad jauni joki rodas es taisu include vinsh panem visu

bet taisa shitadu erro

 

<?php include("lietotaji/index"); ?>

 

Warning: include(lietotaji/index) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\sakums.php on line 105

 

Warning: include() [function.include]: Failed opening 'lietotaji/index' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\sakums.php on line 105

 

<?php include("http://domens.lv/lietotaji/index"); ?> Shaja gadijuma viss strada bet nav man velamais effekts :(

Link to comment
Share on other sites

atvainojos ne to sanaca iekopet biju domajis sho!

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\sakums.php:3) in C:\AppServ\www\lietotaji\common.php on line 3

 

Login System Demo Page

 

Hello hEiti !

 

This site demonstartes how to use Micro Login System.

 

To log out click here!

 

Micro Login System v 1.0

Link to comment
Share on other sites

×
×
  • Create New...