RE: [PHP] Question in posting form-data

2004-12-17 Thread Yao, Minghua
hard Lynch [mailto:[EMAIL PROTECTED] Sent: Fri 12/17/2004 11:27 AM To: Yao, Minghua Cc: Erwin Kerk; [EMAIL PROTECTED] Subject: RE: [PHP] Question in posting form-data Yao, Minghua wrote: > Yes. I did modify the original since I need to send data to a program > which takes only form-data. > &qu

RE: [PHP] Question in posting form-data

2004-12-16 Thread Yao, Minghua
ssage- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Thu 12/16/2004 11:46 AM To: Yao, Minghua Cc: Erwin Kerk; [EMAIL PROTECTED] Subject: RE: [PHP] Question in posting form-data You also need to URLEncode the $value, either before you pass it in, or inside the function itself. Where d

RE: [PHP] Question in posting form-data

2004-12-16 Thread Yao, Minghua
Thanks. I changed fputs($fp, "$value\n"); to fputs($fp, "$name=$value\n"); But I still got the same message. -Minghua -Original Message- From: Erwin Kerk [mailto:[EMAIL PROTECTED] Sent: Thu 12/16/2004 6:30 AM To: Yao, Minghua Cc: [EMAIL PROTECTED] Subject: R

[PHP] Question in posting form-data

2004-12-15 Thread Yao, Minghua
Hi, all, I am testing how to post form-data to a host using the following code (test.php): receive.php goes like this, '; ?> I got, .. Notice: Undefined index: x in /export/home/mydir/www/test.php on line 2 x = ; It looks like receive.php didn't receive the posted value. Is the

[PHP] How to post form-data to a host using PHP

2004-12-10 Thread Yao, Minghua
Hi, Does anybody know how to post form-data to a host using PHP? Thanks for the answer. -Minghua

[PHP] How to post quote/double quote mark?

2004-12-09 Thread Yao, Minghua
Hi, I used the following function to post a string variable "abcdef" to a PHP program on another host: "/path/to/test.php" on "host/name" is as follows. It seemed that test.php got \"abcdef\", instead of "abcdef". Could anyone please tell me how to pass "abcdef" to test.php? Thanks in adva

[PHP] How to Pass Parameters to a CGI

2004-12-03 Thread Yao, Minghua
Hi, everyone, I want to pass several parameters to a CGI program run on another server. The following source of that program shows the parameters that need to be set manually. -- Select a dataset: A. tume

RE: [PHP] How to point at a spot and get relevant information?

2003-08-14 Thread Yao, Minghua
lto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 11:31 AM To: Yao, Minghua Cc: [EMAIL PROTECTED] Subject: Re: [PHP] How to point at a spot and get relevant information? On Thu, 7 Aug 2003 10:59:01 -0500 , you wrote: >Thank you for your reponses. The problem is there are thousands of spots

[PHP] How to point at a spot and get relevant information?

2003-08-09 Thread Yao, Minghua
> Dear all, > > Anybody knows how to write a graphic plotting code such that when users > point > at that spot, they can get the information relevant to that spot? Thanks > in advance. > > -MY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to point at a spot and get relevant information?

2003-08-07 Thread Yao, Minghua
Robert and skate, Thank you for your reponses. The problem is there are thousands of spots on the plot. The locations are random. -MY -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 11:00 AM To: skate Cc: Yao, Minghua; [EMAIL PROTECTED

[PHP] How to pass connection to next page

2003-07-23 Thread Yao, Minghua
> Hi, > On one page, I have: > ... > $dbcnx0 = @mysql_connect("localhost", $name, $password); > ... > session_start(); > $_SESSION['my_con'] = $dbcnx0; > ... > ?> > On another page, I have: > .. > session_start(); > $dbcnx1 = $_SESSION['my_con']; > . > ?> >