php.hr
Dobrodošli, Gost. Molimo, prijavite se ili se registrirajte.
12.12.2019., 08:00
1878 Postova 1000 Tema 442 Članova
Najnoviji Član: medolino
php.hr  |  PHP & MySQL  |  PHP for newbies  |  Početnićki problem « natrag naprijed »
 Str: [1]
Autor Tema: Početnićki problem  (Posjeta: 3081 )
tataxus
Novi član
*
Offline Offline

Postova: 1


Profil
« : 29.06.2009., 21:03 »

Pozz svima,
Počeo sam raditi u PHP-u. Radim preko Dreamweavera i imam instaliran IIS 7,0, VISTA.

Otvorio sam u dreamw. novi din. file i ovo piše:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<?php

echo "Bok Roman, ovo je tvoj prvi PHP Kod! ČESTITAM!!!";

?>
</body>
</html>

I kada ga želim pogledati u mozilli dobijem ovu poruku:

Server Error in Application "DEFAULT WEB SITE"

Internet Information Services 7.0
Error Summary
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Detailed Error Information
Module   IIS Web Core
Notification   MapRequestHandler
Handler   StaticFile
Error Code   0x80070002
Requested URL   http://localhost:80/vjezba.php
Physical Path   C:\inetpub\wwwroot\vjezba.php
Logon Method   Anonymous
Logon User   Anonymous
Most likely causes:

    * The directory or file specified does not exist on the Web server.
    * The URL contains a typographical error.
    * A custom filter or module, such as URLScan, restricts access to the file.

Things you can try:

    * Create the content on the Web server.
    * Review the browser URL.
    * Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

Links and More Information This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.

View more information »


Netko može pomoći?

Thx
« Zadnja izmjena: 18.09.2009., 07:14 ttc » Evidentirano
krampus
Novi član
*
Offline Offline

Postova: 2


Profil
« Odgovor #1 : 02.07.2009., 18:14 »

Dali ima neki posebni razlog zasto si koristio IIS?

Preporucam WAMP. http://www.wampserver.com/en/index.php kada ovo instaliras (a dovoljno je par klikova) onda imas cistu instalaciju i web servera i MySQL baze i PHPa, sve zadnje verzije.

SIguran sam da kada onda pokrenes svoju prvu PHP skritpu da ce ti sve raditi kako treba.

SAMo naprijed
Evidentirano
darmar
Novi član
*
Offline Offline

Spol: Muški
Postova: 1


Life is like a box of gadgets, you never know...


Profil WWW
« Odgovor #2 : 18.09.2009., 07:09 »

ja preporucam XAMPP (http://www.apachefriends.org/en/xampp.html) odnosno MAMP (http://www.mamp.info/en/index.html) za na Mac-u...
Evidentirano

nicolas_ericsion
Gost
« Odgovor #3 : 03.07.2010., 03:19 »

this is a very common problem. i have read about this in other forums. plz check your codes again. i think there must be some mistakes.
Evidentirano
 Str: [1]
php.hr  |  PHP & MySQL  |  PHP for newbies  |  Početnićki problem « natrag naprijed »
    Skoči na: