Re: [PHP] apache 2, mysql 5.0.1.rpm and php 5.0.2 on RH9

2004-11-09 Thread Haseeb Iqbal
hi,
i manged to install php but with mysqli support only, i want to configure it
mysql and mysqli support. as it turned out the error occured when i tred to
install both mysql and mysqli support, for the time i am living with mysqli
support only untill i figure out what i wsa doing wrong. i have
MySQL-client-5.0.1-0.i386.rpm,MySQL-Max-5.0.1-0.i386.rpm,MySQL-shared-5.0.1-
0.i386.rpm,MySQL-bench-5.0.1-0.i386.rpm,MySQL-devel-5.0.1-0.i386.rpm and
MySQL-server-5.0.1-0.i386.rpm installed.

waiting for comments on how to install both mysql and mysqli support.

Regards,
Haseeb
- Original Message - 
From: Greg Donald [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 12:52 AM
Subject: Re: [PHP] apache 2, mysql 5.0.1.rpm and php 5.0.2 on RH9


 On Mon, 8 Nov 2004 07:19:30 +0500, Haseeb Iqbal [EMAIL PROTECTED]
wrote:
  /usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x9d0): first defined here
  collect2: ld returned 1 exit status
  make: *** [libphp5.la] Error 1

 Does /usr/lib/mysql/libmysqlclient.a actually exist?  After you
 installed MySQL from rpms, did you run ldconfig?


 -- 
 Greg Donald
 Zend Certified Engineer
 http://gdconsultants.com/
 http://destiney.com/

 -- 
 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: http://www.php.net/unsub.php



[PHP] apache 2, mysql 5.0.1.rpm and php 5.0.2 on RH9

2004-11-07 Thread Haseeb Iqbal

using  apache 2, mysql 5.0.1 rpm install, php 5.0.2

i want to install php with both mysql and mysqli support. but everytime i get 
this error. help please.

configure command
==

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr 
--with-mysqli=/usr/bin/mysql_config --with-mysql-sock=/var/lib/mysql/mysql.sock 
--with-zlib --with-zlib-dir --with-bz2 --with-gd --enable-gd 
--enable-gd-native-ttf --with-jpeg-dir --with-png-dir --with-ttf 
--with-freetype-dir=/usr/local/freetype2/ --with-iconv=/usr/local/libiconv/ 
--with-curl=/usr/local/curl/  --enable-track-vars --with-gettext 
--with-config-file-path=/usr/local/apache2/conf --enable-trans-id --enable-ftp 
--with-cpdflib=/usr/local --enable-mbstring

configure ends ok but when i make i get this.
===
usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0xc): multiple definition of 
`_db_on_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0xc): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0x10): multiple definition of 
`_db_pon_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0x10): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0x14): multiple definition of 
`_no_db_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.data+0x14): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x0): In function `_db_push_': 
: multiple definition of `_db_push_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x0): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x310): In function `_db_pop_': 
: multiple definition of `_db_pop_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x310): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x3f0): In function `_db_enter_': 
: multiple definition of `_db_enter_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x3f0): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x530): In function 
`_db_return_': 
: multiple definition of `_db_return_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x530): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x650): In function `_db_pargs_': 
: multiple definition of `_db_pargs_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x650): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x670): In function 
`_db_doprnt_': 
: multiple definition of `_db_doprnt_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x670): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0xb10): In function 
`_db_keyword_': 
: multiple definition of `_db_keyword_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0xb10): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x750): In function `_db_dump_': 
: multiple definition of `_db_dump_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x750): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x10c0): In function 
`_db_setjmp_': 
: multiple definition of `_db_setjmp_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x10c0): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x10e0): In function 
`_db_longjmp_': 
: multiple definition of `_db_longjmp_' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x10e0): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x1170): In function 
`_db_lock_file': 
: multiple definition of `_db_lock_file' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x1170): first defined here 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x1190): In function 
`_db_unlock_file': 
: multiple definition of `_db_unlock_file' 
/usr/lib/mysql/libmysqlclient.a(dbug.o)(.text+0x1190): first defined here 
/usr/lib/mysql/libmysqlclient.a(pack.o)(.text+0x0): In function 
`net_field_length': 
: multiple definition of `net_field_length' 
/usr/lib/mysql/libmysqlclient.a(pack.o)(.text+0x0): first defined here 
/usr/lib/mysql/libmysqlclient.a(pack.o)(.text+0x70): In function 
`net_field_length_ll': 
: multiple definition of `net_field_length_ll' 
/usr/lib/mysql/libmysqlclient.a(pack.o)(.text+0x70): first defined here 
/usr/lib/mysql/libmysqlclient.a(pack.o)(.text+0xe0): In function 
`net_store_length': 
: multiple definition of `net_store_length' 
/usr/lib/mysql/libmysqlclient.a(pack.o)(.text+0xe0): first defined here 
/usr/lib/mysql/libmysqlclient.a(client.o)(.data+0x0): multiple definition of 
`mysql_port' 
/usr/lib/mysql/libmysqlclient.a(client.o)(.data+0x0): first defined here 
/usr/lib/mysql/libmysqlclient.a(client.o)(.data+0x4): multiple definition of 
`mysql_unix_port' 
/usr/lib/mysql/libmysqlclient.a(client.o)(.data+0x4): first defined here 
/usr/lib/mysql/libmysqlclient.a(client.o)(.data+0x8): multiple definition of 
`unknown_sqlstate' 
/usr/lib/mysql/libmysqlclient.a(client.o)(.data+0x8): first defined here 
/usr/lib/mysql/libmysqlclient.a(client.o)(.data+0xc): multiple definition of 
`not_error_sqlstate' 
/usr/lib/mysql/libmysqlclient.a(client.o)(.data+0xc): first defined here 

[PHP] IMAP connect problem

2004-05-19 Thread Haseeb Iqbal
hi all,
when i try to connect to imap server i get this and the script aborts.

what should i do to fix.

Certificate failure for localhost: self signed certificate: /C=US/ST=NY/L=New 
York/O=Courier Mail Server/OU=Automatically-generated IMAP SSL key/CN=localhost/[EMAIL 
PROTECTED]

consider myself a newbie in the world of linux.

Haseeb

Re: [PHP] Fatal error help

2004-05-19 Thread Haseeb Iqbal
the class you are defining is already or the file in which you have defined
the class in somehow included twice..
consider using require_once for you class include file.

HTH,
Haseeb
- Original Message - 
From: robi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 1:15 PM
Subject: [PHP] Fatal error help


 hello
 I am programing a simple chat and I am using my own classes
 and I get this error I have no idea what it is.
 pls help.

 Fatal error: Cannot redeclare class ch in /var/www/html/class/common.php
on
 line 3

 troby

 -- 
 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: http://www.php.net/unsub.php



Re: [PHP] IMAP connect problem

2004-05-19 Thread Haseeb Iqbal
i am using standard port 143.
- Original Message - 
From: raditha dissanayake [EMAIL PROTECTED]
To: Haseeb Iqbal [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 9:10 PM
Subject: Re: [PHP] IMAP connect problem


 Hi,

 Haseeb Iqbal wrote:

 hi all,
 when i try to connect to imap server i get this and the script aborts.
 
 what should i do to fix.
 
 Certificate failure for localhost: self signed certificate:
/C=US/ST=NY/L=New York/O=Courier Mail Server/OU=Automatically-generated IMAP
SSL key/CN=localhost/[EMAIL PROTECTED]
 
 
 Guess you might want to start by reading up on IMAP ;-)

 Looks to me like you are connecting using IMAPS (IMAP + TLS) instead of
 IMAP, it would also appear that the certificate you are using has
 expired. Try using plain old IMAP (on port 143). If you still have
 trouble please first try to login using mozilla to confirm that the
 server is indeed accepting connections.

 Alternatively you can try to connect using good old telnet and try to
 execute imap commands.

 Hope this helps.


 consider myself a newbie in the world of linux.
 
 
 There are IMAP servers for the M$ system as well :-)

 Haseeb
 
 


 -- 
 Raditha Dissanayake.
 -
 http://www.raditha.com/megaupload/upload.php
 Sneak past the PHP file upload limits.

 -- 
 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: http://www.php.net/unsub.php



Re: [PHP] gd for windows not working

2004-03-09 Thread Haseeb Iqbal
try restarting apache.i am not an expert but it might do the trick.

Haseeb
- Original Message - 
From: Firman Wandayandi [EMAIL PROTECTED]
To: Joe Patiani [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 10:26 AM
Subject: Re: [PHP] gd for windows not working


 Hi Joe!

 PHP will always runaway, doesn't matter with php.ini. There are some
 location where php.ini located, as following:
 1. SystemRoot e.g C:\Windows (on WinXP, Win9x), C:\WinNT (on WinNT4,
 Win2000)
 2. ServerRoot e.g C:\Apache\conf

 I think the problem is your configuration directive, please make sure all
of
 them are correct.

 Regards,
 Firman

 - Original Message -
 From: Joe Patiani [EMAIL PROTECTED]
 To: Jason Sheets [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, March 11, 2004 2:02 AM
 Subject: RE: [PHP] gd for windows not working


 
  I`ve tried to make my php configuration become error. But my phpinfo()
  always came right. I don`t know idea, how php read the php.ini. I`ve
  renamed all php.ini into another name.
  Which php.ini read by phpinfo(). I think something wrong has happen.
  And gd ini my phpinfo() doesn`t show up. I think the configuration in
the
  php.ini and the phpinfo() doesn`t match.
 
  What error actually is ?.
  How can I fix it?
 
  --
  joe patiani
  Geophysic and Meteorology Department
  Institut Teknologi Bandung
  Labtex XI Jl. Ganesha 10 Bandung 40132 Indonesia
 
  --
  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: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Mysql Insert/Update Problem

