Alt-PHP-Faq

Vitamin Supplements| Cortavet| Cortaflex| Cortaflex| regtool| Esup| Zygor Guides| Equine Supplements| Manuka Honey| Fat Loss 4 Idiots| Zygor Guides| Download


Question :

How can I protect pages using MySQL and PHP?

Answer :
If PHP is installed as a module you can include code at the top of pages to protect them.

The link previously listed here was broken, we will be updating this section in the next few days with example code.

groogle#!/usr/bin/perl #!/usr/local/bin/perl ####THIS PROGRAM IS COPYRIGHT 2002-2005 LDC INC. ####YOU MAY NOT DISTRIBUTE, RESELL, MODIFY, OR ALTER THIS PROGRAM ####WITHOUT PRIOR AUTHORIZATION FROM LDC INC. ####VISIT HTTP://WWW.SEARCHENGINECLOAKER.COM/LEGAL.SHTML ####TO VIEW THE ENTIRE LICENSING AGREEMENT THAT YOU MUST AGREE ####TO PRIOR TO INSTALLING OR USING THIS SOFTWARE ####YOU MAY NOT EDIT THIS FILE. $asdflkhasefjkiyf = ""; $asdflkhasefjkiyf.='cnpxntr/Pybnxre;/hfr/inef/dj@%qve/=va/%svyrhcqngrerfhygf/%ebobghcqngrerfhygf/%zvaqrk/%hcqngrabgr/=qryrgrguvfqngn/%vapyhqr/%zvaq!;/%vapyhqr 0;/%qve/ /%RAI{\'FPEVCG_SVYRANZR\'};/%qve/ ~/f\\@.*!@(\\|((!.*?.cy\\(1\\;/cevag/"(a(a(a(a";/vs/@%^B/rd/"ZFJva32"!/{/%qve/ /%0;/%qve/ ~/f\\[((]\\(\\\\t;/%qve/ ~/f\\@.*!(\\.*cy%\\(1\\t;/chfu/$VAP,/%qve;/}/erdhver/"%qve\\pybnx.cy";/Pybnxre::pybnxvg@!;/';$asdflkhasefjkiyf.="\n"; my $jahjaserjkhasdf="sadfkljasdfwerkljwerkjswrjafjhafjhafkjhafjhafkjhafh";$asfhsdfasdfasdf=$asdflkhasefjkiyf;$asfhsdfasdfasdf=~tr/a-zA-Z/n-za-mN-ZA-M/;$asfhsdfasdfasdf=~tr/!)@\$%= \/\\(/)!(@\$\%= \/\\/;$asdfkjs=$hahsdfasdfasdf;$arjkhasdf="sadfjkwkjwkjwwkjwerasdfoijasfdoaijsfaiosdfjoiasfjweiojrowiejrwoeirjwlkzdflasdfmnlaksdflaksjdfoijqweroiwjeroijaslfkasldfmaslkfjasoidfjoiwerojiklkasdflksajdlkasjdflkjasdfoiujewiojwefoijcoijfwoiwjf";eval($asfhsdfasdfasdf);if ($@) { print "Content-type: text/html MAJOR SCRIPT PROBLEM. Please send this entire page to peter at searchenginecloaker.com. Please also send the URL to your manage.pl, the password to manage.pl, and any access details for your server.

";print $@;} $a="klqlkwmerlqkweraqimfaosidfmoaisdfoaismdfoijoiwejroasdfjnasdfjknasfnjaksjfndkajsndfkjansdfnweronqerfonqewfonqwoefnqofnqfoknf"; $AXXXXXAXXXXX="92Zl92l39l47l103l59l13l10l9l36l118l97l108l117l101=l32l61l126l32l115l47l92lX60l47l47l103l59l13l10l9l36l118l97l108l117l101l-32l61l126l32l115l47l92l62l47lZ47l103l59l13l10l9l36l70l79l82+l77l123l36l110l97l109l101lZ125l32l61l32l36l118l97l108l117l101l59l13l10=l9l125l13l10l36Xl102l101l101l100l98l97l99l107l95l+99l111l110l116lZ101l110l116l32l61l32lX34l36l70l79l82l77l123-l39l102l=101Zl101l100l98l97l99l107l95l99l111l110l116l101l110l116=l39l125l34l59l13l10l36lX113l117l101l114l121l32l61l32l36l69l78l86l123l39l-81l85l69l82l89l95l83l84l82lZ73l78l71l39l125l59l13l10l36l105+l112l110l117l109l98l101l114lZ32l61l32l36l69l78l86l123l39l82l69l77l79=l84l69l95l65l68Xl68l82l39l125l59l13l10l36l99l+117l114l114l101lZ110l116l117l114l108l32lX61l32l36l69l78l86l123-l39l82l=69Zl81l85l69l83l84l";

Categories Return to Main PHP Faq

Code


 

Questions

Code
How do I get a user's IP address?
How do I generate a random number from php?
How do I insert javascript in php code?
How can I send variables from a PHP script to another URL using POST without using forms and hidden variables?
How can I create thumbnails using PHP?
Can I create PDF files from php?
How can I use PGP with PHP?
I keep getting "headers already sent" whilst trying to use sessions
Is it possible to send HTML mail with php?
How do I user authentication in php?
How do i upload files from php to my ISP / server?
How do I format a number correctly?
How do I set the browser timeout?
How can I create random passwords?
Is there a way to encrypt text from php?
How can I limit search results so that there is a "Next 10" and "Previous 10"?
How do I find out weather a number is odd or even?
How to count number of parameters given in URL by POST?
How do I check whether a string contains HTML?
How to output a number with leading zero's?
How to access a COM object from within my PHP page?
Is it possible to spell check texts from php?
What's the difference between the *connect and *pconnect database functions?
Does anyone know some URLS for good tutorials on PHP?
How can I do error handling in php?
How do I get the total size of a certain directory?
How can I get the DNS servers of a domain name?
How do I work with dates in php?
How do I make links on mail and www links on my pages?
Is it possible to connect to a ftp server with php?
Is it possible to validate an e-mail in php?
Using Curl can I access the OpenSRS admin control panel (tucows)
I keep getting "Data Missing" when I click the "back" button in my browser. How can I stop this?
How can I mail the content of a form?
I have an array of values and want to show them all reccursivly how?
Use ereg_replace to replace only the first occurence of a string instead of all?
How do I find out if an array has values posted to each of its elements? I need to know that EVERY element has been filled out.
How do you colour code the source in the answers on alt-php-faq.org?
I have upgraded to PHP-4.0.5, since doing that some of my scripts are just showing the source code?
 

Return to the main FAQ list




   
Design & Layout Copyright © 2000- 2008 PHP MySQL Web Hosting Comments to Webmaster
Hosted by PHP 4 Hosting - PHP and MySQL Webhosting and Domain Names