[PHP-WIN] copy function

2003-12-18 Thread Omar
Is there a way to copy a file from 1 server to a different one? I have this code in a win 2k server, and i try to copy the file to a win NT server: if (is_file($file_att)) if (copy($file_att,'\servername\folder\'.$file_name)) echo "succesful"; else echo "failure"; It gives me this war

[PHP-WIN] mssql_connect problem

2003-12-17 Thread Omar
Hello. I have a sql server named CLUSTER01, i try to connect to it : $db_conn = mssql_connect("CLUSTER01", $db_usuario, $db_password); and it gives me this message: Warning: 0 is not a MS SQL link index in x The user name and password are correctly created in the logins of the sql server. What el

[PHP-WIN] preg_match function

2003-10-10 Thread Omar
Hello everyone. In this line preg_match("/[^a-z0-9'\?!-]", $item) i can´t find de way to add vowels with accent (á,é,í,ó,ú,ñ,Ñ) and other characters to the preg_match function. Can anyone help me? The documentation of this function is not very clear (or complete) to me. Thank you. -- PHP Windo

[PHP-WIN] environment variables

2003-09-17 Thread Omar
Hello. Is there a way to know the windows login account using a PHP environment variable? Thank you -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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] problem including files

2002-12-30 Thread Omar
I have an include line in all the php files i write something like --> include('connection.inc'); The include path is d:\includes. (win nt 4, php 3.0.11) It worked fine before but today failed to open the include file. Does anyone has a clue about what could cause this problem? Thank you. -- PH

[PHP-WIN] accesing to a dll

2002-12-11 Thread Omar
I wanto to access to a function in a dll file. Is this posible? Thank you. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] trouble with update from php 3 to php 4.2.3

2002-12-04 Thread Omar
I updated php from version 3 to 4.2.3 on a win NT 4 server (with iss 4). Everything went ok, but the include() function. I have problems when including files. I tried to specify a directory in the php.ini file but it still didn't work. This is how i have the include line: include ('file.inc'); I c

[PHP-WIN] Re: checking if is FORM is POSTED

2002-12-04 Thread Omar
You can do it by checking if the submit button was pressed: if (isset($name_of_the_submit_button)) { // the button was pressed } Maybe you can include checking a hidden field. "Matt Babineau" <[EMAIL PROTECTED]> escribió en el mensaje 000d01c29af0$77e6d400$0210a8c0@webdevx">news:000d01c29af0$77e6d

[PHP-WIN] update from php 3 to php 4

2002-11-26 Thread Omar
This is a silly question: If i want to update from version 3 to 4 on a win2k server, do i only download the php instaler and execute it? Or should i uninstall the current version of php and after that install the new version? Thank you for your help. Omar -- PHP Windows Mailing List (http

[PHP-WIN] mail function in IIS 5

2002-10-31 Thread Omar
ould be). Thank you for your help. Omar -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: html email

2002-10-14 Thread Omar Campos
just add headers to your mail. Like this: including html tags"; $to = "[EMAIL PROTECTED] mail($to, $Subject, $msg, $headers); ?> "Dennis Philpot" <[EMAIL PROTECTED]> escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi im quite a n00b, but i get some data out of the database a

[PHP-WIN] slow form / server problem

2002-10-10 Thread Omar Campos
Hi. I run php in win2k server, IIS and MS SQL Server 2k. I've created some data bases and tables. On the beginning, sending a php form (through the intranet) was quick. Now, it spends 32 seconds (sometimes less) to send a form. I've tried on a empty data base but it's still slow. I don´t have a cl

[PHP-WIN] Re: php developer program

2001-09-27 Thread Omar Ortiz
Check http://www.codecharge.com/ Raj wrote: > hi all > > I've just learned asp, and now have been told that php is the language to > learn. Further Mysql does not support asp. > > Is there a web publishing program that can output to php ? so I don't have > to learn php in depth. (As frontpage an