[PHP] [Fwd: [PHP-DOC] Urgent....plz]

2003-02-17 Thread didou
Message original Sujet: [PHP-DOC] Urgentplz De: [EMAIL PROTECTED] Date: Mar, 18 Février 2003, 4:17 A: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Hi... I'm Wardi from Malaysia.I'm working in the private company which is involved in developing and integrate software solutions.Curre

[PHP] Array not working

2003-02-17 Thread Chris Blake
Greetings all, My database has one table with three fields i.e. ClientID, ClientName and Distance . I`m trying to get all the field data printed to a form but whenever I try to add the "ClientID" and "Distance" fields to the code below it bombs out with the following error : Parse error: parse e

Re: [PHP] browser identification problem

2003-02-17 Thread Ernest E Vogelsinger
At 06:05 18.02.2003, Jason Wong said: [snip] >On Tuesday 18 February 2003 01:18, [EMAIL PROTECTED] wrote: > >> > then set 'user_agent' in >> > php.ini to match that of one of the compatible browsers. >> >> I don't see any user_agent entry in my php.ini file.

Re: [PHP] invalid argument supplied for foreach()

2003-02-17 Thread Ernest E Vogelsinger
At 05:27 18.02.2003, Lynn said: [snip] >Could anyone please tell me what a valid argument would be in this script? > > >error message >Warning: Invalid argument supplied for foreach() in >/home1/domains/$domain/htdocs/image.php on line 334 > > >line 323-343

Re: [PHP] What happened to phpEdit???

2003-02-17 Thread Ernest E Vogelsinger
At 01:38 18.02.2003, John Wells said: [snip] >Hmm...doesn't work here. Interesting. Partial blackout? [snip] The site is up, but there's a note that reads A HARD DISK CRASH MADE ME LOOSE ALL MAILS SENDED TO [EMAIL

Re: [PHP] Protecting files

2003-02-17 Thread Nate
I wonder though, if they're on a the same server but different sites. Like a shared host environment. Aw the things the bewilder the mind. Nate "Bryan Lipscy" <[EMAIL PROTECTED]> wrote in message 01c2d710$81a68e20$6301a8c0@ukiuki">news:01c2d710$81a68e20$6301a8c0@ukiuki... > That is called

RE: [PHP] Protecting files

2003-02-17 Thread Bryan Lipscy
That is called Cross-Site Scripting (XSS). I have not been able to get access to the variables via an XSS exploit. It appears that Apache renders the php code before sending off the requesting include function. I also like the .htaccess way of preventing user access to the scripts. This is also wo

Re: [PHP] Protecting files

2003-02-17 Thread Nate
Just something that crossed my mind a few times. What if another website includes this file in their own php page. That site can't access those variables can they? (I'm sure PHP wouldn't allow that but I need to put this curiousity to rest) Nate "Bryan Lipscy" <[EMAIL PROTECTED]> wrote in message

[PHP] vni -> unicode

2003-02-17 Thread Jimmy Brake
Hi! I was wondering if anyone has vni -> unicode conversion script. Thanks Jimmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail function - using remote smtp in php.ini

2003-02-17 Thread Jason Wong
On Tuesday 18 February 2003 01:44, Robin Mordasiewicz wrote: > IS there a way to tell php to use a remote smtp daemon for its mta under > UNIX. I see in the example it looks like windows can be configured to use > a remote smtp. If so what is the syntax. > > > [mail function] > ; For Win32 only. >

Re: [PHP] image creation error

2003-02-17 Thread Hugh Danaher
General builds of the GD library don't contain gif support. Visit the GD site to see what they say about gif support. If you're building a graph then use png; if an image use jpg. Hugh - Original Message - From: "Michael P. Carel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday,

Re: [PHP] MD5 Passwords (How it works?)

2003-02-17 Thread Jason Wong
On Tuesday 18 February 2003 01:03, Greg Donald wrote: > md5 is one-way encryption. I use a password 'hint' field in conjunction > with md5. It is not an encryption at all -- it's a hash. Encryption implies a corresponding decryption, so a one-way encryption is either useless or an oxymoron. -

Re: [PHP] browser identification problem

2003-02-17 Thread Jason Wong
On Tuesday 18 February 2003 01:18, [EMAIL PROTECTED] wrote: > > then set 'user_agent' in > > php.ini to match that of one of the compatible browsers. > > I don't see any user_agent entry in my php.ini file. I did a search on the > php.net site and didn't find any info on this. What would be the pr

Re: [PHP] Protecting files

2003-02-17 Thread Peter Janett
The issue here is that Apache is running as a single user, so that single user must be able to read all php scripts it wants to parse. So, putting the files in non htdocs directory can help a little, but Apache still can read them, if anyone else on the server asks apache to. The real way to prot

Re: [PHP] file-upload.errors

2003-02-17 Thread Nate
So something like my below function isn't going to work because the file HAS to be uploaded temporarily for it to fopen? The ONLY possible way to check it is with javascript then? Anyone know where I could find some code to do that? $maxbytes=500; function ImageSizeCheck($img,$maxbytes,&$arewe

Re: [PHP] Sessions and phplib.

2003-02-17 Thread Jason Sheets
Using the built in PHP 4 session support you can do IP checking on the sessions, in fact you should be able to do IP checking with any session library as long as you do it in your application. Checking the IP when using sessions might give you some additional security but many ISPS use web proxies

Re: [PHP] invalid argument supplied for foreach()

2003-02-17 Thread Jason Wong
On Tuesday 18 February 2003 12:27, Lynn wrote: > Could anyone please tell me what a valid argument would be in this script? > > > error message > Warning: Invalid argument supplied for foreach() in > /home1/domains/$domain/htdocs/image.php on line 334 foreach needs an array. var_dump($retVal) to

Re: [PHP] file-upload.errors

2003-02-17 Thread Jason Wong
On Tuesday 18 February 2003 10:44, Nate wrote: > It sounds like browser would first examine the file before it gets > uploaded, however, if I try to upload a 1mb file it takes noticably longer > to produce an error than say a 501 byte file. Some browsers do: http://marc.theaimsgroup.com/?l=php-g

[PHP] invalid argument supplied for foreach()

2003-02-17 Thread Lynn
Could anyone please tell me what a valid argument would be in this script? error message Warning: Invalid argument supplied for foreach() in /home1/domains/$domain/htdocs/image.php on line 334 line 323-343 $dg = opendir("$thumb"); echo "$title"; PrintHeader(); echo ""; echo ""; while ( g

Re: [PHP] image creation error

2003-02-17 Thread Jason Wong
On Tuesday 18 February 2003 10:51, Michael P. Carel wrote: > i've already compiled my PHP4 with imagejpeg support but now im loosing my > imagegif function. Image jpeg function is now working but for the gif im > receiving this error: > Fatal error: Call to undefined function: imagegif() > > Here's

[PHP] Sessions and phplib.

2003-02-17 Thread Vincent M.
Hello, I am using the phplib just for the sessions management and unfortunately this projects seems dead (no?), no official realise using the php4 session support. What's more, i am looking for a sessions library which could check the IP adress of users not only the cookie. In case of bad hats

Re: [PHP] file-upload.errors

2003-02-17 Thread Marco Tabini
On Mon, 2003-02-17 at 21:44, Nate wrote: > Does this mean the file was examined by the browser and it determined it was > too large OR does it have to upload the file temporarily and then check to > see if its too large? > > It sounds like browser would first examine the file before it gets upload

Re: [PHP] image creation error

2003-02-17 Thread Michael P. Carel
i've already compiled my PHP4 with imagejpeg support but now im loosing my imagegif function. Image jpeg function is now working but for the gif im receiving this error: Fatal error: Call to undefined function: imagegif() Here's my php info after my re-compilation : Configure Command './configur

[PHP] file-upload.errors

2003-02-17 Thread Nate
Hi guys, I'm curious about a couple things regarding: $_FILES['userfile']['error'] (On page: http://www.php.net/manual/tw/features.file-upload.errors.php ) and also The manual says "Since PHP 4.2.0, PHP returns an appropriate error code along with the file array. The error code can be found i

[PHP] Getting around the LOAD DATA LOCAL with MySQL 3.23.49 + using PHP?

2003-02-17 Thread Peter Janett
I upgraded my MySQL on my web server, and the upgrade broke some PHP code that loaded a file. The reason this is a PHP questions is that I need to get my old PHP code to work with the new MySQL server, and I hope someone here can help. Here's the details on the fact that newer versions of MySQL d

Re: [PHP] session cookie that never expires

2003-02-17 Thread Justin French
Nice!! Justin French on 18/02/03 12:54 PM, Jason Sheets ([EMAIL PROTECTED]) wrote: > You shouldn't store user password in cookies on a browser, instead a > more secure method for the user is: > > On your login form offer the ability to be remembered, if they click the > "Remember Me" box genera

Re: [PHP] MD5 Passwords (How it works?)

2003-02-17 Thread Justin French
Very true -- forgot to mention that step :) Thanks for the reminder!! Justin on 18/02/03 12:49 PM, Jason Sheets ([EMAIL PROTECTED]) wrote: > If you do a password reset system please remember not to reset the > password before they confirm who they are. > > This means instead of having them en

Re: [PHP] session cookie that never expires

2003-02-17 Thread Jason Sheets
You shouldn't store user password in cookies on a browser, instead a more secure method for the user is: On your login form offer the ability to be remembered, if they click the "Remember Me" box generate a unique random ID (or 2 and combine them), now store this ID in your database attached to th

Re: [PHP] MD5 Passwords (How it works?)

2003-02-17 Thread Jason Sheets
If you do a password reset system please remember not to reset the password before they confirm who they are. This means instead of having them entering their login and email address and immediatly resetting their password send the account owner an e-mail with a link that will reset their password

Re: [PHP] Counter has gremlins

2003-02-17 Thread Andrew Brampton
I believe this is a concurrency problem... 2 PHP scripts can run at the same time and the problem is that your first script gets as far as the unlink thus deleting the file. Then the 2nd script is ran (at the same time) and trys to open the file which doesn't exist, therefore it reads a num of 0. T

Re: [PHP] session cookie that never expires

2003-02-17 Thread Justin French
on 18/02/03 1:40 AM, Altug Sahin ([EMAIL PROTECTED]) wrote: > Hi there, > > I have setup a site with session management but even the browser is closed > or after the default time expiration of the session, the user should be able > to see his/her personalized settings. I am nor using any cookies.

Re: [PHP] Counter has gremlins

2003-02-17 Thread Jason Sheets
You could be having problems with multiple users, if two visitors come at the same time file locking problems come into play, one script could unlink the file at the same time another script tries to open it resulting in an empty file. A database would be a better way to do this, but assuming you

Re: [PHP] MD5 Passwords (How it works?)

2003-02-17 Thread Justin French
on 18/02/03 3:59 AM, Vernon ([EMAIL PROTECTED]) wrote: > I'm thinking that the MD5 function more than likely encrypts a password to > store into a database, and when you log in using the MD5 function it will > simply encrypt the value being passed along again the same way. Now I'm > wondering what

[PHP] Counter has gremlins

2003-02-17 Thread Brian V Bonini
I have this basic counter: $counterFile"); } print "Visitor #$num"; } if (!file_exists($counterFile)) { exec("echo 1 > $counterFile"); } displayCounter($counterFile); ?> Works like a charm but every so often for no appare

Re: [PHP] MD5 Password Login Driving me Crazy

2003-02-17 Thread Justin French
on 18/02/03 6:42 AM, Vernon ([EMAIL PROTECTED]) wrote: > When the user goes to login into the page though I have the encrypted > password echo to the page and they match except a 52 on the end of it which > I am assuming is a space or something being picked up on submit or > something. I recall th

Re: [PHP] What happened to phpEdit???

2003-02-17 Thread John Wells
Hmm...doesn't work here. Interesting. Partial blackout? John Nichel said: > It works fine for me. So does www.phpedit.net > > Al wrote: >> Did you try the URL you posted? >> >> I tried that one and several others listed for phpEdit. >> >> All say the site is not responding. >> >> Bryan Lipscy w

Re: [PHP] Protecting files

2003-02-17 Thread Justin French
My preference 1. if possible, store the files above your public_html directory (doc root)... this means they cannot be over http:// by apache, if that isn't possible: 2. use .htaccess to either block the entire directory of includes, or all *.inc files, or whatever you think is best. Personally,

Re: [PHP] What happened to phpEdit???

2003-02-17 Thread John Nichel
It works fine for me. So does www.phpedit.net Al wrote: Did you try the URL you posted? I tried that one and several others listed for phpEdit. All say the site is not responding. Bryan Lipscy wrote: Did you check google? http://ozu.arecom-sa.com/~marms/phpedit.net/ -Original Message--

Re: [PHP] session cookie that never expires

2003-02-17 Thread Jason Sheets
Making your session never expire is a bad idea, by doing this you are most likely going to be using the same session id forever which gives attackers a much longer amount of time to guess or brute force a session id AND you will continue to use hard drive space and inodes on your server because gc

Re: [PHP] pro-rated date

2003-02-17 Thread Tom Rogers
Hi, Tuesday, February 18, 2003, 7:03:37 AM, you wrote: PC> Anybody have a quick way of determining the number of days remaining in PC> the current month? PC> I'm currently using: PC> $nextmonth = strftime("%Y-%m-01",strtotime("+1 month")) PC> $monthdays = strftime("%d",strtotime($nextmo

Re: [PHP] What happened to phpEdit???

2003-02-17 Thread Chase Urich
It worked just fine for me, even just phpedit.net worked. Cahse On Mon, 2003-02-17 at 18:21, Al wrote: > Did you try the URL you posted? > > I tried that one and several others listed for phpEdit. > > All say the site is not responding. > > Bryan Lipscy wrote: > > Did you check google? > > http

Re: [PHP] What happened to phpEdit???

2003-02-17 Thread Al
Did you try the URL you posted? I tried that one and several others listed for phpEdit. All say the site is not responding. Bryan Lipscy wrote: Did you check google? http://ozu.arecom-sa.com/~marms/phpedit.net/ -Original Message- From: Al [mailto:[EMAIL PROTECTED]] Sent: Sunday, Febru

Re: [PHP] Protecting files

2003-02-17 Thread Ray Hunter
Try putting your files config files in a directory outside of the root web directory and access the files via the include_path directive in the php.ini file. If you dont have access you can add create a .htaccess file or set the configuration in a php script that is run before your other scripts.

RE: [PHP] Protecting files

2003-02-17 Thread Luke Woollard
CAPS >How can I protect my php files among other files like templates >(.inc) and mysql config (config.inc) files being copied/read/imported >(front page)/used by other applications other than my site... >can this be done by htaccess? is so , could anyone point me into right >direction? I have

RE: [PHP] Protecting files

2003-02-17 Thread Bryan Lipscy
>How can I protect my php files among other files like templates >(.inc) and mysql config (config.inc) files being copied/read/imported >(front page)/used by other applications other than my site... >can this be done by htaccess? is so , could anyone point me into right >direction? I have ren

RE: [PHP] Protecting files

2003-02-17 Thread Bryan Lipscy
>How can I protect my php files among other files like templates >(.inc) and mysql config (config.inc) files being copied/read/imported >(front page)/used by other applications other than my site... >can this be done by htaccess? is so , could anyone point me into right >direction? I have ren

RE: [PHP] Protecting files

2003-02-17 Thread Luke Woollard
If you want to hide the content of an .inc or other file that contains PHP code simply rename it with a .php ie: config.inc becomes config.inc.php the server will parse the file as PHP now and not allow users to download it... Alternatively you can protect a directory with a .htaccess file if yo

Re: [PHP] Data from DB

2003-02-17 Thread Miguel Brás
Using MySQL Any change for a code sample? Thx Miguel "Greg Donald" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Mon, 17 Feb 2003, Miguel Brás wrote: > > > >I have a table with users and passwords with over than 100 rows. > >I have 7 specific users tha

Re: [PHP] Protecting files

2003-02-17 Thread Brendon
On Mon, 17 Feb 2003 15:32:31 -0600 (CST), Greg Donald <[EMAIL PROTECTED]> wrote: On Mon, 17 Feb 2003, PR wrote: How can I protect my php files among other files like templates (.inc) and mysql config (config.inc) files being copied/read/imported (front page)/used by other applications other t

Re: [PHP] Text data truncated after first blank character in form fields

2003-02-17 Thread Ernest E Vogelsinger
At 22:04 17.02.2003, Michael Eacott said: [snip] >When I have the following in a form: > >> >the value shown in the form field is a and not a b c >why? >and how can I get to see the untrucated text, please? [snip] Y

Re: [PHP] Text data truncated after first blank character in form fields

2003-02-17 Thread Kevin Stone
Hmm. Don't know what to tell ya. It works on my computer. Have you tried pressing CTRL+F5 to flush your browser cache? - Kevin - Original Message - From: "rentAweek support" <[EMAIL PROTECTED]> To: "Kevin Stone" <[EMAIL PROTECTED]> Cc: "Michael Eacott" <[EMAIL PROTECTED]>; <[EMAIL PROTE

Re: [PHP] IRR Function in PHP -- MORE Info

2003-02-17 Thread Marco Tabini
Hey Jonathan-- This page has an excellent description of what the IRR is and how it's calculated. http://invest-faq.com/articles/analy-int-rate-return.html I'd love to help more than this, but this is quite a bit of work and without the actual spreadsheet I'm not sure that I'd be able to give

Re: [PHP] Text data truncated after first blank character in form fields

2003-02-17 Thread rentAweek support
Thanks I tried our your suggestion sic: Still truncation Mike --- Kevin Stone wrote: It's your HTML Failing to enclose the value in quotes may lead to truncation. Your output looks like this... You should always quote every parmeter in the tag just to avoid such problems. This should work

Re: [PHP] IRR Function in PHP -- MORE Info

2003-02-17 Thread Jonathan Pitcher
I received an Excel Spread sheet with built in calculations for creating our rate sheets that we pass out to our branches and so on. In this rate sheet to calculate our APR the spread sheet calls built in Finance Functions IRR Internal Rate of Return PMT Calculates a Payment PV Calculates Prese

Re: [PHP] IRR Function in PHP

2003-02-17 Thread Marco Tabini
If I may barge in... The IRR represents the actual return of an investment over an arbitrary period of time (usually annualized). Say, for example, that you invest $100 and, after two years, you have $120. Your overall return is 20%. If your interest rate was constant over the two-year period and

Re[2]: [PHP] Protecting files

2003-02-17 Thread PR
Hello Greg, Yes, I am in a shared environment..but I do have access to chmod.. GD> What kind of system is it? If it's unix you can make use of chown and GD> chmod to protect your stuff. If it's windows, I don't know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] IRR Function in PHP

2003-02-17 Thread Greg Donald
On Mon, 17 Feb 2003, Jonathan Pitcher wrote: >This process involves an IRR Calculation. Or Internal Rate of Return. Sorry, I don't think there are any accountants lurking on the list, so please explain what the actual calculation for an IRR should be. -- Greg Donald http://destiney.com --

Re: [PHP] IRR Function in PHP

2003-02-17 Thread Marco Tabini
On Mon, 2003-02-17 at 16:44, Jonathan Pitcher wrote: > We are getting ready to automate a process that was currently done in > Excel to a Web page. > > This process involves an IRR Calculation. Or Internal Rate of Return. > > I have looked at PHP.net and spent the last couple hours searching for

Re: [PHP] Text data truncated after first blank character in form fields

2003-02-17 Thread Kevin Stone
It's your HTML Failing to enclose the value in quotes may lead to truncation. Your output looks like this... You should always quote every parmeter in the tag just to avoid such problems. This should work.. - Kevin - Original Message - From: "Michael Eacott" <[EMAIL PROTECTED]> To:

[PHP] IRR Function in PHP

2003-02-17 Thread Jonathan Pitcher
We are getting ready to automate a process that was currently done in Excel to a Web page. This process involves an IRR Calculation. Or Internal Rate of Return. I have looked at PHP.net and spent the last couple hours searching for a pre-built function to handle this but have come up blank. Ha

Re: [PHP] Protecting files

2003-02-17 Thread Greg Donald
On Mon, 17 Feb 2003, PR wrote: >How can I protect my php files among other files like templates >(.inc) and mysql config (config.inc) files being copied/read/imported (front >page)/used by other applications other than my >site... > >can this be done by htaccess? is so , could anyone point me int

Re: [PHP] PHP Compile question ....

2003-02-17 Thread Mat Harris
no problem. the only thing i forgot to say is that this is on a redhat 7.3 machine and the libraries that are used by some of those options are from redhat rpms. If you aren't using a similar version of redhat then you may get messages about certain options missing headers etc. up to you whether y

Re: [PHP] Data from DB

2003-02-17 Thread Greg Donald
On Mon, 17 Feb 2003, Miguel Brás wrote: > >I have a table with users and passwords with over than 100 rows. >I have 7 specific users that I wanna display on a page, as well their data. > >How can I display this specific users on the page? You probably want to execute some SQL queries. Then the da

Re: [PHP] Data from DB

2003-02-17 Thread David A Dickson
On Mon, 17 Feb 2003, Miguel Brás wrote: > Hello gents, > > I have a table with users and passwords with over than 100 rows. > I have 7 specific users that I wanna display on a page, as well their data. > > How can I display this specific users on the page? A little more information is need: 1.

Re: [PHP] PHP 5

2003-02-17 Thread Greg Donald
On Mon, 17 Feb 2003, Stephan Seidt wrote: >Well, something very important in php5 is ZendEngine2: >http://cvs.php.net/co.php/ZendEngine2/ZEND_CHANGES Looks like PHP5 will be a lot like java/c++ when released. Exception handling, true object support, and an inline debugger, oh my! When is the e

[PHP] Protecting files

2003-02-17 Thread PR
Hello, How can I protect my php files among other files like templates (.inc) and mysql config (config.inc) files being copied/read/imported (front page)/used by other applications other than my site... can this be done by htaccess? is so , could anyone point me into right direction? -- Thank

[PHP] Data from DB

2003-02-17 Thread Miguel Brás
Hello gents, I have a table with users and passwords with over than 100 rows. I have 7 specific users that I wanna display on a page, as well their data. How can I display this specific users on the page? Thx Miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP] Text data truncated after first blank character in form fields

2003-02-17 Thread Michael Eacott
When I have the following in a form: > the value shown in the form field is a and not a b c why? and how can I get to see the untrucated text, please? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pro-rated date

2003-02-17 Thread Paul Chvostek
Anybody have a quick way of determining the number of days remaining in the current month? I'm currently using: $nextmonth = strftime("%Y-%m-01",strtotime("+1 month")) $monthdays = strftime("%d",strtotime($nextmonth)-86400); $daysleft = $monthdays - strftime("%d",time()); I can obv

Re: [PHP] Multisorting an array

2003-02-17 Thread Kevin Stone
- Original Message - From: "Joachim Krebs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 17, 2003 8:25 AM Subject: [PHP] Multisorting an array > I have an array with the following structure: > > Array > ( > [0] => Array > ( > [name] => images >

Re: [PHP] PHP 5

2003-02-17 Thread Stephan Seidt
Hi, Well, something very important in php5 is ZendEngine2: http://cvs.php.net/co.php/ZendEngine2/ZEND_CHANGES bye Adrian Portsmouth wrote: Hi, I have been checking out the books on Amazon.com and it seems there is a PHP5 book in the works due to be released on March the 4th. Does anyone know w

[PHP] PHP 5

2003-02-17 Thread Adrian Portsmouth
Hi, I have been checking out the books on Amazon.com and it seems there is a PHP5 book in the works due to be released on March the 4th. Does anyone know where I can find out information about this new release of PHP, what changes there are etc? TIA Adrian www.phpscriptsearch.com -- PHP Gene

[PHP] Error Opening file

2003-02-17 Thread Pushpinder Singh Garcha
Hello All; I am trying to open a File called cmi_list.txt ( stored at the same level as the php file) and then load these into an array. Now I check the $passport_codes with the value the User has entered and set the $flag accordingly . $PASSPORT_CODES =file("cmi_list.txt"); $count =

[PHP] Re: MD5 Password Login Driving me Crazy

2003-02-17 Thread Philip Hallstrom
see the trim() function... not sure if that will solve your problem, but that's the function you're looking for. On Mon, 17 Feb 2003, Vernon wrote: > For what ever reason I cannot seem to get a user to login using MD5. The > user creates the password on log and it works fine, password encrypted a

Re: [PHP] PHP Compile question ....

2003-02-17 Thread James Hatridge
Thanks! I'll give it a shot in the morning! JIM On Monday 17 February 2003 18:19, Mat Harris wrote: > i like to use to following with php 4.3.0. Note the $APACHE_PREFIX should > be changed: > > ./configure --prefix=/usr --with-apxs=$APACHE_PREFIX/bin/apxs > --enable-debug=no --enable-safe-mode --

[PHP] MD5 Password Login Driving me Crazy

2003-02-17 Thread Vernon
For what ever reason I cannot seem to get a user to login using MD5. The user creates the password on log and it works fine, password encrypted and all. I test to see if the process is working ok on creation by using the UPDATE penpals SET password = MD5(password) and the encrypted passwords matc

Re: [PHP] emptying jammed mailbox by PHP?

2003-02-17 Thread Ernest E Vogelsinger
At 03:27 18.02.2003, Chris Hayes said: [snip] >hi, >maybe not the most professional way but my mailbox is jammed and i want to >clear it. My ISP host is doing some office refurnishing and needs all his >attention to pick the right color hues. >So i thought

[PHP] Re: [PHP-DEV] RE: PHP Security Advisory: CGI vulnerability in PHPversion 4.3.0

2003-02-17 Thread Derick Rethans
On Mon, 17 Feb 2003, McKinney, Rod ERM wrote: > Remove me from your list See the footer of this email: -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Derick -- Stop mad cowboy disease!

[PHP] RE: PHP Security Advisory: CGI vulnerability in PHP version 4.3.0

2003-02-17 Thread McKinney, Rod ERM
Remove me from your list -Original Message- From: Jani Taskinen [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 12:01 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: PHP Security Advisory: CGI vulnerability in PHP version 4.3.0 -BEGIN PGP SIGNED MES

RE: [PHP] **need info ASAP - displaying existing pdf files and other 'tricks'

2003-02-17 Thread Erin Fry
Wonderful. Thanks so much for the info. -Original Message- From: Mathias Rockel [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 10:39 AM To: Erin Fry Subject: Re: [PHP] **need info ASAP - displaying existing pdf files and other 'tricks' http://support.adobe.com/devsup/devsup

[PHP] Re: emptying jammed mailbox by PHP?

2003-02-17 Thread Manuel Lemos
Hello, On 02/17/2003 11:27 PM, Chris Hayes wrote: hi, maybe not the most professional way but my mailbox is jammed and i want to clear it. My ISP host is doing some office refurnishing and needs all his attention to pick the right color hues. So i thought maybe i can send a simple POP command t

[PHP] MySQL DB Schema

2003-02-17 Thread Phillip S. Baker
Greetings all, Is there an easy way to pull out the schema of a MySQL for viewing?? Thanks Phillip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Locale install

2003-02-17 Thread David A Dickson
The system I am wroking on only has english locales. How do I install the french locales? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] I have a problem with MsSQL

2003-02-17 Thread Jimmy Huaman
Hi. My problem is the characters in spanish: example: Construcción (Data of MsSQL Server) Result in web with PHP: Construcci¢n Thanks you. Prompyme a su servicio - Prompyme a su servicio. "El Estado su mejor cliente, visite la página de

[PHP] Re: slideshow/flush

2003-02-17 Thread Joel Boonstra
Hi, > I'm looking for a way to do something, not sure if someone can help me. > > I would like to be able to "control", in a way, what a remote user is > seeing, almost like running a slideshow. > > For example, user goes to website, it shows block of text or picture. I > login to admin area.I cli

[PHP] RE: traversing and displaying directories in html [newbie]

2003-02-17 Thread Bobby Rahman
Hiya I am trying to find a way to drill down on html file names, if there are directories to display the files in the new directory. Im assuming this needs the calling of the same page which displayed the intial file names again with the argument of new directory. Does anyone have any tips f

Re: Re[2]: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-17 Thread Martin Marques
Quoting [EMAIL PROTECTED]: > Rick, > > In response to your mail of Monday 17 February 2003 at 17:46:49: > > > Thanks for your swift response! > > > RE> I also use Redhat 7.1 and use FTP successfully. Something in your > RE> setup? > > Well, I don't think so ... it's all fairly standard (only

Re: [PHP] register_globals On

2003-02-17 Thread David Eisenhart
yeh, I'd strongly agree with Jonathan's view that quality of the code can mitigate against the dangers of register_globals. FYI, an interesting article on php vulnerabilities is at: http://www.securereality.com.au/studyinscarlet.txt David Eisenhart "Jonathan Pitcher" <[EMAIL PROTECTED]> wrote i

Re: [PHP] RSA implementation

2003-02-17 Thread Matt Vos
I don't care what you say, all you need is Secure-Socket-Layer contrary to what you may believe, you don't need a beefy server to implement it. I had apache+ssl+php+mysql running quite well on a 486 DX4/100 with 64MB ram. Decrypting is worse than you think. Anything you can decrypt, so can someone

[PHP] LDAP authentication to NDS

2003-02-17 Thread Brad Harriger
Is there any way to find out what privileges a user has to an NDS object throught LDAP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-17 Thread Martin Marques
Quoting [EMAIL PROTECTED]: > Hi, > > Installed RPM's from RedHat (latest patches) and using PHP with Apache > under RH7.1 Linux, lots of scripts, no problems. > > The hitch is that a user just tried ftp_connect(), and got the > "unknown function" error. > > Okay, so I expected this to be a miss

Re: [PHP] processing status page

2003-02-17 Thread Jeff Schwartz
Faking it with Javascript doesn't really work because the termination of the Javascript isn't tied to the completion of the processing. Here's how we're doing it for a new anti-spam product: results.html When the user is sent to results.html (the first time) it save the info and sends

[PHP] PHP Security Advisory: CGI vulnerability in PHP version 4.3.0

2003-02-17 Thread Jani Taskinen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PHP Security Advisory: CGI vulnerability in PHP version 4.3.0 Issued on: February 17, 2003 Software: PHP/CGI version 4.3.0 Platforms: All The PHP Group has learned of a serious security vulnerability in the CGI SAPI of PHP version 4.3.0.

Re[2]: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-17 Thread role . php-general
Rick, In response to your mail of Monday 17 February 2003 at 17:46:49: Thanks for your swift response! RE> I also use Redhat 7.1 and use FTP successfully. Something in your RE> setup? Well, I don't think so ... it's all fairly standard (only use RPM's) and the "function not found" suggests th

Re: [PHP] browser identification problem

2003-02-17 Thread chip . wiegand
Here's a bit more info - just for clarity and understanding of what's going on... There are actually 3 server involved - My current web site is hosted on my isp's server. I have another server here in my office which contains about a gigabyte of down- loadable docs. And we have our ecommerce si

Re: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-17 Thread Rick Emery
I also use Redhat 7.1 and use FTP successfully. Something in your setup? rick "People will forget what you said. People will forget what you did. But people will never forget how you made them feel." - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Feb

[PHP] FTP not enabled in RedHat 7.x distro

2003-02-17 Thread role . php-general
Hi, Installed RPM's from RedHat (latest patches) and using PHP with Apache under RH7.1 Linux, lots of scripts, no problems. The hitch is that a user just tried ftp_connect(), and got the "unknown function" error. Okay, so I expected this to be a missing php.so loadable module. However, it appear

[PHP] mail function - using remote smtp in php.ini

2003-02-17 Thread Robin Mordasiewicz
IS there a way to tell php to use a remote smtp daemon for its mta under UNIX. I see in the example it looks like windows can be configured to use a remote smtp. If so what is the syntax. [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = [EMAIL PROTECTED] ; Fo

Re: [PHP] select query question

2003-02-17 Thread Rick Emery
SELECT * FROM mytable WHERE flags NOT IN('L','C') rick "People will forget what you said. People will forget what you did. But people will never forget how you made them feel." - Original Message - From: "Sunfire" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 17, 2003

[PHP] emptying jammed mailbox by PHP?

2003-02-17 Thread Chris Hayes
hi, maybe not the most professional way but my mailbox is jammed and i want to clear it. My ISP host is doing some office refurnishing and needs all his attention to pick the right color hues. So i thought maybe i can send a simple POP command to delete all mails in the mailbox? It's 14000 mails

  1   2   >