[Phpmyadmin-devel] proposals: Refactoring: Insert/edit, Privileges, Operations, Structure
nandu
nandu130 at gmail.com
Sat Mar 31 12:19:32 CEST 2012
PHP code mixed with HTML tags will basically cause crash, "strip_tags" to
strip every html and php tags
in $var, every characters after "<" is removed.
i think strip_tags() is mixed up.
we often get error:tbl_replace.php: Missing parameter when adding i.e.
entries into mysql from within
phpmyadmin chences of having issue with cookies on the system, i.e.if
disabled cookies in the browser
this can be changed.
Instead of using the elseif statements code can be reduced with
<script>
<?php
switch($anyval){ ?>
$(document).ready(
function (){
<?php case 1: //?>
<?php case 2: //?>
<?php case 3: //?>
})
<?php }?>
</script>
wecan either use the static method in the code in order to improve the
efficiency.
another point I would like to ask what if we use the complete pathname with
require and include, it will be much faster.
thanks
On Fri, Mar 30, 2012 at 10:44 PM, nandu <nandu130 at gmail.com> wrote:
> thanks for the reply sir
> this is just my rough idea what i posted earlier, I am willing to work in
> that direction
> can u comment on that part.
>
> On Fri, Mar 30, 2012 at 9:04 PM, Dieter Adriaenssens <
> dieter.adriaenssens at gmail.com> wrote:
>
>> On 30/03/2012 16:42, nandu wrote:
>> > hello, I am a Masters student of computers applications from NIT bhopal,
>> > India
>> > i am gud with php mysql, css, jsp, AJAX,html, as an application
>> > developer keen
>> > interested in software engineering Vb6, .Net framework etc
>> >
>> > I would like to add that in replacement of
>> > $row_table_def['True_Type'] = preg_replace('@\(.*@s', '',
>> > $row_table_def['Type']);
>> > we can use the str_replace which is faster then preg_replace since it
>> > will be more faster in
>> > simple cases which are used frequently.
>> > also there are multiple if else statements which can be replaced by
>> > select statements
>> > which will be more efficient, the code should have more derived classes
>> > since
>> > it works more faster than the base one.
>> > Sir I am expecting some guideline plz help me to work forward..
>> > thanks
>> >
>>
>> Hi,
>>
>> Thanks for your interest in GSoC 2012.
>>
>> Did you have a look at the guidelines for GSoC applicants [0]?
>> It will give you more information about submitting your application and
>> providing a patch solving a bug or implementing a feature request in
>> phpMyAdmin, you can also try to solve the last item in our contest [1].
>>
>>
>> [0] http://wiki.phpmyadmin.net/pma/GSoC_2012_Applicant_Guide
>> [1] http://www.phpmyadmin.net/home_page/contest.php
>>
>> --
>> Kind regards,
>>
>> Dieter Adriaenssens
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Phpmyadmin-devel mailing list
>> Phpmyadmin-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>>
>>
>
>
> --
> Nandlal Ahirwar
> MCA, II yr
> Maulana Azad National Institute of Technology, Bhopal
> India
>
>
--
Nandlal Ahirwar
MCA, II yr
Maulana Azad National Institute of Technology, Bhopal
India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120331/4f6cf79d/attachment.html>
More information about the Developers
mailing list