Hello, All,
I've given myself two black eyes and a bloody nose on this one, and I'm sure
it's a simple solution. I have a form on the php page "entry.php":
At the top of that page, I have the PHP code:
With IE 5.2 on Mac, I submit this form and I see "POST" echoed at the top of
the page.
e:
> Have you checked the $_POST (or $HTTP_POST_VAR) variable to make sure it IS
> using GET?
>
> Martin
>
>
> -Original Message-
> From: Jed Verity [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 3:19 PM
> To: [EMAIL PROTECTED]
> Subject:
Hi, Roland,
There might be a better way to do this, but you could try to use the
header() function after your upload takes place to redirect the browser to
the same page, using GET. Something like...
http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].");
}
?>
Or something like that. HTH,
Jed
Oops. There was an extra period at the end there (after PHP_SELF).
http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']");
}
?>
On the threshold of genius, Jed Verity wrote:
> Hi, Roland,
>
> There might be a better way to do this, but you could try
Hello, Steve,
When you call mysql_fetch_array the first time, you are accessing the data
from the first row of your results and then moving the pointer to the next
row. So, when you call mysql_fetch_array the second time, it is already
starting with the second row of your results. Try something l
Hello Chandu,
You can use in_array(needle, haystack) for this. For example,
if (in_array("abc",$subs)) {item found, do stuff...}
HTH!
Jed
On the threshold of genius, N. Pari Purna Chand wrote:
>
> I have $sub = "abc";
>
> and
>
> $subs[0] = "cde";
> $subs[0] = "iyu";
> $subs[0] = "abc";
>
There really isn't a great solution for this, that I know of. It's one of
the few things that makes an argument for ASP over PHP, as far as I'm
concerned (if you have the luxury of choosing). Below is what I did once to
try to get around the problem. It worked *okay*.
The bummer is that I had to
Sorry, I wrote too quickly. I meant that the file size field value is passed
to the bottom frame. And JavaScript is used to resize the gif, not DHTML.
(Used to be DHTML when I was adding nbsp instead of resizing an image.)
HTH,
Jed
On the threshold of genius, Jed Verity wrote:
> There rea
Yikes, I sort of lied. It's been awhile...
Clients uploaded files from an intranet server to an external servier via
their browser and ftp_put. It wasn't local machine to remote server.
Sorry! Best of luck,
Jed
P.S. I wonder, though, if there isn't some way to execute a script with
exec() to ge
You're right about it costing more money. But we had one server handling a
bunch of uploads, most of them over 25 MB, and 99% being instigated by very
impatient, not very technical, people. People who kept canceling and
canceling, despite our directions, because they thought it was stuck or
frozen
Hello, Folks,
My apologies if this has been asked a thousand times. I've just joined the
list.
I can't find any information on passing JavaScript variables to PHP on the
same page (i.e. not through the POST information of a submitted form). Is
this because it's not possible?
To take the load of
en frame or layer and refreshing that...
>
> ---John Holmes...
>
>> -Original Message-
>> From: Jed Verity [mailto:[EMAIL PROTECTED]]
>> Sent: Saturday, June 29, 2002 3:14 PM
>> To: [EMAIL PROTECTED]
>> Subject: [PHP] Javascript to PHP?
>>
>&
Hello, Chris,
Many thanks for the thorough description. It does make sense, of course...I
was just hoping that there was some kind of funky loophole that small brains
like mine couldn't comprehend.
Thanks again!
Jed
I liked it when Chris Shiflett wrote this to me:
> Jed Verity wrote:
Hello Again, Folks,
I've been testing this for a while and keep coming up with mixed results. In
general, is it faster and more efficient to query a MySQL database once with
a large SQL select statement and then loop through the huge resulting table?
Or does it make better sense to perform a numb
, 2002, at 03:13 PM, Jed Verity wrote:
>
>> I can't find any information on passing JavaScript variables to PHP on
>> the
>> same page (i.e. not through the POST information of a submitted form).
>> Is
>> this because it's not possible?
>>
>&
15 matches
Mail list logo