php-windows Digest 22 Dec 2004 20:09:24 -0000 Issue 2515
Topics (messages 25191 through 25195):
Showing file field value with PHP
25191 by: S.D.Price
Update to version 2.3.10
25192 by: Randy Clamons
25193 by: Edin Kadribasic
25195 by: Randy Clamons
Need prescriptions? We have it all
25194 by: Therese Land
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Hi does anyone know in PHP a way of showing the value of a file input
form element?
I have built an application which allows a user to select a news entry
record to edit. This record has links to documents which were entered
using <input type=file> fields. When I show the edit form I want the
user to be able to modify these not see empty form fields (they may then
think that the fields are empty and reselect again).
Thanks
Steven
--- End Message ---
--- Begin Message ---
Using Win2K, IIS 5.0, PHP 2.3.10.
After updating, this piece of code (file names have been changed here) is
throwing an error in php 2.3.10. It worked fine with 2.3.2, and still works
when I rollback the update.
$config['feedata'] = "c:/basedir/fees.dat";
$config['locationdata'] = "c:/basedir/locations.dat";
$config['defaultdata'] = "c:/basedir/default.dat";
foreach (Array ( $config['feedata'], $config['locationdata'],
$config['defaultdata'] ) as $filename) {
if ($fh = fopen($filename, "r") ) {
... blah blah ...
}
}
Warning: fopen() expects parameter 1 to be string, array given in auction.php
on line 35
What am I missing?
Randy Clamons
Systems Programming
Astro-auction.com
--- End Message ---
--- Begin Message ---
You're missing upgrade of ZendOptimizer (written in big red letters on the
downloads page :)
Edin
"Randy Clamons" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Using Win2K, IIS 5.0, PHP 2.3.10.
After updating, this piece of code (file names have been changed here) is
throwing an error in php 2.3.10. It worked fine with 2.3.2, and still works
when I rollback the update.
$config['feedata'] = "c:/basedir/fees.dat";
$config['locationdata'] = "c:/basedir/locations.dat";
$config['defaultdata'] = "c:/basedir/default.dat";
foreach (Array ( $config['feedata'], $config['locationdata'],
$config['defaultdata'] ) as $filename) {
if ($fh = fopen($filename, "r") ) {
... blah blah ...
}
}
Warning: fopen() expects parameter 1 to be string, array given in
auction.php on line 35
What am I missing?
Randy Clamons
Systems Programming
Astro-auction.com
--- End Message ---
--- Begin Message ---
That did the trick!! Thank you so much.
Randy
> ------------Original Message------------
> From: "Edin Kadribasic" <[EMAIL PROTECTED]>
> To: [email protected]
> Date: Tue, Dec-21-2004 7:05 PM
> Subject: [PHP-WIN] Re: Update to version 2.3.10
>
> You're missing upgrade of ZendOptimizer (written in big red letters on
> the
> downloads page :)
>
> Edin
>
>
> "Randy Clamons" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> Using Win2K, IIS 5.0, PHP 2.3.10.
>
> After updating, this piece of code (file names have been changed here)
> is
> throwing an error in php 2.3.10. It worked fine with 2.3.2, and still
> works
> when I rollback the update.
>
> $config['feedata'] = "c:/basedir/fees.dat";
> $config['locationdata'] = "c:/basedir/locations.dat";
> $config['defaultdata'] = "c:/basedir/default.dat";
>
> foreach (Array ( $config['feedata'], $config['locationdata'],
> $config['defaultdata'] ) as $filename) {
> if ($fh = fopen($filename, "r") ) {
> ... blah blah ...
> }
> }
>
> Warning: fopen() expects parameter 1 to be string, array given in
> auction.php on line 35
>
> What am I missing?
>
> Randy Clamons
> Systems Programming
> Astro-auction.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
We have everything you're looking for in prescription
medications. We also ship them to you in 24 hours!
Simplify your life ... Take a look ...
http://www.groats8jagged.com/?K5xLSBHkf07pXDZOhC
Ordering on the internet is fast, easy and secure. You'll save too.
I don't want this http://www.groats8jagged.com/?I8GbDkLf-1H7rjQ
CNR of Granby & Sharpe St
Ste K2080
Kingstown
St Vincent & the Grenadines
--- End Message ---