php-windows Digest 30 Apr 2002 05:22:21 -0000 Issue 1119

Topics (messages 13385 through 13411):

Re: Showing a blob filed part II
        13385 by: Waldemar Brand Neto

PHP_SELF - undefined var
        13386 by: Scott Mc
        13391 by: Mike Flynn

Re: CGI process locked up
        13387 by: Matt Babineau

php.ini and SMTP
        13388 by: Shawn
        13389 by: Nicole Amashta
        13393 by: Piotr Pluciennik
        13399 by: Shawn

Re: i'm stuck guys
        13390 by: Mike Flynn
        13394 by: Webmaster
        13395 by: Dash McElroy
        13396 by: Webmaster
        13397 by: Luis Ferro
        13398 by: Stuart Dallas
        13405 by: Webmaster
        13406 by: Ross Fleming

php flush()
        13392 by: Nicole Amashta

Re: Running winamp thru php (was "executing an external program")
        13400 by: RoboTeddy

Compiling Php on Windows
        13401 by: Sukhwinder Singh
        13403 by: Sukhwinder Singh

Multiple Definiion erros when linking php 4.20 exts MSVC++ 6.0 (win95)
        13402 by: Sukhwinder Singh
        13404 by: Sukhwinder Singh

PHP Curl extension unresolved symbol imp_fwrite when linking using MSVC++ Win95
        13407 by: Sukhwinder Singh

NT ACL Manipulation
        13408 by: David Redmond
        13409 by: Alan Brown

Need help with functions
        13410 by: Bob Sears

PHP Triad or Nusphere or ??
        13411 by: Chris Lott

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 ---
Thankīs George. I will implement that.

----- Original Message -----
From: "George Nicolae" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 10:54 AM
Subject: Re: [PHP-WIN] Re: Showing a blob filed part II


> If this implementation work I think is a good way.
>
> --
>
>
> Best regards,
> George Nicolae
> IT Manager
> ___________________
> PaginiWeb.com  - Professional Web Design
> www.PaginiWeb.com
>
>
> "Waldemar Brand Neto" <[EMAIL PROTECTED]> wrote in message
> 006901c1ef7b$5580ba00$[EMAIL PROTECTED]">news:006901c1ef7b$5580ba00$[EMAIL PROTECTED]...
> > Dear George thankīs again but  I donīt know how to save the image in
> another
> > file. I tryed this way. But my question is: This is the best way to do
> that?
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <html>
> > <head>
> >  <title>Upload.php</title>
> > </head>
> > <BODY BGCOLOR=#3366FF>
> > <CENTER>
> >    <?php
> >       echo "<FORM ENCTYPE=multipart/form-data ACTION=Upload1.php
> > METHOD=POST>";
> >          echo "<h1> Kompatscher & Cia Ltda </h1>";
> >          echo "<hr>";
> >          $con = mysql_connect("*************************) or die ("Erro
ao
> > conectar!");
> >          mysql_select_db("***********", $con) or die ("Erro ao
selecionar
> a
> > database!");
> >         $comando="SELECT
> > codigo,nome,material,temperatura,pressao,fluido,descricao,foto FROM
> cadgrupo
> > WHERE codigo=010";
> >         $res = mysql_query($comando,$con);
> >         $linha = mysql_fetch_array($res);
> >         echo "<TABLE ALIGN=CENTER>";
> >            echo "<tr>";
> >               echo "<td>";
> >               echo "Foto";
> >           echo "</td>";
> >           echo "<td>";
> >              $i= $linha['foto'] ;
> >             $num=rand(0,9999);
> >             $nome='temp'.$num.'.jpg';
> >             $myfile = fopen($nome,"w");
> >             $fp = fwrite($myfile,$i);
> >             fclose($myfile);
> >             $len=strlen($i);
> >             echo "<input type=image src=$nome border=0>";
> >           echo "</td>";
> >          echo "</tr>";
> >    echo "</TABLE>";
> >    mysql_close($con);
> >    ?>
> >    </FORM>
> > </CENTER>
> > </BODY>
> > </html>
> > ----- Original Message -----
> > From: "George Nicolae" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, April 27, 2002 2:10 PM
> > Subject: [PHP-WIN] Re: Showing a blob filed part II
> >
> >
> > > My mistake. The correct code is:
> > > "<input type=image src=image.php border=0>";
> > >
> > > --
> > >
> > >
> > > Best regards,
> > > George Nicolae
> > > IT Manager
> > > ___________________
> > > PaginiWeb.com  - Professional Web Design
> > > www.PaginiWeb.com
> > >
> > >
> > > "George Nicolae" <[EMAIL PROTECTED]> wrote in message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > try to echo $i  in a separate file (lets say image.php) and in the
> main
> > > file
> > > > do
> > > > echo "<input type=image src=".image.php." border=0>";
> > > >
> > > > --
> > > >
> > > >
> > > > Best regards,
> > > > George Nicolae
> > > > IT Manager
> > > > ___________________
> > > > PaginiWeb.com  - Professional Web Design
> > > > www.PaginiWeb.com
> > > >
> > > >
> > > > "Waldemar Brand Neto" <[EMAIL PROTECTED]> wrote in message
> > > > 005f01c1edf9$7ca7dce0$[EMAIL PROTECTED]">news:005f01c1edf9$7ca7dce0$[EMAIL PROTECTED]...
> > > > Thank you for the help. I put the header in the top ot the document
> and
> > > now
> > > > it works.
> > > > I need one more tip. The result is not the image itself, but the
> content
> > > of
> > > > the Blob Field, how can I fix that?
> > > >
> > > > Thanks.
> > > > Waldemar
> > > >  The source code:
> > > > <?php
> > > > header("Content-type: image/jpeg");
> > > > header("Content-Disposition: inline; filename=temp.jpg");
> > > > ?>
> > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > > > <html>
> > > > <head>
> > > > <title>Teste.php</title>
> > > > </head>
> > > > <BODY BGCOLOR=#3366FF>
> > > > <CENTER>
> > > > <FORM>
> > > > <h1> Kompatscher & Cia Ltda </h1>
> > > > <hr>
> > > > <?php
> > > > $con = mysql_connect("**************************) or die ("Erro ao
> > > > conectar!");
> > > > mysql_select_db("***********", $con) or die ("Erro ao selecionar a
> > > > database!");
> > > > $comando="SELECT
> > > > codigo,nome,material,temperatura,pressao,fluido,descricao,foto FROM
> > > cadgrupo
> > > > WHERE codigo=010";
> > > > $res = mysql_query($comando,$con);
> > > > $linha = mysql_fetch_array($res);
> > > > echo "<TABLE ALIGN=CENTER>";
> > > > echo "<tr>";
> > > > echo "<td>";
> > > > echo "Foto";
> > > > echo "</td>";
> > > > echo "<td>";
> > > > $i= $linha['foto'] ;
> > > > echo "<input type=image src=$i border=0>";
> > > > echo "</td>";
> > > > echo "</tr>";
> > > > echo "</TABLE>";
> > > > mysql_close($con);
> > > > ?>
> > > > </FORM>
> > > > </CENTER>
> > > > </BODY>
> > > > </html>
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
I am using WinXP (IIS), and PHP 4.1.2. Recently I've upgraded to PHP 4.2.
Since the upgrade, all of my scripts that use the PHP_SELF variable will not
work - citing undeclared variable. I reverted back to 4.1.2 and everything
works fine again.
What have I done wrong?
Scott



--- End Message ---
--- Begin Message ---
What you've done wrong is not checked the 4.2 release notes :)

http://www.php.net/release_4_2_0.php


At 11:13 AM 4/29/02 -0400, Scott Mc wrote:
>I am using WinXP (IIS), and PHP 4.1.2. Recently I've upgraded to PHP 4.2.
>Since the upgrade, all of my scripts that use the PHP_SELF variable will not
>work - citing undeclared variable. I reverted back to 4.1.2 and everything
>works fine again.
>What have I done wrong?
>Scott

--- End Message ---
--- Begin Message ---
How do I terminate it so the server will serve PHP files ? I replaced
the php.ini files and it didn't like it very much so the CGI is timing
out. How can I restart the CGI engine w/o restarting the machine? I
tried to restart IIS but it doesn't kill a DLLHOST.exe process that
continues to run.
 
Matt Babineau
Freelance Internet Developer
e:  <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] 
p: 603.943.4237
w:  <http://www.illuminatistudios.com/> http://www.illuminatistudios.com
 
 
--- End Message ---
--- Begin Message ---
I have set the SMTP variable in my php.ini file to the IP address of my SMTP
server.  When I try to use email in my php scripts I thought it was the php
code but it is using pretty standard sendmail commands.  Then I did a
phpinfo script.  It says that SMTP = localhost.  I double checked the
php.ini file and I do have it set to the IP address of the SMTP server.  I
have tried re-booting with the same problem.  The phpinfo is still saying
SMTP = localhost.  Any ideas?  I am running it on Windows NT server 4.0 with
Apache 1.3.19(oracle dist).


--- End Message ---
--- Begin Message ---
Do a find for php.ini on your harddrive(s) and make sure you only have ONE
php.ini file on your computer running PHP.

--
Nicole Amashta
Web Application Developer
www.aeontrek.com


"Shawn" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have set the SMTP variable in my php.ini file to the IP address of my
SMTP
> server.  When I try to use email in my php scripts I thought it was the
php
> code but it is using pretty standard sendmail commands.  Then I did a
> phpinfo script.  It says that SMTP = localhost.  I double checked the
> php.ini file and I do have it set to the IP address of the SMTP server.  I
> have tried re-booting with the same problem.  The phpinfo is still saying
> SMTP = localhost.  Any ideas?  I am running it on Windows NT server 4.0
with
> Apache 1.3.19(oracle dist).
>
>


--- End Message ---
--- Begin Message ---
Hi,

you probably have more than one php.ini... 

HTH

Piotr

--- Shawn <[EMAIL PROTECTED]> wrote:
> I have set the SMTP variable in my php.ini file to
> the IP address of my SMTP
> server.  When I try to use email in my php scripts I
> thought it was the php
> code but it is using pretty standard sendmail
> commands.  Then I did a
> phpinfo script.  It says that SMTP = localhost.  I
> double checked the
> php.ini file and I do have it set to the IP address
> of the SMTP server.  I
> have tried re-booting with the same problem.  The
> phpinfo is still saying
> SMTP = localhost.  Any ideas?  I am running it on
> Windows NT server 4.0 with
> Apache 1.3.19(oracle dist).
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
--- End Message ---
--- Begin Message ---
I figured it out, I forgot to move the php.ini file to c:\winnt directory. I
also forgot to set the extension_dir variable.



"Nicole Amashta" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Do a find for php.ini on your harddrive(s) and make sure you only have ONE
> php.ini file on your computer running PHP.
>
> --
> Nicole Amashta
> Web Application Developer
> www.aeontrek.com
>
>
> "Shawn" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I have set the SMTP variable in my php.ini file to the IP address of my
> SMTP
> > server.  When I try to use email in my php scripts I thought it was the
> php
> > code but it is using pretty standard sendmail commands.  Then I did a
> > phpinfo script.  It says that SMTP = localhost.  I double checked the
> > php.ini file and I do have it set to the IP address of the SMTP server.
I
> > have tried re-booting with the same problem.  The phpinfo is still
saying
> > SMTP = localhost.  Any ideas?  I am running it on Windows NT server 4.0
> with
> > Apache 1.3.19(oracle dist).
> >
> >
>
>


--- End Message ---
--- Begin Message ---
Your code is incorrect.  That's what debugging is for!

-Mike

At 01:13 PM 4/29/02 +0200, Erik wrote:
>hi,
>
>that error indeed disapperars but now i cannot use  the html buttons anymore
>when i click submit it keeps on showing me the same page over and over again
>i created the script if the form is correctly fill in it should display a
>message like
>print "hi $name your message has been sended to me thank you ."; or
>incompplete fields
>print "oeps you forgot some requierd fields go back and fill in the complete
>form please .";
>but that doesn't happen anymore it shows the same page al the time........
>info:
>os:windows 2000 pro
>server:Apache
>phpversion 4.2.0
>browser:internet explorer 6.0
>daimned windows computers :-) i will buy mandrake linux soon so php runs
>normal i think there is nothing wrong with php only windows and php doesn't
>like eachother  haha :-)
>
>the http 500 error is gone now ........ "see above"
>
>regards from belgium
>Erik


-- Mike Flynn --
mike @ mikeflynn . net
home => work => home => shop => home [adbusters]

--- End Message ---
--- Begin Message ---
Hi again,
I really do have problems with windows refreshing the screen, that's why i
see the same pages all the time too, but after all the pages does have
changed!

When you insert some code and get the same page back, try this:

Go to extra, Internet options, temporary internet files (tijdelijke internet
bestanden) and remove files (bestanden verwijderen) this way explorer
flushes it's cache, which it really not like to do :(

Hope this will help too!

Webmaster

"Erik" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
>
> that error indeed disapperars but now i cannot use  the html buttons
anymore
> when i click submit it keeps on showing me the same page over and over
again
> i created the script if the form is correctly fill in it should display a
> message like
> print "hi $name your message has been sended to me thank you ."; or
> incompplete fields
> print "oeps you forgot some requierd fields go back and fill in the
complete
> form please .";
> but that doesn't happen anymore it shows the same page al the time........
> info:
> os:windows 2000 pro
> server:Apache
> phpversion 4.2.0
> browser:internet explorer 6.0
> daimned windows computers :-) i will buy mandrake linux soon so php runs
> normal i think there is nothing wrong with php only windows and php
doesn't
> like eachother  haha :-)
>
> the http 500 error is gone now ........ "see above"
>
> regards from belgium
> Erik
>
>


--- End Message ---
--- Begin Message ---
In Mozilla and IE you can do a <CTRL>-F5 and it will do a force refresh.

-Dash

-----Original Message-----
From: Webmaster [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 29, 2002 10:30 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: i'm stuck guys 


Hi again,
I really do have problems with windows refreshing the screen, that's why i
see the same pages all the time too, but after all the pages does have
changed!

When you insert some code and get the same page back, try this:

Go to extra, Internet options, temporary internet files (tijdelijke internet
bestanden) and remove files (bestanden verwijderen) this way explorer
flushes it's cache, which it really not like to do :(

Hope this will help too!

Webmaster

"Erik" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
>
> that error indeed disapperars but now i cannot use  the html buttons
anymore
> when i click submit it keeps on showing me the same page over and over
again
> i created the script if the form is correctly fill in it should display a
> message like
> print "hi $name your message has been sended to me thank you ."; or
> incompplete fields
> print "oeps you forgot some requierd fields go back and fill in the
complete
> form please .";
> but that doesn't happen anymore it shows the same page al the time........
> info:
> os:windows 2000 pro
> server:Apache
> phpversion 4.2.0
> browser:internet explorer 6.0
> daimned windows computers :-) i will buy mandrake linux soon so php runs
> normal i think there is nothing wrong with php only windows and php
doesn't
> like eachother  haha :-)
>
> the http 500 error is gone now ........ "see above"
>
> regards from belgium
> Erik
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Nope, CTRL F5 doesn/t work, php then gives the same page anyway, I also
tried to make the page php appears on to expire and consulted Microsoft of
this problem, but nobody seems to know why this happens...

The only thing that works is to manually flush the browsers cache...

Webmaster

"Dash McElroy" <[EMAIL PROTECTED]> schreef in bericht
ABA3F1F1A223D411BE6C006008A6F7E23E63EE@MSX1-PTON">news:ABA3F1F1A223D411BE6C006008A6F7E23E63EE@MSX1-PTON...
> In Mozilla and IE you can do a <CTRL>-F5 and it will do a force refresh.
>
> -Dash
>
> -----Original Message-----
> From: Webmaster [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 29, 2002 10:30 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: i'm stuck guys
>
>
> Hi again,
> I really do have problems with windows refreshing the screen, that's why i
> see the same pages all the time too, but after all the pages does have
> changed!
>
> When you insert some code and get the same page back, try this:
>
> Go to extra, Internet options, temporary internet files (tijdelijke
internet
> bestanden) and remove files (bestanden verwijderen) this way explorer
> flushes it's cache, which it really not like to do :(
>
> Hope this will help too!
>
> Webmaster
>
> "Erik" <[EMAIL PROTECTED]> schreef in bericht
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > hi,
> >
> > that error indeed disapperars but now i cannot use  the html buttons
> anymore
> > when i click submit it keeps on showing me the same page over and over
> again
> > i created the script if the form is correctly fill in it should display
a
> > message like
> > print "hi $name your message has been sended to me thank you ."; or
> > incompplete fields
> > print "oeps you forgot some requierd fields go back and fill in the
> complete
> > form please .";
> > but that doesn't happen anymore it shows the same page al the
time........
> > info:
> > os:windows 2000 pro
> > server:Apache
> > phpversion 4.2.0
> > browser:internet explorer 6.0
> > daimned windows computers :-) i will buy mandrake linux soon so php runs
> > normal i think there is nothing wrong with php only windows and php
> doesn't
> > like eachother  haha :-)
> >
> > the http 500 error is gone now ........ "see above"
> >
> > regards from belgium
> > Erik
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Internet Explorer doesn't respect reloads and cache orders in any 
perceived way. The only way i found to workaround this was (in a ASP 
project) to add the response.* properties that manipulate with the cache 
and add in the <head></head> of the pages the meta statements. But for 
the 100% workaround in IE i had also to make it check the page for 
updates ALWAYS (tools, internet options, settings, Every visit to the page).

Hope that helps,
Luis Ferro


Webmaster wrote:

>Nope, CTRL F5 doesn/t work, php then gives the same page anyway, I also
>tried to make the page php appears on to expire and consulted Microsoft of
>this problem, but nobody seems to know why this happens...
>
>The only thing that works is to manually flush the browsers cache...
>
>Webmaster
>
>"Dash McElroy" <[EMAIL PROTECTED]> schreef in bericht
>ABA3F1F1A223D411BE6C006008A6F7E23E63EE@MSX1-PTON">news:ABA3F1F1A223D411BE6C006008A6F7E23E63EE@MSX1-PTON...
>  
>
>>In Mozilla and IE you can do a <CTRL>-F5 and it will do a force refresh.
>>
>>-Dash
>>
>>-----Original Message-----
>>From: Webmaster [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, April 29, 2002 10:30 AM
>>To: [EMAIL PROTECTED]
>>Subject: [PHP-WIN] Re: i'm stuck guys
>>
>>
>>Hi again,
>>I really do have problems with windows refreshing the screen, that's why i
>>see the same pages all the time too, but after all the pages does have
>>changed!
>>
>>When you insert some code and get the same page back, try this:
>>
>>Go to extra, Internet options, temporary internet files (tijdelijke
>>    
>>
>internet
>  
>
>>bestanden) and remove files (bestanden verwijderen) this way explorer
>>flushes it's cache, which it really not like to do :(
>>
>>Hope this will help too!
>>
>>Webmaster
>>
>>"Erik" <[EMAIL PROTECTED]> schreef in bericht
>>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>    
>>
>>>hi,
>>>
>>>that error indeed disapperars but now i cannot use  the html buttons
>>>      
>>>
>>anymore
>>    
>>
>>>when i click submit it keeps on showing me the same page over and over
>>>      
>>>
>>again
>>    
>>
>>>i created the script if the form is correctly fill in it should display
>>>      
>>>
>a
>  
>
>>>message like
>>>print "hi $name your message has been sended to me thank you ."; or
>>>incompplete fields
>>>print "oeps you forgot some requierd fields go back and fill in the
>>>      
>>>
>>complete
>>    
>>
>>>form please .";
>>>but that doesn't happen anymore it shows the same page al the
>>>      
>>>
>time........
>  
>
>>>info:
>>>os:windows 2000 pro
>>>server:Apache
>>>phpversion 4.2.0
>>>browser:internet explorer 6.0
>>>daimned windows computers :-) i will buy mandrake linux soon so php runs
>>>normal i think there is nothing wrong with php only windows and php
>>>      
>>>
>>doesn't
>>    
>>
>>>like eachother  haha :-)
>>>
>>>the http 500 error is gone now ........ "see above"
>>>
>>>regards from belgium
>>>Erik
>>>
>>>
>>>      
>>>
>>
>>--
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>    
>>
>
>
>
>  
>



