php-windows Digest 29 Nov 2002 04:54:03 - Issue 1462
Topics (messages 17207 through 17210):
Re: Redirect browser to another URL?
17207 by: Stephen Edmonds
17208 by: Rich Gray
Re: Getting my IP adress (not 127.0.0.1)
17209 by: erythros
Is stdout slow?
17210 b
I have a script that grabs some 250,000+ rows, 1 field. Then prints it to
the screen.
The problem is, it takes over 10 minutes just to print. The query itself
takes under 30 seconds. So, is there a faster way to print out 5 million
characters to the web page? This seems to be the slow part. Anyone
here's a simple way
"Steve Yates" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> "Michael Delorme" <[EMAIL PROTECTED]> wrote
> > However I only get 127.0.0.1
> > But I want the "public" dynamic adress my ISP gave me,
>
> Don't use localhost, that's alway
Hi Max
My comment on switching off javascript was just to warn you that there are
users/browsers out there who have it switched off all the time so your
script won't work for these users... Doing it all in PHP i.e. server side
will avoid that problem.
>From what you have described I would start l
I see what you mean. I suggest making a separate page to process the form...
such as formprocess.php. When the user is sent to the page, you can access
all the variables using $_GET or $_POST arrays (depending on how your form
is sent), add the new record, and then at the bottom send the user back
php-windows Digest 28 Nov 2002 16:03:19 - Issue 1461
Topics (messages 17180 through 17206):
Stupid Question About IIS and PHP
17180 by: Diggy Bell
17183 by: J.Veenhuijsen
Re: Redirect browser to another URL?
17181 by: Max Graham
17185 by: Rich Gray
17
I don't believe that is possible. The problem is with the way the internet
works. You do not have a connection to your user while they are browsing
your site, only when they request a page.
Client -> Requests a Page -> Connection to server open
Server -> Sends the page -> Connection closed...
Thi
Toby,
> pardon my ignorance . i think postgre only works with freebsd,
> unix,linx or solaris can it work with windows ?
You can get PostgreSQL on Windows if you use the Cygwin tools
(www.cygwin.com). Along with the database, you can also pick up Apache and
PHP as well. The price is rig
The original issue was, I tried to have the single page to display any
previous comments, and then a form to add comments. Then, once it was
submitted, it would submit itself. The page was supposed to detect whether
any new data had been submitted, by way of a hidden input in the form, and
if so, w
I like this approach. I may try that out sometime, because in this case I
didn't really want any output before the header. All the scripting work was
to be done before any output hit the browser window anyways.
- Original Message -
From: "Stephen Edmonds" <[EMAIL PROTECTED]>
To: "PHP Helpl
Ahhh yes I have seen this mentioned somewhere, and yet I can't remember
where right now. This is the output buffering that lets you even put header
content after page content and still have it appear before, isn't it?
If I remember correctly, this is controlled by setup on the server, right?
Hello Ignatius,
Thursday, November 28, 2002, 4:58:16 PM, you wrote:
IR> Oops!
IR> This is better:
`net start >> c:/netlist.txt` // back ticks
IR> ^^
>> you can do:
>> `net start c:/netlist.txt` // back ticks
>> the resulting file is trivial to parse.
Thanks!
Before sending my que
Maybe I can send some http post or something using javascript?
mst
Uzytkownik "B.A.T. Svensson" <[EMAIL PROTECTED]> napisal w wiadomosci
000301c296e8$c41f7450$[EMAIL PROTECTED]">news:000301c296e8$c41f7450$[EMAIL PROTECTED]...
> > Ok. But how i can check when user go out?
>
> If they don't logout pr
Oops!
This is better:
`net start > c:/netlist.txt` // back ticks
^^
Ignatius
- Original Message -
From: "Ignatius Reilly" <[EMAIL PROTECTED]>
To: "Alexander Kuznetsov" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, Novemb
you can do:
`net start c:/netlist.txt` // back ticks
the resulting file is trivial to parse.
HTH
Ignatius
- Original Message -
From: "Alexander Kuznetsov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 3:39 PM
S
Hello All,
Can I get list of services running on win32 machine via php script?
And if I can how I can do this or where I can read about it?
--
Best regards,
Alexander Kuznetsov
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Ok. But how i can check when user go out?
If they don't logout properly you can't. (You can only make a smart guess about it.)
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok. But how i can check when user go out?
mst
Uzytkownik "Stephen Edmonds" <[EMAIL PROTECTED]> napisal w
wiadomosci 002d01c296e1$7af48b50$2500a8c0@q">news:002d01c296e1$7af48b50$2500a8c0@q...
> You would have to store when a user visits a page into a database and have
> some sort of time limit on
Hello,
Does anybody have a clue why every time I try to execute a php page I get a
404 error. (None-php files in the same virtual dir can be accessed without
any problem) I installed the php module on IIS 6.0. Installed php manually
and via the win installer.
Thanks,
Kristof
--
PHP Windows M
I concur with Stephen. However, there is an EXTREMELY simple and convenient
way to control output - that has not been mentioned in this thread:
start all your PHP scripts with :
ob_start() ;
then you can pepper your script with one < header:Location... > statement
EVERYWHERE you want (in my case I
You would have to store when a user visits a page into a database and have
some sort of time limit on when you remove them, or remove them when they
logout/visit another page type thing
Basically... database interactions
- Original Message -
From: "mst" <[EMAIL PROTECTED]>
To: <[EMAIL PRO
I try to check "who is on line" in my php script.
How I can do it?
mst
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if ( $FormIsSent == "My-String ) {
process form
header( "Location: url" );
}
else {
display form
}
I use this technique on my sites all the time. The only restriction is you
can't have any output before the header. If there is an error in the form,
store it in an error variable:
$error[NameForEr
Toby
Er... MySQL supports transactions as well (with InnoDB tables) but Diggy is
right postgresql is more fully featured IIRC foreign keys/subselects etc
etc. It can run on Windows but needs quite a bit of setup...
http://www.ejip.net/faq/postgresql_win_setup_faq.jsp
Cheers
Rich
-Original Mess
Sorry for all if I repeat the msg with sobject exatly.
Franco Pozzer wrote:
> Perhaps this it is not the indicated NG piu' but I do not have a
> previewed question care a problem not to resolve.
>
> I hope that there is someone in a position to helping who writes: Thnaks
> of this.
>
> in this
Hi Max
Well it seems you are messing around with text files rather than a
database - this sounds like hard work :) I'm not sure I fully understand
your issue but are you saying you could not make the code 'refresh' the
comments data on the form page without a javascript redirect?
What happens if
Perhaps this it is not the indicated NG piu' but I do not have a
previewed question care a problem not to resolve.
I hope that there is someone in a position to helping who writes: Thnaks
of this.
in this moment I have a script PHP that reads XMl rows and manifactures a
upgrade for a DBV Postgre
Jack
Sorry - I am a bit confused... Are you saying you could not get a header()
re-direct to work in a script that posts form data to itself? As someone
else has mentioned the header() call does not have to be at the top of the
script it just has to be executed before any output has gone to the
br
thnx a million diggy
pardon my ignorance . i think postgre only works with freebsd,
unix,linx or solaris can it work with windows ?
2ndly how much will i get to pay fo it if i get to pay .
(rite now im searchin thru http://www.pgsql.com/ :$)
3rd i ve to get an alternative for
29 matches
Mail list logo