Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Php: Want Script Checking/correcting Software
Casanova
post Jul 5 2005, 08:33 AM
Post #1


Advanced Member
Group Icon

Group: Members
Posts: 133
Joined: 31-May 05
Member No.: 5,643



Hello Friends i wanted To know if Any PHP Correctiong softwares are available or not.?

What i mean is ,Like If i have a Page with error on line 25 , And Is there any software which can scan and Correct the Php errors?


Regards
Casanova !

This post has been edited by microscopic^earthling: Jul 5 2005, 09:30 AM
Go to the top of the page
 
+Quote Post
Chris Neutral
post Jul 8 2005, 04:03 PM
Post #2


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 31
Joined: 8-July 05
Member No.: 6,913



I don't know if you'll go for the software I will be recommending. It does check for errors in your php scripts [amongst other languages] and it does show you the debug information so you can fix the errors, it just doesn't correct the errors for you. It's called PHP Designer 2005. It's a very nice environment that lets you not only code in php, but in other languages too like HTML CSS JS Java VB C# etc. It's a very useful piece of software - a diamond in the rough if you will. Here's the link.

http://www.mpsoftware.dk/downloads.php

By the way, you will also need to install the PHP.exe from php.net so that you will be able to debug your scripts. Just go to downloads.php.net and download the newest version.
Go to the top of the page
 
+Quote Post
vujsa
post Jul 9 2005, 07:25 AM
Post #3


Absolute Newbie
Group Icon

Group: Admin
Posts: 888
Joined: 20-February 05
From: Indianapolis, Indiana, USA (Midwest)
Member No.: 2,714
myCENTs:35.43



QUOTE(Casanova @ Jul 5 2005, 04:33 AM)
Hello Friends i wanted To know if Any PHP Correctiong softwares are available or not.?

What i mean is ,Like If i have a Page with error on line 25 , And Is there any software which can scan and Correct the Php errors?
Regards
Casanova !
*



I don't think there is such a program availible because the checker would act like a spelling checker and we all know how badly they can mess up a document with correctly spelled wrong words.

Because the program wouldn't really know what you wanted it to do, it may FIX your script in a way other than what you wanted.

For example let's look at the following php error:
CODE
echo hello world';


We are missing a single quote somewhere right?
But what is the solution. Here are three possible solutions:
CODE
echo 'hello world';

CODE
echo hello world;

CODE
echo hello world'';


Which is right, well all are right in certain cases.
The first being the most obvious choice but may still be wrong your your needs.
The second really looks wrong but that is only because "hello" and "world" are assumed to be strings and not constants. If the words are defined as constants, then the second or even the third solution is correct.

Creating a program smart enough to determine the right course of action to take would be complex. For example; what if you accidentally deleted severl lines of code and then the checker fixed whatever was left, Then the repair would be based on the partial code and the script wouldn't work as intended.

Like reading a book with the middle half missing, you can try to figure out what happened in the missing section but in the end, did Dorthy meet the Tin Man in a forrest or in a junk yard. If you imagined that they met in the junk yard, then his ax would be a mystery during the entire ending of the book. (Wizard of Oz)

Hope this sheds some light on the issue. cool.gif

vujsa
Go to the top of the page
 
+Quote Post
mzwebfreak
post Aug 10 2005, 02:22 AM
Post #4


Advanced Member
Group Icon

Group: Members
Posts: 123
Joined: 7-April 05
From: Tampa
Member No.: 3,732



QUOTE(Chris Neutral @ Jul 8 2005, 11:03 AM)
I don't know if you'll go for the software I will be recommending. It does check for errors in your php scripts [amongst other languages] and it does show you the debug information so you can fix the errors, it just doesn't correct the errors for you. It's called PHP Designer 2005. It's a very nice environment that lets you not only code in php, but in other languages too like HTML CSS JS Java VB C# etc. It's a very useful piece of software - a diamond in the rough if you will. Here's the link.

http://www.mpsoftware.dk/downloads.php

By the way, you will also need to install the PHP.exe from php.net so that you will be able to debug your scripts. Just go to downloads.php.net and download the newest version.
*




How would one go about correctly installing the php.exe program so that it doesn't interfere with the rest of the operating system or such like that? Also, how much room does the php program and/or PHP Designer take up on the hard drive? Just wondering, since I already have some pretty hefty sized programs already on my computer.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. What's The Best 3d Animation Software?(15)
  2. PHP: Writing A Generic Login And Register Script(15)
  3. Why Can't I Install Software As Root?(7)
  4. Open Source Software(4)
  5. Flash Site Software(13)
  6. Anyone Know Of Any Good Image Editing Software?(24)
  7. How Parental Control Software Works(4)
  8. Free Shopping Cart Software(2)
  9. Running Vba Script In Excel(7)
  10. Cruzer Flash Drive (usb)(13)
  11. Need A Javascript To Enable / Disable Buttons(2)
  12. Web-based Ftp Client(10)
  13. Acer Arcade Software(13)
  14. Best Free Forum Software(12)
  15. Bluetooth Software(5)
  1. Spybot Recommended(4)
  2. Checking Without Loading(1)
  3. Type Checking Not Work On For .. In Loop(2)
  4. Linux Software Installation Help(2)
  5. Great Software For Building Flash Web Sites(1)
  6. Automatic Typing Script(3)
  7. Software Kvm(4)
  8. Remote Desktop Software(7)
  9. [fl]snow Effect(4)
  10. Blackberry Software(2)
  11. Need A Free Graphic Design Software? Try Paint.net!(13)
  12. How To Validate The Login Form Using Php Pcre(0)
  13. How To Design The Popup Menu Item Using Javascript(1)(0)


 



- Lo-Fi Version Time is now: 22nd November 2008 - 04:59 PM