[PHP-WIN] How to get script name and line number

2003-08-28 Thread William Cheung
I need to error log the script name and the line number that an error occurs. Are there built-in variables I could make use of? William

php-windows Digest 28 Aug 2003 22:17:02 -0000 Issue 1891

2003-08-28 Thread php-windows-digest-help
php-windows Digest 28 Aug 2003 22:17:02 - Issue 1891 Topics (messages 21268 through 21272): Re: End of Page characters 21268 by: sven var static 21269 by: Alvaro Martinez 21270 by: Alvaro Martinez MS SQL query problem 21271 by: Omar help with building 2 dll

[PHP-WIN] help with building 2 dll's needed

2003-08-28 Thread Grzegorz Godlewski
Hello! I need two compiled extensions for php 4.3.3: - bcompiler (I think somebody has it already compiled) - php-xerces (source is available at http://ggodlewski.host.sk/download/php-xerces/php-xerces-0.6.tar.gz) I tried to build them with mingw32 and cygwin - without effect :( Unfortunately I d

[PHP-WIN] MS SQL query problem

2003-08-28 Thread Omar
I have a sql query, something like SELECT x FROM server1.table WHERE x IN (SELECT x FROM server2.table) I get a warning when loading the page. This is the warning: Warning: MS SQL message: Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ens

[PHP-WIN] var static

2003-08-28 Thread Alvaro Martinez
Hi! I want to obtain only one instance of one class. In other to do that, I call to a static method, that creates the instance(if it doesnt exit) or returns the reference of the instance. The call to the static method is the next: $conexiondb=db::getInstancia(); Well, but if I call to db::getI

[PHP-WIN] var static

2003-08-28 Thread Alvaro Martinez
I want to obtain only one instance of one class. In other to do that, I call to a static method, that creates the instance(if it doesnt exit) or returns the reference of the instance. The call to the static method is the next: $conexiondb=db::getInstancia(); Well, but if I call to db::getInsta

Re: [PHP-WIN] End of Page characters

2003-08-28 Thread sven
hi, good luck in parsing .doc-files! but if you try your page-break, save the file and view it in a hex-editor, your page-break is in fact 'x0E'. and hexdec('0E') gives you 14. hth SVEN Gerardo Rojas wrote: > Yes, holding down the ALT key and using the numeric keypad and typing > 014, does force a

php-windows Digest 28 Aug 2003 07:36:45 -0000 Issue 1890

2003-08-28 Thread php-windows-digest-help
php-windows Digest 28 Aug 2003 07:36:45 - Issue 1890 Topics (messages 21263 through 21267): Using Sablotron to parse remote XML via xslt (to HTML) 21263 by: Ryan Vesely Re: Displaying one record per page 21264 by: Croskerry, Dan 21266 by: Harpreet 21267 by: B

Re: [PHP-WIN] Displaying one record per page

2003-08-28 Thread Bobo Wieland
If I understood you correct you could do something like this with mysql: $recnum = (isset($_GET["recnum"])) ? $_GET["recnum"] : 1; $q = "SELECT * FROM table LIMIT ".$recnum.",1"; $r = mysql_query($q, $link_id); $row = mysql_fetch_object($r); print ($row->some_field); print

Re: [PHP-WIN] Displaying one record per page

2003-08-28 Thread Harpreet
MSSQL and MYSQL both. I need a solution for both as the web app is going to run on b oth databases. - Original Message - From: "Croskerry, Dan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 27, 2003 4:16 PM Subject: RE: [PHP-WIN] Displaying one record per page > Wha

[PHP-WIN] Re: Web page timeout with PHP 4.3.3 on IIS & Win2K

2003-08-28 Thread Matt Blacker
Hi, I would check to make sure the php.exe is getting executed properly from the new location, you say it starts it but how do you know this? If you want to make sure it is using the new file go into IIS, then go to properties on the website you want php on and then go to the home directory tab. O