--- End Message ---
--- Begin Message ---
In IE you have to do ctrl+click the refresh toolbar icon. Ctrl+F5 does not
do it.

HTH,
Stuart

-----Original Message-----
From: Luis Ferro [mailto:[EMAIL PROTECTED]]
Sent: 29 April 2002 19:00
To: Webmaster
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: i'm stuck guys


Internet Explorer doesn't respect reloads and cache orders in any
perceived way. The only way i found to workaround this was (in a ASP
project) to add the response.* properties that manipulate with the cache
and add in the <head></head> of the pages the meta statements. But for
the 100% workaround in IE i had also to make it check the page for
updates ALWAYS (tools, internet options, settings, Every visit to the page).

Hope that helps,
Luis Ferro


Webmaster wrote:

>Nope, CTRL F5 doesn/t work, php then gives the same page anyway, I also
>tried to make the page php appears on to expire and consulted Microsoft of
>this problem, but nobody seems to know why this happens...
>
>The only thing that works is to manually flush the browsers cache...
>
>Webmaster
>
>"Dash McElroy" <[EMAIL PROTECTED]> schreef in bericht
>ABA3F1F1A223D411BE6C006008A6F7E23E63EE@MSX1-PTON">news:ABA3F1F1A223D411BE6C006008A6F7E23E63EE@MSX1-PTON...
>
>
>>In Mozilla and IE you can do a <CTRL>-F5 and it will do a force refresh.
>>
>>-Dash
>>
>>-----Original Message-----
>>From: Webmaster [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, April 29, 2002 10:30 AM
>>To: [EMAIL PROTECTED]
>>Subject: [PHP-WIN] Re: i'm stuck guys
>>
>>
>>Hi again,
>>I really do have problems with windows refreshing the screen, that's why i
>>see the same pages all the time too, but after all the pages does have
>>changed!
>>
>>When you insert some code and get the same page back, try this:
>>
>>Go to extra, Internet options, temporary internet files (tijdelijke
>>
>>
>internet
>
>
>>bestanden) and remove files (bestanden verwijderen) this way explorer
>>flushes it's cache, which it really not like to do :(
>>
>>Hope this will help too!
>>
>>Webmaster
>>
>>"Erik" <[EMAIL PROTECTED]> schreef in bericht
>>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>
>>
>>>hi,
>>>
>>>that error indeed disapperars but now i cannot use  the html buttons
>>>
>>>
>>anymore
>>
>>
>>>when i click submit it keeps on showing me the same page over and over
>>>
>>>
>>again
>>
>>
>>>i created the script if the form is correctly fill in it should display
>>>
>>>
>a
>
>
>>>message like
>>>print "hi $name your message has been sended to me thank you ."; or
>>>incompplete fields
>>>print "oeps you forgot some requierd fields go back and fill in the
>>>
>>>
>>complete
>>
>>
>>>form please .";
>>>but that doesn't happen anymore it shows the same page al the
>>>
>>>
>time........
>
>
>>>info:
>>>os:windows 2000 pro
>>>server:Apache
>>>phpversion 4.2.0
>>>browser:internet explorer 6.0
>>>daimned windows computers :-) i will buy mandrake linux soon so php runs
>>>normal i think there is nothing wrong with php only windows and php
>>>
>>>
>>doesn't
>>
>>
>>>like eachother  haha :-)
>>>
>>>the http 500 error is gone now ........ "see above"
>>>
>>>regards from belgium
>>>Erik
>>>
>>>
>>>
>>>
>>
>>--
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>
>
>




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


--- End Message ---
--- Begin Message ---
Even the CTRL + Click (or right click and select refresh) does not work for
me, so I inserted the META tag to expire the webpage, also the META tag
no-cache, tried CTRL + F5, CTRL refresh, CTRL + right click refresh, but
nothing works except the Extra Internet tools option..

Webmaster


