Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-07-2013, 09:27 PM   PM User | #1
tarasmuz
New Coder

 
Join Date: Oct 2012
Location: Edinburgh
Posts: 10
Thanks: 3
Thanked 0 Times in 0 Posts
tarasmuz is an unknown quantity at this point
Need some help with PHP

Hi everyone,

I'm new to php and I have no idea about it. I'm trying to understand it by looking at the source codes of other peoples work and I got this small problem when I open a php file in my browser. This is what I see when I press an action button on my html page, which redirects to this php file:


It might be very stupid, so please don't laugh
tarasmuz is offline   Reply With Quote
Old 02-08-2013, 10:55 AM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
You can't run PHP by just opening it in a browser window. For that, you need to have an apache server running in background and a HTTP path like localhost Or 127.0.0.1

Have a look at http://www.apachefriends.org/en/xampp.html
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Users who have thanked abduraooft for this post:
tarasmuz (02-08-2013)
Old 02-08-2013, 12:07 PM   PM User | #3
tarasmuz
New Coder

 
Join Date: Oct 2012
Location: Edinburgh
Posts: 10
Thanks: 3
Thanked 0 Times in 0 Posts
tarasmuz is an unknown quantity at this point
Thanks. However I still can't get where I should put an SQL file?

Last edited by tarasmuz; 02-08-2013 at 12:18 PM..
tarasmuz is offline   Reply With Quote
Old 02-08-2013, 12:23 PM   PM User | #4
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,045
Thanks: 8
Thanked 1,029 Times in 1,020 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
Do you have a website hosted online by a shared webhost? Or do you have your own server loaded on your computer?
mlseim is offline   Reply With Quote
Old 02-08-2013, 12:26 PM   PM User | #5
tarasmuz
New Coder

 
Join Date: Oct 2012
Location: Edinburgh
Posts: 10
Thanks: 3
Thanked 0 Times in 0 Posts
tarasmuz is an unknown quantity at this point
Quote:
Originally Posted by mlseim View Post
Do you have a website hosted online by a shared webhost? Or do you have your own server loaded on your computer?
I've installed XAMP as advised and it now works perfectly fine, but I don't understand where to put my SQL files for my website
tarasmuz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:59 PM.


Advertisement
Log in to turn off these ads.