2004-01-07 Thread Haseeb Iqbal
here is what i am trying to achieve,i have 2 servers. Win2k and linux.
mysql is running on my linux server.now i have quite a lot of that i need to update on 
linux server from win2k machine.
here is what i am trying to do.i have a PHP CLI script that will open a dbx file 
extract records from the dbf file one by one check is the record is already on the 
linux server (mysql database). if the record is already on the linux server then it 
will update the mysql database on the linux server. but if the record is not in the 
mysq database running on linux then it will insert the record. the script is running 
on win2k server.

there are 6 dbf file that i need to extract.
comcat.dbf contains 581 records
comgrp.dbf contains 79 records
comsub.dbf contains 1896 records
manuf.dbf contains 793 records
prodaux.dbf conatins 17+ records
products.dbf conatins 17+ records

the script it taking to much time while inserting. it almost 24 hours now and still it 
isnt finished.what can i do to update the db faster.

thanx for any help in advance

Haseeb Iqbal.

Re: [PHP] Mysql Insert/Update Problem

2004-01-07 Thread Haseeb Iqbal
i have index the db properly. what next??
Haseeb
- Original Message - 
From: Rolf Brusletto [EMAIL PROTECTED]
To: Haseeb Iqbal [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 4:04 AM
Subject: Re: [PHP] Mysql Insert/Update Problem


 Haseeb - I would look at the indexes that it requires for the select
 statments, if the db isn't indexed properly, it could be just
 filesorting on each select(when you query to see if the record is in the
 database on the mysql server). You can find out by putting explain in
 front of your select query and running it at command line, or whatever
 you use as a mysql database front end..

 This tutorial shows how to use it a little more in depth :
 http://www.phpexamples.net/tutorial-2-1.html

 Hope it helps,

 Rolf Brusletto
 www.phpexamples.net
 www.emailfeeds.com

 Haseeb Iqbal wrote:

 here is what i am trying to achieve,i have 2 servers. Win2k and linux.
 mysql is running on my linux server.now i have quite a lot of that i need
to update on linux server from win2k machine.
 here is what i am trying to do.i have a PHP CLI script that will open a
dbx file extract records from the dbf file one by one check is the record is
already on the linux server (mysql database). if the record is already on
the linux server then it will update the mysql database on the linux server.
but if the record is not in the mysq database running on linux then it will
insert the record. the script is running on win2k server.
 
 there are 6 dbf file that i need to extract.
 comcat.dbf contains 581 records
 comgrp.dbf contains 79 records
 comsub.dbf contains 1896 records
 manuf.dbf contains 793 records
 prodaux.dbf conatins 17+ records
 products.dbf conatins 17+ records
 
 the script it taking to much time while inserting. it almost 24 hours now
and still it isnt finished.what can i do to update the db faster.
 
 thanx for any help in advance
 
 Haseeb Iqbal.
 
 


 -- 
 Rolf Brusletto
 rolf[at]emailfeeds[dot]com
 http://www.emailfeeds.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Script timeout Problem

2003-12-19 Thread Haseeb Iqbal
i tried this but to noavail. anyother sugestion really this problem is
really annoying me now
Haseeb
- Original Message - 
From: Marek Kilimajer [EMAIL PROTECTED]
To: Haseeb Iqbal [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 19, 2003 10:23 PM
Subject: Re: [PHP] Re: Script timeout Problem


 Haseeb Iqbal wrote:
  how can i do that?
  btw the script runs on a local machine but updates the records on a
  webserver i mean live server. this is also a factor for the timeout. the
  script was running smoothly for 24000 recods before but now it suddenly
  timeout after 800records. i dont know what is heppening
 

 Try placing mysql_ping function just before $nConn-doQuery($strQuery);
 It will check the connection and reconect if it is lost.

 -- 
 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: http://www.php.net/unsub.php



[PHP] Script timeout Problem

2003-12-18 Thread Haseeb Iqbal
hi,
i need to update a mysql table with a dbf file, the dbf file contains more then 16 
records. i knew that the script will not be able to update 16 records in 1 go so i 
am refreshing the page after speacific no of records. but still the same problem. the 
script timeout.i tried changing the timeout limit to 300 secs but to noavail. i am 
pasting the code here.plz take a look may by you can tell me what i am doing wrong


?
 define(strPath,./);

 define(_MySqlEnable,TRUE);

 set_time_limit(0);

 require_once(strPath.paths.php);

 $strDBName=strPath.uploads/.Date(d-m-Y).-products.dbf;
 
 $DBPointer=dbase_open($strDBName,0) or die(Cannot open file for reading);
 
 $nNoOfRecs=dbase_numrecords($DBPointer);
 
 $nLoopBreak=1500;
 
 $nConn=GetCon();

 if (empty($nLoopStart)) { $nLoopStart=1; }

 if ($nNoOfRecs  $nLoopBreak)
  {
   $nLoopTill=$nLoopStart + $nLoopBreak;
   $nFinal=FALSE;
  }
 else
  {
   $nLoopTill=$nLoopBreak;
   $nFinal=TRUE;
  }

 for ($nCount=$nLoopStart;$nCount=$nLoopTill;$nCount++)
  {
   $arrData=dbase_get_record($DBPointer,$nCount);

   $GRP=CheckString($arrData[0]);
   $CAT=CheckString($arrData[1]);
   $SUB=CheckString($arrData[2]);
   $VEND_CODE=CheckString($arrData[3]);
   $MANU_PART=CheckString($arrData[4]);
   $PART_NUM=CheckString($arrData[5]);
   $DESCR=CheckString($arrData[6]);
   $COST=CheckString($arrData[7]);
   $RETAIL=CheckString($arrData[8]);
   $QTY=CheckString($arrData[9]);
   $LIST_PRICE=CheckString($arrData[10]);
   $EFF_DATE=CheckString($arrData[11]);
   $TECH_FAX=CheckString($arrData[12]);
   $STATUS=CheckString($arrData[13]);
   $UPC=CheckString($arrData[14]);

   $strQuery=SELECT * FROM products WHERE grp='.$GRP.' AND cat='.$CAT.' AND 
sub='.$SUB.' AND vend_code='.$VEND_CODE.' AND manu_part='.$MANU_PART.' AND 
part_num='.$PART_NUM.';
   $nConn-doQuery($strQuery);

   if ($nConn-cntResult()==0)
$strQuery=INSERT INTO 
products(products.grp,products.cat,products.sub,products.vend_code,products.manu_part,products.part_num,products.desc,products.cost,products.retail,products.qty,products.list_price,products.eff_date,products.tech_fax,products.status,products.upc)
 
VALUES('.$GRP.','.$CAT.','.$SUB.','.$VEND_CODE.','.$MANU_PART.','.$PART_NUM.','.$DESCR.','.$COST.','.$RETAIL.','.$QTY.','.$LIST_PRICE.','.$EFF_DATE.','.$TECH_FAX.','.$STATUS.','.$UPC.');
   else
$strQuery=UPDATE products SET 
products.part_num='$PART_NUM',products.desc='$DESCR',COST='$COST',retail='$RETAIL',qty='$QTY',list_price='$LIST_PRICE',eff_date='$EFF_DATE',tech_fax='$TECH_FAX',status='$STATUS',upc='$UPC'
 WHERE grp='.$GRP.' AND cat='.$CAT.' AND sub='.$SUB.' AND 
vend_code='.$VEND_CODE.' AND manu_part='.$MANU_PART.' AND 
part_num='.$PART_NUM.';

   //echo brnCOunt -  $nCount -.$strQuery;
   $nConn-doQuery($strQuery);
  }
 $nCount++;
 $nLoopStart=$nCount;
 if ($nFinal==FALSE)
  {
//1500 records updated so refresh the page
?
meta http-equiv=Refresh content=2; URL=mypage.php?nLoopStart=?=$nLoopStart;?
?
  }
 else
  {
// all records updated so redirst to calling page.
?
meta http-equiv=Refresh content=2; URL=main.php?nStatus=1
?
  } 
?

Haseeb

Re: [PHP] Re: Script timeout Problem

2003-12-18 Thread Haseeb Iqbal
how can i do that?
btw the script runs on a local machine but updates the records on a
webserver i mean live server. this is also a factor for the timeout. the
script was running smoothly for 24000 recods before but now it suddenly
timeout after 800records. i dont know what is heppening

Haseeb
- Original Message - 
From: Jas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 19, 2003 3:16 AM
Subject: [PHP] Re: Script timeout Problem


 Have you tried setting a limit on your MySQL insert and update
 statements to limit the amount trying to be processed?

 Haseeb Iqbal wrote:
  hi,
  i need to update a mysql table with a dbf file, the dbf file contains
more then 16 records. i knew that the script will not be able to update
16 records in 1 go so i am refreshing the page after speacific no of
records. but still the same problem. the script timeout.i tried changing the
timeout limit to 300 secs but to noavail. i am pasting the code here.plz
take a look may by you can tell me what i am doing wrong
 
 
  ?
   define(strPath,./);
 
   define(_MySqlEnable,TRUE);
 
   set_time_limit(0);
 
   require_once(strPath.paths.php);
 
   $strDBName=strPath.uploads/.Date(d-m-Y).-products.dbf;
 
   $DBPointer=dbase_open($strDBName,0) or die(Cannot open file for
reading);
 
   $nNoOfRecs=dbase_numrecords($DBPointer);
 
   $nLoopBreak=1500;
 
   $nConn=GetCon();
 
   if (empty($nLoopStart)) { $nLoopStart=1; }
 
   if ($nNoOfRecs  $nLoopBreak)
{
 $nLoopTill=$nLoopStart + $nLoopBreak;
 $nFinal=FALSE;
}
   else
{
 $nLoopTill=$nLoopBreak;
 $nFinal=TRUE;
}
 
   for ($nCount=$nLoopStart;$nCount=$nLoopTill;$nCount++)
{
 $arrData=dbase_get_record($DBPointer,$nCount);
 
 $GRP=CheckString($arrData[0]);
 $CAT=CheckString($arrData[1]);
 $SUB=CheckString($arrData[2]);
 $VEND_CODE=CheckString($arrData[3]);
 $MANU_PART=CheckString($arrData[4]);
 $PART_NUM=CheckString($arrData[5]);
 $DESCR=CheckString($arrData[6]);
 $COST=CheckString($arrData[7]);
 $RETAIL=CheckString($arrData[8]);
 $QTY=CheckString($arrData[9]);
 $LIST_PRICE=CheckString($arrData[10]);
 $EFF_DATE=CheckString($arrData[11]);
 $TECH_FAX=CheckString($arrData[12]);
 $STATUS=CheckString($arrData[13]);
 $UPC=CheckString($arrData[14]);
 
 $strQuery=SELECT * FROM products WHERE grp='.$GRP.' AND
cat='.$CAT.' AND sub='.$SUB.' AND vend_code='.$VEND_CODE.' AND
manu_part='.$MANU_PART.' AND part_num='.$PART_NUM.';
 $nConn-doQuery($strQuery);
 
 if ($nConn-cntResult()==0)
  $strQuery=INSERT INTO
products(products.grp,products.cat,products.sub,products.vend_code,products.
manu_part,products.part_num,products.desc,products.cost,products.retail,prod
ucts.qty,products.list_price,products.eff_date,products.tech_fax,products.st
atus,products.upc)
VALUES('.$GRP.','.$CAT.','.$SUB.','.$VEND_CODE.','.$MANU_PART.','
$PART_NUM.','.$DESCR.','.$COST.','.$RETAIL.','.$QTY.','.$LIST_PRI
CE.','.$EFF_DATE.','.$TECH_FAX.','.$STATUS.','.$UPC.');
 $strQuery=INSERT INTO

products(products.grp,products.cat,products.sub,products.vend_code,products.
manu_part,products.part_num,products.desc,products.cost,products.retail,prod
ucts.qty,products.list_price,products.eff_date,products.tech_fax,products.st
atus,products.upc)

VALUES('.$GRP.','.$CAT.','.$SUB.','.$VEND_CODE.','.$MANU_PART.','
$PART_NUM.','.$DESCR.','.$COST.','.$RETAIL.','.$QTY.','.$LIST_PRI
CE.','.$EFF_DATE.','.$TECH_FAX.','.$STATUS.','.$UPC.'
 LIMIT 200);
 else
  $strQuery=UPDATE products SET
products.part_num='$PART_NUM',products.desc='$DESCR',COST='$COST',retail='$R
ETAIL',qty='$QTY',list_price='$LIST_PRICE',eff_date='$EFF_DATE',tech_fax='$T
ECH_FAX',status='$STATUS',upc='$UPC' WHERE grp='.$GRP.' AND cat='.$CAT.'
AND sub='.$SUB.' AND vend_code='.$VEND_CODE.' AND
manu_part='.$MANU_PART.' AND part_num='.$PART_NUM.';
 $strQuery=UPDATE products SET

products.part_num='$PART_NUM',products.desc='$DESCR',COST='$COST',retail='$R
ETAIL',qty='$QTY',list_price='$LIST_PRICE',eff_date='$EFF_DATE',tech_fax='$T
ECH_FAX',status='$STATUS',upc='$UPC'
 WHERE grp='.$GRP.' AND cat='.$CAT.' AND sub='.$SUB.' AND
 vend_code='.$VEND_CODE.' AND manu_part='.$MANU_PART.' AND
 part_num='.$PART_NUM.'LIMIT 200;
 
 //echo brnCOunt -  $nCount -.$strQuery;
 $nConn-doQuery($strQuery);
}
   $nCount++;
   $nLoopStart=$nCount;
   if ($nFinal==FALSE)
{
  //1500 records updated so refresh the page
  ?
  meta http-equiv=Refresh content=2;
URL=mypage.php?nLoopStart=?=$nLoopStart;?
  ?
}
   else
{
  // all records updated so redirst to calling page.
  ?
  meta http-equiv=Refresh content=2; URL=main.php?nStatus=1
  ?
}
  ?
 
  Haseeb

 That might help out with the timeouts too.
 Jas

 -- 
 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: http://www.php.net/unsub.php



Re: [PHP] help!

2003-10-31 Thread Haseeb Iqbal
in php.ini (that will be in wondows folder or in wondows/systems folder)
search for cgi.force_redirect and the set it to 0
HTH
Haseeb
- Original Message -
From: Mårten Palm [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 12:11 AM
Subject: [PHP] help!


 I have installed PHP 4.3.3 with the installer.
 i am runnig a PWS server on my Windows Me.
 I have turned the cgi.force-redirect to 0.
 When ii try to install acces a certain php script (the install script for
 PHPBB2 forum)
 i get an error which says:

 Security Alert! The PHP CGI cannot be accessed directly.
 This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means
 that a page will only be served up if the REDIRECT_STATUS CGI variable is
 set, e.g. via an Apache Action directive.

 what is the problem???

 _
 Lättare att hitta drömresan med MSN Resor http://www.msn.se/resor/

 --
 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: http://www.php.net/unsub.php



[PHP] Vpopmail

2003-09-26 Thread Haseeb





hi i have a serious problem i want to create qmail user using vpopmail but all the function are for 4.0.5 - 4.2.3 only. what should i do now any help will be highly appreciated.Haseeb







 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] google style paginating

2003-08-23 Thread Haseeb











hi,
i have a simple solutions for paging a large query result into pages.
format your SQL Query like this and it will work

$nTotal_No_Of_Results_Shown_On_A_Page=20;

if (empty($nCurrentPage))
 $nCurrentPage=1;

$tablename="tblusers"; // table from where the data is comming from
$fieldtosorton="user_name"; // a field on wich you want to sort the result returned
$where="user_enabled=1";  // any where clause

$strQuery="SELECT TOP ".$nTotal_No_Of_Results_Shown_On_A_Page."* FROM$tablename WHERE$fieldtosorton NOT IN (SELECT TOP " .($nTotal_No_Of_Results_Shown_On_A_Page * ($nCurrentPage -1)) ." ".$fieldtosorton." FROM ".$tablename." WHERE$where ORDER BY ".$fieldtosorton.") ".$where." ORDER BY ".$fieldtosorton;

this query will give you just the result that you want to show on the current page. all you have to do is maintain $nCurrentPage. if you change the query slightly you can get the total no of records and when you get total no of records then you can also get total no of pages.

HTH,
Haseeb

---Original Message---


From: Mika Tuupola
Date: Saturday, August 23, 2003 01:00:49 PM
To: Ted Conn
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] google style paginating

On Thu, 21 Aug 2003, Ted Conn wrote:

 Hi I am new to this newsgroup and I plan on replying to all the posts I can
 for now... but Id like to start out by asking a question. I am trying to
 paginate my sql results in 10 by 10, which I have been able to do no
 problem. but what I want to do is have the pages layed out in google style
 with (1)(2)(3)(4) etc etc and each one is clickeable that will take you to
 that page. I'll show you the code I am using now for next and back
 buttons...


 You might want to check Page and Pager_Sliding classes in PEAR:

 http://pear.php.net/package-info.php?package=Pager
 http://pear.php.net/package-info.php?package=Pager_Sliding

--
Mika Tuupola http://www.appelsiini.net/~tuupola/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php








 IncrediMail - Email has finally evolved - Click Here

[PHP] Results Page Numbering

2003-08-22 Thread Haseeb






hi,
i have a simple solutions for paging a large query result into pages.
format your SQL Query like this and it will work

$nTotal_No_Of_Results_Shown_On_A_Page=20;

if (empty($nCurrentPage))
 $nCurrentPage=1;

$tablename="tblusers"; // table from where the data is comming from
$fieldtosorton="user_name"; // a field on wich you want to sort the result returned
$where="user_enabled=1";  // any where clause

$strQuery="SELECT TOP ".$nTotal_No_Of_Results_Shown_On_A_Page."* FROM$tablename WHERE$fieldtosorton NOT IN (SELECT TOP " .($nTotal_No_Of_Results_Shown_On_A_Page * ($nCurrentPage -1)) ." ".$fieldtosorton." FROM ".$tablename." WHERE$where ORDER BY ".$fieldtosorton.") ".$where." ORDER BY ".$fieldtosorton;

this query will give you just the result that you want to show on the current page. all you have to do is maintain $nCurrentPage. if you change the query slightly you can get the total no of records and when you get total no of records then you can also get total no of pages.

HTH,
Haseeb








 IncrediMail - Email has finally evolved - Click Here

[PHP] Qmail + PHP

2003-08-04 Thread Haseeb






Hello,
anyone here who created new user for Qmail with PHP?
Haseeb








 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] Qmail + PHP

2003-08-04 Thread Haseeb






i want your help. but as this is OT can we talk some where else. MSN may be?
Haseeb

---Original Message---


From: [EMAIL PROTECTED]
Date: Monday, August 04, 2003 01:22:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Qmail + PHP

On Tuesday 05 August 2003 04:07, Haseeb wrote:

 anyone here who created new user for Qmail with PHP?

Yes.

--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Adapt. Enjoy. Survive.
*/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php








 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] Qmail + PHP

