Creating e-commerce website
Hello Everyone,
I"m new to creating a e-commerce site but I'm willing to try it. I wont be using apache for a server since I'm going through doteasy.com and they support php, myadmin. My question can I program php on notepad or do I need need to download something? Please help!:(
Re: Creating e-commerce website
I don't want to confuse anyone but question is " How do I test PHP file locally?"
I'm going through my hosting company doteasy for server so I know I don't need to download Apache,......
Re: Creating e-commerce website
Well to answer you first question, yes you can use notepad to write php. I would not suggest it, i would suggest you download NotePad++ which is free and includes syntax highlighting.
Question 2. you can download a program called WAMP and install that on your computer, and you can manage PHP, Apache, MySQL and it includes PHPMyAdmin
Re: Creating e-commerce website
Any text editor will suffice for PHP. IDE's can make things easier but I am yet to find one which offers all the features I need for free :D. I tend to prefer gvim over any other text editor as it offers syntax highlighting for a multitude of languages and text formats.
I assume that if you are not using Apache you will be using IIS. If so then I would not recommend a WAMP setup as it uses Apache. The PHP site has installation tutorials for many HTTP servers (http://www.php.net/install) and cover most of the content you require. Even if you are prepared to use Apache it is better to down load MySql and PHP separately and configure them to get a feel for how it all works.
P.s: there is a PHP installation tutorial link in my sig, this describes how to set up PHP with Mysql and Apache on Windows.
Re: Creating e-commerce website
So in order to test my php files I would have to setup a local server? or is there a way to test the files without setting up a server? My web hosting company has php/mysql support.
Thanks for your help.
Re: Creating e-commerce website
You can test without a web server by running PHP as a standalone interpreter. The environment of course will be different (i.e: no server environment variables for example). You just supply the php.exe program with the path of the file:
Code:
C:\>php.exe C:\path\to\php\script.php
Re: Creating e-commerce website
aiya.....once again, no offence mate, but maybe you should start and the bottom and learn some basic things? I can swear you sound like a boss trying to find out what to tell his workers cause he know zit. :sick:
Try sth like w3schools.com or phpbuddy.com/