"Stuart Dallas" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In IE you have to do ctrl+click the refresh toolbar icon. Ctrl+F5 does not
> do it.
>
> HTH,
> Stuart
>
> -----Original Message-----
> From: Luis Ferro [mailto:[EMAIL PROTECTED]]
> Sent: 29 April 2002 19:00
> To: Webmaster
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] Re: i'm stuck guys
>
>
> Internet Explorer doesn't respect reloads and cache orders in any
> perceived way. The only way i found to workaround this was (in a ASP
> project) to add the response.* properties that manipulate with the cache
> and add in the <head></head> of the pages the meta statements. But for
> the 100% workaround in IE i had also to make it check the page for
> updates ALWAYS (tools, internet options, settings, Every visit to the
page).
>
> Hope that helps,
> Luis Ferro
>
>
> Webmaster wrote:
>
> >Nope, CTRL F5 doesn/t work, php then gives the same page anyway, I also
> >tried to make the page php appears on to expire and consulted Microsoft
of
> >this problem, but nobody seems to know why this happens...
> >
> >The only thing that works is to manually flush the browsers cache...
> >
> >Webmaster
> >
> >"Dash McElroy" <[EMAIL PROTECTED]> schreef in bericht
> >ABA3F1F1A223D411BE6C006008A6F7E23E63EE@MSX1-PTON">news:ABA3F1F1A223D411BE6C006008A6F7E23E63EE@MSX1-PTON...
> >
> >
> >>In Mozilla and IE you can do a <CTRL>-F5 and it will do a force refresh.
> >>
> >>-Dash
> >>
> >>-----Original Message-----
> >>From: Webmaster [mailto:[EMAIL PROTECTED]]
> >>Sent: Monday, April 29, 2002 10:30 AM
> >>To: [EMAIL PROTECTED]
> >>Subject: [PHP-WIN] Re: i'm stuck guys
> >>
> >>
> >>Hi again,
> >>I really do have problems with windows refreshing the screen, that's why
i
> >>see the same pages all the time too, but after all the pages does have
> >>changed!
> >>
> >>When you insert some code and get the same page back, try this:
> >>
> >>Go to extra, Internet options, temporary internet files (tijdelijke
> >>
> >>
> >internet
> >
> >
> >>bestanden) and remove files (bestanden verwijderen) this way explorer
> >>flushes it's cache, which it really not like to do :(
> >>
> >>Hope this will help too!
> >>
> >>Webmaster
> >>
> >>"Erik" <[EMAIL PROTECTED]> schreef in bericht
> >>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >>
> >>
> >>>hi,
> >>>
> >>>that error indeed disapperars but now i cannot use  the html buttons
> >>>
> >>>
> >>anymore
> >>
> >>
> >>>when i click submit it keeps on showing me the same page over and over
> >>>
> >>>
> >>again
> >>
> >>
> >>>i created the script if the form is correctly fill in it should display
> >>>
> >>>
> >a
> >
> >
> >>>message like
> >>>print "hi $name your message has been sended to me thank you ."; or
> >>>incompplete fields
> >>>print "oeps you forgot some requierd fields go back and fill in the
> >>>
> >>>
> >>complete
> >>
> >>
> >>>form please .";
> >>>but that doesn't happen anymore it shows the same page al the
> >>>
> >>>
> >time........
> >
> >
> >>>info:
> >>>os:windows 2000 pro
> >>>server:Apache
> >>>phpversion 4.2.0
> >>>browser:internet explorer 6.0
> >>>daimned windows computers :-) i will buy mandrake linux soon so php
runs
> >>>normal i think there is nothing wrong with php only windows and php
> >>>
> >>>
> >>doesn't
> >>
> >>
> >>>like eachother  haha :-)
> >>>
> >>>the http 500 error is gone now ........ "see above"
> >>>
> >>>regards from belgium
> >>>Erik
> >>>
> >>>
> >>>
> >>>
> >>
> >>--
> >>PHP Windows Mailing List (http://www.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >
> >
> >
> >
> >
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
Try sticking an argument at the end of the file to force iexplore to refresh
ie if the the request is http://server/file.phtml
make the request http://server/file.phtml?anything=nothing

Otherwise, add the cache headers to your file during development:
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
                                                      // always modified
header ("Cache-Control: no-cache, must-revalidate");  // HTTP/1.1
header ("Pragma: no-cache");


Ross

-----Original Message-----
From: Luis Ferro [mailto:[EMAIL PROTECTED]]
Sent: 29 April 2002 19:00
To: Webmaster
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: i'm stuck guys


Internet Explorer doesn't respect reloads and cache orders in any
perceived way. The only way i found to workaround this was (in a ASP
project) to add the response.* properties that manipulate with the cache
and add in the <head></head> of the pages the meta statements. But for
the 100% workaround in IE i had also to make it check the page for
updates ALWAYS (tools, internet options, settings, Every visit to the page).

Hope that helps,
Luis Ferro


Webmaster wrote:

>Nope, CTRL F5 doesn/t work, php then gives the same page anyway, I also
>tried to make the page php appears on to expire and consulted Microsoft of
>this problem, but nobody seems to know why this happens...
>
>The only thing that works is to manually flush the browsers cache...
>
>Webmaster
>
>"Dash McElroy" <[EMAIL PROTECTED]> schreef in bericht
>ABA3F1F1A223D411BE6C006008A6F7E23E63EE@MSX1-PTON">news:ABA3F1F1A223D411BE6C006008A6F7E23E63EE@MSX1-PTON...
>
>
>>In Mozilla and IE you can do a <CTRL>-F5 and it will do a force refresh.
>>
>>-Dash
>>
>>-----Original Message-----
>>From: Webmaster [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, April 29, 2002 10:30 AM
>>To: [EMAIL PROTECTED]
>>Subject: [PHP-WIN] Re: i'm stuck guys
>>
>>
>>Hi again,
>>I really do have problems with windows refreshing the screen, that's why i
>>see the same pages all the time too, but after all the pages does have
>>changed!
>>
>>When you insert some code and get the same page back, try this:
>>
>>Go to extra, Internet options, temporary internet files (tijdelijke
>>
>>
>internet
>
>
>>bestanden) and remove files (bestanden verwijderen) this way explorer
>>flushes it's cache, which it really not like to do :(
>>
>>Hope this will help too!
>>
>>Webmaster
>>
>>"Erik" <[EMAIL PROTECTED]> schreef in bericht
>>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>
>>
>>>hi,
>>>
>>>that error indeed disapperars but now i cannot use  the html buttons
>>>
>>>
>>anymore
>>
>>
>>>when i click submit it keeps on showing me the same page over and over
>>>
>>>
>>again
>>
>>
>>>i created the script if the form is correctly fill in it should display
>>>
>>>
>a
>
>
>>>message like
>>>print "hi $name your message has been sended to me thank you ."; or
>>>incompplete fields
>>>print "oeps you forgot some requierd fields go back and fill in the
>>>
>>>
>>complete
>>
>>
>>>form please .";
>>>but that doesn't happen anymore it shows the same page al the
>>>
>>>
>time........
>
>
>>>info:
>>>os:windows 2000 pro
>>>server:Apache
>>>phpversion 4.2.0
>>>browser:internet explorer 6.0
>>>daimned windows computers :-) i will buy mandrake linux soon so php runs
>>>normal i think there is nothing wrong with php only windows and php
>>>
>>>
>>doesn't
>>
>>
>>>like eachother  haha :-)
>>>
>>>the http 500 error is gone now ........ "see above"
>>>
>>>regards from belgium
>>>Erik
>>>
>>>
>>>
>>>
>>
>>--
>>PHP Windows Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>
>
>




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

--- End Message ---
--- Begin Message ---
I am trying to write scripts that will output any dynamically generated data
to the browser before the script is complete. For example, say I have a loop
that generates data. I want this data to go to the browser as soon as
possible so the script does not appear to hang. I have tried this flush()
function a little bit to try this.

I am running PHP 4.0.6 and Apache 1.3 on Windows 2000 Server. I am testing
this with Internet Explorer 5 at the moment. I have reviewd the documention
on flush() at php.net.

Has anyone any suggestions or better ways to get the data to appear in the
browser as it is generated?

Thank in advance,
--
Nicole Amashta
Web Application Developer
www.aeontrek.com