2003-08-04 Thread Haseeb






i have searched already. can u give me sometime??
Haseeb




---Original Message---


From: [EMAIL PROTECTED]
Date: Monday, August 04, 2003 02:54:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Qmail + PHP

On Tuesday 05 August 2003 05:36, Haseeb wrote:

 i want your help. but as this is OT can we talk some where else. MSN may
 be?

1) how you add users depends on how you have installed and configured qmail

2) google for  php qmail

3) check out omailadmin

--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
If we can ever make red tape nutritional, we can feed the world.
 -- R. Schaeberle, "Management Accounting"
*/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php








 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] Qmail + PHP

2003-08-04 Thread Haseeb






i have not installed qmail myself my linux admin compiled it.
as for how i am managing new user registrations right now . using plesk control panel
Haseeb




---Original Message---


From: [EMAIL PROTECTED]
Date: Monday, August 04, 2003 04:12:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Qmail + PHP

On Tuesday 05 August 2003 06:00, Haseeb wrote:

  1) how you add users depends on how you have installed and configured
  qmail

 i have searched already. can u give me sometime??

1) OK, *how* have you installed and configured qmail?

2) How do you add users right now?

If you can't answer those two questions then no-one can help you.

--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Don't change the reason, just change the excuses!
 -- Joe Cointment
