It seems that something like this would work. If you can find the
temporary file while it's uploading, you could have a different script
in a new window retrieve the size of the temporary file every 5 or 10
seconds, then do some math to convert that into a percent of the total
size. The graph
If anyone's interested, i've posted up a very simple
HTML class i wrote to handle form elements.
http://furt.com/code/php/html_class/
It'll do what you're looking for:
$html = new Html();
for ($i=0; $i<=12; $i++)
$all_months[ date("m",mktime(0,0,0,$i)) ] =
date("F",mktime(0,0,0,$i));
Hello,
New to the list and have a PHP-sized headache.
I'm attempting to connect to an Oracle DB and, being totally new to PHP, was
looking for a pre-built script. What I have been finding doesn't seem to
want to run. I keep getting ORA-03121 - no interface driver connected.
Below is the sn
On 3 May 2002 at 15:57, Mike Flynn wrote:
> At 01:21 AM 5/4/02 +0530, Arijit Chaudhuri wrote:
> >File uploads are a breeze to code in php. However, I have got a
> >request from a client to show the percentage uploaded or some graphic
> >progress monitor as the upload process is difficult to track
Hi Arijit,
Unfortunately, I don't think there is. The file data is sent in the
*request* for the PHP page, meaning the PHP page doesn't even get sent back
to the user until the file is done uploading. So there's not really any
choice but for the user to view the page with the upload form unt
File Uploads are a client side "post" feature, aren't they? Is there a browser
that offers this functionality?
--
Scott Carr
OpenOffice.org
Whiteboard-Doc Maintainer
http://whiteboard.openoffice.org/doc/
Quoting Arijit Chaudhuri <[EMAIL PROTECTED]>:
> Hi all,
>
> File uploads are a breeze to
Hi all,
File uploads are a breeze to code in php. However, I have got a request from
a client to show the percentage uploaded or some graphic progress monitor as
the upload process is difficult to track for large files. Is there any way
of coding such a progress tracker for file uploads in php?
Jerry,
I was trained at a college that had little use for Microsoft products and I
feel I am all the better for it. Yes I have found that setup and
configuration of the non microsoft products may be text based, or somewhat
cryptic at first but I have found that with some, as you put it,
determinat
Off the top of my head, try something like:
preg_match('/(\d+)/', $var, $matches);
then look what's in $matches.
---
Scott Hurring
Systems Programmer
EAC Corporation
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 201-288-1515
> -Original Message-
> From: Alberto. Sartori [mailto:[EMAIL PROT
Wow, that was a very fast response and from so many people re:
shutting down Apache. Thank you all.
I have been developing Web sites with ASP and MS SQL Server. I am
so sick of Microsoft's greed for cash and power that I just had
to bail. Just an example, Visual Studio .net can be had for no
less
No - because it is not a service. You can do an
"wherever\apache\is\bin\apache -k stop" as well.
-Dash
-Original Message-
From: Scott St. John [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 10:55 AM
To: Dash McElroy
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Shutting down Apach
Can you do a net stop apache in a command window on 98?
On Fri, 3 May 2002, Dash McElroy wrote:
> Apache will shut down cleanly with a CTRL-C in the DOS window.
>
> -Dash
>
> -Original Message-
> From: Jerry [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 03, 2002 11:05 AM
> To: PHP W
Apache will shut down cleanly with a CTRL-C in the DOS window.
-Dash
-Original Message-
From: Jerry [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 11:05 AM
To: PHP Win
Subject: [PHP-WIN] Shutting down Apache on Windows
Hello! I just setup Apache 1.3 on Win98 using Triad. Everyt
Hello! I just setup Apache 1.3 on Win98 using Triad. Everything
works great. I am running Apache and need to know how to shut it
down properly. I can't find any instructions on this in the
documentation. There is a DOS window open that does not allow me
type anything. How should I do it?
TIA,
Jer
try:
echo" test link";
--
Best regards,
George Nicolae
IT Manager
___
PaginiWeb.com - Professional Web Design
www.PaginiWeb.com
"R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I'm having the problem of the quotes I have se
I'm having the problem of the quotes I have seen mentioned on this list
before but I forgot how to resolve it:
echo" http://www.mysite.com','market')'>test link";
how do I resolve the need for multiple occurances of the quotes so they
won't terminate each other?
Thanks,
Ron
--
PHP Windows
I found it, never mind
If anyone else hits this, check the settings for the home directory, and
make sure that read and execute access are both allowed.
"Charles Prettyman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am ne to PHP, and just installed in
Hi guys, I need to make a right pattern to extract only digits from a string like this:
"Hello 12 28 99 World"
Any idea? I've red lots of docs, but I'm newbie about regexp
Thanks in advance,
regards, Alb
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
hi
i have 2 questions in one,
lock the folowing code:
print: session start ok... another line
1. Why "session destroyed ok" did not show.
2. Why whole de answer was displayed in only one line.
thanks in advance
escuse my english
RAM
Many thanks indeed. That did the trick. Peter Finch
"Scott Hurring" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> you have to setup the directory for sessions in your
> 'php.ini' file.
>
> It defaults to '/tmp', which is *not* a subdir, but
> a root-dir (AFA
I am ne to PHP, and just installed in on a WinNT4 machine running IIS 3. I
have a little test page, just to validate that it's working, that should
simply echo "helloo World" (the test page described atthe beginning of every
book)
but all I get is a blank page. Viewing the page source shows all
You can do this with:
extract($_REQUEST, EXTR_SKIP)
However, you are making some invalid assumptions here. Script variables
get initialized after the request variables are automatically imported, so
this overwrite switch could not be a high-level php.ini switch. You can
do it with a user-spa
php-windows Digest 3 May 2002 11:13:09 - Issue 1125
Topics (messages 13498 through 13507):
Re: PHP generation of fields
13498 by: Dash McElroy
Re: Php on windows - Linux and Windows Editors
13499 by: Russell Griechen
Simple string function help needed
13500 by: RS
That would be easy to solve by just adding a non_overwrite flag to the
vars and thrus forbid the vars from get/post to override vars in the
varspace that come from programming and not from get/post...
One would keep the global vars but would also have the security of the
existing/declared vars
I've
been trying to do as you mentioned below.The only difference is that i'm using
phpdev and i downloaded jdk1.1.8.Things are still not working(same error
message).You can look at the attached php.ini and my configurations and advise
me appropriately.
-Original Message-From: San
Posting the variables might solve the problem in this case, but remember
that this is just an example, and I'm sure any creative mind could come up
with a whole heap of ways you could exploit something like this.
On the other hand though, you don't have to use it. If you are confident
you can wr
26 matches
Mail list logo