--- End Message ---
--- Begin Message ---
The better way to do this is through the use of PHP's COM functions. You can
do this if you get a plugin for winamp
(http://www.adcock8.freeserve.co.uk/). This will allow you to control winamp
completely (you can do anything a skin can do) in most programming languages
(VB, C, and of  course PHP).
For some ideas on how to get started:
http://roboteddy.ath.cx/scripts/showsource.php?file=winamp.php

Ted
----- Original Message -----
From: "Ross Fleming" <[EMAIL PROTECTED]>
To: "PHP Windows mailing list" <[EMAIL PROTECTED]>
Sent: Sunday, April 28, 2002 10:53 PM
Subject: [PHP-WIN] Running winamp thru php (was "executing an external
program")


> Since giving Ranier advice on external programs, I've knocked up a simple
> web-based interface for winamp that can be controlled over the internet
> (useful in a networked flat where one PC is simply a music box, I can
leave
> apache running and remove the monitor/keyboard etc just to leave the box
and
> the speakers).  I'd started this project briefly a while ago (as some on
the
> list may remember) but gave up.  It works now, and I thought some people
on
> the list would appreciate a look at it.  (yes I know there are webbased
> winamp controllers available, but where's the fun in that?.. ;)  )
>
> Here's the php code for it
>
> <<contents of index.php>>
>
> <?
> $directory = "D:/mp3s";   // Set the directory we're looking at..
>
> if (isset($filename)) {
>   $link = "d:\\mp3s\\";
>   $link .= urldecode($filename);
>   exec("COMMAND.COM /C START c:\progra~1\winamp\winamp.exe \"$link\"
>NUL");
>   header("Location:index.php?status=playing&arg=$filename");
> }
>
> if ($status=="playing") {
>   $proper = urldecode($arg);
>   echo "Now playing: <H3>$arg</H3>";
> }
>
> $count=0;
> $handle=opendir($directory);
> echo "Choose a song to play from <B>$directory</B>:<BR>";
>
> while (false !== ($file = readdir($handle))) {
>   if ($file != "." && $file != "..") {
>     if (substr($file, -4)==".mp3"){
>       // ignore any non-mp3 files
>       $filelist[$count++] = $file;
>     }
>   }
> }
>
> closedir($handle);
>
> sort ($filelist);  // alphabetize the files
>
> for ($i=0; $i<$count; $i++) {
>   $link = urlencode($filelist[$i]);
>   echo "<A HREF=\"index.php?filename=$link\">$filelist[$i]</A><BR>";
> }
> ?>
>
> Ross
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



--- End Message ---
--- Begin Message ---
Hello,
    
 I want to compile php on windows 95 using Microsoft Visual C++ 6.0 because many 
extensions like ldap and imap are not available in the download. I followed the 
instructions provided in the manual which are inadequate and doesn't provide detailed 
instructions.

 First of all it asks to download cgywin but I was able to compile php4ts.dll in 
D:\php-4.2.0\win32\php4ts.dsw after selecting php4dllts.dll - Win32 Release Dll 
without using cygwin. Only thing needed to compile this was windows specific download 
http://www.php.net/extra/win32build.zip (which included bison and flex) and 
http://www.php.net/extra/bindlib_w32.zip. So when and why cygwin is needed to be 
downloaded.

 Firstly when compiling exe version bison expects bison.simple to be present in 
c:\usr\local\lib, I don't know why. I was able to proceed with compilation only after 
creating this directory and copying bison.simple form windows specific download 
win32build/bin directory. Is there any way to correct this?

 Secondly many of the extension libraries and header files and other files in 
win32build download are very old. So, it won't provide new functionality provided by 
new versions of many software libraries like mysql, gd, freetype, ldap and db etc. So 
how can I link php extensions against new libraries of these software which I have 
compiled myself. Because php also needs some other files from this win32build 
directory but I don't know which files. So when I include win32build/lib and 
win32build/include directories to VC++ include and lib directories all files are 
added, including gd, ldap libraries etc.

 So I want to know which files are needed by core php from win32build (windows 
specific download) so that I can remove other includes and libs from this directory 
which are needed by extensions only. Or Can I include new libraries and includes of 
gd, ldap, mysql etc to this win32build/lib and win32build/include directory and 
overwrite old libraries and includes?

 Also so many different workspaces and projects are provided but I don't know which 
one is needed to be selected and complied to get php binaries which are available on 
php.net and included in windows binary download. For example in D:\php-4.2.0\win32 4 
there are many projects and 4 workspaces. These are php_modules.dsw, php4.dsw, 
php4dll.dsw and php4ts.dsw. Each one of these include many projects. So which I should 
use and set as active configuration to compile php Release Version. What is the 
difference between phpdllts.dll and phpdllnts.dll What _Ts in project name mean.
--- End Message ---
--- Begin Message ---
Hello,
    
 I want to compile php on windows 95 using Microsoft Visual C++ 6.0 because many 
extensions like ldap and imap are not available in the download. I followed the 
instructions provided in the manual which are inadequate and doesn't provide detailed 
instructions.

 First of all it asks to download cgywin but I was able to compile php4ts.dll in 
D:\php-4.2.0\win32\php4ts.dsw after selecting php4dllts.dll - Win32 Release Dll 
without using cygwin. Only thing needed to compile this was windows specific download 
http://www.php.net/extra/win32build.zip (which included bison and flex) and 
http://www.php.net/extra/bindlib_w32.zip. So when and why cygwin is needed to be 
downloaded.

 Firstly when compiling exe version bison expects bison.simple to be present in 
c:\usr\local\lib, I don't know why. I was able to proceed with compilation only after 
creating this directory and copying bison.simple form windows specific download 
win32build/bin directory. Is there any way to correct this?

 Secondly many of the extension libraries and header files and other files in 
win32build download are very old. So, it won't provide new functionality provided by 
new versions of many software libraries like mysql, gd, freetype, ldap and db etc. So 
how can I link php extensions against new libraries of these software which I have 
compiled myself. Because php also needs some other files from this win32build 
directory but I don't know which files. So when I include win32build/lib and 
win32build/include directories to VC++ include and lib directories all files are 
added, including gd, ldap libraries etc.

 So I want to know which files are needed by core php from win32build (windows 
specific download) so that I can remove other includes and libs from this directory 
which are needed by extensions only. Or Can I include new libraries and includes of 
gd, ldap, mysql etc to this win32build/lib and win32build/include directory and 
overwrite old libraries and includes?

 Also so many different workspaces and projects are provided but I don't know which 
one is needed to be selected and complied to get php binaries which are available on 
php.net and included in windows binary download. For example in D:\php-4.2.0\win32 4 
there are many projects and 4 workspaces. These are php_modules.dsw, php4.dsw, 
php4dll.dsw and php4ts.dsw. Each one of these include many projects. So which I should 
use and set as active configuration to compile php Release Version. What is the 
difference between phpdllts.dll and phpdllnts.dll What _Ts in project name mean.
--- End Message ---
--- Begin Message ---
Hello,
    I am trying to compile php 4.20 on Windows 95 using MSVC++ 6.0 because many of the 
extension libraries like mcrypt, imap and ldap are not available in the binary 
donwload.

I followed instructions in php manual to compile php.exe. Php compiled and linked fine 
when using D:\php-4.2.0\win32\php4ts.dsw and D:\php-4.2.0\win32\php4ts.dsp with active 
project set to php4ts-win32 Release_TS.

*** But when using workspace php_modules.dsw I tried to complile and link many other 
modules like Clibpdf, iconv and xmlrpc etc. I received these errors:

--------------------Configuration: cpdf - Win32 Release_TS--------------------
Linking...
LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRT.lib(MSVCRT.dll)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0dat.obj) : warning LNK4006: _exit already defined in 
MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
   Creating library Release_TS/php_cpdf.lib and object Release_TS/php_cpdf.exp
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use 
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use 
/NODEFAULTLIB:library
LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
..\..\Release_TS/php_cpdf.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

php_cpdf.dll - 7 error(s), 7 warning(s)

Configuration: iconv - Win32 Release_TS--------------------
Linking...
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
   Creating library Release_TS/php_iconv.lib and object Release_TS/php_iconv.exp
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use 
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use 
/NODEFAULTLIB:library
..\..\Release_TS/php_iconv.dll : fatal error LNK1169: one or more multiply defined 
symbols found
Error executing link.exe.

php_iconv.dll - 5 error(s), 6 warning(s)


To create client.lib when I tried to compile from imap source I received error 
schannel.h not found but cclient library was created. I added it to lib directory. But 
when compiling imap extension I received this message:

--------------------Configuration: imap - Win32 Release_TS--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "Secur32.lib"
Error executing link.exe.

php_imap.dll - 1 error(s), 0 warning(s)

Can anyone tell why schannel.h (related to ssl) is not present on windows 95 or NT 
even when I am using MSVC 6.0.
*** How can I compile imap executable using win95 without using ssl.

*** When I tried to compile D:\php-4.2.0\win32\php4dll.dsp using 
D:\php-4.2.0\win32\php4.dsw after setting  project to  php4dll-Win32 Release I build 
failed with these errors.

-------------------Configuration: Zend - Win32 Release--------------------
.........
Compiling...
xmltok.c
Linking...
   Creating library ..\Release/php4nts.lib and object ..\Release/php4nts.exp
LINK : warning LNK4049: locally defined symbol "_pcre_free" imported
LINK : warning LNK4049: locally defined symbol "_pcre_malloc" imported
fopen_wrappers.obj : error LNK2001: unresolved external symbol 
__imp__virtual_chdir_file
main.obj : error LNK2001: unresolved external symbol __imp__virtual_chdir_file
fopen_wrappers.obj : error LNK2001: unresolved external symbol __imp__virtual_file_ex
SAPI.obj : error LNK2001: unresolved external symbol __imp__tsrm_win32_startup
SAPI.obj : error LNK2001: unresolved external symbol __imp__tsrm_win32_shutdown
basic_functions.obj : error LNK2001: unresolved external symbol _zif_crypt
basic_functions.obj : error LNK2001: unresolved external symbol _zm_startup_crypt
basic_functions.obj : error LNK2001: unresolved external symbol _zm_activate_crypt
exec.obj : error LNK2001: unresolved external symbol __imp__popen
file.obj : error LNK2001: unresolved external symbol __imp__popen
mail.obj : error LNK2001: unresolved external symbol __imp__popen
exec.obj : error LNK2001: unresolved external symbol __imp__pclose
file.obj : error LNK2001: unresolved external symbol __imp__pclose
mail.obj : error LNK2001: unresolved external symbol __imp__pclose
php_mysql.obj : error LNK2001: unresolved external symbol _mysql_data_seek@8
..\Release\php4nts.dll : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.

php4nts.dll - 16 error(s), 7 warning(s)

Does anyone know why these unresolved symbols.

Nothing in manual is written about which project is used by php team to create windows 
binaries and what other projects like Release_TS do.
*** It should be mentioned somewhere that compiling this project will produce php 
executable and other extensions.


Sukhwinder
--- End Message ---
--- Begin Message ---
Hello,
    I am trying to compile php 4.20 on Windows 95 using MSVC++ 6.0 because many of the 
extension libraries like mcrypt, imap and ldap are not available in the binary 
donwload.

I followed instructions in php manual to compile php.exe. Php compiled and linked fine 
when using D:\php-4.2.0\win32\php4ts.dsw and D:\php-4.2.0\win32\php4ts.dsp with active 
project set to php4ts-win32 Release_TS.

*** But when using workspace php_modules.dsw I tried to complile and link many other 
modules like Clibpdf, iconv and xmlrpc etc. I received these errors:

--------------------Configuration: cpdf - Win32 Release_TS--------------------
Linking...
LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRT.lib(MSVCRT.dll)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0dat.obj) : warning LNK4006: _exit already defined in 
MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
   Creating library Release_TS/php_cpdf.lib and object Release_TS/php_cpdf.exp
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use 
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use 
/NODEFAULTLIB:library
LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
..\..\Release_TS/php_cpdf.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

php_cpdf.dll - 7 error(s), 7 warning(s)

Configuration: iconv - Win32 Release_TS--------------------
Linking...
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in 
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
   Creating library Release_TS/php_iconv.lib and object Release_TS/php_iconv.exp
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use 
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use 
/NODEFAULTLIB:library
..\..\Release_TS/php_iconv.dll : fatal error LNK1169: one or more multiply defined 
symbols found
Error executing link.exe.

php_iconv.dll - 5 error(s), 6 warning(s)


To create client.lib when I tried to compile from imap source I received error 
schannel.h not found but cclient library was created. I added it to lib directory. But 
when compiling imap extension I received this message:

--------------------Configuration: imap - Win32 Release_TS--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "Secur32.lib"
Error executing link.exe.

php_imap.dll - 1 error(s), 0 warning(s)

Can anyone tell why schannel.h (related to ssl) is not present on windows 95 or NT 
even when I am using MSVC 6.0.
*** How can I compile imap executable using win95 without using ssl.

*** When I tried to compile D:\php-4.2.0\win32\php4dll.dsp using 
D:\php-4.2.0\win32\php4.dsw after setting  project to  php4dll-Win32 Release I build 
failed with these errors.

-------------------Configuration: Zend - Win32 Release--------------------
.........
Compiling...
xmltok.c
Linking...
   Creating library ..\Release/php4nts.lib and object ..\Release/php4nts.exp
LINK : warning LNK4049: locally defined symbol "_pcre_free" imported
LINK : warning LNK4049: locally defined symbol "_pcre_malloc" imported
fopen_wrappers.obj : error LNK2001: unresolved external symbol 
__imp__virtual_chdir_file
main.obj : error LNK2001: unresolved external symbol __imp__virtual_chdir_file
fopen_wrappers.obj : error LNK2001: unresolved external symbol __imp__virtual_file_ex
SAPI.obj : error LNK2001: unresolved external symbol __imp__tsrm_win32_startup
SAPI.obj : error LNK2001: unresolved external symbol __imp__tsrm_win32_shutdown
basic_functions.obj : error LNK2001: unresolved external symbol _zif_crypt
basic_functions.obj : error LNK2001: unresolved external symbol _zm_startup_crypt
basic_functions.obj : error LNK2001: unresolved external symbol _zm_activate_crypt
exec.obj : error LNK2001: unresolved external symbol __imp__popen
file.obj : error LNK2001: unresolved external symbol __imp__popen
mail.obj : error LNK2001: unresolved external symbol __imp__popen
exec.obj : error LNK2001: unresolved external symbol __imp__pclose
file.obj : error LNK2001: unresolved external symbol __imp__pclose
mail.obj : error LNK2001: unresolved external symbol __imp__pclose
php_mysql.obj : error LNK2001: unresolved external symbol _mysql_data_seek@8
..\Release\php4nts.dll : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.

php4nts.dll - 16 error(s), 7 warning(s)

Does anyone know why these unresolved symbols.

Nothing in manual is written about which project is used by php team to create windows 
binaries and what other projects like Release_TS do.
*** It should be mentioned somewhere that compiling this project will produce php 
executable and other extensions.


Sukhwinder
--- End Message ---
--- Begin Message ---
--------------------Configuration: curl - Win32 Release_TS--------------------
Linking...
   Creating library Release_TS/php_curl.lib and object Release_TS/php_curl.exp
curl.obj : error LNK2001: unresolved external symbol __imp__fwrite
curl.obj : error LNK2001: unresolved external symbol __imp__realloc
curl.obj : error LNK2001: unresolved external symbol __imp__fread
curl.obj : error LNK2001: unresolved external symbol __imp__free
curl.obj : error LNK2001: unresolved external symbol __fltused
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
..\..\Release_TS/php_curl.dll : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.

php_curl.dll - 7 error(s), 0 warning(s)

And when linking ldap extension i get these errors:

Configuration: ldap - Win32 Release_TS--------------------
Linking...
LIBCMT.lib(dosmap.obj) : error LNK2005: __errno already defined in 
MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(atox.obj) : error LNK2005: _atoi already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in 
MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in 
MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in 
MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in 
MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(getenv.obj) : error LNK2005: _getenv already defined in 
MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(dosmap.obj) : warning LNK4006: __errno already defined in 
MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBCMT.lib(atox.obj) : warning LNK4006: _atoi already defined in 
MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in 
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(getenv.obj) : warning LNK4006: _getenv already defined in 
MSVCRT.lib(MSVCRT.dll); second definition ignored
   Creating library Release_TS/php_ldap.lib and object Release_TS/php_ldap.exp
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use 
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use 
/NODEFAULTLIB:library
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol 
__imp__sasl_client_init
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol 
__imp__sasl_set_alloc
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol 
__imp__sasl_errstring
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_decode
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_encode
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_setprop
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol 
__imp__sasl_client_new
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_dispose
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_getprop
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol 
__imp__sasl_client_step
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol 
__imp__sasl_client_start
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
..\..\Release_TS/php_ldap.dll : fatal error LNK1120: 12 unresolved externals
Error executing link.exe.

LIbsasl is there in libs directory.

php_ldap.dll - 20 error(s), 9 warning(s)


Sukhwinder
--- End Message ---
--- Begin Message ---
Hi All,

Is anyone aware of any components/modules that will allow PHP to read &
modify NT ACLs?  Apart from having to shell to a utility such as 'xcacls', I
can't seem to find anything that will do the job.

Cheers
--- End Message ---
--- Begin Message ---
I have never found any detailed docs on the subject, but when I was playing
with IIS configuration, I found that it was capable of returning an ACL and
it is true that I can instantiate a component called "AccessControlEntry"

$ACE = new COM("AccessControlEntry");
$ACE->Trustee = "Administrator";
$ACE->AccessMask = 0x400AB; # Full control

A search on MSDN will probably reveal the full extent of these classes. I
assume that you will find a full set of objects to manipulate security on
any NT object. Perhaps they are only installed with IIS or WBEM or maybe
Win2K and later only. I am not sure. But they do exist and I have used them.

Alan.

----- Original Message -----
From: "David Redmond" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, 29 April, 2002 20:42
Subject: [PHP-WIN] NT ACL Manipulation


> Hi All,
>
> Is anyone aware of any components/modules that will allow PHP to read &
> modify NT ACLs?  Apart from having to shell to a utility such as 'xcacls',
I
> can't seem to find anything that will do the job.
>
> Cheers
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
I'm into developing a shopping cart using PHP (naturally) and am running 
into a little snag.
I need to be able to perform several tasks within the framework of a 
<form></form> construct:

1)      Call a function from within the module;
2)      Call an external PHP module (no return) with the contents of ALL 
elements within the form;
3)      Call an external (or a function) that will overlay a smaller window 
to display cart contents and
         have the customer click a button to close the window (return?). 
