[PHP] Auto escalation

2003-03-31 Thread Praveen Kumar
Dear All,
 I'm new to the list. I'm intended to use the auto escalation
functionality in my current project which is related to helpdesk. Can
you please give me some suggestions about how to develop this. I'm using
PHP, MySQL
-- 
Thanks & Regards
Praveen
SoftPro Systems Ltd,
Plot #12, Software Units Layout
Madhapur, Hyderabad
Ph: 91-40-23111806

---SOFTPRO DISCLAIMER--

Information contained in this E-MAIL and any attachments are
confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
and 'confidential'.

If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copyiny or
dissemination  of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.

In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.

SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects. 

The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.


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



[PHP] How to create mail alias?

2003-05-30 Thread Praveen Kumar
Dear List,
 I want too create a mail alias, How can I do that?
 I am using PHP, Postfix, Cyrus, LDAP. I need to create aliases in
/etc/postfix/aliases file. Can I create using 'sudo'?  
Any ideas will be greatly helpful.
Thanks & Regards
Praveen




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



[PHP] LDAP problems

2003-06-12 Thread Praveen Kumar

Dear Walker,
After connecting to the LDAP using ldap_connect('localhost'); you should
use ldap_bind like the code given below.



Hope this should help.
Regards
Praveen

---SOFTPRO DISCLAIMER--

Information contained in this E-MAIL and any attachments are
confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
and 'confidential'.

If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copyiny or
dissemination  of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.

In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.

SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects. 

The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.


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



[PHP] How to get the server information

2003-11-04 Thread K. Praveen Kumar
Dear All,
How can I get the Server Information which operating system the
server is running? Using PHP. please let me know
-- 
Thanks & Regards
Praveen Kumar
SoftPro Systems Ltd

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



Re: [PHP] How to get the server information

2003-11-04 Thread K. Praveen Kumar
Hi Imran,
   Thanks for the reply but $OS is not working. I need to get the on
which operating system the server is running.
Thanks & Regards
Praveen
On Tue, 2003-11-04 at 04:01, imran wrote:
> Hi,
>  echo $OS;
> echo "";
> echo $SERVER_SOFTWARE ;
> ?>
> bye
> 
> - Original Message - 
> From: "K. Praveen Kumar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; "Praveen Kumar" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 04, 2003 2:33 PM
> Subject: [PHP] How to get the server information
> 
> 
> > Dear All,
> > How can I get the Server Information which operating system the
> > server is running? Using PHP. please let me know
> > -- 
> > Thanks & Regards
> > Praveen Kumar
> > SoftPro Systems Ltd
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
-- 
Thanks & Regards
Praveen Kumar
SoftPro Systems Ltd

---SOFTPRO DISCLAIMER--

Information contained in this E-MAIL and any attachments are
confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
and 'confidential'.

If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copying or
dissemination  of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.

In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.

SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects. 

The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.


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



[PHP] How to support Multi Lingual characters

2003-11-07 Thread K. Praveen Kumar
Dear List,
 I would like to support Multi lingual characters using PHP in my
application. How can I support? Does PHP automatically supports this
feature. Please let me know.
 I will be really waiting for your suggestions
-- 
Thanks & Regards
Praveen Kumar
SoftPro Systems Ltd

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



RE: [PHP] How to support Multi Lingual characters

2003-11-07 Thread K. Praveen Kumar
Dear Umesh,
 Thanks for your quick reply. Let me explain the scenario:
We have an application in English. The data will be stored in MySQL
database. If some body enter the data using Japanese keyboard (Japanese
language) that will be stored in Japanese language only and should
display in the same language. Can it be done??

-- 
Thanks & Regards
Praveen Kumar
SoftPro Systems Ltd
On Fri, 2003-11-07 at 16:17, umesh wrote:
> yes, though compile PHP with japanese support, you can accept input in
> English as well.
> 
> Umesh.
> 
> -Original Message-----
> From: K. Praveen Kumar [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 07, 2003 4:16 PM
> To: [EMAIL PROTECTED]; Praveen Kumar
> Subject: [PHP] How to support Multi Lingual characters
> 
> 
> Dear List,
>  I would like to support Multi lingual characters using PHP in my
> application. How can I support? Does PHP automatically supports this
> feature. Please let me know.
>  I will be really waiting for your suggestions
> --
> Thanks & Regards
> Praveen Kumar
> SoftPro Systems Ltd
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


---SOFTPRO DISCLAIMER--

Information contained in this E-MAIL and any attachments are
confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
and 'confidential'.

If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copying or
dissemination  of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.

In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.

SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects. 

The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.


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



[PHP] HTML2PDF on the fly

2003-11-11 Thread K. Praveen Kumar
Hi all,
 Can anybody tell me how can I convert the HTML to PDF on the fly. I
have a HTML form which should be converted into PDF after filling and
submitting it. Please give me your valuable suggestions. I have been
using HTMLDOC-1.8.23.

executing the below code giving error.This code is given in HTMLDOC.

http://";, 7) != 0 &&
strncmp($url, "https://";, 8) != 0) {
return 1;
}

