Stats: 3,190,106 members, 7,939,464 topics. Date: Wednesday, 04 September 2024 at 06:22 AM |
Nairaland Forum / Science/Technology / Webmasters / Protected Php And Mysql Script (839 Views)
How To Create Birthday Table/form In Php And Mysql? / Form Validation Tutorial Using Javascript, Php And Ajax! / Writing A Time Based Expiration Script Or Function Using Php And Mysql (2) (3) (4)
Protected Php And Mysql Script by ajaxphp7: 12:29pm On Sep 24, 2010 |
Please, I really need you people's advice here. I just finish a demo of a site for a client which am not serving as d direct agent but a web development company is. The company actually asked me to do a demo of the site as it is fully done with Php and Mysql database. They want me to give the demo to them so that they can use it to fully gain the project involve. But, i am seeking you peoples advice because I am afraid my codes can be used and I am dumped along the line. How can I protect my codes from it being used? Has any of you done such a thing before. Please I will need to learn from the past experience. |
Re: Protected Php And Mysql Script by DualCore1: 12:49pm On Sep 24, 2010 |
Use an encoder. You have Ioncube, Zend e.t.c before encoding it, tie the script to the domain it will be running on by adding the following to a file e.g config.php. Include this file in all pages of your script $domain = $_SERVER['HTTP_HOST']; if(!preg_match("/the-domain.com/", $domain)){ header('Location: http://www.sawyerrken.com'); } so if the script isn't running from "the-domain.com", you will be redirected to my site "sawyerrken.com" once you try to run it. ofcourse i'll expect you to change "the-domain.com" to the domain name it will be sitting on and if you like no change my site name o, more traffic for your boy ![]() also add an expiry. $month = date("m" ![]() $expiry_month = 10; //october if($month >= $expiry_month){ die("Temporarily out of service. We will be back!" ![]() }; with this, the script will die after october (From november 1) ![]() |
Re: Protected Php And Mysql Script by Nobody: 3:28pm On Sep 24, 2010 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Protected Php And Mysql Script by donline: 5:47pm On Sep 24, 2010 |
u are telling him as if he is a guru but d guy is still learning ![]() ![]() ![]() |
Re: Protected Php And Mysql Script by DualCore1: 6:29pm On Sep 24, 2010 |
Its not rocket science or babe chemistry. Life is all about learning, we stop learning when we stop living. |
Re: Protected Php And Mysql Script by sayhi2ay(m): 7:36pm On Sep 24, 2010 |
you can encrypt all your code file, have another text file containing a key on your server, every time the app gets called, it'd need your key for decryption, and in turn decrypt the encrypted file so it can make sense to the server |
Re: Protected Php And Mysql Script by Nobody: 8:00pm On Sep 24, 2010 |
@Donline. Non of those code he dropped, have never been used by me! Code 1. Sever code(Just about the syntax with working with POST, REQUEST and Co) and header function which directs to his site! I have used that for my login system b4! Code 2. He worked with date. But i have never used them in this context, so when i need to hide my code(Kind of like avoid steal and dump), i simply remembers Dual's Approach! Does it make him a Guru or not a Guru ![]() ![]() ![]() ![]() |
Re: Protected Php And Mysql Script by donline: 8:28am On Sep 25, 2010 |
am not saying he is guru or not when explainning things 2 people he should stated it clear thank |
Re: Protected Php And Mysql Script by DualCore1: 9:39am On Sep 25, 2010 |
donline: With all due respect, you may leave my codes alone if you have refused to understand them. They were in no way intended for you and until this moment I still haven't seen anyone complaining about a lack of understanding of the codes I have written and properly documented here. If however you want to make use of what I have written and can't for lack of understanding of the functions I have used, do well to ask questions and don't try to raise dust where there is no sand. |
Re: Protected Php And Mysql Script by Nobody: 11:12am On Sep 25, 2010 |
Let me tell you something donline. I have no issues with you, but you are confused. You brought up Guruhood stuffs. When i challenged you, you are now talking of code explanation. Let me talk on that. Dual Core and many Nlanders, who share codes, know the users they explain to. And at what dept. If Dual is sharing something with DHTML he would not need to explain what print<<< does! or even anything. But to Ofodu, yes he will explain many lines! ![]() ![]() ![]() ![]() Bottom line: The poster needs just the codes and i bet he understands it. PHP and many other languages have English in them. If the poster needs explanation, he will call for! |
Re: Protected Php And Mysql Script by Nobody: 11:49am On Sep 25, 2010 |
donline:Na wa oh. you mean all that dc wrote is not clear enough? |
Re: Protected Php And Mysql Script by donline: 3:51pm On Sep 25, 2010 |
ok why can 't I coded what he posted just 4 the baby developer i mean mo ti gbo ooooooooooooooo |
(1) (Reply)
Multilingual Website Development / Interesting Way To Launch A Website / Best Gsm Internet Connection
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 18 |