php-windows Digest 22 Jun 2004 20:09:02 -0000 Issue 2294

Topics (messages 24037 through 24043):

Re: cannot add 'header' information
        24037 by: Amit Arora
        24040 by: Sudeep Zamudra

Re: PHP5 comes with older version of MySQL extension?
        24038 by: Amit Arora

ActivePHP Registration
        24039 by: Andrew Powell

Re: standalone php/apache?
        24041 by: Nadim Attari
        24042 by: BrokenClock

Anyone have experience with PHP MySQL on Windows XP Pro?
        24043 by: Don Lawrence

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 ---
Also, make sure that there is not empty space or empty lines before the first <?php 
tag else the output will start automatically.

Regards,

Amit
http://www.digitalamit.com/

B.A.T. Svensson wrote:

Check your code again, anda again! Because somewhere you already starts to
output something - hence the error messsage. Not /if/, but /when/ you are
115% sure you have no segment of code that been outputing some HTML, then
your error message may be caused by (the failure of) shell execution of a
command. Do you you php script call any external programs?


-----Original Message-----
From: susilo soewarno
To: Svensson, B.A.T. (HKG)
Sent: 18-6-2004 8:30
Subject: RE: [PHP-WIN] cannot add 'header' information

All the hmtl output is viewed 100%, but on top header of the page still
left this error.

-----Original Message-----
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] Sent: 18 Juni 2004 13:21
To: '[EMAIL PROTECTED] '
Subject: RE: [PHP-WIN] cannot add 'header' information


Are you 103% sure you haven't start to output some HTML code yet?

-----Original Message-----
From: susilo soewarno
To: [EMAIL PROTECTED]
Sent: 18-6-2004 7:54
Subject: [PHP-WIN] cannot add 'header' information

Can you help me,

sometimes i got error message and it goes like this :
"Cannot add header information - headers already sent by (output started
at C:\phpnuke\html\mainfile.php:42) in C:\phpnuke\html\mainfile.php on
line 171"

For additional info, right now i'm using IIS not Apache Web Server

Best Regards,


Susilo


--- End Message ---
--- Begin Message ---
Hi there,
 
 I fully agree with what Svensson has said. You must have any HTML output somewhere in 
the page. You can override this by giving a <?php ob_start(); ?> at the top of the 
page.
 
...SuDeEp...

Amit Arora <[EMAIL PROTECTED]> wrote:
Also, make sure that there is not empty space or empty lines before the first 
Regards,

Amit
http://www.digitalamit.com/

B.A.T. Svensson wrote:

> Check your code again, anda again! Because somewhere you already starts to
> output something - hence the error messsage. Not /if/, but /when/ you are
> 115% sure you have no segment of code that been outputing some HTML, then
> your error message may be caused by (the failure of) shell execution of a
> command. Do you you php script call any external programs?
> 
> 
> -----Original Message-----
> From: susilo soewarno
> To: Svensson, B.A.T. (HKG)
> Sent: 18-6-2004 8:30
> Subject: RE: [PHP-WIN] cannot add 'header' information
> 
> All the hmtl output is viewed 100%, but on top header of the page still
> left this error.
> 
> -----Original Message-----
> From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] 
> Sent: 18 Juni 2004 13:21
> To: '[EMAIL PROTECTED] '
> Subject: RE: [PHP-WIN] cannot add 'header' information
> 
> Are you 103% sure you haven't start to output some HTML code yet? 
> 
> -----Original Message-----
> From: susilo soewarno
> To: [EMAIL PROTECTED]
> Sent: 18-6-2004 7:54
> Subject: [PHP-WIN] cannot add 'header' information
> 
> Can you help me,
> 
> sometimes i got error message and it goes like this :
> "Cannot add header information - headers already sent by (output started
> at C:\phpnuke\html\mainfile.php:42) in C:\phpnuke\html\mainfile.php on
> line 171"
> 
> For additional info, right now i'm using IIS not Apache Web Server
> 
> Best Regards,
> 
> 
> Susilo
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


                
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

