Re: [PHP] encryption
I agree... MD5 is the best way to store passwords... you only store the md5 hash of the actual password, then when the user logins you have to compare the stored hash with the md5 hash of password the user uses to login! cheers, Valter Santos - Original Message - From: Brian Clark [EMAIL PROTECTED] To: PHP is not a drug. [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 2:48 PM Subject: Re: [PHP] encryption * Justin French [EMAIL PROTECTED] [Dec 06. 2001 07:33]: Can someone give me a brief over view of how to encrypt a password and store it in a MySQL DB, then be able to validate thier plain text password on login against the encrypted one on the DB? An alternative is to just store an Md5 of the password and not the actual password. http://www.php.net/md5 -- -Brian Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Minimum Apache CD-ROM root
running apache from a distro CD mm! I suppose you can't :( why you don't build a static version of your PHP application??? it's far easy... there are some utilities for done it :) do a search in google cheers, Valter Santos - Original Message - From: John Monfort [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 4:21 AM Subject: [PHP] Minimum Apache CD-ROM root Hello all, I'm writing a PHP application that will run on a cd-rom. I have two questions: 1) Apache Server I wanted to add the apache server on the disk. What are the minimum files that I need, for apache to run? i.e. apache.exe httpd.conf etc. 2) Configuration File PATH In the apache configuration file, the ServerRoot asks for a absolute path. Is there a Window's (system) Variable to shows the current directory? I'm hoping for something like ServerRoot DirPath/Apache/ So that, apache would run correctly, regardless if the CD-ROM drive is D: or F: or any other name. Any Ideas? If you have any suggestions on a small, portable, browser with PHP suport, then please let me know. Thanks in advance. __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The world is waiting, are you ready? -+___+- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Printing Reports
what type of reports ??? if you really want to print it using a common printer i suggest that you go for PDF... if your type of reports are server log reports you can use GD or ImageMagick and display it using HTML cheers, Valter Santos - Original Message - From: Dan Koken [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 11:00 AM Subject: [PHP] Printing Reports As a Newbe to PHP, I need to print reports. I'd like to stay away from PDF but will use it if necessary. In general, what seems to be the best way to print reports?? It would be nice when they ask for a report it would brint in the report window that allows them to select the printer, number of copies, print quality etc. Thanks for your help... Dan. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] PHP and Perl
try use redirections. e.g, call your php script that redirects to your pl script with all required parameters that redirects for a resulting php script... arrrgg but i think the better way is to convert everthing to PHP or Perl Cheers Valter Santos WEB/WAP Consultant -Original Message- From: Jarosaw Jankowski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 04, 2001 8:35 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP and Perl Hi, I have something like this in the script : ? header("Content-Type: application/force-download"); header("Content-Disposition:filename=$clientname.xls"); set_time_limit(180); passthru("d:\\perl\\bin\\perl.exe test2.pl $var \"$query\" \"$query1\""); exit; ? Perl script is generating Excel file. My question is : How to do it in PHP (maybe javascript) that after sending data to this script first I will have window with something like " Wait, generating file" and when perl script is done another window with link to generated file? Any suggestions ? Thx in advance. jarek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Refreshing php.ini without restart...
apache graceful command will restart the server altought it will wait until all web server sessions are finished to restart Valter Santos WEB/WAP Consultant -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED]] Sent: Friday, August 31, 2001 8:48 AM To: Raphael Pirker Cc: PHP Subject: Re: [PHP] Refreshing php.ini without restart... I can only speak for apache... == apachectl graceful Raphael Pirker wrote: Hi, i just moved my PHP project from my local PC to the online webserver and I will need to do a few adjustments to the server. since the server is used by all the employees in the company, there is no chance I can reboot it without prior notice... my question: is there any way I can refresh the changes I make in php.ini without doing a reboot? TIA, Raphael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] The future of PHP
In this company, they have choose Microsoft stuff because they think it is the right choice for what they do. For some things, PHP could be a better choice, but it would be hard to convince who is in charge above me because PHP does not benefit of a great credibility in the market that would help me to make a good case to switch to PHP. In the US (and perhaps in the rest of America), that's relatively true. That's not the case in Europe or the far east. It has a lot to do with mentality and corporate culture. I really disagree with you Zeev. I am from Portugal, Europe, and here the idea of Microsoft is the best still exist! Hope this change in the near future! Cheers Valter Santos WEB/WAP Consultant Email : [EMAIL PROTECTED] Mobile: +351 93 9650075 WeDo Consulting - http://www.wedo.pt -Original Message- From: Zeev Suraski [mailto:[EMAIL PROTECTED]] Sent: Friday, August 31, 2001 1:54 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] The future of PHP At 01:40 31-08-01, Manuel Lemos wrote: Whoever hears you may even believe that Microsoft products and supporting sites are successful because they don't have flaws. Sorry, but honestely this sounds like an excuse for not doing it. Microsoft chooses which sites it links from microsoft.com *very* carefully - a very small select number of sites gets connected to it, and usually only for specific purposes (e.g., a specific article). If you draw a comparison to the PHP world, you actually proved my point. The problem is not PHP-GUI capabilities being able to compete with other languages. The problem is that you seem to be willing to omit them when you present PHP as if it is something you don't want PHP be known for. I actually mention PHP-GTK in my sessions. I mention it as an anecdote, much like I mention some of the other interesting modules and projects in PHP (e.g., PEAR). I'm really not sure why people think I'm trying to bury PHP-GTK. Just because I don't see PHP-GTK as a main course of PHP, doesn't mean I don't think it's an important and useful project. In this company, they have choose Microsoft stuff because they think it is the right choice for what they do. For some things, PHP could be a better choice, but it would be hard to convince who is in charge above me because PHP does not benefit of a great credibility in the market that would help me to make a good case to switch to PHP. In the US (and perhaps in the rest of America), that's relatively true. That's not the case in Europe or the far east. It has a lot to do with mentality and corporate culture. This is my most important point: to make PHP a credible well known solution in all markets that it could be used with advantage. I don't think you'd find anybody who would argue with you about that. Zeev -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Refreshing php.ini without restart...
you really do not to have to rebbot your server... Just restart apache with the graceful action... apache graceful Valter Santos WEB/WAP Consultant -Original Message- From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]] Sent: Friday, August 31, 2001 7:08 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Refreshing php.ini without restart... i just moved my PHP project from my local PC to the online webserver and I will need to do a few adjustments to the server. since the server is used by all the employees in the company, there is no chance I can reboot it without prior notice... my question: is there any way I can refresh the changes I make in php.ini without doing a reboot? I assume you're running PHP on a Linux box.. You should be able to restart apache.. even on NT you could stop and restart the service. Bye, B. /\ \ / ASCII Ribbon CampaignX Against HTML Mail and News / \ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] The future of PHP
Zeev, I agree with you! Valter Santos WEB/WAP Consultant -Original Message- From: Zeev Suraski [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 1:21 AM To: Valter Santos Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] The future of PHP At 03:11 03-09-01, Valter Santos wrote: In this company, they have choose Microsoft stuff because they think it is the right choice for what they do. For some things, PHP could be a better choice, but it would be hard to convince who is in charge above me because PHP does not benefit of a great credibility in the market that would help me to make a good case to switch to PHP. In the US (and perhaps in the rest of America), that's relatively true. That's not the case in Europe or the far east. It has a lot to do with mentality and corporate culture. I really disagree with you Zeev. I am from Portugal, Europe, and here the idea of Microsoft is the best still exist! It will continue to exist for a long while in the minds of many people. That's just the way things are - you never get anywhere near 100% of the people supporting you. The question is whether in Portugal, you feel that going with a non-Microsoft solution means a complete up-hill battle or not. I can tell you that in general, companies in Europe appears to be more open to open-source solutions much more than ones in the US. Of course, Europe is comprised of lots of different countries, and each country has lots of different companies, so your mileage may vary. Zeev -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Can PHP and Java work together?
Of course you can do that! PHP is server side and javascript is client side... you can work with javascript within PHP like you work with HTML! Valter Santos WEB/WAP Consultant -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Friday, August 31, 2001 9:13 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Can PHP and Java work together? Dear all I want to ask if i want to perform two task after the user had click a button, 1 is the task perform by PHP 2 is the task perform by JavaScript is it possible to do so? I'm actually fresh on JavaScript, before i would call the JavaScript, what should i do first or what should i set before though? Thx Jack [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
FW: [PHP] Running two scripts from HTML
Hi! use script1.php only to call the two scripts, let's say, script2.php and script3.php... script1.php should pass the arguments to the other scripts... other way to go is to merge the two scripts in one... and run the code sequencially... Valter Santos WEB/WAP Consultant Email : [EMAIL PROTECTED] Mobile: +351 93 9650075 WeDo Consulting - http://www.wedo.pt -Original Message- From: Luis E. Suarez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 2:07 PM To: [EMAIL PROTECTED] Subject: [PHP] Running two scripts from HTML On an HTML page, I need to be able to do call two scripts from a submit link or button. So, I have a link like this: a href=http://www.mysite.com/script1.php?data=1;Click here/a Simultaneously at the click of the link I need to run a second script. What's the best approach? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
FW: [PHP] $B%8%c%9%H%$%s!L(B010522$B9f!M(B
yeahh! I like it too :) Valter Santos WEB/WAP Consultant Email : [EMAIL PROTECTED] Mobile: +351 93 9650075 WeDo Consulting - http://www.wedo.pt -Original Message- From: Infomation Service [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 2:45 AM To: [EMAIL PROTECTED] Subject: [PHP] $B%8%c%9%H%$%s!L(B010522$B9f!M(B Just in MAIL$B!Z>?=P4jCf![(B $B(6(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(B 2001/05/22$B!J2P!K(B $B(,(6(B $B!z!z(BJUST IN MAIL$B9-9p%Z!<%8!z!z(B $B!!!ZFCA*>pJs![(B ___ $B!z%l%s%?%k%*%U%#%9%*!<%W%s!&9b@_Hw!"7c0B2HDB(B $B!!8=:_F~5o
RE: [PHP] Solution for PHP - IMAP - WAP ?
Hi Nikolajsu and PHPers! I am now working in a complete solution for Web/WAP/PDA, with content management + portal services (chat, forum, email, etc...) But I think that you will have to wait until July 2001 for the first public release. The solution is a complete platform for deploy a Portal or Site in all the available protocols but managed only by a powerfull backoffice solution. For now, it will support HTTP (Web/WAP), SMS, MMS, SMTP, IMAP, LDAP, and so on... For all of you that want to became beta testers please replay to me! Best regards! Valter Santos WEB/WAP Consultant -Original Message- From: Nikolajus Krauklis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 11:54 AM To: [EMAIL PROTECTED] Subject: [PHP] Solution for PHP - IMAP - WAP ? Hi, Maybe somebody knows solution for PHP IMAP and WAP? How hard will be complete this products? - Nikolajus Krauklis :: [metasite] E-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Can I install Lihnux on My Windows 95 machine ?
Of course you can run both win95 and linux in the same machine! You can install linux on your F: drive and run a OS loader such Lilo at startup (lilo is installed with your linux distribution)! Go ahead... install Linux!!! BTW, there is a Apache version for Windows! Valter Santos WEB/WAP Consultant Email : [EMAIL PROTECTED] Mobile: +351 93 9650075 WeDo Consulting - http://www.wedo.pt -Original Message- From: Manisha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 2:10 AM To: [EMAIL PROTECTED] Subject: [PHP] Can I install Lihnux on My Windows 95 machine ? Hi all, I am having my own personal computer running on windows 95. I have C / D / E / F / G drives with FAT 32 file system with lot of information on it. I can format one drive out of these. Can I install Linux on it ? (i.e. format F:\ and load Linux). Later on I want to load Apache also on it. Is it feasible ? Any information about this on web ? If I format one drive and load Linux whether other drive info will get affected ? manisha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Decrypt Function?
Is there any way to decrypt dat encrypted using the crypt function? If not, then what purpose does that function have? Encrypt data! ;) crypt is a one-way finction, it produces a hash from some plain text, and its result is suitable to store sensitive data in database, like passwords... If you want to store information that you want to get back to the initial state (plain text) you should not use crypt() or md5()... If you only want to store encrypted passwords crypt is enought.. When you want to confirm that a inputed text is equals to the stored and encrypted password, you just have to encrypt the inputed text and compare it with the previously stored password... Valter Santos WEB/WAP Consultant Email : [EMAIL PROTECTED] Mobile: +351 93 9650075 WeDo Consulting - http://www.wedo.pt -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 10:44 PM To: PHP Subject: [PHP] Decrypt Function? Is there any way to decrypt dat encrypted using the crypt function? If not, then what purpose does that function have? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Resource for PHP and other technologies
The site is very cool, narsu!!! Congratulations, and keep the good work! Valter Santos WEB/WAP Consultant Email : [EMAIL PROTECTED] Mobile: +351 93 9650075 WeDo Consulting - http://www.wedo.pt -Original Message- From: narsu [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 10:35 PM To: [EMAIL PROTECTED] Subject: [PHP] Resource for PHP and other technologies I developed this site http://www.hytes.com for techical resource for developers. Please take a look and let me know your feedback. Thanks Narsu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] sending SMS messages via PHP
Hi! Instead of send a direct SMS to a SMSCenter you can send the message as an standard email... Many Cellcos allow that, and it will be cheaper to you (no cost!!!) Here in Portugal we can do it... we just use the MSISDN (phone number) from who we want to send and sms and append the cellco mail server... As an example, to send a SMS to me, you can send a email to [EMAIL PROTECTED] this, probably will work... the mail user alias is my phone number and the server domain is the Cellco' mail server ~ hope this help Valter Santos WEB/WAP Consultant Email : [EMAIL PROTECTED] Mobile: +351 93 9650075 WeDo Consulting - http://www.wedo.pt -Original Message- From: Michael Smith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: [PHP] sending SMS messages via PHP I can easily send standard email messages via PHP. Does anyone know how to send SMS messages? -- Michael A. Smith [EMAIL PROTECTED] Director of Data Systems, wcities.com ICQ: 35884415 :wq -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]