php-windows Digest 14 Sep 2001 18:29:52 -0000 Issue 754 Topics (messages 9351 through 9357): Help:About the Apache log files problems,too strange 9351 by: Thrack Re: Can´t get ImageTTFBBox to work 9352 by: Richard Morris ? tag 9353 by: Patrick SILVA Re: PARSE ERROR: line number listed is n+1?!? 9354 by: Jonathan Wright (DjNA) shebang appearing 9355 by: Jack 9356 by: Jonathan Wright (DjNA) COM object - how do I specify the interface to extract 9357 by: Crawley 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] ----------------------------------------------------------------------
Hi,everyone: My system is Windows 2000 server,and I have created My website with Apache+Php+Mysql in it.My IP is an Internet static and valid IP address.Theses days I found some strange problems in the Apache log file(access.log),these logs below appeared in the ACCESS.LOG somtime(The xxx.xxx.xxx.xxx is the IP address): xxx.xxx.xxx.xxx - - [06/Sep/2001:14:59:35 +0800] "GET http://www.s3.com HTTP/1.1" 200 13878 xxx.xxx.xxx.xxx - - [06/Sep/2001:21:42:07 +0800] "GET http://www.ebay.com/ HTTP/1.1" 200 14640 xxx.xxx.xxx.xxx - - [06/Sep/2001:21:42:07 +0800] "GET http://www.netease.com/ HTTP/1.1" 200 14640 But in fact,My site has nothing with the sites www.s3.com,www.ebay.com,www.netease.com. Who knows the answer? Thanks.
Are you using PHP 4.0.6? If so, apparently there is a bug in that version that relates to the TTF function. From my understanding, it has been corrected and is available in the CSV but I believe you will have to wait until PHP 4.0.7 to get a fixed binary. I am not sure when that version will be released. -- Richard Morris [EMAIL PROTECTED] "Claus Bloch" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I get an error :: Could not find/open font . My the font is locating at the > same dir as the file/string that call it: > > ImageTTFBBox($ttf_size,0,'DRAGONW.ttf',$show_txt); > > Is the setup of php wrong or what??? > > If you can help me i bee happy > > > Claus Bloch > DK > [EMAIL PROTECTED] > > >
Hello How to replace echo by ? I can't find how to configure PHP4 for this on NT thanks /---------------------------------------------/ Patrick Silva Gestion serveurs et domaines Cyse Informatique 105 avenue du Général Leclerc 77400 Lagny sur marne (France) tel : (33)1 64303232 - Fax : (33)1 64303222 tel : (33)5 55805498 - Fax : (33)5 55805499 E-mail : [EMAIL PROTECTED] http://www.cyse.com /---------------------------------------------/
If it is a problem with the paser, then why not try a really basic PHP file (just "<?php phpinfo() ?>") and see what happens. Then maybe start to recreate the file bit by bit. If it falls over on <?php phpinfo() ?> then you know that's cause the problem and you may have to go and check the php.ini At 16:09 13/09/2001 -0700, leo g. divinagracia iii wrote: >yeah... that's what i thought too. so i went and checked stuff. even >doubled made sure that the closing "?>" was retyped. > >wouldnt the PHP.EXE catch that and report diff error, if it were a >bracket or something? > >well i'll over the thing again. guess i'll print it instead of staring >at a screen, scrolling up... down... for an hour or so... ;-( > > >Hugh Bothwell wrote: > > > > "Leo G. Divinagracia III" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > so i write this script. all syntax errors are taken care of. but now i > > > get a PARSE ERROR wit the line number given as one more than the total > > > number of lines. > > > > > > for example, there's a total of 100 lines in the script. and the error > > > message is PARSE ERROR: 101 line. > > > > > > i check to make sure there are no "phantom" lines after the last one. > > > nothing. > > > > > > anyone else run into this before? > > > > The interpreter is surprised that the file > > has ended, it still expects something - > > maybe you left out a closing bracket somewhere. > > > >-- >Leo G. Divinagracia III >[EMAIL PROTECTED] > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] /*** * Jonathan Wright * DjNAuk * [EMAIL PROTECTED] * ICQ 21961373 ***/
Hi! I've installed php as cgi on windows98 and everything's fine except that when running a script, the shebang (#!/usr/local/bin) appears on top of every page. Why? Thanks.
You don't need it. The shebang line is only require for perl scripts or system scripts. PHP is directly interpreted by php.exe. At 14:37 14/09/2001 +0200, Jack wrote: >Hi! > >I've installed php as cgi on windows98 and everything's fine except that >when running a script, the shebang (#!/usr/local/bin) appears on top of >every page. Why? >Thanks. > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] /*** * Jonathan Wright * DjNAuk * [EMAIL PROTECTED] * ICQ 21961373 ***/
Im playing around with custom COM objects ( my one currently has one method, which returns a 'long' ), I have tested the object from a 'C++' client and am still fighting to get the interface pointer out? ... its written in ATL and I cant see why its not responding correctly when I call QueryInterface on I unknown. Asuming I get this sorted, I've just thought - how ( under php ) do I specify the interface to extract from the object. Also will I have to specify anything special as my COM object is a .exe server ? many thanks Rich