php.hr

PHP & MySQL => PHP for newbies => Autor teme: tataxus - 29.06.2009., 21:03



Naslov: Početnićki problem
Autor: tataxus - 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


Naslov: Odg: Početnićki problem
Autor: krampus - 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


Naslov: Odg: Početnićki problem
Autor: darmar - 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...


Naslov: Odg: Početnićki problem
Autor: nicolas_ericsion - 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.


php.hr | Powered by SMF 1.1.13. © 2005, Simple Machines LLC. All Rights Reserved.