RE: [PHP] More image questions...
Zara: >> If I have a user input a file in an html form for uploading, is there any way that I can pull the name of the file that was uploaded out some how? << If your file field is called "the_file" $the_file_name $the_file_type $the_file_size are all created and contain good stuff to play with... C! www.netinfra.com 303 447 2496 x 107 S! Sub $100 dedicated PHP servers coming... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Preventing Identical Form Fields
With javascript onSubmit, but that ain't php, so with if($form1==$form2){sendthembackwitherrors()} --- Christopher Wright 303 447 2496 x 107 www.netinfra.com "We'll take care of it." "Net Infrastructure has definitely helped our company, even though we're not in the US, Net Infrastructure has been a key part in the success of our business." Juan Carlos Saravia -Original Message- From: Dave Rosenberg [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 9:30 AM To: [EMAIL PROTECTED] Subject: [PHP] Preventing Identical Form Fields Pretty simple question, I think: I'm creating a PHP form and want to prevent users from entering the same response in more than one form field. How can I have the script check for identical fields on POST? Thanks Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] force refresh?
Probably only by writing javascript to the window using php. --- Christopher Wright 303 447 2496 x 107 www.netinfra.com "We'll take care of it." "Net Infrastructure has definitely helped our company, even though we're not in the US, Net Infrastructure has been a key part in the success of our business." Juan Carlos Saravia -Original Message- From: Jeff D. Hamann [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 9:02 AM To: [EMAIL PROTECTED] Subject: [PHP] force refresh? can i force a browser to refresh using php. jeff. -- Jeff D. Hamann Hamann, Donald & Associates, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421 Bus. 541-753-7333 Cell. 541-740-5988 [EMAIL PROTECTED] www.hamanndonald.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Inline or not inline
Hi Is it possible to have PHP spawn a second process that will run independently of the script that started it? This is what I'm trying to do : 1 - page.php > browser calls it, starts to execute 2 - if (condition) > fetch information from server.x via http pipe, log to database 3 - display page.php The problem is, step 2 is at the mercy of the speed of server.x and provides no value to the end user (i.e. it's just going into the db) so they shouldn't be made to wait for it. So what I'd like to do is have step 2 run and complete while step 3 is taking place - the only way I can think is to do something controllable, like create a 'to do' list for another script, then have a cron processing the to do list automatically. But there must be a better way... The data coming from server.x is dynamic, and so needs to be collected almost at the same time. Any ideas? Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php