Hey all,
Finally I have managed to finish my first project with php & mysql, which I called Easy Invoice.
The project still in beta phase, and need some testing and enhancement to be ready to use.
Easy Invoice is a simple billing system that aims to help small companies and shops to track their sales invoices.
The system was developed using php & mysql, and needed nearly three weeks to be completed.
Project link at Source forge
And this is the demo site
User: demo & Pass: demo
Finally, here you can go through the code online
I can't wait to hear your thoughts and comments about it.
Regards.
10 replies to this topic
#1
Posted 11 June 2011 - 09:01 PM
|
|
|
#2
Posted 15 June 2011 - 07:16 PM
Cool!
BTW If I put a ' in a invoice it gets slashed :(.
BTW If I put a ' in a invoice it gets slashed :(.
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
#3
Posted 16 June 2011 - 02:20 AM
hey,
nice catch,
I think the problem caused by mysql_real_escape_string() function, which aims to prevent SQL Injection.
I'll look into it, and try to find a solution.
nice catch,
I think the problem caused by mysql_real_escape_string() function, which aims to prevent SQL Injection.
I'll look into it, and try to find a solution.
#4
Posted 16 June 2011 - 02:26 AM
You've (or he does have) magic quotes enabled, this will automatically escape form variables and cause mysql_real_escape_string to escape twice without knowing.
You should create your own escape function, i.e.
Note that this "feature" will be removed in PHP 6 releases
You should create your own escape function, i.e.
function myEscapeFunction($string) {
if(get_magic_quotes_gpc() == true) {
$string = stripslashes($string);
}
return mysql_real_escape_string($string);
}
Note that this "feature" will be removed in PHP 6 releases
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#5
Posted 16 June 2011 - 07:50 AM
Thanks Alexander,
By saying 'magic quotes enabled'? do you mean in PHP configuration ?
By saying 'magic quotes enabled'? do you mean in PHP configuration ?
#6
Posted 16 June 2011 - 05:58 PM
Yes, you can read about it on the PHP manual:
PHP: Magic Quotes - Manual
It was a controversial feature to automatically escape for you when enabled on certain installations, although this causes double escaping as mysql_* functions are not aware of its existence. This is due to be removed later on although we have not gotten there yet.
PHP: Magic Quotes - Manual
It was a controversial feature to automatically escape for you when enabled on certain installations, although this causes double escaping as mysql_* functions are not aware of its existence. This is due to be removed later on although we have not gotten there yet.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#7
Posted 17 June 2011 - 02:44 AM
Thanks Alexander,
I'll do,
I'll do,
#8
Posted 30 June 2011 - 06:23 PM
:) Purchase a couple of cakes...
Please...
I need the $$$...
Please...
I need the $$$...
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
#9
Posted 01 July 2011 - 02:33 PM
Well do :)
#10
Posted 27 July 2011 - 04:20 AM
looks good
if you don't fill in all the fields when adding an item, it says "INVLAID INPUT" instead of "INVALID INPUT".
if you don't fill in all the fields when adding an item, it says "INVLAID INPUT" instead of "INVALID INPUT".
#11
Posted 28 July 2011 - 04:00 AM
thanks wwarren,
good catch, and it will be fixed. ^^
good catch, and it will be fixed. ^^
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









