[PHP] I need help handling form posting

2007-11-15 Thread Jon Westcot
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

Re: [PHP] I need help handling form posting

2007-11-15 Thread Per Jessen
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

Re: [PHP] I need help handling form posting

2007-11-15 Thread Per Jessen
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:

Re: [PHP] I need help handling form posting

2007-11-15 Thread Per Jessen
[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

Re: [PHP] I need help handling form posting

2007-11-15 Thread Robert . Degen
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

RE: [PHP] I need help handling form posting

2007-11-15 Thread admin
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

Re: [PHP] I need help handling form posting

2007-11-15 Thread Daniel Brown
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

Re: [PHP] I need help with PHP, cURL, and POST

2007-01-03 Thread Richard Lynch
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

[PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Charley
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

Re: [PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Jochem Maas
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

RE: [PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Ligaya A. Turmelle
@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

[PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Charley
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

[PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Charley
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,

Re: [PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Richard Lynch
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

[PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Charley
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.)

[PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Charley
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

[PHP] I need help figuring out something

2004-10-10 Thread Brent Clements
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

[PHP] i need help

2004-05-17 Thread Student
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]

Re: [PHP] i need help

2004-05-17 Thread Travis Low
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

Re: [PHP] i need help

2004-05-17 Thread Curt Zirzow
* 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

[PHP] i need help help with include

2004-01-07 Thread PHP
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

Re: [PHP] i need help help with include

2004-01-07 Thread Richard Davey
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

Re: [PHP] i need help help with include

2004-01-07 Thread Marek Kilimajer
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

[PHP] I need help

2003-02-15 Thread Kari Tuurna
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

[PHP] I need help building The CGI Open Source Foundry (COSF)

2002-03-17 Thread David Duong
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

[PHP] I need help

2002-01-19 Thread Hassan Khan
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.

Re: [PHP] I need help

2002-01-19 Thread Nick Wilson
-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' -

[PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Nicolas Llamosas
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

Re: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Chris Hayes
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

Re: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Richard S. Crawford
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

RE: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Dana Holt
. 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

RE: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Srinivasan Ranganathan
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

Re: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Gaylen Fraley
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

[PHP] I need help from you.

2001-04-25 Thread javieryep
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

Re: [PHP] I need help from you.

2001-04-25 Thread Chris Anderson
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

RE: [PHP] I need help from you.

2001-04-25 Thread Maxim Maletsky
) [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

Re: [PHP] I need help from you.

2001-04-25 Thread Chris Fry
:[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

RE: [PHP] I need help from you.

2001-04-25 Thread Maxim Maletsky
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