*/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php








 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] Configure vpopmail with php

2003-07-28 Thread Haseeb






hi,
i have compiled php with vpopmail and i didn'tget any error but when i try accessing vpopmail functions i getcall to undefined function error.
soo whai amdoing wrong,
Haseeb

---Original Message---


From: Curt Zirzow
Date: Saturday, July 26, 2003 10:06:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Configure vpopmail with php

* Thus wrote Haseeb ([EMAIL PROTECTED]):

 the detail in not enough in the FM :)
 Haseeb

Just curious how this line isn't enough:

In PHP 4, these functions are only available if PHP was configured
with --with-vpopmail[=DIR].

HTH,

Curt
--
"I used to think I was indecisive, but now I'm not so sure."

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php








 IncrediMail - Email has finally evolved - Click Here

[PHP] Configure vpopmail with php

2003-07-26 Thread Haseeb






how can i configure php with vpopmail on linux 7.3

please reply ASAP

Haseeb.







 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] Configure vpopmail with php

2003-07-26 Thread Haseeb







the detail in not enough in the FM :)
Haseeb



---Original Message---


From: Curt Zirzow
Date: Saturday, July 26, 2003 09:48:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Configure vpopmail with php

* Thus wrote Haseeb ([EMAIL PROTECTED]):
 how can i configure php with vpopmail on linux 7.3

 please reply ASAP

RTFM

Curt
--
"I used to think I was indecisive, but now I'm not so sure."

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php








 IncrediMail - Email has finally evolved - Click Here

[PHP] How to..

2003-07-21 Thread Haseeb






