[PHP] md5(), uniqid(), rand(), password()

2001-08-21 Thread Christian Dechery
Is mysql's PASSWORD() function secure for storing passwords? Or should I use one of PHP's md5() or uniqid(), or even md5(uniqid()) ??? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List

RE: [PHP] AudioGalaxy-like stuff

2001-08-21 Thread Johnny Nguyen
I suppose they could use a hidden frame, like a 1 pixel frame all the way down at the bottom that contains all the javascript in there to submit a form. And then the page that you see simply contains some javascript that calls a javascript function in that hidden frame. I'm sure you get the

RE: [PHP] Re: To jump or not to jump?

2001-08-21 Thread Maxim Maletsky
Hey, we've got an article about it on PHPBeginner.com http://www.phpbeginner.com/columns/jason/echo Cheers, Maxim Maletsky www.PHPBeginner.com -Original Message- From: Alexander Skwar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 22, 2001 6:14 AM To: Gabe da Silveira Cc: [EMAIL

[PHP] Re: sockets question

2001-08-21 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Gregor Jaksa) wrote: i have login.php where i do $socket_handle = fsockopen($server, $port); now in add.php i would like to send msg to $socket_handle socket... include(login.php); http://php.net/include has more info. -- CC -- PHP

Re: [PHP] AudioGalaxy-like stuff

2001-08-21 Thread Andrew Brampton
When you click on the image it reloads the image which is really a PHP page which returns a image. That way when it loads the image, it can actually run some PHP and do whatever is required, once done it returns the approiate image That make sense? Andrew - Original Message - From:

[PHP] Unable to use fopen to read a URL - DNS Problem?

2001-08-21 Thread Brian White
This is a repost. To summarise: My installtion of PHP is unable to resolve names. I can't use fopen to open a URL which uses a name, but if I manually calculate the IP address, I can read in the page OK. ( see example below ). I need some tips on where to start

Re: [PHP] Re: chicken and egg problem with SID

2001-08-21 Thread Egan
On Tue, 21 Aug 2001 19:41:29 -0500, Richard Lynch [EMAIL PROTECTED] wrote: I can generate some random value to be used for the session_id, but I can't think of a good way to store it for use on the first page. Why does it matter if they hit refresh and get a new session ID before you've

Re: [PHP] Why lynx don't work with cron?

2001-08-21 Thread Rob Hardowa
Hiya, I was waiting for someone to answer this question but it hasn't happened yet. I was using this a couple years ago to get a weather page from http after the ftp site with the raw text disappeared. Rest assured this has NOTHING to do with php and everything to do with lynx. I ran my

[PHP] problem with $HTTP_POST_FILES

2001-08-21 Thread Jason Dulberg
I am working on an image upload script and I've tried to use the variables from $HTTP_POST_FILES however it seems that no matter how I try to get the variables, they are always empty -- even though they are populated when checking phpinfo(); HTTP_POST_FILES[binFile] Array ( [name] =

RE: [PHP] Why lynx don't work with cron?

2001-08-21 Thread Dave
you are talking about two completely different applications(as mentioned in post)... one is a cron job to do something (unspecified) which requires executable PHP (a la CGI) to point the file to the other (recent post) discusses using lynx to parse a site which is IMO a bad move in either

RE: [PHP] Unable to use fopen to read a URL - DNS Problem?

2001-08-21 Thread Dave
check that apache is doing name resolution?? stab in the dark there. can you do includes from other locations using names? dns on the Ip address that apache/php is sitting on resolving correctly? -Original Message- From: Brian White [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August

Re: [PHP] Re: if statement and imageline()

2001-08-21 Thread Hugh Danaher
Richard, Without the code below, I get a good .jpg file and it displays nicely. But, with the IF statement in, I get a time out error message Execute time exceeds 30 seconds... I think it is because two of the variables are declared after the IF statement, even though they aren't being used on

[PHP] array

2001-08-21 Thread Chris Herring
I'm trying to get an array to read the text from a file, and so far it isn't working. If you can help me, respond. snippet $fp = fopen (./file.txt, r); $text = array ($fp); sort ($text); reset ($text); while (list ($key, $val) = each ($text)) { echo [.$key.] .$val; echo br; } fclose

[PHP] COM

2001-08-21 Thread Paul S.
I heard refs on using the COM interface to access MS Word files. Is this a procedure an interface that only works on Windows systems (as that is where Word runs)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] array

2001-08-21 Thread David Robley
On Wed, 22 Aug 2001 15:34, Chris Herring wrote: I'm trying to get an array to read the text from a file, and so far it isn't working. If you can help me, respond. snippet $fp = fopen (./file.txt, r); $text = array ($fp); sort ($text); reset ($text); while (list ($key, $val) = each

[PHP] Re: sysvsem extention question

2001-08-21 Thread Chris Chabot
As far as creating the new module goes, it shouldn't be 'to much effort'. The basic implimentation of system v semaphores is actualy quite simple, its the usage of sempahores that can be very confusing :-) sysv sem's are often refered to as the most difficult to comprehend of the sysv

[PHP] Re: sysvsem extention question

2001-08-21 Thread Tom May
First off, before you get the wrong impression of my answer, let me say that your observation It all seems kinda kludgy and quick-hack for a specific project, and not 'sysv semaphores implimented in php' is right on. Chris Chabot [EMAIL PROTECTED] writes: I have been playing with the idea of

[PHP] Re: sysvsem extention question

2001-08-21 Thread Jason Greene
There probably should be a full implementation of semaphores in php. If you have a need for this, we should discuss exactly how it should be implemented. I will have some free time available soon, so I can start working on this. Though I have a couple other projects as well. If you would be

<    1   2   3