RE: [PHP] Protecting database passwords

2004-06-30 Thread zeus
> argh. just make the file readable by root and the user that runs > apache/php and you're done. Which unfortunately is installation specific. I.e., if I am distributing a program and want to install a file which the user modifies to contain the passwords, I have to direct the user to manually

Re: [PHP] Protecting database passwords

2004-06-30 Thread zeus
> Hashing ... but i guess he wants to protected the password > needed to access the DB not a PW stored in the DB. Yes, this is what I am concerned about, access to the file by local users on the server. Hashes won't help me. -Bob -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Thumbnail generation

2002-12-22 Thread Centaur zeus
Is there some common utilities recommended ? From: Rasmus Lerdorf <[EMAIL PROTECTED]> To: Centaur zeus <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [PHP] Thumbnail generation Date: Sun, 22 Dec 2002 21:07:35 -0800 (PST) You are going to have to depend on something. If yo

[PHP] Thumbnail generation

2002-12-22 Thread Centaur zeus
Hi all , i want to generate the thumbnail of an image but I want my php to be portable. How can I generate thumbnail without depending on php host configuration (like --with-gd) ? Thanks . Perseus _ The new MSN 8: smart spa

Re: [PHP] Easy News Script

2001-04-12 Thread Zeus
True but hehe I can't seem to do it witht he datetime thing. I'm not sure how am I going to insert the date and time into the mySQL database. - Original Message - From: Chris Anderson <[EMAIL PROTECTED]> To: Zeus <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent:

[PHP] Easy News Script

2001-04-12 Thread Zeus
I'm sure many of you heard of newsphp ? (the newspro-clone). Somehow I felt attached to it except that it doesn't use databases for its file storing. Does anyone know a good similar script (easy to setup) that uses mySQL?

Re: [PHP] Are calling COM applications a trojan?

2001-04-12 Thread Zeus
Honestly, I still don't get you. How can the client's Word not open if the script didn't make it open with COM. - Original Message - From: Hoover, Josh <[EMAIL PROTECTED]> To: 'Pierre-Yves Lemaire' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, 11 April, 2001 10:31 PM Subject:

Re: [PHP] Are calling COM applications a trojan?

2001-04-11 Thread Zeus
; At 04:57 PM 4/11/01 +0800, you wrote: > >Then, how can it open a words document on the client side? > > > >- Original Message - > >From: Delbono <[EMAIL PROTECTED]> > >To: Zeus <[EMAIL PROTECTED]> > >Sent: Wednesday, 11 April, 2001 4:32 PM >

Re: [PHP] Mail Function

2001-04-11 Thread Zeus
Check your SMTP settings. Its not a PHP problem anymore :) See if the mail that its sending is your email address and if the Sendmail\SMTP is properly configured. - Original Message - From: RealGM <[EMAIL PROTECTED]> To: Zeus <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]&g

Re: [PHP] Mail Function

2001-04-11 Thread Zeus
Try adding a if (!mail(blah blah, balh blah )) { echo "Mail not sent"; } if (mail(blah bal.)) { echo "Mail sent"; } Try these and subsitute what ever is in the mail() with your relevant information. - Original Message - From: RealGM <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [PHP] Are calling COM applications a trojan?

2001-04-11 Thread Zeus
Then, how can it open a words document on the client side? - Original Message - From: Delbono <[EMAIL PROTECTED]> To: Zeus <[EMAIL PROTECTED]> Sent: Wednesday, 11 April, 2001 4:32 PM Subject: Re: [PHP] Are calling COM applications a trojan? > Com Apps, are not called o

[PHP] Are calling COM applications a trojan?

2001-04-11 Thread Zeus
some sides :) -- David Chua aka. Zeus Founder, Frozened.com --

Re: [PHP] Inserting time + date entry into mySQL DB

2001-04-10 Thread Zeus
I want it such that when a user reads the news, he sees something like --- Saturday 25th March 2001 New mirror up on PHP - posted by Zeus @ 00:00 GMT +8 news news news news news news news news news news news news news --- That sort of thing, how can I go about

Re: [PHP] php site down?

2001-04-10 Thread Zeus
If you want to view it now, you can try going to http://php.intermedia.com.sg - Its a mirror. - Original Message - From: Nick Davies <[EMAIL PROTECTED]> To: Michael Hall <[EMAIL PROTECTED]> Cc: PHP List <[EMAIL PROTECTED]> Sent: Tuesday, 10 April, 2001 6:46 PM Subject: Re: [PHP] php sit

[PHP] Inserting time + date entry into mySQL DB

2001-04-10 Thread Zeus
entry, the time\date will automatically be inserted in that row. Could someone give me some suggestions? - David Chua aka. Zeus -

Re: [PHP] while loop

2001-04-09 Thread Zeus
That was detailed :) Thanks Jack, it fixed my misconception of the = and == operators. BUT ... > mysql_fetch_array keeps track of where it is in the array. > after each while loop it moves a 'step ahead' in the result the mysql_fetch_array fetches the results in an array but should it be an on

Re: [PHP] while loop

2001-04-09 Thread Zeus
Isn't the '=' operator suppose to be used for assigning and not for evaluation. I thought '==' should be used in this context? Zeus - Original Message - From: David Robley <[EMAIL PROTECTED]> To: Zeus <[EMAIL PROTECTED]>; Michael Hall <[EMAIL P

Re: [PHP] while loop

2001-04-09 Thread Zeus
> $query = mysql_query("some SQL here"); > while ($row = mysql_fetch_array($query)) { > do stuff; > } Isn't this suppose to be an infinite loop? while ($row is assigned to mysql_fetch_array($query)) { do stuffs; } someone correct me if I'm wrong? Zeus --

Re: [PHP] where might I find a good php page

2001-04-08 Thread Zeus
PHP.NET :) where have you been hiding - Original Message - From: Engström <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, 08 April, 2001 11:12 PM Subject: [PHP] where might I find a good php page I'd really like to learn PHP but where ? I know some basic perl but havent lookt

Re: [PHP] "YourName.BEST321.com" FREE §K¶O°ì¦W !!!!!

2001-04-05 Thread Zeus
I somehow got a feeling, someone is purposely, selling the php-general list to some spam companies ;P - Original Message - From: Water <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 05, 2001 6:12 PM Subject: [PHP] "YourName.BEST321.com" FREE §K¶O°ì¦W ! > Dear Webm