hi,
i have heard a lot of people commenting about the coding style of other programmers. i think everyone has his own style. but i also say that there should be a standard that should be followed by everyone. i know that there are many good tutorials that explain how to code. anyway i have my own style. i like keeping all the functions in one file and the include the file whenever i need any function. now there are few problems in that. i prefer writing functions for almost everything sometimes the functions file grows to over 5,000 lines. now this is not good. when ever i need one simple function i had to include all the file. now i also don't like keeping functions in every file that uses it. this is becoming a big problem for me. also i have seen some programmer that prefer to use only one file as front end and place switch or if conditions and include other files depending on the condition. i think its good way of doing things but when the magnitude of the projects grows i find it very difficult for me to keep working. i find it very hard to concentrate.

this is the problem, i have thought of the solution i.e. divide the functions into files. and then include only that file that has the function. but i thought i would ask you people how you handle this. may be i would find something that suits me more then this solution.

thanx in advance.
Haseeb







 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] constants

2003-07-21 Thread Haseeb






hi,
you can use constantswhenever you want something whosevalue you don't want changed accidently.for e.g. i use a constant to keep track of the path.
if i am at the root level then i store "./" in it. and if i am one folder under the root then istore "../" in it. now as i tend to name variables like this strPath (str for string) i often end up changing the value of strPath to something else in the script. to stop this from happening i use constants

HTH,
Haseeb


---Original Message---


From: Michael Müller
Date: Monday, July 21, 2003 04:22:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP] constants

hi,
why should I use constants?
thx for help

Michael



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php








 IncrediMail - Email has finally evolved - Click Here

[PHP] Linux Installation

2003-07-17 Thread Haseeb






hi,
first of all i don't know anything about linux . wehad a administratorfor all our linux requirements, now that the company has fired him (without hiring anyone for the job) i am left on my own . i want to use vpopmail extension. but the problem is it is not installed on the linux server. 
i want to know what is the command (exact command) that i use to install  configure vpopmail . without disturbing the existing system
here what i get from phpinfo()


'./configure' '--prefix=/usr/local/psa/apache' '--with-apxs=/usr/local/psa/apache/bin/apxs' '--with-regex=php' '--with-config-file-path=/usr/local/psa/apache/conf' '--enable-sockets' '--enable-track-vars' '--with-mysql=/usr/local/psa/mysql' '--with-gettext' '--with-zlib' '--with-xml' '--disable-debug' '--enable-pear' '--with-imap=/home/soft/psa_compiled/imap-2002b' '--enable-ftp' '--with-zend' '--with-mssql' 


will be thankful
Haseeb







 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] Linux Installation

2003-07-17 Thread Haseeb









i have vpopmail configured and running
what next ??
Haseeb

---Original Message---


From: John Nichel
Date: Thursday, July 17, 2003 07:21:22 PM
To: Haseeb
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Linux Installation

Haseeb wrote:
 hi,
 first of all i don't know anything about linux . we had a
 administrator for all our linux requirements, now that the company has
 fired him (without hiring anyone for the job) i am left on my own . i
 want to use vpopmail extension. but the problem is it is not installed
 on the linux server.
 i want to know what is the command (exact command) that i use to install
  configure vpopmail . without disturbing the existing system
 here what i get from phpinfo()


 './configure' '--prefix=/usr/local/psa/apache'
 '--with-apxs=/usr/local/psa/apache/bin/apxs' '--with-regex=php'
 '--with-config-file-path=/usr/local/psa/apache/conf' '--enable-sockets'
 '--enable-track-vars' '--with-mysql=/usr/local/psa/mysql'
 '--with-gettext' '--with-zlib' '--with-xml' '--disable-debug'
 '--enable-pear' '--with-imap=/home/soft/psa_compiled/imap-2002b'
 '--enable-ftp' '--with-zend' '--with-mssql'


 will be thankful
 Haseeb

Configuring php should be the furthest thing from your mind at the
moment. You can't configure it with something that isn't there. Your
first step is get vpopmail up and running, which is way off topic for
this list. Check out here...

http://inter7.com/vpopmail.html








 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] Re: textarea rich replacement?

2003-07-16 Thread Haseeb









anyone who wans a text editor (just like the one yahoo uses) email me i can email them the files
i just don't want to upload the files to the list.
Haseeb

---Original Message---


From: [EMAIL PROTECTED]
Date: Wednesday, July 16, 2003 02:23:52 PM
To: Justin French
Cc: [EMAIL PROTECTED]
Subject: [PHP] Re: textarea rich replacement?

I know that you can set up HTMLArea and others for your needs. You
can take away all functions that you don't need or hide them. All
this "triks" you can find in manual

Yury

On 15 Jul 2003 at 16:21, Justin French wrote:

 Hi all,

 I've looked at both editize(.com) and HTMLArea, both of which are
 in-browser Rich Text editor replacements (written in java) for the
 standard textarea.

 Unfortunately, they both allow far too much control... at most I only
 want to offer H1, H2, P, B, A and I -- no colors, no images and please
 please please no tables :)

 Is anyone familiar with such a product?

 It doesn't have to be open source at all -- quite prepared to pay for
 something if it works.


 Regards,
 Justin



God is our provider
http://www.body-builders.org/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php








 IncrediMail - Email has finally evolved - Click Here

[PHP] Strange Problem

2003-07-14 Thread Haseeb








Hi all,
thisis a very strange problem. i don't know where i amdoing something that is causing this. the problem is that i am working on a web portal entirely in php. i have a few hidden pages. that do the queries to the DB. now when i redirect toany page for query i get this error
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

strangely when i hit F5 or refresh the page i get redirected to the desired page. i have checked for any whitespaces. there are none. i have checked and double checked this. i am using win2k,IIS, php 4.3.0

again i have checked all the files for any space left that could be causing problem but i found none.

i hope i make my self clear.
Haseeb








 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] How to get executed php result in variable

2003-07-14 Thread Haseeb






hi,
or if you want to get parsed result of a php page. which may contain HTML you can use CURL for this purpose.open your page with curl and it will give you result in a variable or you could use socket functions.everyone here will present you with different idea'scoz there are different ways fordoing this. HTH
Haseeb


---Original Message---


From: Ryan Gibson
Date: Monday, July 14, 2003 02:46:01 PM
To: Tariq Murtaza; [EMAIL PROTECTED]
Subject: Re: [PHP] How to get "executed php result" in variable

Hi,

Put a return statement at the end of file
'get_executed_php_file_contents.php' that returns the value you need, then
use:

?
 $result = include("get_executed_php_file_contents.php");
?


On 14/7/03 10:31 am, "Tariq Murtaza" [EMAIL PROTECTED] wrote:

 Dear All,

 I need to get results like this.

 ?
 $result = get_executed_php_file_contents.php
 ?

 Looking for some solutions
 TM


Ryan Gibson
---
[EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php








 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] Big problem....need help

2003-07-09 Thread Haseeb







try like this


$sql = "SELECT * FROM products, category WHERE category.name_category=products.name_category and category_id=".$_GET['category_id']." GROUP BY products.mark_name";





---Original Message---


From: phpu
Date: Wednesday, July 09, 2003 09:51:08 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Big problemneed help

 It isn't work. it gives me an error at this line.

- Original Message -
From: "Nicolas Costes" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 4:49 PM
Subject: Re: [PHP] Big problemneed help


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le Mercredi 9 Juillet 2003 15:13, phpu a écrit :
 I have a table like this:

 ..
 $sql = "SELECT * FROM products, category WHERE
 category.name_category=products.name_category and
 category_id=".$_GET['category_id'] ;


 When i choose the category catg 1 the result is
 Name: aaa
 Name: aaa
 Name: ddd

 As you can see the name aaa appears 2 times insted 1.
 How to make the result look like this:
 Name: aaa
 Name: ddd

Use "GROUP BY" 

$sql = "SELECT * FROM products, category WHERE
category.name_category=products.name_category and
category_id=".$_GET['category_id'] GROUP BY products.mark_name;


