hello.php

Problems with the Windows version of XAMPP, questions, comments, and anything related.

hello.php

Postby arjita » 17. July 2007 20:40

Hi

I Have been struggling with my first php program ..Hello.php..I saved it in htdocs..But it still gives an error object not found.


Any help would be appreciated

Thanks
Arjita
arjita
 
Posts: 6
Joined: 17. July 2007 20:35

Re: hello.php

Postby Eric Pement » 18. July 2007 02:11

arjita wrote:I Have been struggling with my first php program ..Hello.php..I saved it in htdocs..But it still gives an error object not found.


That means most likely either (a) the path name is not correct in your browser or (b) the filename is not what you think it is.

From the Windows desktop, click on "My Computer" and then click on:

Tools > Folder Options > View

and uncheck "Hide extensions for known filetypes" and check "Display full path in the title bar". Then use Windows Explorer (not Internet Explorer) to navigate back to that "Hello.php" file you were editing and see if it might not have a filename like "Hello.php.txt" or something else strange.

The location bar of your browser should say "http://localhost/Hello.php" (take note to use forward slashes "//" instead of backslashes "\" here), and the file "Hello.php" should be located in "c:\Program Files\xampp\htdocs"

Just some suggestions.
Eric Pement - pemente [at] northpark [dot] edu
Eric Pement
 
Posts: 25
Joined: 19. May 2007 18:35

Postby arjita » 18. July 2007 04:31

Thanks for your response.

But before reading this i uninstalled apache etc ..and then installed it again.And it's working now!

You will find me posting a lot of doubts here though :?

Thanks again
arjita
 
Posts: 6
Joined: 17. July 2007 20:35

Postby jtp866 » 19. July 2007 11:46

post your php code
jtp866
 
Posts: 6
Joined: 07. February 2006 23:00

Postby ldivinag » 22. July 2007 12:50

wait...

is xampp running correctly?

ie, if you

Code: Select all
http://localhost


you get the xampp "home" page????
leo d.
User avatar
ldivinag
 
Posts: 40
Joined: 19. April 2006 04:18


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 53 guests