Jump to content

My php programme is not running........


Recommended Posts

Hi,

 

I have installed XAMP on my system but when i have codding in editplus editor or note pad and i save it as:- file.php and explore in internet explorer or mosila it gives an error.

So, plz help me and tell me what should i do for it?

 

Thanks and regards

Jitendra

Link to comment
https://forums.phpfreaks.com/topic/68689-my-php-programme-is-not-running/
Share on other sites

you can't actually explore a php file in the same way you can an html file.

 

 

In the xamp istallation folder there should be a folder in there called www

 

You need to place everything you want to be processed by php in this folder

 

You then type

 

http://localhost/test.php

 

in your browser

 

(localhost refers to the www folder.)

 

This shoudl now be working

Kinda, sorry got the quick message, was on the phone at the same time..

 

basically we need more info.. mainly what the error is..

 

it could be anything from IE is crashing or not finding the site to a php error..

now by creating a simple script we have a test base.. also it will give us more info ;)

 

if the script fails then i can only assume theirs a problem with the XAMP side or thing.. if it works then we still need the error to workout the problem.. the most common problem i find the the use of short tags

 

ie <? should be <?php

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.