[PHP] re:Switch - Case Statement Questions

2012-11-16 Thread Omar Muhsin
case ? Many thanks Omar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Omar Noppe
Is there any reason to pick a black background en white fonts in your editor (for example writability)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] 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

[PHP] mssql_connect problem

2003-12-17 Thread Omar
Hello. I have a sql server named CLUSTER01 (on win 2k servers, iis, etc), 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

[PHP] preg_match

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

[PHP] 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

[PHP] cookies and iexplorer

2003-06-06 Thread Omar
I have this login page, if the login is correct, i create 3 cookies: - user = $login - password = $pass - seepage = 1 on the other pages, i placed a condition: if $seepage != 1 go to login page else show page It works fine to some people (works fine for me), but there are other people who

[PHP] Get data from 5 tables

2003-03-05 Thread Osman Omar
Hi, How do I query to get data from 5 tables with same id. (id=1). eg, table1 id data 1 blue 2 green table2 id data 1 yellow 3 green table3 id data 1 black 4 white etc. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Get data from 5 tables

2003-03-05 Thread Osman Omar
/JOIN.html --- Osman Omar [EMAIL PROTECTED] wrote: Hi, How do I query to get data from 5 tables with same id. (id=1). eg, table1 id data 1 blue 2 green table2 id data 1 yellow 3 green table3 id data 1 black 4 white etc. thanks

[PHP] problem including a file

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. --

[PHP] Re: Stumped!

2002-12-16 Thread Omar
$sql = SELECT .; $sql_e = mysql_query($sql); while ($result = mysql_fetch_array($query_e)) { . } You were missing the mysql_query [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am trying to display a column from my database as a list. Each

Re: [PHP] Re: Stumped!

2002-12-16 Thread Omar
Check out your while { } --- i don´t see a closing one echo (A HREF=/edit.php?id='$id'\$meetingName/A ); try: echo 'A href=edit.php?id='.$id.''.$meetingName.'/A'; [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hmm, I am still getting a parse error on the

[PHP] 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

[PHP] 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

[PHP] Re: Refresh my Memory

2002-10-10 Thread Omar Campos
Visit http://javascript.internet.com/user-details/resolution-page.html it'll be helpful. Stephen [EMAIL PROTECTED] escribió en el mensaje 000e01c270a9$08ba5b90$0200a8c0@melchior">news:000e01c270a9$08ba5b90$0200a8c0@melchior... Hello, I forget exactly how to do this so I'm turning to you all

[PHP] mysql_num_rows error

2002-10-08 Thread Omar Campos
I have a file. I'll paste from line 32 to 34 ? . $sql = select USUARIO from docente where USUARIO = '$usuario'; $result = mysql_query($sql, $link); if (mysql_num_rows($result) == 1) { // line 34 ? I get the next warning: Warning: mysql_num_rows(): supplied argument is

[PHP] Compiling PHP on Linux

2002-07-23 Thread Osman Omar
Hi I try to compile php and got error message any idea? system: Redhat 7.2 Apache 2.0.39 (for redhat 7.0 from apache website) php 4.2.2 error messages --- /bin/sh /usr/tmp/php-4.2.2/libtool --silent --mode=compile gcc -I. -I/usr/tmp/php-4.2.2/sapi/apache2filter

[PHP] addslashes

2002-06-21 Thread OMAR IGNACIO CAMPOS GALAN
When I use addslashes to add a back slash to a single quote, it returns 3 back slashes (example: 'it\\\'s'. Is that correct? Am I doing something wrong? Thank you Omar Campos Galán Desarrollo de Formas Electrónicas CompuSoluciones Tel. (0133) 3818-1554 Fax (0133) 3818-1599

[PHP] PHP- OF TOPIC

2001-07-19 Thread Yassel Omar Izquierdo Souchay
Hi agin I have APCHE SERVER Installed in my Machine. And i have Win2k pro installed. And as you sww i want to use. So i having troubles to configure the WEB server. If somebody knows how to do it, please it would help me much. Thanks Yassel (Cybername=YOIS)

Fw: [PHP] PHP- ABOUT CONFIGURE APACHE SERVER

2001-07-19 Thread Yassel Omar Izquierdo Souchay
MY PROBLEMS IS. THAT I DON'T KNOW HOW TO CONFIGURE MY APACHE SERVER TO USE MY C:\Inetpub\wwwroot\SITES I HAVE THERE THAT'S MY PROBLEM. THANKS FOR YOUR COLABORATION. YOIS - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 7:32 AM Subject:

Fw: [PHP] RE:[PHP] PHP- ABOUT CONFIGURE APACHE SERVER

2001-07-19 Thread Yassel Omar Izquierdo Souchay
May i change this ? ScriptAlias /php/ C:/WINNT/system32/inetsrv/php/ AddType application/x-httpd-php .php .php3 .phtml Action application/x-httpd-php /php/php.exe by this other? ScriptAlias /php/ C:/WINNT/system32/inetsrv/php/sapi AddType application/x-httpd-php .php .php3 .phtml

[PHP] PHP- Smoething i don't understand

2001-07-17 Thread Yassel Omar Izquierdo Souchay
Hi friends thanks averybodoy for help me i used the solition of Jason Bell [EMAIL PROTECTED] thanks Jason with this try this: mysql_connect(YOUR_DB_HOST,DB_USERNAME,DB_PASSWORD); mysql_select_db(DB); $query = select * from info where FirstName='$FirstName' and LastName='$LastName' and

[PHP] File Uploads and Get Method

2001-05-03 Thread Omar Elkassir
when i upload a file, the form method must be POST because when GET is used, it adds backslashes to the windows path name that already has backslashes, and this causes an error. for instance, the following snippet of code -- if ($add){ $newimage = whatever.gif; copy($image, $directory.