- --
 ,,
 (° Nicolas Costes
 /|\ IUT de La Roche / Yon
 ( ^ ) Clé publique: http://www.keyserver.net/
 ^ ^ http://www.gnu.org/philosophy/can-you-trust.fr.html


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/DB2GNc2aXy7LuOgRAmE6AKCIeGpWg78san/72M7vbhwJXQKXbQCfVxAJ
OgayWbAh0cOXc5OCdVy2uWs=
=vH6U
-END PGP SIGNATURE-


--
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: http://www.php.net/unsub.php








 IncrediMail - Email has finally evolved - Click Here

Re: [PHP] Help needed

2003-06-30 Thread Haseeb
hi,
here is how you do it
?
$strJavaScriptValue=Hello;
?
script language=JavaScript
alert('? echo $strJavaScriptValue?');
/script

this will alert Hello!. i think you get the point.
Haseeb

- Original Message - 
From: Nirmala P [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 30, 2003 10:45 AM
Subject: [PHP] Help needed


 Hi All,
 
 I am new to  PHP world.
 
 Could any body tell me how to call any function(written in PHP) 
  from  Java script.
 Actually my PHP function return a string value  which i need to 
 access in my java script code.
 
 Thanks in Advance..
 
 Nirmala
 ___
 Click below to experience Sooraj Barjatya's latest offering
 'Main Prem Ki Diwani Hoon' starring Hrithik Roshan,
 Abhishek Bachchan  Kareena Kapoor http://www.mpkdh.com
 
 
 -- 
 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: http://www.php.net/unsub.php



[PHP] Re:[PHP] Array Info

2003-06-26 Thread Haseeb
Hi,
from the array i asume that you are trying to make a tree structure like this
Data_Array
{
 Mar-99
{
0,
0,
5945,
33,
0
}
}
Second you said that you want to make variables out of these values. 1 thing to note 
is $0 Or $Mar-99 is not a valid variable name?
 Please clear these points . may be then i will be able to help
Haseeb

ps. sprry for beaking thread but i am not subscribed to any news server.using outlook 
exp and don't know how to configure it.

[PHP] OOT Payflow Urgent

2003-06-19 Thread Haseeb Iqbal
hi all,
i am using curl to post data to the payflow link server.
now here are the questions that i want to ask.
here is the server stats
Linux+ php + mysql + curl + ssl
1) now i want to know if curl is safe to use?
i know about the payflow sdk but i also know that i can execute the sdk by
exec call and if anyone is loged on the computer at the time of the
transection he/she can view all the data passed to the sdk by simply one
command.(i.e. ps.). as

also don't want to show the user any page from verisign. but when i send the
data i get back html output. i want some kind of error codes.how can i
achieve this. know there must some way around this problem.
i want to collect all the information on my page send the data to the
payflow link without leaving my site the get back the result from the
transection and show the result to the user.

thanx in advance
Haseeb




Re: [PHP] securing a graphic

2003-06-19 Thread Haseeb Iqbal
yeah there is a way you have to use some third party tools for that.
http://www.antssoft.com/htmlprotector/index.htm
.php can't do this AFAIK
- Original Message -
From: Ryan Holowaychuk [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Sent: Friday, June 20, 2003 2:26 AM
Subject: [PHP] securing a graphic


 Is there a way in PHP that I can secure a graphic, so that when the page
is
 loaded it will show the graphic, but is not able to be right clicked on or
 downloaded to there desktop.

 Thanks
 Ryan



 --
 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: http://www.php.net/unsub.php



Re: [PHP] pagenting logic to cut short

2003-06-05 Thread Haseeb Iqbal
}


//**
/
   // we are going to make a navigation bar under these records

$nTNOP=NavPageCount($nRPP,tblSMov MS,tblMov
MOV,'MOV.mov_id',MOV.mov_id=MS.smv_mov_id);

  $strQSTR=Id=.$Id.;
  ShowNavLink($nTNOP,'',$nCP,TRUE,TRUE,15,1,'','',$strQSTR);

THATS IT.
if you want to know anything that is puzleing you plz feel free.to ask.
Haseeb

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] imap_open()

2003-06-02 Thread Haseeb Iqbal
check if you have complied php with imap support and if you are on windows
then check if it is uncommencted in the ini
Haseeb
- Original Message -
From: buttoz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 02, 2003 1:46 AM
Subject: [PHP] imap_open()


 hi,

 i have problem with imap_open function,

 my code is :

 ?php
 $inbox = imap_open({pop.012.net.il:110/pop3}INBOX, user, password);
 $total = imap_num_msg($inbox);
 print $total;


 ?

 when i run i recive :


 Fatal error: Call to undefined function: imap_open() in
 c:\inetpub\wwwroot\besthd\mail\myemail.php on line 2


 what this mean , please help me.

 thanks,
 zuhear




 --
 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: http://www.php.net/unsub.php



[PHP] Strange Behaviour of cookies

2003-06-02 Thread Haseeb Iqbal
Hi all,
don't know for sure if this is heppening to me only or there are others who faced the 
same problem
here is whats wrong
when ever i set a cookie it didn't get set even i refresh the page (with php header 
function) but then i echo something on the page and then use HTML meta refresh the 
cookie becomes availble on the next page.
what is it that i am missing here.
Haseeb



[PHP] Cookies Probelm,

2003-05-31 Thread Haseeb Iqbal
hi guys i am having this strange problem.i want to store quite a lot of data 
in cookie as an array but the problem is when ever my arrays size get equal 
to 4 it starts over. what could be the problem?
here is the array that i get

Array
(
   [Cart] = Array
   (
   [14] = Array
   (
   [nItmId] = Array
   (
   [1] = 5
   [4] = 0
   )
   )

   [15] = Array
   (
   [nQuan] = 1
   [nSerId] = 1
   [nItmId] = Array
   (
   [3] = 86
   [34] = 1
   [1] = 5
   [4] = 0
   )
   )

   [16] = Array
   (
   [nQuan] = 1
   [nSerId] = 1
   [nItmId] = Array
   (
   [3] = 86
   [34] = 1
   [1] = 5
   [4] = 0
   )
   )

   [17] = Array
   (
   [nQuan] = 1
   [nSerId] = 1
   [nItmId] = Array
   (
   [3] = 86
   [34] = 1
   [1] = 5
   [4] = 0
   )
   )

   )

)
thanx in advance
Haseeb
_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Cookies Probelm,

