Re: [PHP-WIN] C++ dll files

2002-11-27 Thread Franco Pozzer
I am not sure because I do not try these situation. I have validate in the paper these situation, but I can write that I have find in my investigation: Your dll.s are not activex components, so you can't register them. They are libraries (dynamic link libraries: they can be loaded/unloaded dinam

[PHP-WIN] Re: php-windows Digest 26 Nov 2002 22:04:20 -0000 Issue 1458

2002-11-27 Thread Neil Smith
Visit an ILS or LDAP server, or ICQ. http://www.fresh-toast.net does a particularly good web to ILS interface (I know, I wrote it :-) It also happens to perform video conference calls using gnomemeeting, netmeeting, cuseeme, intel video phone and MS portrait. At 22:04 26/11/2002 +, you wro

[PHP-WIN] Re: Redirect browser to another URL?

2002-11-27 Thread George Nicolae
You send some caracter (even return) to the browser. Try to put the header("location:" . $url); on the firs line of the script. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Jack Kelly Dobson" <[EMAIL PROTECTED]> wrote

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-27 Thread Cam Dunstan
Jack, here is another quick and dirty function to stick in your library, yet another way to redirect from anywhere in your script function redirect($url){ echo "window.location.replace(\"".$url."\")"; } usage: blah blah redirect("any_url"); exit; > > -Original Message- > From: Jack K

php-windows Digest 27 Nov 2002 10:49:56 -0000 Issue 1459

2002-11-27 Thread php-windows-digest-help
php-windows Digest 27 Nov 2002 10:49:56 - Issue 1459 Topics (messages 17152 through 17160): Re: C++ dll files 17152 by: Mikey 17156 by: Brennan Mann 17157 by: Franco Pozzer Redirect browser to another URL? 17153 by: Jack Kelly Dobson 17154 by: Kieran

[PHP-WIN] PHP Sessions and Redirects... (was Re: [PHP-WIN] Redirect browserto another URL?)

2002-11-27 Thread Luis Ferro
If there are sessions involved, this second method is prefered, because it will give PHP a chance to change the server sessions. Sessions can be VERY tricky, specially if one expects the changes of a var to reflect immediatly in the session... they won't... and it is prefered that you issue a c

[PHP-WIN] Weird PHP Problem

2002-11-27 Thread Becky Gruebmeyer
Ok...Using newest version of PHP on an NT IIS machine with a SQL 2000 database. Here is the issue: I have a nvarchar field with a size of 4000. I submit a text string from a form to this field. It will display on submit using echo nl2br($variable) and it will display fine. When I look in the datab

RE: [PHP-WIN] Weird PHP Problem

2002-11-27 Thread Rich Gray
When you say the 'first part of the string' do you mean it returns only the string up to the 1st space character? Can you provide an example with code? -Original Message- From: Becky Gruebmeyer [mailto:[EMAIL PROTECTED]] Sent: 27 November 2002 11:24 To: [EMAIL PROTECTED] Subject: [PHP-WIN]

Re: [PHP-WIN] Weird PHP Problem

