Re: [PHP-DB] retrieving all information from a single table

2002-06-22 Thread Jason Wong
On Saturday 22 June 2002 06:27, Jonathan wrote: Hello everyone, I am brand new to php, so any replies I get are very much appreciated. My goal is to retrieve one entire table from my database and post the information on the web. My query seems successful, but I am having trouble getting

[PHP-DB] Re: Emulating HTTP File Uploads

2002-06-22 Thread Morten Winther
Georgie Casey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does anyone know how to upload a file through PHP through the HTT interface. I use fopen() to open remote php scripts using the GET method for non-file uploads but it doesnt work with HTTP POST or

[PHP-DB] getting the value of a javascript variable

2002-06-22 Thread Hermann Otteneder
hi everybody, i have a short problem: i have two drop down menues in a form. the content of the second dropdown is dependent from the selection in the first dropdown menue. now i want write a short javascript which runs on the onSelect - event of the first dropdown. this script gives me the

Re: [PHP-DB] MYSQL Socket error :\

2002-06-22 Thread Marco Lanini
PHP Warning: MySQL Connection Failed: Can't create TCP/IP socket (10106) in c:\flashinlabs\web\http\provamysql.php on line 3 this is the LOG error. i'm into panic. Aaron T. Weiker [EMAIL PROTECTED] ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... It may prove beneficial to

RE: [PHP-DB] MYSQL Socket error :\

2002-06-22 Thread Aaron T. Weiker
Are you able to connect to the MySQL server using a client? Aaron Weiker -Original Message- From: Marco Lanini [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 22, 2002 8:39 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] MYSQL Socket error :\ PHP Warning: MySQL Connection Failed: Can't

RE: [PHP-DB] Re: Emulating HTTP File Uploads

2002-06-22 Thread Ruprecht Helms
I use fopen() to open remote php scripts using the GET method for non-file uploads but it doesnt work with HTTP POST or file uploads. Does anyone have any ideas? http://www.php.net/manual/en/ref.curl.php php consits of a ftpfunction to put files on a webserver without any cgi-like

Re: [PHP-DB] MYSQL Socket error :\

2002-06-22 Thread Marco Lanini
yes, i have 3 pc into my small lan, one of this have IIS 5 installed, and i want to work with another web server (free). but a little script who connect with my Mysql server on this pc goes ok. it connect itself to mysql server. but in localhost i can't connect. thanks. (sorry for my english,

[PHP-DB] Re: password()... is it possible?

2002-06-22 Thread Seth Yount
I am not sure of the decrypting procedure for password(), but if your admin needs to view the passwords for the purpose of changing or notifying forgotten passwords to the custormer you could use this approach: Generate a random password (numbers and letters) that is emailed to

RE: [PHP-DB] Re: password()... is it possible?

2002-06-22 Thread Peter Lovatt
Hi PASSWORD() is not reversible, but ENCRYPT() might be worth a look. Are you sure you want unencrypted passwords on view? If you have a security breach, which can include a sacked or unhappy sys admin, who wants to hit back, then you could have a very uncomfortable situation! Better to go with

RE: [PHP-DB] Re: password()... is it possible?

2002-06-22 Thread César Aracena
Both of you are probable right. It's just that I couldn't convince my client that sending new random passwords is better and more secure, but I guess it's the right thing to do. Thanks for the help, C. -Original Message- From: Peter Lovatt [mailto:[EMAIL PROTECTED]] Sent: Saturday,

[PHP-DB] Re: getting the value of a javascript variable

2002-06-22 Thread Adam Royle
Hi Hermann, This has been covered many times on this list, but the basics are this: PHP retrieves all information and outputs it into a javascript array - this way all combinations are available to javascript. Then when the user selects a list from the menu, javascript determines the