Xenon 0 Report post Posted August 7, 2004 We know that php is a server side scripting language. So we will need a server with the php parser to parse/test our code.How are you doing that. Do you upload it to a server for testing or did you instal php and the server (apache) on your computer (localhost) Share this post Link to post Share on other sites
outwarsecrets 0 Report post Posted August 7, 2004 I upload it to my server, and usualy name it filenametest.php or something Share this post Link to post Share on other sites
chinfo 0 Report post Posted August 7, 2004 I don't run my own server so I test all server-side scripts through the web host. Testing your scripts locally is deemed good practice, but the logistics involved in running your own server beats down the practicality value at the moment. Also, sometimes your local server may run scripts differently than your actual host. Share this post Link to post Share on other sites
Gamesquare 0 Report post Posted August 7, 2004 I wouldn't test them locally. Maybe if I wasn't too lazy to install Apache, but the web server could still be configured differently, as chinfo says. Share this post Link to post Share on other sites
Spectre 0 Report post Posted August 7, 2004 I always test my scripts locally before sending them anywhere. If your server is configured differently, then change the configuration to match the host. You can find all the information you should need to match by calling phpinfo(). Share this post Link to post Share on other sites
Lurk 0 Report post Posted August 7, 2004 I always test them locally.I have Apache, PHP, and MySQL installed, so i can test them Share this post Link to post Share on other sites
Roly 0 Report post Posted August 8, 2004 I always upload them and test them, I always expect at least one error the first time. Maybe when I get a good enough computer I'll install PHP in it. Share this post Link to post Share on other sites
Spectre 0 Report post Posted August 8, 2004 You don't need a good computer to run a simple webserver and PHP/MySQL, provided you are only using locally. You could use a 486 if you wanted. Share this post Link to post Share on other sites
Roly 0 Report post Posted August 9, 2004 Well I do need a good connection 'cause I've had other people connect to my pc using CesarFTP but it doesn't work after a while. Share this post Link to post Share on other sites
slacker 0 Report post Posted August 9, 2004 i use a home webserver, i installed apache triad, which installs apache, php mysql and a bunch of other stuff, im building my entire site on it b4 i upload it, plus its nice and fast Share this post Link to post Share on other sites
LuciferStar 0 Report post Posted August 9, 2004 Mine: WIN98+OMNIHTTPd Professional 2.10+PHP4 Share this post Link to post Share on other sites
ivepanda 0 Report post Posted August 13, 2004 is there the programme "dreamweaver" in your country??i make use of it to test the code Share this post Link to post Share on other sites
iGuest 3 Report post Posted August 21, 2004 I just use mozilla to preview my php code from my computer if idont upload it. Share this post Link to post Share on other sites
CodeTeam 0 Report post Posted September 2, 2004 is there the programme "dreamweaver" in your country??i make use of it to test the codeĀ How do you test with that... I just get it to check code-syntax not that the code are working. I think there are some php-editors that have a builtin debuger... but have not found one yet. Share this post Link to post Share on other sites
liliano 0 Report post Posted September 14, 2004 I Upload my Web On my host And Test my codeI dont like to setup apache Server Share this post Link to post Share on other sites