Jump to content

Jautajums Sakara Ar Webu


Recommended Posts

So visu ieliku index faila bet man paradas sadi

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\index.php:1) in C:\AppServ\www\index.php on line 2

Varbut ir vel kadi cito kodi vai savadaks risinajums?

Izdomaju 1 veidu bet nez vai stradatu, karo4e no www mapes f foldera visus saturu iemest ieksh www mapes, ka jus domajat?

Edited by DIKI
Link to comment
Share on other sites

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\index.php:1) in C:\AppServ\www\index.php on line 2

header`i ir jāsūta brouzerim, pirms izvades. Primātu valodā - header() liec faila pašā augšā, uzreiz aiz <?php

Un ja tu visus failus no mapes "/f/" samet mapē "/" tad loģiski, ka apemklētājs uzreiz nonāks pie vēlamās informācijas, nebūs vajadzības viņu pārmest citur, ja viņš jau ir tur, kur viņam jābūt.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...