All FORM contents needed;

Here is the pseudo code, subject to MAJOR change (obviously) ...

<?
function function_one()
{
   print ("I'm in function one ...");
}
?>
<html>
<head>
</head>
<body>
<form>
This is program one ...
<?
   print ("<a href=\"bob2.php\"> click here</a>");   <---- This needs to 
transfer to
                                                           another module, 
not returning.
   print ("<input type=???">);                       <---- This needs to 
enter function_one
                                                           and remain 
within the module
   print ("???????????????");                        <---- This needs to 
transfer to another
                                                           module (or call 
another function
                                                           within this 
module) to open another
                                                           window, display 
the contents of a
                                                           shopping cart, 
then have the customer
                                                           click a button 
to close with window.
   ?>
</form>
</body>
</html>

Can anyone return this with some pseudo code?

Bob
--- End Message ---
--- Begin Message ---
Not having used any of them myself (yet), is there any compelling
reason to choose one of the "unified" installer packages over another?
I am leaning towards PHP Triad because it is free (which is good for
myu students) and because Nusphere makes me a bit itchy with all the
bad blood with MySQL. I think there are a few other projects like this
out there?

But the bottom line is I want something that works without too much
tweaking so that my web design students can focus on the language
instead of the installation...

c

--- End Message ---

Reply via email to