Click to See Complete Forum and Search --> : Creating e-commerce website
cinr11
Aug 31st, 2008, 11:49 AM
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!:(
cinr11
Aug 31st, 2008, 12:15 PM
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,......
dclamp
Aug 31st, 2008, 01:06 PM
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++ (http://notepad-plus.sourceforge.net/) which is free and includes syntax highlighting.
Question 2. you can download a program called WAMP (http://www.wampserver.com/en/) and install that on your computer, and you can manage PHP, Apache, MySQL and it includes PHPMyAdmin
visualAd
Aug 31st, 2008, 03:11 PM
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.
cinr11
Aug 31st, 2008, 04:52 PM
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.
visualAd
Aug 31st, 2008, 05:58 PM
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:
C:\>php.exe C:\path\to\php\script.php
StrangerInBeijing
Sep 5th, 2008, 12:21 AM
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/
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.