--- End Message ---
--- Begin Message ---
PHP5 has BOTH client API's versions v3.x and v4.x.

Howver, the v4.x has been made to start with mysqli_* (i for improved) functions ....

Regards,

Amit
www.digitalamit.com

David Reade wrote:

Hello!

I'm running Apache 2.0.49 with PHP 5.0.0.0RC3 which comes with MySQL Client
API 3.23.57! I'm also running a MySQL Server at 4.0.20a-NT.

Where can I find a newer MySQL Client API for PHP5?

Regards,

Dave.

--- End Message ---
--- Begin Message ---
Hello All, I am a newbie to this list, so please correct me if I make an ediquete 
mistake.

(It is worth noting that the php4activescript.dll which is in the latest 4.x.x stable 
zip is not a valid COM dll and will not register)

I have registered php5activescript.dll with regsvr32 and all is well when using php as 
the scripting language within a WSF (Windows Script File). However, I cannot get PHP 
working as a language for the Windows Script Control when I set the language to 
"ActivePHP5" or "ActivePHP". 

When I had ActivePython installed, as an example, there was an accompanying file which 
registered the ActiveScripting engine for Python within the Windows registry so it was 
recognized both from simple WSF files, but also the Windows Script Control. 

I am very excited about enabling the users of my application to use PHP as a scripting 
language choice, but am being held up by this detail. Please help!

Thanks!

--- End Message ---
--- Begin Message ---
> I'm trying to set up a CD with my design portfolio on it to send out to
> prospective employers.  My online portfolio uses PHP, and I'm interested
> in having that same functionality off of the CD.  Is there a way that
> people know of to set up a standalone interpreter or something that will
> launch from an autorun script or something?  I've been looking, and not
> finding.  Any help would be appreciated.

http://www.indigostar.com/microweb.htm

Regards,
nadim attari

--- End Message ---
--- Begin Message ---
http://sourceforge.net/projects/servcd/ : it's open source, but you may
write your own autorun.inf to start all you need. 

-----Message d'origine-----
De : Nadim Attari [mailto:[EMAIL PROTECTED] 
Envoy� : mardi 22 juin 2004 07:58
� : [EMAIL PROTECTED]
Objet : [PHP-WIN] Re: standalone php/apache?

> I'm trying to set up a CD with my design portfolio on it to send out 
> to prospective employers.  My online portfolio uses PHP, and I'm 
> interested in having that same functionality off of the CD.  Is there 
> a way that people know of to set up a standalone interpreter or 
> something that will launch from an autorun script or something?  I've 
> been looking, and not finding.  Any help would be appreciated.

http://www.indigostar.com/microweb.htm

Regards,
nadim attari

--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Greetings,

I have installed PHP and MySQL on windows 98, 2k, and 2k server without any problems (well mostly any way). I usually use the default values with some security cleanup.

Now I'm trying to get a new workstation setup for development and I'm
running into problems. The installation routines run fine for both PHP and MySQL. The phpinfo() brings up the info page and I can connect to the database via the command line.


When I try to connect to the database in a PHP page I get:

Fatal error: Maximum execution time of 60 seconds exceeded in C:\Inetpub\wwwroot\setup\test.php on line 4

Here are the contents of the test.php file:
<?
$link = mysql_connect('localhost', 'root', 'password'); //this is line 4 btw
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>


I am running a:
P4 3.00 GHz
1.00 GB RAM
WindowsXP Service Pack 1

PHP:  4.3.5
MySQL:  4.0.20
I'm asuming IIS 5.0

MySQL Control Center can connect but phpMyAdmin can't.  It's very unnerving.
I can't find any error messages other than the time out.

Any help will be greatly appreciated.

Don Lawrence
[EMAIL PROTECTED]

--- End Message ---

Reply via email to