PHP 5.2.1 on Apache/Linux. Client is Firefox and IE7 on Windows XP.
Uploading C:\boot.ini works great from an HTML type=file form element
but fails using what should be the equivalent:
curl_setopt($ch,CURLOPT_POSTFIELDS,array('peru'='@C:/boot.ini'));
CURL error is failed creating formpost
Just a general question that I don¹t know the answer to. I have users
inputting data via an HTML form. I want to make sure that if they cut and
paste from say Word that all the weird characters are converted to plain
text (preferably utf-8 since that¹s what my database is). How would I go
about
On Tue, February 20, 2007 3:49 pm, Jay Paulson wrote:
Just a general question that I don¹t know the answer to. I have users
inputting data via an HTML form. I want to make sure that if they cut
and
paste from say Word that all the weird characters are converted to
plain
text (preferably
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and modify data through an HTML form. When
I modify the options, some are in text, others
in textarea, and some are in select options. Now wat I did is make the
current value be the selected one, but my browser
Martin Marques wrote:
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and modify data through an HTML form.
When I modify the options, some are in text, others
in textarea, and some are in select options. Now wat I did is make the
current value be the
On 01/06/06, John Meyer [EMAIL PROTECTED] wrote:
Martin Marques wrote:
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and modify data through an HTML form.
When I modify the options, some are in text, others
in textarea, and some are in select options.
On Thu, 01 Jun 2006 13:06:24 -0600, John Meyer [EMAIL PROTECTED] wrote:
Martin Marques wrote:
doesn't seem to get it right. Here is the HTML output:
SELECT name=cargo
OPTION value=8Profesor titular/OPTION
OPTION value=7Profesor asociado/OPTION
OPTION value=6Profesor adjunto/OPTION
If you have already visited the page, and chosen another option,
Firefox remembers your choice for you.
Quit Firefox and start over, and it should work
On Thu, June 1, 2006 1:53 pm, Martin Marques wrote:
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and
I want to write php script that fill out HTML form online. Any ideas
how to do it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 19 Nov 2004 14:39:57 -0500, Jerry Swanson [EMAIL PROTECTED] wrote:
I want to write php script that fill out HTML form online. Any ideas
how to do it?
http://pear.php.net/package/HTTP_Request
If that isn't enough, you can open a socket connection directly to the
web server:
I want to write php script that fill out HTML form online. Any ideas
how to do it?
If you have a form such as this:
form method=post action=index.php
input type=text name=line1 value=Testing One
input type=text name=line2 value=Testing Two
/form
You would see two text lines filled in with
been run
(searches and such) so the user can modify what they just did instead of
re-typing it all.
-TG
-Original Message-
From: Jerry Swanson [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 2:40 PM
To: PHP List
Subject: [PHP] HTML form online
I want to write php
I want to write php script that fill out HTML form online.
Any ideas how to do it?
I'm probably reading too much into your question, but it sounds like there
is another website with a form on it, and you would like to develop a script
that would connect to the website, fill in the information
Warren Vail wrote:
If so you probably want to start here;
http://www.php.net/manual/en/ref.curl.php
cURL can do that?
--
_
(_)___Jed Smith, Code Ninja
| / __| RFBs: [email for info]
| \__ \ +1 (541) 606-4145
_/ |___/ [EMAIL PROTECTED] (Signed mail preferred: PGP
Matthew Oatham wrote:
Hi,
I am retrieving data from a database and displaying results on a html so
the user can edit them, I am sending the html form back to the server as an
array, i.e on my html for I might have 10 name fields so in the html code
all name fields are named name[] then I can
Hi,
I am retrieving data from a database and displaying results on a html so the user can
edit them, I am sending the html form back to the server as an array, i.e on my html
for I might have 10 name fields so in the html code all name fields are named name[]
then I can iterate through the
Matthew Oatham wrote:
Hi,
I am retrieving data from a database and displaying results on a html so the user can edit them, I am sending the html form back to the server as an array, i.e on my html for I might have 10 name fields so in the html code all name fields are named name[] then I can
Dear Friends
These is my sample code
test1.html
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTML
HEAD
TITLE New Document /TITLE
META NAME=Generator CONTENT=EditPlus
META NAME=Author CONTENT=
META NAME=Keywords CONTENT=
META NAME=Description CONTENT=
/HEAD
BODY
form name=frm1
Hello prashant,
Wednesday, December 10, 2003, 5:20:18 PM, you wrote:
p form name=frm1 method=POST action=test1.php3 enctype=multipart/form-data
p input type=text name=text1 value=
p input type=file name=file1
p input type=submit name=btnsubmit value=Submit
p /form
You should have set the
On Thursday 11 December 2003 01:25, Richard Davey wrote:
p form name=frm1 method=POST action=test1.php3
enctype=multipart/form-data p input type=text name=text1 value=
p input type=file name=file1
p input type=submit name=btnsubmit value=Submit
p /form
You should have set the max_file_size
Hello Jason,
Thursday, December 11, 2003, 12:29:07 AM, you wrote:
You should have set the max_file_size here, but it's not included.
JW Why? (see archives).
Because it's good practise, not to mention sensible?
--
Best regards,
Richardmailto:[EMAIL PROTECTED]
--
On Thursday 11 December 2003 08:41, Richard Davey wrote:
Thursday, December 11, 2003, 12:29:07 AM, you wrote:
You should have set the max_file_size here, but it's not included.
JW Why? (see archives).
Because it's good practise, not to mention sensible?
Possibly, if and when it is
Hello Jason,
Thursday, December 11, 2003, 12:52:55 AM, you wrote:
JW Possibly, if and when it is supported by most browsers.
IE and Mozilla recognise and support it, where are these other most
browsers ? It might be an advisory, but it's still good practise.
JW But in the context of the OP's
On Thursday 11 December 2003 09:10, Richard Davey wrote:
JW Possibly, if and when it is supported by most browsers.
IE and Mozilla recognise and support it, where are these other most
browsers ? It might be an advisory, but it's still good practise.
If you know off-hand which versions of IE
Hi,
I am trying to send the results of a form to my email account and am having
difficulty carrying the form variable through if I use an html mime type.
Basically, if I send the form using a plain text format, the form results
are sucessfully copied to the email, however, if I change to mime
try this (noticed that I've changed $foo to $_POST[foo]. after all we're
livin in globals off rite? )
?
if ($_POST[submit]) {
print submittedBR;
for($i=0;$isizeof($_POST[foo]);$i++) {
print $_POST[foo][$i].BR;
}
}
else {
?
form action=? echo $_SERVER[PHP_SELF] ? method=post
dear all,
i ran my code below on ie and it works. but when i use netscape 4.76 under linux, i
only get the
message submitted even though i've checked some fields.
what do i need to add to make it work with netscape under linux?
code follows:
?
if ($_POST[submit]) {
print submittedBR;
dear all,
i ran my code below on ie and it works. but when i use netscape 4.76
under
linux, i only get the
message submitted even though i've checked some fields.
The code is running on the same box, right? Just accessing it with
different browsers?
what do i need to add to make it work
I'd like to determine the selected option in a select list based on a
passed variable. The code below won't work, but I can't figure out why.
Any guesses?
echo form;
echo select name=\display\;
echo option value=\true\;
if ($display==false){echo
Funny you should ask - just done it myself:
Why you use mysql_result function?
This can be done a bit simpler way (and more effective):
?php
mysql_connect(db, $user, $password);
$result = mysql_query( SELECT eventName FROM $table);
while(list($event) = mysql_fetch_row($result))
Thanks for that! I was just using the same structure as I found in a code
sample somewhere.
- seb
-Original Message-
From: Lenar [mailto:[EMAIL PROTECTED]]
Sent: 26 July 2001 13:16
To: [EMAIL PROTECTED]
Subject: Re: [PHP] html form question
Funny you should ask - just done it myself
To: [EMAIL PROTECTED]
Subject: Re: [PHP] html form question
Funny you should ask - just done it myself:
Why you use mysql_result function?
This can be done a bit simpler way (and more effective):
?php
mysql_connect(db, $user, $password);
$result = mysql_query( SELECT eventName FROM $table
: Lenar [mailto:[EMAIL PROTECTED]]
Sent: 26 July 2001 13:16
To: [EMAIL PROTECTED]
Subject: Re: [PHP] html form question
Funny you should ask - just done it myself:
Why you use mysql_result function?
This can be done a bit simpler way (and more effective):
?php
mysql_connect(db
What's the method for populating any number of html
form option.../option tags with query results?
I've seen lots of php-embedded examples for CHECKBOX,
RADIO and even SELECT, but I can't seem to figure out
how to create a simple drop-down menu. HELP!!!
What's the method for populating any number of html
form option.../option tags with query results?
I've seen lots of php-embedded examples for CHECKBOX,
RADIO and even SELECT, but I can't seem to figure out
how to create a simple drop-down menu. HELP!!!
Wouldn't it just be:
select
. /select;
return ($tmpOut);
}
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: July 26, 2001 9:02 AM
To: CGI GUY; [EMAIL PROTECTED]
Subject: Re: [PHP] html form question
On Thu, 26 Jul 2001 10:27, CGI GUY wrote:
What's the method for populating any number
Funny you should ask - just done it myself:
?php
$table=shoots;
require (connect.php4);
$result=MYSQL_QUERY( SELECT eventName FROM $table);
$num_rows = mysql_num_rows($result);
for ($i=0;$i$num_rows;$i++)
{
echo option;
37 matches
Mail list logo