// Check for bad characters in the URL...
$len = strlen($url);
for ($i = 0; $i < $len; $i ++) {
if (!strchr("~_*()/:%?+-&@;=,$.", $url[$i]) &&
!ctype_alnum($url[$i])) {
return 1;
}
}

return 0;
}

//
// MAIN ENTRY - Pass the trailing path info in to HTMLDOC...
//

global $SERVER_NAME;
global $SERVER_PORT;
global $PATH_INFO;
global $QUERY_STRING;

if ($QUERY_STRING != "") {
$url = "${QUERY_STRING}";
//$url=http://${SERVER_NAME}:${SERVER_PORT}${PATH_INFO}?${QUERY_STRING}
} else {
$url = "http://${SERVER_NAME}:${SERVER_PORT}$PATH_INFO";;
}

if (bad_url($url)) {
  print("Bad URL\n"
   ."Bad URL\n"
   ."The URL $url is bad.\n"
   ."\n");
} else {
  topdf($url);
}
?>
-- 
Thanks & Regards
Praveen Kumar
SoftPro Systems Ltd

---SOFTPRO DISCLAIMER--

Information contained in this E-MAIL and any attachments are
confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
and 'confidential'.

If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copying or
dissemination  of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.

In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.

SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects. 

The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.


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



Re: [PHP] HTML2PDF on the fly

2003-11-11 Thread K. Praveen Kumar
This is the error I am getting while executing the script.

File does not begin with '%PDF-'.

-- 
Thanks & Regards
Praveen Kumar
SoftPro Systems Ltd
On Tue, 2003-11-11 at 16:29, Burhan Khalid wrote:
> K. Praveen Kumar wrote:
> > Hi all,
> >  Can anybody tell me how can I convert the HTML to PDF on the fly. I
> > have a HTML form which should be converted into PDF after filling and
> > submitting it. Please give me your valuable suggestions. I have been
> > using HTMLDOC-1.8.23.
> 
> http://www.fpdf.org
> http://www.php.net/pdf
> 
> > executing the below code giving error.This code is given in HTMLDOC.
> 
> What error?


---SOFTPRO DISCLAIMER--

Information contained in this E-MAIL and any attachments are
confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
and 'confidential'.

If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copying or
dissemination  of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.

In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.

SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects. 

The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.


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



[PHP] PHP Dynamic menu building

2003-12-05 Thread K. Praveen Kumar
Dear list,
 I have been facing problems while building dynamic menu. I am using
database to store the Menu items. I am having two fields in the database
table called ParentID, ChildID. 
Parent  Child
1   0
2   0
3   0
4   1
5   1
6   1
7   3
8   3
9   4
10  8
I want to build menu from this. Please suggest me the way to do so.

Thanks in Advance 

-- 
Thanks & Regards
Praveen Kumar
SoftPro Systems Ltd

---SOFTPRO DISCLAIMER--

Information contained in this E-MAIL and any attachments are
confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
and 'confidential'.

If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copying or
dissemination  of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.

In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.

SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects. 

The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.


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



[PHP] DGS Search Script Modifications

2003-12-15 Thread K. Praveen Kumar
Dear All,
I recently downloaded the DGS search, which has the great features. Now
I would like to modify the script a bit.
Requirement:
I wanted to search different tables for the entered keywords. If find
the file name and id will be different for each so, I wanted to get the
id of that particular row and the type and show that as a link.

Example:
I have two tables. 1) Countries 2) Credits.
Countries table have the following fields: overview, description
Credits table have the following fields: overview, description

IF the given word matches the word in Countris.overview and
Credits.description then it should display
http://localhost/overview.php?CountryId=1 and
http://localhost/description.php?CountryId=10&CreditId=3 Please suggest
me where I can modify the script to get the script working for me.


-- 
Thanks in Advance
Praveen Kumar
SoftPro Systems Ltd

---SOFTPRO DISCLAIMER--

Information contained in this E-MAIL and any attachments are
confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
and 'confidential'.

If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copying or
dissemination  of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.

In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.

SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects. 

The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.


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



[PHP] DGS Search Modifications

2003-12-15 Thread K. Praveen Kumar
Dear All,
I recently downloaded the DGS search, which has the great
features. Now
I would like to modify the script a bit.
Requirement:
I wanted to search different tables for the entered keywords. If
find
the file name and id will be different for each so, I wanted to get the
id of that particular row and the type and show that as a link.

Example:
I have two tables. 1) Countries 2) Credits.
Countries table have the following fields: overview, description
Credits table have the following fields: overview, description

IF the given word matches the word in Countris.overview and
Credits.description then it should display
http://localhost/overview.php?CountryId=1 and
http://localhost/description.php?CountryId=10&CreditId=3 Please suggest
me where I can modify the script to get the script working for me.
-- 
Thanks & Regards
Praveen Kumar
SoftPro Systems Ltd

---SOFTPRO DISCLAIMER--

Information contained in this E-MAIL and any attachments are
confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
and 'confidential'.

If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copying or
dissemination  of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.

In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.

SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects. 

The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.


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