Something is wrong with me i think

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kenny724
Forum Newbie
Posts: 7
Joined: Sun Jan 31, 2010 3:19 pm

Something is wrong with me i think

Post by kenny724 »

Hey, everybody. I think something is wrong with my brain. I'm sending my girlfriend to go to the university of memphis library to get me some dang books on php and mysql. I feel like an idiot because I cannot get anything to work correctly. I can't even set up a local server to test the dang pages. I have installed several softwares that people have recommended to do it automatically. Doesn't view the php pages to edit in expressions or dreamweaver. I just want to scream. I just want to do html...but that won't work for the shopping carts, etc. All the pages are in PHP. Where can I start....where is good information to learn this stuff? Thanks.
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

Re: Something is wrong with me i think

Post by aravona »

I messed up my first install when I started using php so, its not uncommon. What server do you currently have installed to test locally? I use WAMP, and the first thing I learnt (to my shame now :P ) was using localhost to view everything, completely forgot and tried to use a normal browser.

As for dreamweaver etc not viewing it, I use notepad until the code gets too long - have you already written some pages? Dreamweaver should open them up to edit fine (using MX / 8 and its quite happy with the php) but you wont be able to view it working on there, just write/edit code.

I find WAMP very easy to use as far as local servers go, so long as you remember to put your pages in the directory and view them through localhost - works a treat.
kenny724
Forum Newbie
Posts: 7
Joined: Sun Jan 31, 2010 3:19 pm

Re: Something is wrong with me i think

Post by kenny724 »

Yes...i tried using localhost...but didn't seem to work for me. I assume that the root directory would be C:\ correct or the installation of the server. I just feel so stupid now. I do feel better saying this is a crappy computer...lol.
User avatar
JNettles
Forum Contributor
Posts: 228
Joined: Mon Oct 05, 2009 4:09 pm

Re: Something is wrong with me i think

Post by JNettles »

You might want to avoid creating multiple topics on the same issue. Anyway - have you tried installing XAMPP? If not, download an install to your C:\ and try putting your PHP scripts in the htdocs folder -> C:\xampp\htdocs and then go to http://localhost/ and see if it runs then.
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

Re: Something is wrong with me i think

Post by aravona »

Ahh, yeah the directory on a WAMP to view the pages with localhost is the WWW folder within the WAMP folder, which is wherever you install it - they're not always obvious :P
Post Reply