[PHP-WIN] configuration mime type problem

2004-05-27 Thread Tony Moore
Hi, hoping someone can point me to the correct part of the FAQ or otherwise help me solve this. Installed the PHP binaries as per the instructions, and configured the httpd.conf for apache 1.3, once i restarted apache, I tested with the standard hello.php page indicated on the tutorial. The b

Re: [PHP-WIN] PHP GET VARIABLES

2004-05-27 Thread Jordi Canals
You mean: setting register_globals = on, safe_mode is off by default. Just setting register_globals = on you get the funtionally bellow wich is NO recommended for security reasons. Highly recommended to read this variables always from $_GET and $_POST global arrays, check and filter the values r

RE: [PHP-WIN] Output Control

2004-05-27 Thread Svensson, B.A.T. (HKG)
> I suppose I would have learned about that if > I'd actually had some computer science courses, eh? That is perfectly true on the other hand. ;) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Output Control

2004-05-27 Thread Jason Barnett
Wow, new tools for me to play with! I'm going to have to try this some more later. I've only done a little bit of work with output buffering and, quite frankly, I didn't even realize I could flush out data like that. I mostly just have used output buffering to capture data before I wanted to

RE: [PHP-WIN] PHP GET VARIABLES

2004-05-27 Thread Svensson, B.A.T. (HKG)
Oh, forgett, I believe if you turn off safe mode, then you can access them via variable names, but not really recommended from a security point of view. -Original Message- From: Svensson, B.A.T. (HKG) To: '[EMAIL PROTECTED] ' Sent: 27-5-2004 23:13 Subject: RE: [PHP-WIN] PHP GET VARIABLES

RE: [PHP-WIN] PHP GET VARIABLES

2004-05-27 Thread Svensson, B.A.T. (HKG)
Must be an older version of php, that featured is by defualt turned of in php nowadays. U can use $_POST['regionName'] or $_GET['regionName'] to get the values. -Original Message- From: Michael To: [EMAIL PROTECTED] Sent: 27-5-2004 22:37 Subject: [PHP-WIN] PHP GET VARIABLES I'm working th

[PHP-WIN] PHP GET VARIABLES

2004-05-27 Thread Michael
I'm working through a tutorial book. They are retrieving variables from a GET parameter by just referencing the variable in the script. example: Where the variable is feed through the get URL: http://localhost/example.php?regionName=Riverland The only problem is that I'm using IIS so it doesn

RE: [PHP-WIN] Output Control

2004-05-27 Thread Svensson, B.A.T. (HKG)
Do you agree on that the purpose of flush is to send data (somewhere - not specifying where right now) before the buffert been complelty filled, i.e. empty the buffert in advance? -Original Message- From: Jason Barnett To: [EMAIL PROTECTED] Sent: 27-5-2004 21:11 Subject: Re: [PHP-WIN] Ou

RE: [PHP-WIN] Output Control

2004-05-27 Thread Gryffyn, Trevor
You can buffer your output and control how much of a buffer to use (so it will flush the output and send to the web server to send to the client) when the buffer is full, but the buffer, I believe, is also automatically flushed periodically whether it's full or not. You can do an implicit_flush, w

RE: [PHP-WIN] Output Control

2004-05-27 Thread Bowden, Zeb
Have you tried this? Worked for me on IIS 6... -Zeb Bowden -Original Message- From: Jason Barnett [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 3:11 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Output Control OK, that's news to me. Could you help explain this to the cl

Re: [PHP-WIN] Output Control

2004-05-27 Thread Jason Barnett
OK, that's news to me. Could you help explain this to the class? And yes, I've put in some effort trying to understand this already :) Every time I execute a script (a la Apache) I don't get any output until execution finishes. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP-WIN] Output Control

2004-05-27 Thread Svensson, B.A.T. (HKG)
That's not completely true... -Original Message- From: Jason Barnett To: [EMAIL PROTECTED] Sent: 27-5-2004 20:59 Subject: Re: [PHP-WIN] Output Control When PHP is used to serve pages it won't output anything until it is completely finished with execution. If you're trying to show 10 nu

Re: [PHP-WIN] Output Control

2004-05-27 Thread Jason Barnett
When PHP is used to serve pages it won't output anything until it is completely finished with execution. If you're trying to show 10 numbers with a one second delay you'd probably need to use refresh tags and a hidden field (or sessions) to loop back to the same page with each "second". I.e.

RE: [PHP-WIN] Transfering database