2003-05-31 Thread Haseeb Iqbal
thanx for the information.
how can i overcome this ?
any idea?
Haseeb
- Original Message - 
From: Jay Blanchard [EMAIL PROTECTED]
To: Haseeb Iqbal [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 11:01 PM
Subject: RE: [PHP] Cookies Probelm,


[snip]
hi guys i am having this strange problem.i want to store quite a lot of
data in cookie as an array but the problem is when ever my arrays size
get equal to 4 it starts over. what could be the problem?

[/snip]

There are size limits for cookies dependent upon the browser. I am going
to guess that you are testing with Netscape or Mozilla where the limit
is 4kb.

HTH!

Jay

-- 
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: http://www.php.net/unsub.php



[PHP] vpopmail what is it???

2003-05-29 Thread Haseeb Iqbal
hi,
can anyone direct me.i want information about vpopmail  and what is does . a tutorial 
or something will work
thanx in advance. i searched google but got only manual pages of php. but there isn't 
any info there.

Creativity is inventing, experimenting, growing, taking risks, breaking rules, making 
mistakes, and having fun.
Haseeb Iqbal


Re: [PHP] vpopmail what is it???

2003-05-29 Thread Haseeb Iqbal
Actually i know what vpopmail is but to be abs clear i want to read more. i
have a few questions in my mind. that i want to be clear about.i want to
make a script that would create new users on a qmail server.i want to be
sure this is what i want.
now any suggestions welcome


Creativity is inventing, experimenting, growing, taking risks, breaking
rules, making mistakes, and having fun.
Haseeb Iqbal
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 02:43 PM
Subject: Re: [PHP] vpopmail what is it???


 On Friday 30 May 2003 04:16, Haseeb Iqbal wrote:

  can anyone direct me.i want information about vpopmail  and what is does
.
  a tutorial or something will work thanx in advance. i searched google
but
  got only manual pages of php. but there isn't any info there.

 If you don't already know what vpopmail is then I doubt whether you need
to
 know. But if you do want to know then search google.

 --
 Jason Wong - Gremlins Associates - www.gremlins.biz
 Open Source Software Systems Integrators
 * Web Design  Hosting * Internet  Intranet Applications Development *
 --
 Search the list archives before you post
 http://marc.theaimsgroup.com/?l=php-general
 --


 --
 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: http://www.php.net/unsub.php



Re: [PHP] alignment

2003-04-06 Thread Haseeb Iqbal
this is off topic but anyway try this

table border=1 width=100% height=430
tr
  td width=100% colspan=2 height=61 nowrapimg
src=C:\DocumentsandSettings\mangesh\My Documents\My
pictures\crows_eating_md_wht.gif align=ansMiddle
div align=centerh1u';
$string.=$wname;
$string.='/u/h1/div/td
/tr

don't use div as it gives line break automaticly

Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030
- Original Message -
From: Diksha Neel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 06, 2003 4:08 PM
Subject: [PHP] alignment


 dear all,

 hi!
 an html file is being created by my php script.
 i have used tables for the alignment of html file's text
 and images.
 i have an image and the value of variable $cname to be
 displayed in a cell.
 i want both of these items to appear on the same line.
 but what happens is the $cname value appears under the
 image in the center of the page.
 my question is is there any way without nesting tables to
 ensure that my text will appear in the horizontal line
 same as that of the image?
 the code is as under.

 thanks,
 diksha.

 table border=1 width=100% height=430
tr
  td width=100% colspan=2 height=61img
 src=C:\DocumentsandSettings\mangesh\My Documents\My
 pictures\crows_eating_md_wht.gif
div align=centerh1u';
$string.=$wname;
$string.='/u/h1/div/td
/tr

 ___
 Odomos - the only  mosquito protection outside 4 walls -
 Click here to know more!

http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htmodomosw
n


 --
 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: http://www.php.net/unsub.php



Re: [PHP] chill out

2003-04-03 Thread Haseeb Iqbal
hi all,
just like to add something here, (which i recmended before)
there should be a automated way to email all the new users about what php
is, that explain them that php is server side and it can't do client side,
just a plain email will do this will certinaly minimize the no of off topic
posts,what you people think? i think it will help

Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Help in sorting

2003-04-02 Thread Haseeb Iqbal
hi,
i want to sort messages in a sequence
the sequence is 23,12,25 (these are message nos)
now when i call  like this

$nMsgSeq=23,12,25;
imap_fetch_overview($pIMAP,$nMsgSeq,0);
i get an array sorted like

Array
(
[0] = stdClass Object
(
[uid] = 21
[msgno] = 12
[recent] = 0
[flagged] = 0
[answered] = 0
[deleted] = 0
[seen] = 1
[draft] = 0
)

[1] = stdClass Object
(
[uid] = 34
[msgno] = 23
[recent] = 0
[flagged] = 0
[answered] = 0
[deleted] = 1
[seen] = 1
[draft] = 0
)

[2] = stdClass Object
(
[uid] = 36
[msgno] = 25
[recent] = 0
[flagged] = 0
[answered] = 0
[deleted] = 1
[seen] = 1
[draft] = 0
)

)

i want the array just like the sequence what should i do?

Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Problem with mail

2003-04-01 Thread Haseeb Iqbal
hi all while sending mail from php i keep getting this 
Server Error  on line 2
and this is on line 2
mail([EMAIL PROTECTED], the subject, hi,From: [EMAIL PROTECTED].Reply-To: 
[EMAIL PROTECTED].X-Mailer: PHP/ . phpversion());

what is wrong with this what i am going wrong
??
regards
Haseeb


Re: [PHP] Problems with post data

2003-03-30 Thread Haseeb Iqbal
hi,
i have seen some script using a unique method.they grab all the global
variables in a array and then unset the global variables.ofcourse they are
not handling file uploads.i think its a good idea if you are not uploading
files.

any suggestions are welcome

Haseeb

I'v noticed  that when the directive register_globals is set to off as it
is
recommended in the php.ini file no variables are passed on to other pages.
Switching it to on would be the simplest solution, but scripts like
phpMyAdmin do not seem to have these problems.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Test tables existance

2003-03-30 Thread Haseeb Iqbal
use mysql_query(show tables); get them in array and then scan the array

thats what i would do if there isn;t any function


Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030
- Original Message - 
From: Antti [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 1:34 AM
Subject: [PHP] Test tables existance


 How do I test if a mysql table exists or not? Is there a function for 
 this? I didn't find a good one.
 
 -antti
 
 
 -- 
 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: http://www.php.net/unsub.php



[PHP] what could be wrong

2003-03-30 Thread Haseeb Iqbal
i am doing this
$arr=imap_sort($pIMAP,1,1);
and getting this error
Notice: (null)(): Error in IMAP command received by server. (errflg=2) in
Unknown on line 0

what could be wrong here
regards

Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] what could be wrong

2003-03-30 Thread Haseeb Iqbal
thanx everyone i got it
the problem was i was opening connection with OP_HALFOPEN


Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030



- Original Message - 
From: Haseeb Iqbal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 12:09 AM
Subject: [PHP] what could be wrong


 i am doing this
 $arr=imap_sort($pIMAP,1,1);
 and getting this error
 Notice: (null)(): Error in IMAP command received by server. (errflg=2) in
 Unknown on line 0
 
 what could be wrong here
 regards
 
 Friendship is always a sweet responsibility, never an opportunity.
 HaSeEb IqBaL.
 0300-4258030
 
 -- 
 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: http://www.php.net/unsub.php



Re: [PHP] Is there a PHP for Dummies?

2003-03-29 Thread Haseeb Iqbal
if you don't find anything from the php manual or from the php lists then
you wont find it from any book.so i say you stick to this list and php
manual.
Haseeb.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Help Cookies

2003-03-29 Thread Haseeb Iqbal
hi
how can i set the cookies life to non expireable
and what action should i take when the user signs out?
Regards.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Image size, (not weight) help

2003-03-29 Thread Haseeb Iqbal
here is something for you from php manual

The getimagesize() function will determine the size of any GIF, JPG, PNG,
SWF, SWC, PSD, TIFF, BMP or IFF image file and return the dimensions along
with the file type and a height/width text string to be used inside a normal
HTML IMG tag.

Returns an array with 4 elements. Index 0 contains the width of the image in
pixels. Index 1 contains the height. Index 2 is a flag indicating the type
of the image: 1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP, 7 =
TIFF(intel byte order), 8 = TIFF(motorola byte order), 9 = JPC, 10 = JP2, 11
= JPX, 12 = JB2, 13 = SWC, 14 = IFF. These values correspond to the
IMAGETYPE constants that were added in PHP 4.3. Index 3 is a text string
with the correct height=yyy width=xxx string that can be used directly
in an IMG tag.



Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] File Type Validation problem.

2003-03-29 Thread Haseeb Iqbal
i think the comparision is case sensitive. try strlower for image types and
compare with lower cases.

also note that for IE image type for jpg is pjpeg so include this to


Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] combining multi-dimensional arrays from multiple parse_ini_file results

2003-03-29 Thread Haseeb Iqbal
some information from php manual

array_merge() merges the elements of two or more arrays together so that the
values of one are appended to the end of the previous one. It returns the
resulting array.

If the input arrays have the same string keys, then the later value for that
key will overwrite the previous one. If, however, the arrays contain numeric
keys, the later value will not overwrite the original value, but will be
appended.

Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Anything that is changed when the browser is closed

2003-03-28 Thread Haseeb Iqbal
hi,
just wanna know if there is anything in php that can be used (besides sessions) to get 
anything from the $_SERVER that is unique and gets changed each time we close the 
browser. anything at all to check if the user has closed the browser.
regards
Haseeb


