[PHP] selling country domains
hello friends, i know this is a php list but i am confused thats why i am asking a bit off topic.i have few .be domains and now i want to sell ,but i donot know where to sell them.can you tell me the name of sites where i can sell my .be domains.all domains are keyword rich and bears commercial value. my domains collection include domainaffiliates.be hideurl.be onlysoftwares.be search-egine-optimisation.be web-developement.be website-designing.be text-links.be batchmates.be xtremewebhosting.be seoservice.be ipbhosting.be vbhosting.be autoget.be technologyguide.be assemblers.be askguru.be webmastersfriend.be internetriches.be helpdeskreviews.be techarticles.be blog-link-generator.be buyselldomains.be searchenginefriendlyurls.be mod-rewrite.be websecurityservices.be phpbbseo.be ipbseo.be vbulletinseo.be seoindia.be seoconsultant.be i want to sell the above name,can u tell of the name of few sites where i can sell these names.
[PHP] protecting a directory
hello, i want to protect a directory using php username and password authentication.the username and passwords will be stored in .htpasswd file.but the problem is that how to make user to enter passwod before giving the rights to view directory. is there any script like this.or can anybody help me out. thanks, Jenny.
[PHP] is it possible.
hello group, i have a problem and hope anybody here will be able to hep me out. i have a downloads folder in my server which contains all the files in zipped form to be downloaded by members.members are authenticated by entering username and password.and when they click to download the files ,they are forwarded to the the full file url by using header function of php.But the problem is that ,when the users click once to download a file ,they can see the whole url and so next time they can easily download the file by entering the full url in the browser ,so there is no use of authentication next time and this leads to bandwidth theft and the urls of files are circulating in the emails and users are downloading the files without becoming the user of the site and without authenticating themselves.I know there are many professionals in this group who are very experienced and have helped me earlier.this is a very serious problem and i need a solution to this.What are your views? Is there any solution for it? waiting for your replies. Thanks, Jenny
Re: [PHP] is it possible.
i used following code for downloading file.whenever the members cicked the file for downloading ,the download request (with the variable containing file id) was send to download.php .The download.php on recieving the file id fetches the url of the fileand redirects to the file url using Header(location:$url); where $url is the full url of file such as http://www.abc.com/downloads/file1.zip. so finally the url is exposed to the members who circulates the url in mails and everybody downloads the files.I want that only members can download the file.is http://file.is there any solution. On 7/29/05, André Medeiros [EMAIL PROTECTED] wrote: When deppending on authentication, never link the files directly. You can create a download.php file that gets an ID through the URL, checks if the user is authenticated and then read the file. You will need these functions: http://pt.php.net/file_get_contents http://pt.php.net/header Header() is to send the mime type, and file_get_contents is to read the file's contents (DOH). If you run into trouble, you can (in the order given ;): 1) Read the user's comments on both functions. They're pretty helpful sometimes 2) Mail the ML :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] searchbot script
hello group, is it possible to make write a program in php ,so that only search bots can see the output of that program.i mean to say that a program echoes a line at the footer which only search bots can see,it will be invisible to general visitors.
Re: Re[2]: [PHP] comparing two texts
Today's newbie is tomorrow's Programmer. Some day she'll maybe write that script she deemed impossible today, and contribute it back to the community. Or maybe she'll some day add a PHP Module to interface directly to diff somehow. Thanks Richard, for the motivation, and thanks to the group as well for the crude php code. i am working on this problem now. To tell you the truth i am a c programmer but now i have moved to php. At first i thought that asp will be best to experiment but after doing some research i found that asp is moving towards a slow death.So friends, finally i am in php community.Let me confess,i am not very experienced in php ,but very soon i will be as experienced as you are (of course i will need your help).
Re: [PHP] comparing two texts
Untested, very crude: ?php $maxlen = max(strlen($text1), strlen($text2)); for ($i = 0; $i $maxlen; $i++){ if (@$text1[$i] == @$text2[$i]) echo @$text1[$i]; else @echo font color=red$text1[$i]|$text2[$i]/font; } ? donot you think you program will just bring the server to its foot ,if the text message encountered is very large of order of 40 KB or larger.ishttp://larger.isthere any other efficient method.
Re: [PHP] comparing two texts
so,what what should i conclude .it is not possible to compare two texts and hight the difference at this moment. thanks. Yours , Jenny On 6/19/05, Robert Cummings [EMAIL PROTECTED] wrote: On Sun, 2005-06-19 at 12:33, M. Sokolewicz wrote: Robert Cummings wrote: On Sun, 2005-06-19 at 09:22, M. Sokolewicz wrote: jenny mathew wrote: Untested, very crude: ?php $maxlen = max(strlen($text1), strlen($text2)); for ($i = 0; $i $maxlen; $i++){ if (@$text1[$i] == @$text2[$i]) echo @$text1[$i]; else @echo font color=red$text1[$i]|$text2[$i]/font; } ? donot you think you program will just bring the server to its foot ,if the text message encountered is very large of order of 40 KB or larger.is http://larger.ishttp://larger.isthere any other efficient method. 40KB isn't large... now, when you're talking about hundreds of MBs of text, then it gets large :) 40KB, with that method, is nothing... It's a bit of a dirty hack though. If I compare a 2 character text against a 40k text, the error handler will be invoked (39998 * 3) times if $text1 is the 2 byte string. That's extremely inefficient. I don't think I've ever seen error suppression abused so badly to prevent writing an extra line or 2 using isset(). Cheers, Rob. I agree with what you said fully; however, even though that's the case, and it indeed could be written a lot faster and cleaner, it would not pose a problem on most systems. That was the point I tried to make ;) Oh absolutely, 40k is tiny :) Just never seen error suppression used for such mundane processing. Now if we up it to 2 chars and 5 megs :) With a custom user space error handler in the background... ugh. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] comparing two texts
hello group, is it possible to compare two different text messages and highlight the difference in php. i mean to say that $text1=message 1 $text2=message 2 i want to compare both $text1 and $text2 for differences and highlight the differece in php.is it possible. waiting for your reply. thanks. Yours, Jenny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] comparing two texts
i want to compare two text fetched out of database and echo the result on the webpage.i want to do it in php language and i donot want to compare two text files ,i wanna compare two text messages (that is fetched out from database). thanks. Yours, Jenny. On 6/18/05, Jochem Maas [EMAIL PROTECTED] wrote: jenny mathew wrote: hello group, is it possible to compare two different text messages and highlight the difference in php. i mean to say that $text1=message 1 $text2=message 2 i want to compare both $text1 and $text2 for differences and highlight the differece in php.is it possible. yes. is it easy? that depends on how far you want to go with diff'ing (and how good you are at string manipulation :-) this is a general problem which has been solved by very skilled people already, I would suggest reading some more about 'diff' etc and figure out if you can use existing tools to get what you want: http://www.gnu.org/software/diffutils/diffutils.html http://en.wikipedia.org/wiki/Diff waiting for your reply. thanks. Yours, Jenny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP CODE TO DISPLAY ISP
hello to all, i am making a website in php and i will appreciate if anybody can tell me the php code to :- (1)display isp name, (2) country of the visitor, (3)operatng system of the visitors. thanks, waiting for your reply. Regards, Jenny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php