2004-05-27 Thread Svensson, B.A.T. (HKG)
Considering myself, I am not a mind reader... -Original Message- From: Gryffyn, Trevor To: php mailinglist Cc: Sudeep Zamudra Sent: 27-5-2004 15:41 Subject: RE: [PHP-WIN] Transfering database Firstly.. Isn't this a list where people can ask for help, even when they're just getting start

RE: [PHP-WIN] Output Control

2004-05-27 Thread Svensson, B.A.T. (HKG)
I dont have any problem with flush()... ;) -Original Message- From: Luis Moreira To: Svensson, B.A.T. (HKG) Cc: '[EMAIL PROTECTED] ' Sent: 27-5-2004 15:39 Subject: Re: [PHP-WIN] Output Control Svensson, B.A.T. (HKG) wrote: >Are you trying to say that flush() does not work properly for yo

Re: [PHP-WIN] Transfering database

2004-05-27 Thread Alejandro César Garrammone
Look Sudeep, I do some research for you, all the funtions php do is on the manual, exactly on "Function Reference" Chapter LXI (Mysql). Hope this helps, but I'm agree with the guys that you need to do some research (first of all, always check the manual) before you post here. Don't take it bad, but

RE: [PHP-WIN] Transfering database

2004-05-27 Thread Gryffyn, Trevor
Firstly.. Isn't this a list where people can ask for help, even when they're just getting started in PHP? I'm guessing that english isn't Sudeep's first language, but the request was clear enough for us to understand and answer. Don't assume that someone hasn't done research just because the que

Re: [PHP-WIN] Output Control

2004-05-27 Thread Luis Moreira
Svensson, B.A.T. (HKG) wrote: Are you trying to say that flush() does not work properly for you, i.e you don't see the numbers comming one by one with a seconds delay, but get all at once? William, If you go to www.php.net and look for "flush" you will see that the problem you experience is

RE: [PHP-WIN] Transfering database

2004-05-27 Thread Angelo Zanetti
why dont you do some research before you just expect other people to your work for you. YOu seem to make no attempt to find out anything about what you've asked. Svensson gave you the the commands for what you just asked. it's getting ridiculous, anyone second that? Angelo -Original Message-

RE: [PHP-WIN] Transfering database

2004-05-27 Thread Svensson, B.A.T. (HKG)
In all friendly manner: Take my advice - according to your request, you only want to load this data, so don't do this with php, do it from a command line. It is /not/ needed to walk over the river to get to the water. But if you don't know how to handle a command shell in unix stay away from it!

RE: [PHP-WIN] Transfering database

2004-05-27 Thread Sudeep Zamudra
hi, Please make it clear. My server is unix. I have no knowledge of shell commands. This is what i want. Ex:- My username is root and database name is xyz and the .sql file is in my server www/html/test/. What should i do "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> wrote: RTFM: popen("mysql

RE: [PHP-WIN] Transfering database

2004-05-27 Thread Svensson, B.A.T. (HKG)
RTFM: popen("mysql -u username -p database < C:\path\to\your\dump\file.sql"); shell_exec("mysql -u username -p database < C:\path\to\your\dump\file.sql"); system("mysql -u username -p database < C:\path\to\your\dump\file.sql"); etc, etc, etc... -Original Message- From: Sudeep Zamudra

Re: [PHP-WIN] Transfering database

2004-05-27 Thread Sudeep Zamudra
Thanx for your suggestions. But i am looking for a php script by which i can do this not from the mysql shell command line. If any has it . Please suggest it to me. Thanx Jeroen Serpieters <[EMAIL PROTECTED]> wrote: On Wed, 26 May 2004, Sudeep Zamudra wrote: > > I have dumped my entire databas

RE: [PHP-WIN] Output Control

2004-05-27 Thread Svensson, B.A.T. (HKG)
Are you trying to say that flush() does not work properly for you, i.e you don't see the numbers comming one by one with a seconds delay, but get all at once? -Original Message- From: William CANDILLON To: [EMAIL PROTECTED] Sent: 26-5-2004 17:34 Subject: RE: [PHP-WIN] Output Control I jus

RE: [PHP-WIN] Transfering database

2004-05-27 Thread Svensson, B.A.T. (HKG)
-Original Message- From: George Pitcher Sudeep, > This is a php list, you are asking a MySQL question with > no relevance to php. The guy never claimed it was an MySQL database, that's only what you are assuming. ;) :) But I do agree with your point. ;) -- PHP Windows Mailing List (