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
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 (preferab
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
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
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:
>>
>>
>> Profesor titular
>> Profesor asociado
>> Profesor adjunto
>> Jefe de trabajos pracáá½ticos
>> Ayudante de cat½edra
>> Ayudante a
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 opt
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 select
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
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 0x703F
> 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 informatio
s 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 w
> 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:
You would see two text lines filled in with Testing One and Testing Two.
So replace the value with whatever data you're gathering from PHP.
For textarea's do as su
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:
php.net/
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
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 iter
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 iterat
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 arra
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
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'
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: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 01:25, Richard Davey wrote:
> p> enctype="multipart/form-data"> p>
> p>
> p>
> p>
>
> You should have set the max_file_size here, but it's not included.
>
>
Why? (see archives).
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Syst
Hello prashant,
Wednesday, December 10, 2003, 5:20:18 PM, you wrote:
p>
p>
p>
p>
p>
You should have set the max_file_size here, but it's not included.
This must come BEFORE the input type=file and remember the value is in
bytes (not KB), so the above will only let you upload a file of
ap
Dear Friends
These is my sample code
test1.html
New Document
test1.php3
Test Page
I am Facing the problem that if i use enctype="multipart/form-data" in form object
then i am unable to retrieve the values passed from .html form.
So if i am using a File Upload
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 typ
> 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
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:
";
for($i=0;$i";
}
}
else {
?>
method=post
try this (noticed that I've changed $foo to $_POST["foo"]. after all we're
livin in globals off rite? )
";
for($i=0;$i";
}
}
else {
?>
" method="post">
One
Two
Three
--
roger
--- "John W. Holmes" <[EMAIL PROTECTED]> wrote:
> > dear all,
> > i ran my code below on ie and it w
Name your select element "majors[]" and when the form is submitted, your
form handler will get an array, not a scalar, called $majors. Step
through the array, and you'll get all the options that were selected.
~Chris /"\
\ /
Hi all.
I have a tag like this on a php-generated web page.
Art
Biology
Business and Economics"
etc.
etc.
My question is... since this is a multiple-select list, in the php script
that this form calls on a submit, how do I determine which options have been
selected? If I look at
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 "";
echo "";
echo "Display";
echo "Don't Display";
echo "";
echo "";
Thanks!
> while(list($value) = mysql_fetch_row($result))
> echo "$value\n";
> }
> ?>
>
> - seb
>
> -Original Message-----
> From: Lenar [mailto:[EMAIL PROTECTED]]
> Sent: 26 July 2001 13:16
> To: [EMAIL PROTECTED]
> Subject: Re: [PH
essage-
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:
Why you use mysql_result function?
This can be done a bit simpler way (and more effective):
$event\n";
?
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
> 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):
$event\n";
?>
Lenar
>
>$table="shoots";
> require ("connect.php4");
> $result=MYSQL_QUERY( "SELECT eventName FROM $table");
> $num_rows = mysql_n
Funny you should ask - just done it myself:
";
echo mysql_result($result,$i,"eventName");
echo "";
}
MYSQL_CLOSE();
?>
- seb
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
e
$tmpOut = $tmpOut . ">" .
MYSQL_RESULT($result,$count,$optiontext) . "";
}
$tmpOut = $tmpOut . "";
return ($tmpOut);
}
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: July 26, 2001 9:02 A
> What's the method for populating any number of html
> form ... 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:
On Thu, 26 Jul 2001 10:27, CGI GUY wrote:
> What's the method for populating any number of html
> form ... 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!!!
You
What's the method for populating any number of html
form ... 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!!!
__
Do Y
40 matches
Mail list logo