[PHP] Re: MSSQL, PHP and Linux

2004-09-02 Thread Jon Bertsch
to /usr/local/freetds) compile php with the --with-mssql=/usr/local/freetds flag setup the mssql DSN entry in the freetds conf file (under /usr/local/freetds/etc) Jon Bertsch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: str_replace() problem in PHP5 - RESOLVED

2004-08-05 Thread Jon Bertsch
that would be different between prod and dev environments so that's the best candidate for causing the problem (php.ini set at default 8M). There were no error messages at all, the script would just end and the logs showed nothing at all, as if it was never even called. Jon Bertsch -- PHP General

Re: [PHP] Re: str_replace() problem in PHP5 - RESOLVED

2004-08-05 Thread Jon Bertsch
Justin, We are using apache 1.3.31 ( From the original post production server to php5.0.0 running on apache 1.3.31 on SUSE9.1) Jon Bertsch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] str_replace() problem in PHP5 - anyone else?

2004-08-04 Thread Jon Bertsch
in 4.3.8. The only difference in the functions between php4 and 5 is the addition of the count option, could that be the issue? Any help or comments would be greatly appreciated. Thanks Jon Bertsch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] str_replace() problem in PHP5 - anyone else?

2004-08-04 Thread Jon Bertsch
. Jon Bertsch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] str_replace() problem in PHP5 - anyone else?

2004-08-04 Thread Jon Bertsch
Jason, This code is not using any OO the variable is $this_year not $this-year. Running it under php5 on my dev box the string replace function works and replaces the text as expected. Jon Bertsch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] str_replace() problem in PHP5 - anyone else?

2004-08-04 Thread Jon Bertsch
Jason, Thanks for looking. Very perplexing (to me at least). Jon Bertsch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Field name function in PHP 5

2004-08-04 Thread Jon Bertsch
Assuming the snippet is correct, your function is not spelled correctly. You should be using mysql_field_name() or mssql_field_name() (MySQL or MS SQL respectively). Jon Bertsch [snip] When I write: echo th.msql_field_name($result). /th; I get the error message: Fatal error: Call to undefined

[PHP] freetds

2004-07-27 Thread Jon Bertsch
= 1433 tds version = 7.0 you can also add login and password or specify in your database connection script. HTH a little Jon Bertsch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php