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 s
I do this
Example:
";
break;
case "upload":
//Upload function here
$dispay_time = date('is') - $_POST['$click_stamp'];
Echo "File took $dispay_time to upload";
//Time stamp it anyway you want EXAMPLE ONLY!!
break;
}
?>
FOR GODS SAKE DON'T comment on syntax or design. I DO NOT CARE this i
> 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 for
[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 timest
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.
>
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
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 wha
On Tue, January 2, 2007 9:23 am, Charley wrote:
>
...
>
> */
>
> $pf = "AccountID=XX";
...
> $pf .= "&paymentidfilter=";
You are missing the "Submit" input, and ASP being ASP, it probably was
programmed to expect it, and will puke without it.
You also have added a paymen
Have you looked at this tutorial -
http://devzone.zend.com/node/view/id/1081
It has an example specifically for how to use curl with POST
Respectfully,
Ligaya Turmelle
-Original Message-
From: Charley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 03, 2007 1:24 AM
To: php-general@li
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 ...
>
> session_start();
> /*
> https://www.e-
* 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 the
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 fo
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
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 cou
-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
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
al
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 http://in
life. 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
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
> 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
“PHP
> Manual” (I downloaded it in php.net page, and I
configured the PHP.ini
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
Chr
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 help:-)
>
> use mysql_query("INSRT INTO table SET name='$name', email='$email'"); ..
no, don't worry, we'll help:-)
use mysql_query("INSRT INTO table SET name='$name', email='$email'"); ...etc
see some examples you can find in documentations. Browse the web for it -
there's a whole bunch.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins
To send any information you need to use the mysql_query() function after
connecting with mysql_connect() or mysql_pconnect(). They are all documented
in the manual. Or am I misreading your question??
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, Ap
24 matches
Mail list logo