Jump to content

Net123

Members
  • Posts

    118
  • Joined

  • Last visited

Posts posted by Net123

  1. There's no secure way to execute code provided by users. Show me your solution and I'll show you the way around it.

    Security issues aside, executing a user's code is as simple as passing a user-provided string to the eval() function.

     

    Edit: If you have access to the server, you can set up an account for each user and give them permissions only in a particular directory. In the SQL server you would have to set up an account for each user and only give access to certain databases. I'm not a system administrator, just a developer, so I don't know all the details about it.

    yes i known an way...

    but i really cannot say that's absolutely possible..

    getting php code from users via form and save it as a .php file can be a way ...

  2. hi guys I must need your suggestions....THIS IS MY PROJECT ... I wanna allow my users to run their php codes in my sub folders...and I am indexing their admin panel via Sql and php...I wanna place my ads on their every php page which created by my users...I wanna allow my users to use their sql space...HERE IS MY POINT WHAT I AM TRYING TO SAY...allowing users to run their php codes may be a very big drawback for my parent server and my other users...because an user can be a bad injector ..they can post like (exec() .............). and an user can attack parent sql server...I guessed an idea like re-scan and formatting their codes ...but it's absolutely impossible ..because php has hundreds and thousands of functions I cannot format their codes...I can create a account for them like shared hosting...if I done that I cannot track them ...I need your suggestions...ideas ... I am in a very big confusion...every problem has solution almost... I need your help guys... atleat give me a small tip as u known

  3. hello i learned php basics well..but now i want to become a professional programmer..but all professional programmers doing their projects in object model... but i know for create objects model inside the class and i dont know about how to made acomplete object model applications...i already googled about "object model applications in php"but i am thinking as it could be very hard for learn from those tutorials .... u have any ideas for learning from easy subjects ??i also cannot be learn from php.net..... can u give me your tips ....like from where u learned ???what are the main subjects in object models ??are u using any tricks in object models ????what i have to do for learning this object oriented programing???will video tutorials better for learning ??? are u a professional programmer ???can u please tell me about from where can i get projects ?what are the pricing limits in programming ???

  4. OK, let me explain u. Let, www.wapwap.com is my site & www.mobmob.com is a toplist site. In mobmob.com, i can add my wapwap.com for listing in their site. So i will get a unique code from mobmob.com (like : "http://mobmob.com/?id=100"). I place that link in my site, so that visitor from my site can go to mobmob.com & mobmob.com can count how many clicks they got from my site.... But, If I use these two things like {{ <img src="http://mobmob.com/?id=100" /> or file_get_contents() }} , then they will not get any real visitors but they(mobmob.com) will count clicks when any user visits my site(wapwap.com). So, those clicks are fake. So, how can I protect this cheating on mobmob.com ?? Any Ideas ? Thanks.

  5. hello i am having problem from fopen... file_get_contents............ i wanna stop site's using my page .....b'coz i a wanna run toplist site...so when a site try to cheat me how can i protect my site ???how can i protect my site from fake clicks ????? the file_get_contents was running as real click how can i filter these kinds of clicks....is there anyway .....? advanced thanks for ur help.....

  6. You're asking how to order things? There's a field in the database that contains the sort order, where 1 is probably listed first. If you insert an item into the middle then it increases the sort order for all of the items after it. If you delete an item in the middle then you decrease the sort order for all of the items that were after it. You should use a pen and paper to draw out a list with the sort orders and figure out the algorithms to update the sort order when you add, delete, or move an item. When you move an item you get the old position and the new position and use those numbers to update the other items that need their positions changed also.
    yes i guessed this before but i am not sure 100 %....is they sorting orders also for "deleting" ?
  7. hello anyone could please explain me how they doing this ?AUTOLOGIN URLhttp://wapzan.com/au...ODYzN2M3/229700 MAIN EDITORhttp://wapzan.com/ed...k3M/root/395384 i having a doubt for a long time how they doing up this "how they ordering codes one by one "?i know they used mysql for order these kinds but what is their basic program for order one by onelike if there was in (Main EDITOR)1st code2nd code3rd code4th code if i tried a insert some codes before 2nd they moving all the things to afterwards ....they doing this again and again :boredom: really what was happening inside how they marking this orders ???

  8. YOU HAVE TO SHOW HERE WHAT ERROR YOU ARE GETTING FROM YOUR SERVERMOST OF THE ERRORS DEPENDS UP ON THE DATA RESULTS SO WE NEED IT.. here is some tipsthe page must be a .php extension for run every command which was called as <? ..opening and ?> closing tagsand use die...() functions for look up is this query was valid....and use mysql_num_rows function before while () statement so can be check if row empty of not..

  9. oh are u saying about the api of cpanel......if i used this cpanel apihttps://github.com/CpanelInc/xmlapi-php/blob/master/xmlapi.php andrequire_once('xmlapi.php.inc'); $xmlapi = new xmlapi('127.0.0.1'); $xmlapi->password_auth('root','password'); $xmlapi->set_debug(1); print $xmlapi->api1_query('accountname','SubDomain','addsubdomain',array('sub','domain.com',0,0,'/public_html/folder')) is it wil create subdomains in my server and will keep my dns ?

  10. oh yes i know but if he used the brute-hackingthen he can hacking one or more pages and he can delete my index.html pagebut he didn't he just renamed my old "index.html" file to "wala.html" and uploaded his "index.html" file so i am guessing the "hacking from another account" i think it could be possible from "premium account"the xtgem company not taken any action yet.. and no replies for me till now.they are not taking as that the hacker could hack almost every account in their server .........so i dont want for waste my time i am searching about new site.........

  11. i just wanna create folder's like "how cpanel submoain creator" i sit needs to add dns records ??i am not saying about how to create subdomain from web host manager "like account" my grammer could be little wrong b'coz i dont know much

×
×
  • Create New...