2002-11-27 Thread Luis Ferro
SQL Server is notorious for is fair amount of bugs... With that in prespective i must ask: a) Are you reading the fields in EXACTLY the same order as they appear in the filed list in the SQL Server Enterprise Manager? [SQL Server will return damaged results if one tries to read strings in a dif

Re: [PHP-WIN] Weird PHP Problem

2002-11-27 Thread Zaid Al-Hamdoon
Are you saying that you've defined the the field as VARCHAR(4000)? I thought VARCHAR only went up to 255? Ok...Using newest version of PHP on an NT IIS machine with a SQL 2000 database. Here is the issue: I have a nvarchar field with a size of 4000. I submit a text string from a form to thi

Re: [PHP-WIN] Another Newb PHP question

2002-11-27 Thread Step Schwarz
Hi Joe, > The zip file with the calendar code/instructions is attached here is their > website: http://calendar.codewalkers.com/ I believe that code was written by Matt Wade himself -- the founder of Codewalkers, if I'm not mistaken. You may want to re-post your question in the Codewalkers foru

RE: [PHP-WIN] Weird PHP Problem

2002-11-27 Thread Matt Kynaston
Are you using mssql_* functions? They limit varchar and nvarchar to 256 characters. For workarounds take a look through the user comments in the manual, or use odbc_* Matt > -Original Message- > From: Luis Ferro [mailto:[EMAIL PROTECTED]] > Sent: 27 November 2002 12:30 > To: [EMAIL PROTEC

[PHP-WIN] Re: Weird PHP Problem

2002-11-27 Thread David Elliott
Greetings Becky On 27 November 2002 at 06:23:58 -0500 (which was 11:23 where I live) Becky Gruebmeyer emanated these words of wisdom > Ok...Using newest version of PHP on an NT IIS machine with a SQL 2000 > database. Here is the issue: > I have a nvarchar field with a size of 4000. > I submit a

[PHP-WIN] question about session PHP

2002-11-27 Thread Franco Pozzer
I hope to write well. Thanks for all for the response. My appl Apache+PHP in Win32 system use PHP_Session fecture. The cookies session are store in the path D:\OPENFEDRA\Apache\htdocs\fedra\sv\src\tmp The php.ini are fine configurated. all work fine. Only when I reuse and re-start applicazion (

Re: [PHP-WIN] question about session PHP

2002-11-27 Thread Cam Dunstan
Franco, I`m not so sure if unlink() can be relied on to work on a windoze server, never actually tried it but have hazy recollections of some "windows only" issue with it. Check the FAQs or manual. - Original Message - From: "Franco Pozzer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

RE: [PHP-WIN] question about session PHP

2002-11-27 Thread Rich Gray
I have used the unlink() function on Win32 with no probs in the past. What are the directory permissions on 'D:/OPENFEDRA/Apache/htdocs/fedra/sv/tmp' - do they allow deletion by the web server process? Was the file to be unlinked already opened by another process i.e. a share violation? -Orig

[PHP-WIN] Re: C++ dll files

2002-11-27 Thread Brennan Mann
I been getting progress. I got my DLL registered using regsvr32. But I can't connect using PHP. I get this error: Warning: Invalid ProgID, GUID string, or Moniker: Invalid syntax in c:\inetpub\wwwroot\dllfile.php on line 1 testcom is the dll file I registered. testcom.dll Process is a function

[PHP-WIN] help with db selection with php .............

2002-11-27 Thread toby z
ok guyz i need some inside info . plz help me with: 1. if i ve to conver a db in foxpro to mysql or sql which one should i preffer to use with php and y 2. and while im converting the foxpro db to mysql what will i ve to loose the common pitfalls .. 3. there aint no forei

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-27 Thread Jack Kelly Dobson
Thanks for all the help guys. My problem, as most of you figured, is that my script has a form in it that re-runs itself when the form is submitted so there is only one script including the form and all the validation for the form. If the validation is successful it sends you to a different page d

[PHP-WIN] Install PHP4.2.3 with Apache 2.0.43 on Window 2000

2002-11-27 Thread Jack R.
I am trying to install php 4.2.3 with apache 2.0.43 on window 2000. I copy php4ts.dll to winnt/system32 and add the following at the end of my apache config file per install instruction. LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .p

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-27 Thread Dash McElroy
Just for feedback (note: I don't run Apache on win32 live anywhere - it's primarily a test bed), Apache has worked flawless for me. However, I tend to put Apache on Linux when I get the chance. Stability of NT still scares me. I like using Apache for a few reasons: 1. It's cleaner (simple text con

[PHP-WIN] IIS and PHP with $HTTP_SERVER_VARS

2002-11-27 Thread Shaun Garriock
Hi The problem I am having is as follows: I setup PHP with IIS and it seems to work fine. I am creating a Intranet site and would like to obtain the user logged on to the networks username. I have setup basic auth but when I visit the site it asks me for my username and password before I can get in

[PHP-WIN] Re: help with db selection with php .............

2002-11-27 Thread George Nicolae
1. MySQL 2. Nothing 3. in your code you must take care about this. 4. ? 5. PostgreSQL -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Toby z" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].

[PHP-WIN] Re: help with db selection with php .............

2002-11-27 Thread Diggy Bell
Toby, Either MySQL or PostgreSQL are good database alternatives. I'm more of a hardcore database person so I prefer PostgreSQL because of it's support for transactions. I've also found the SQL grammar in PostgreSQL to be a little more standard. Another option would be the Firebird project (http

php-windows Digest 28 Nov 2002 04:02:43 -0000 Issue 1460

2002-11-27 Thread php-windows-digest-help
php-windows Digest 28 Nov 2002 04:02:43 - Issue 1460 Topics (messages 17161 through 17179): PHP Sessions and Redirects... (was Re: [PHP-WIN] Redirect browser to another URL?) 17161 by: Luis Ferro Weird PHP Problem 17162 by: Becky Gruebmeyer 17163 by: Rich Gray

[PHP-WIN] Stupid Question About IIS and PHP

2002-11-27 Thread Diggy Bell
Ok, I've left several handfuls of hair on the floor over this one, but I gotta ask... I apologize in advance for the stupidity. I normally work with Apache, but the client is always rignt! :P. I'm running IIS 5 on Win2K with PHP 4.2.3. I've been able to get one application completely working, b

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-27 Thread Max Graham
You know, this is exactly what happened to me. I was trying to design a comments page for a weblog to open in a popup. The page had a submission form that would submit back to itself. 'course, I was banging my head on the wall trying to come up with a way to get the page to detect whether it had re

[PHP-WIN] Re: Getting my IP adress (not 127.0.0.1)

2002-11-27 Thread Steve Yates
"Michael Delorme" <[EMAIL PROTECTED]> wrote > However I only get 127.0.0.1 > But I want the "public" dynamic adress my ISP gave me, Don't use localhost, that's always 127.0.0.1 by definition. You didn't say what server you are using but if it's Apache try... getenv('SERVER_ADDR'); or gethost

[PHP-WIN] Re: Stupid Question About IIS and PHP

2002-11-27 Thread J.Veenhuijsen
Diggy Bell wrote: Ok, I've left several handfuls of hair on the floor over this one, but I gotta ask... I apologize in advance for the stupidity. I normally work with Apache, but the client is always rignt! :P. I'm running IIS 5 on Win2K with PHP 4.2.3. I've been able to get one application co