[PHP] Session Theft

2003-03-28 Thread Haseeb Iqbal
i just want to figure out a way by which i can stop session theft.i thought
if i can get something from user end that is unique for that user.for e.g.
his/her IP .but it will not work when they are behind firewall.they will be
assigned same IP.is there a way for me to get the IP (e.g.202.202.202.202
thats just an e.g. ) plus computer ip(192.168.0.1 e.g.) i saw once a java
chat server do this.if we can do this then it will help us (SOMEWHAT).

if anyone has better suggestion just let me know
Haseeb

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Qmail question

2003-03-27 Thread Haseeb Iqbal
i just want to know what format does qmail use to store password in the
password file.what function should be used to generate that password
thanx in advance for the answers
Haseeb


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] last questions

2003-03-27 Thread Haseeb Iqbal
thanx to all those who replied to my previous question.
1 more question.i need help with reqular expressions.i want to check valid
(email)
usernanes for my mail server .i.e. Qmail. any help welcome.
thanx in advance
Haseeb

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Internet Explorer toolbar

2003-03-27 Thread Haseeb Iqbal
hello,
just want to suggest something to the list manager. there should be a way to
email every newly subscribed user about what php can do and what php can't
this will help solve many problems.i have been subscribed to this list for
10 days or so and i have recieved more then 50% of the mails about php doing
client side stuff.and everytime the nice people explain to them what php can
do.

i think all new users should get an email explaining what php is and what
can it do.

just a suggestion no hard feelings.

Haseeb

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Problem Parsing message/rfc822

2003-03-24 Thread Haseeb Iqbal
hi,
i have paresed entire messaage into an array. everything was ok untill i 
encountered a message/rfc822 subtype.it was a farwaded message.now my 
array contains everything from images to headers in a subscript 'TEXT'.
the actual array returned is 

Array
(
[Date] = Tue, 18 Mar 2003 13:28:07 + (GMT)
[Subject] = Fwd: somesubject
[FR] =  
[FU] =  
[FA] =  
[FD] =  
[FX] =  
[FF] =  
[To] = someone [EMAIL PROTECTED],
[From] = SomeOne [EMAIL PROTECTED]
[CC] = 
[BCC] = 
[Type] = multipart/mixed
[Encoding] = 7bit
[IsDesc] = 0
[IsId] = 0
[Bytes] = 
[IsDisp] = 0
[IsDPara] = 0
[IsPara] = 1
[Para] = Array
(
[0] = Array
(
[Atr] = boundary
[Val] = 0-1759809281-1047994087=:91467
)

)

[IsParts] = 1
[Parts] = Array
(
[0] = Array
(
[PartNo] = 1
[Type] = multipart/alternative
[Encoding] = 7bit
[IsDesc] = 0
[IsId] = 0
[Bytes] = 
[IsDisp] = 0
[IsDPara] = 0
[IsPara] = 1
[Para] = Array
(
[0] = Array
(
[Atr] = boundary
[Val] = 0-1446890343-1047994087=:91467
)

)

[IsParts] = 1
[Parts] = Array
(
[0] = Array
(
[PartNo] = 1.1
[Type] = text/plain
[Encoding] = 8bit
[IsDesc] = 0
[IsId] = 0
[Bytes] = 136
[IsDisp] = 0
[IsDPara] = 0
[IsPara] = 1
[Para] = Array
(
[0] = Array
(
[Atr] = charset
[Val] = iso-8859-1
)

)

[IsParts] = 0
)

[1] = Array
(
[PartNo] = 1.2
[Type] = text/html
[Encoding] = 8bit
[IsDesc] = 0
[IsId] = 0
[Bytes] = 471
[IsDisp] = 0
[IsDPara] = 0
[IsPara] = 1
[Para] = Array
(
[0] = Array
(
[Atr] = charset
[Val] = iso-8859-1
)

)

[IsParts] = 0
)

)

)

[1] = Array
(
[PartNo] = 2
[Type] = message/rfc822
[Encoding] = 8bit
[IsDesc] = 0
[IsId] = 0
[Bytes] = 177048
[IsDisp] = 0
[IsDPara] = 0
[IsPara] = 0
[IsParts] = 0
)

)

)

the subscript 'IsParts' shows weather this message has further parts or 
not. as there is no part of last subs soo i try to get the body of the 
part speacified.but it returns all the message plus images.what should i 
do know.need to deliver this asap.help me.
Haseeb



[PHP] Problem Parsing message/rfc822

2003-03-24 Thread Haseeb Iqbal
hi,
i have paresed entire messaage into an array. everything was ok untill i 
encountered a message/rfc822 subtype.it was a farwaded message.now my 
array contains everything from images to headers in a subscript 'TEXT'.
the actual array returned is 

Array
(
[Date] = Tue, 18 Mar 2003 13:28:07 + (GMT)
[Subject] = Fwd: somesubject
[FR] =  
[FU] =  
[FA] =  
[FD] =  
[FX] =  
[FF] =  
[To] = someone [EMAIL PROTECTED],
[From] = SomeOne [EMAIL PROTECTED]
[CC] = 
[BCC] = 
[Type] = multipart/mixed
[Encoding] = 7bit
[IsDesc] = 0
[IsId] = 0
[Bytes] = 
[IsDisp] = 0
[IsDPara] = 0
[IsPara] = 1
[Para] = Array
(
[0] = Array
(
[Atr] = boundary
[Val] = 0-1759809281-1047994087=:91467
)

)

[IsParts] = 1
[Parts] = Array
(
[0] = Array
(
[PartNo] = 1
[Type] = multipart/alternative
[Encoding] = 7bit
[IsDesc] = 0
[IsId] = 0
[Bytes] = 
[IsDisp] = 0
[IsDPara] = 0
[IsPara] = 1
[Para] = Array
(
[0] = Array
(
[Atr] = boundary
[Val] = 0-1446890343-1047994087=:91467
)

)

[IsParts] = 1
[Parts] = Array
(
[0] = Array
(
[PartNo] = 1.1
[Type] = text/plain
[Encoding] = 8bit
[IsDesc] = 0
[IsId] = 0
[Bytes] = 136
[IsDisp] = 0
[IsDPara] = 0
[IsPara] = 1
[Para] = Array
(
[0] = Array
(
[Atr] = charset
[Val] = iso-8859-1
)

)

[IsParts] = 0
)

[1] = Array
(
[PartNo] = 1.2
[Type] = text/html
[Encoding] = 8bit
[IsDesc] = 0
[IsId] = 0
[Bytes] = 471
[IsDisp] = 0
[IsDPara] = 0
[IsPara] = 1
[Para] = Array
(
[0] = Array
(
[Atr] = charset
[Val] = iso-8859-1
)

)

[IsParts] = 0
)

)

)

[1] = Array
(
[PartNo] = 2
[Type] = message/rfc822
[Encoding] = 8bit
[IsDesc] = 0
[IsId] = 0
[Bytes] = 177048
[IsDisp] = 0
[IsDPara] = 0
[IsPara] = 0
[IsParts] = 0
)

)

)

the subscript 'IsParts' shows weather this message has further parts or 
not. as there is no part of last subs soo i try to get the body of the 
part speacified.but it returns all the message plus images.what should i 
do know.need to deliver this asap.help me.
Haseeb




[PHP] Help Please

2003-02-23 Thread Haseeb Iqbal
Hi All,
i am new to qmail and linux so bear with me.first of all i would like to clearly state 
my situation here.we have to 
servers linux+windows.we have qmail installed on linux.wesite is hosted on windows.now 
i want to create user from my 
webbased signin form.(which is on win2k).how can i do this?.
2nd thing.is it necessary to create system accounts for users on linux.(just want to 
give them email account from 
qmail).what is the best colution for this.
please help me.as i am new to qmail.
thanx
Haseeb

--- Msg sent via Mail - http://atmail.nl/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php