Hi all:
In my quest to make things seem easier for the user to understand, I'm
trying to retrieve the time that I start posting a very large file via a form
post. The form action sends it back to itself, which is fine. It took me some
time to figure out that NOTHING happens on the client
Jon Westcot wrote:
Is there a way that I can intercept the click of the Upload
button, have it update a field (probably a hidden one) with a
date/time stamp, and then have that value included in the $_POSTed
values?
Sure, javascript is the answer.
/Per Jessen, Zürich
--
PHP
Per Jessen wrote:
Jon Westcot wrote:
Is there a way that I can intercept the click of the Upload
button, have it update a field (probably a hidden one) with a
date/time stamp, and then have that value included in the $_POSTed
values?
Sure, javascript is the answer.
pseudocode:
[EMAIL PROTECTED] wrote:
But don't forget to send a server timestamp within the form. Just for
the case that server time and client time may differ in some minutes
(or even timezone).
The OP said I'd like to be able to notify the user of when the file
upload actually began., so the timestamp
Jon Westcot wrote:
Is there a way that I can intercept the click of the Upload
button, have it update a field (probably a hidden one) with a
date/time stamp, and then have that value included in the $_POSTed
values?
Sure, javascript is the answer.
But don't forget to send a
THIS IS NOT A COPY PASTE AND IT WILL
RUN!!
-Original Message-
From: Jon Westcot [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 15, 2007 4:17 AM
To: PHP General
Subject: [PHP] I need help handling form posting
Hi all:
In my quest to make things seem easier for the user to understand
On Nov 15, 2007 12:14 PM, [EMAIL PROTECTED] wrote:
FOR GODS SAKE DON'T comment on syntax or design. I DO NOT CARE this is a
example ONLY!!!
OF COURSE I LEFT OUT CODE. OF COURSE THIS IS NOT A COPY PASTE AND IT WILL
RUN!!
There should be an apostrophe in GODS and your sentence should
On Tue, January 2, 2007 8:56 pm, Charley wrote:
What do you mean about the submit input? I
thought that was just a text link to cause
the form to be submitted when clicked. I
didn't know that it sent anything to the
server. (As you can tell, I don't know
anything about asp except what it
I am an experienced programmer who is just learning php and curl.
I have tried for several days to figure out how to use curl with POST
to get history information from e-gold.
The following script, which I guess uses GET works when have
appropriate stuff in them.
But no matter
Charley wrote:
I am an experienced programmer who is just learning php and curl.
...
Would someone be interested in showing me exactly what I need to modify this
script to work with POST?
the interest is 10%/week ;-) ... read on ...
?php
session_start();
/*
form
@lists.php.net
Subject: [PHP] I need help with PHP, cURL, and POST
I am an experienced programmer who is just learning php and curl.
I have tried for several days to figure out how to use curl with POST to
get history information from e-gold.
The following script, which I guess uses GET works when
To Ligaya and Jochm,
Thanks for your answers.
I have read and tried what several tutorials say to do. I have used both
arrays and query strings to specify the post fields. I had not seen the
tutorial Ligaya mentioned, but it was not essentially different from the others
I have seen. And
I apologize for the previous message. This
one should wrap better.
To Ligaya and Jochm,
Thanks for your answers.
I have read and tried what several tutorials
say to do. I have used both arrays and query
strings to specify the post fields. I had
not seen the tutorial Ligaya mentioned,
On Tue, January 2, 2007 9:23 am, Charley wrote:
input type=hidden name=AccountID value=XX
...
input type=submit value=Submit
*/
$pf = AccountID=XX;
...
$pf .= paymentidfilter=;
You are missing the Submit input, and ASP being ASP, it probably was
programmed to
Richard,
Thanks for your answer.
What do you mean about the submit input? I
thought that was just a text link to cause
the form to be submitted when clicked. I
didn't know that it sent anything to the
server. (As you can tell, I don't know
anything about asp except what it stands
for.)
It works!
All I did was comment out the
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1)
and set up the post and post fields options.
I used the query string format.
I may try the array later, but since this
works, I'm going to use it for now.
Thanks everybody!
--
PHP General Mailing List
I'm trying to write text to an image but some parts of the text should be in italics.
For instance, I have the following string.
$string = This is a [i]test[/i] string that [i]has[/i] some parts in [i]italics[/i]
How do I display that on an image using the image functions with php but display
Hi i was hoping if someone can help;
I want to trim the following text
[i:abcdef]
but the inside text is different at time eg abcdef, bcdefg, etc etc
how can i trim [i:(some text here)] so that i can replace them with nothing.
eg these are to be trimmed.
[i:abcdef]
[i:bcdefg]
[i:xyzab]
You need to learn how to use regular expressions. The manual page is here:
http://www.php.net/manual/en/ref.pcre.php
I could easily write the regular expression for you, but then you wouldn't
learn anything.
cheers,
Travis
Student wrote:
Hi i was hoping if someone can help;
I want to trim the
* Thus wrote Student ([EMAIL PROTECTED]):
Hi i was hoping if someone can help;
I want to trim the following text
[i:abcdef]
but the inside text is different at time eg abcdef, bcdefg, etc etc
how can i trim [i:(some text here)] so that i can replace them with nothing.
eg these are to
Hi
I created a directory and files 3 directory's down
root/dir1/dir2/dir3/files
now i need to include my function file out of the root
root/dir/funtionfile
How do i do this?
I cannot create a htacess file on this server nor set my include path.
Can anyone help please
Thanks
--
PHP
Hello,
Wednesday, January 7, 2004, 2:13:03 PM, you wrote:
P now i need to include my function file out of the root
P root/dir/funtionfile
P How do i do this?
P I cannot create a htacess file on this server nor set my include path.
Err..
include(/root/dir/functionfile.php);
:)
You could
include('../../../functionfile');
or something similar
PHP wrote:
Hi
I created a directory and files 3 directory's down
root/dir1/dir2/dir3/files
now i need to include my function file out of the root
root/dir/funtionfile
How do i do this?
I cannot create a htacess file on this server nor
hi
i am new at this list and php...
can anybody help me with my problem:
i would like to show last 10 referres at my website.
now it writes to reflog.txt:
http://www.foo.bar/link_to_my_site.html
and to show-refs.php is
a
I need some experienced people to become managers of the CGI Open Source
Foundry (COSF)?
I am planning to make a CGI Open Source Foundry
We will start in stages.
Stage 1 getting initial members (Hard Part)
- Once we gain 10-20 members we will start stage 2.
Stage 2 Dividing them into
Dear Sir,
I am facing the problem with the PHP configuration. Whenever I try to load
the php_oci8.dll. It gives me an error
Unable to load dynamic library 'C:\php\extensions\php_oci8.dll' - The
specified module could not be found
I have tried my best to resolve this problem but all in vain.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 19-01-02 at 13:14
* Hassan Khan said
Dear Sir,
I am facing the problem with the PHP configuration. Whenever I try to load
the php_oci8.dll. It gives me an error
Unable to load dynamic library 'C:\php\extensions\php_oci8.dll' -
My name is Nicolás Llamosas, I`m from Río Cuarto, Argentina and sorry for my
poor english. I need informacion about how configure Personal Web Server
under W98 to use with PHP 3.0 I downloaded the BIN code of PHP version
3.0.17 for W32 and I followed the instructions on the manual #8220;PHP
poor english. I need informacion about how configure Personal
Web Server
under W98 to use with PHP 3.0 I downloaded the BIN code of
PHP version
3.0.17 for W32 and I followed the instructions on the manual
#8220;PHP
Manual#8221; (I downloaded it in php.net page, and I
configured the
Getting PHP to work with Apache is pretty simple. The documentation is
easy to read.
I would agree with trying Apache on your Win98 box; but be warned that the
current Apache release is only supposed to be stable on NT
platforms. Since I have win2k it's not an issue for me, but it might now
. Without my sig I am useless, without me
my sig is useless.
--
-Original Message-
From: Richard S. Crawford [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 11:00 AM
To: [EMAIL PROTECTED]; Nicolas Llamosas; [EMAIL PROTECTED]
Subject:Re: [PHP] I NEED HELP
Hi
Oh yes, run apache+php on win 98. works like a wonder.
try the php-win32 site for win98 specific distro.
regards
Srinivasan Ranganathan
*NEW* Yahoo! Messenger for SMS *NEW*
Now on your ORANGE phone
Visit
I've been running Apache on 98SE (I agree - DON'T ASK!) for most of this
year without ny issues at all. Win98needs reboots a few times a week, but
it's not Apache's problem. I also run PHP4.0.6 and 4.0.8-dev and MySQL
3.23.43 and they all work and play well together. Just to keep my sanity, I
Hello,
I have seen your email at PHP site - developers.
I need a simple syntax that you may understand.
I want to send data TO mysql FROM my contact form.
the database is hosted and provided by my hosting provider.
I do not know what is the syntax to send that data.
I make
25, 2001 5:01 PM
Subject: [PHP] I need help from you.
Hello,
I have seen your email at PHP site - developers.
I need a simple syntax that you may understand.
I want to send data TO mysql FROM my contact form.
the database is hosted and provided by my hosting provider.
I do
)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 6:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] I need help from you.
Hello,
I have seen your email at PHP site - developers.
I need a simple
:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 6:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] I need help from you.
Hello,
I have seen your email at PHP site - developers.
I need a simple syntax that you may understand.
I want to send data TO mysql FROM my contact form
Cc: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: Re: [PHP] I need help from you.
Don't think that's going to work - that's an UPDATE syntax - should be:
mysql_query(INSERT INTO table (name, email) VALUES('$name', '$email'));
...etc
Chris Fry
Maxim Maletsky wrote:
no, don't worry, we'll
38 matches
Mail list logo