Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

in-phpug · Indian PHP User Group

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 749 - 778 of 3282   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#749 From: Rajesh Fowkar <mail@...>
Date: Wed Jun 4, 2003 9:02 am
Subject: php sessions
rfowkar
Send Email Send Email
 
Hello,

My code is as follows :

if ( !isset($aGrnTypeDisplay[0]) )
{
     $oDempoConn = db_connect('dempo');
     $sSql = "select * from document_master
                       where main_document_type_id = 'GRN' and
                             company_code          = '$sCompanyCode' and
                             store_code            = '$sStoreCode'
                       order by document_description";
     $lResult  = @pg_query($oDempoConn, $sSql);
     $nNumRows = @pg_num_rows($lResult);

     if ( $nNumRows <= 0 )
     {
         echo "<script language=javascript>
                       alert('GRN Type not present in Document Master...');
                       this.document.location.href='GUIMenus.php';
               </script>";
     }

     session_start();
     $_SESSION["aGrnTypeDisplay"] = array();
     $_SESSION["aGrnTypeValue"]   = array();
     $_SESSION["nNumRowsGrnType"] = $nNumRows;
     for( $i=0; $i < $nNumRows; $i++)
     {
         $aAns = @pg_fetch_array($lResult, $i);
         $SubDocumentTypeId     = $aAns['sub_document_type_id'];
         $TransactionIdentifier = $aAns['transaction_identifier'];
         $DocumentDescription = $aAns['document_description'];
         $JoinedValue = $SubDocumentTypeId . $TransactionIdentifier;
         $aGrnTypeDisplay[$i] = $DocumentDescription;
         $aGrnTypeValue[$i]   = $JoinedValue;
     }
     session_write_close();
|

session_start();
$aGrnTypeDisplay  = $_SESSION["aGrnTypeDisplay"];
$aGrnTypeValue    = $_SESSION["aGrnTypeValue"];


When I entered this form for the first time the array is created as
session variable and filled with the values from the database. But when
I tried to put it in a popup as follows:

<TR>
        <TH>GRN Type:</TH>
        <TD>
            <SELECT NAME="cboGrnTypeAdd"
  <?
               echo "<option value=''><------Select------></option>";
               $nCnt = $_SESSION["nNumRowsGrnType"];
               for ( $nRow=0; $nRow < $nCnt; $nRow++ )
               {
                   $sDescr = $aGrnTypeDisplay[$nRow];
                   $nVal   = $aGrnTypeValue[$nRow];
                   if($nVal==$cboGrnTypeAdd)
                   {
                        echo "<option value='$nVal' selected>$sDescr</option>";
                   }
                   else
                   {
                        echo "<option value='$nVal'>$sDescr</option>";
                   }
               }
   ?>
             </SELECT>
         </TD>
</TR>

What happens is for the first time the popup remains empty. When I load
the page for the second time it shows all the values. What am I doing
wrong in the above code ?


Thanking you in advance.

Peace

--
Rajesh
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Linux Tutorials                                LOST #071

Looking for some LINUX TUTORIALS ?  Check out this  great book
at sourceforge: http://rute.sourceforge.net/node19.html

####[jlambrec (at) landis.be]#################################
:

#750 From: Rajesh Fowkar <mail@...>
Date: Wed Jun 4, 2003 10:42 am
Subject: Re: php sessions
rfowkar
Send Email Send Email
 
On Wed, Jun 04, 2003 at 02:32:37PM +0530, Rajesh Fowkar wrote:

>Hello,
>
>My code is as follows :
>
>if ( !isset($aGrnTypeDisplay[0]) )
>{
>    $oDempoConn = db_connect('dempo');
>    $sSql = "select * from document_master
>                      where main_document_type_id = 'GRN' and
>                            company_code          = '$sCompanyCode' and
>                            store_code            = '$sStoreCode'
>                      order by document_description";
>    $lResult  = @pg_query($oDempoConn, $sSql);
>    $nNumRows = @pg_num_rows($lResult);
>
>    if ( $nNumRows <= 0 )
>    {
>        echo "<script language=javascript>
>                      alert('GRN Type not present in Document Master...');
>                      this.document.location.href='GUIMenus.php';
>              </script>";
>    }
>
>    session_start();
>    $_SESSION["aGrnTypeDisplay"] = array();
>    $_SESSION["aGrnTypeValue"]   = array();
>    $_SESSION["nNumRowsGrnType"] = $nNumRows;
>    for( $i=0; $i < $nNumRows; $i++)
>    {
>        $aAns = @pg_fetch_array($lResult, $i);
>        $SubDocumentTypeId     = $aAns['sub_document_type_id'];
>        $TransactionIdentifier = $aAns['transaction_identifier'];
>        $DocumentDescription = $aAns['document_description'];
>        $JoinedValue = $SubDocumentTypeId . $TransactionIdentifier;
>        $aGrnTypeDisplay[$i] = $DocumentDescription;
>        $aGrnTypeValue[$i]   = $JoinedValue;
>    }


Sorry for replying to my own mail. I was not assigning the actual array
to the array of the session variable.

$_SESSION["aGrnTypeDisplay"] = $aGrnTypeDisplay;
$_SESSION["aGrnTypeValue"]   = $aGrnTypeValue;

In the above code (for loop) I tried using :

$_SESSION["aGrnTypeDisplay[$i]"] = $DocumentDescription;
$_SESSION["aGrnTypeValue[$i]"]   = $JoinedValue;

But this did not work, hence I resorted to the earlier method.

Peace

--
Rajesh
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Command execution timing                       LOST #196

To see how long it takes a command to run, type the word
"time" before the command name. Try: #time updatedb

####[genesis (at) istar.ca]###################################
:

#751 From: Sayamindu Dasgupta <unmadindu@...>
Date: Wed Jun 4, 2003 7:02 pm
Subject: trouble with PHP@sourceforge
unmadindu@...
Send Email Send Email
 
Hello,
For some reasons, the PHP scripts which we have at www.bengalinux.org (hosted at
sourceforge.net) have started acting crazily.

Here's a sample trouble :

We are trying to open a page with fopen() at http://mandrakesoft.com. When a
browser accesses that particular PHP file - it says

Warning: php_hostconnect: connect failed in
/home/groups/b/be/bengalinux/htdocs/projects/mandrake/mdk_bn_status.php on
line 15

Warning: fopen("http://mandrakelinux.com/l10n/bn.php3", "r") - Bad file
descriptor in
/home/groups/b/be/bengalinux/htdocs/projects/mandrake/mdk_bn_status.php on
line 15
Can;t Open the target http://mandrakelinux.com/l10n/bn.php3 page!

But when we run it from the command line with php mdk_bn_status.php - it works
fine.

Moreover, there is another very simple PHP/MySQL based thingy we have there -
and it is also acting crazy (sometimes, the MySQL queries are not returning
anything when accessed through a browser, and sometimes, it is complaining about
missing 'DB.php', (I am using PEAR), though I know that it is there).

All the scripts are running fine in my box (of course, I am running newer
versions of PHP/MySQL - but I don't think that should matter, as I am using very
basic PHP functions)
Can anyone tell what the problems is??

-TIA-
Sayamindu



--
Sayamindu Dasgupta [http://www.peacefulaction.org/sayamindu/]
Get my Public Keys at http://www.peacefulaction.org/sayamindu/keys.html
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : PGP sign out in mutt                           LOST #026

To sign out outgoing mail with PGP/ GNU-PGP in Mutt, add the
following in  ~/.muttrc:

set pgp_default_version=gpg
set pgp_autosign
set pgp_sign_as=<your key id>
set pgp_timeout=7200

####<bish@...>###################################
:

#752 From: Dr Tarique Sani <tarique@...>
Date: Thu Jun 5, 2003 6:36 am
Subject: Re: trouble with PHP@sourceforge
tariquesani
Send Email Send Email
 
On Thu, 5 Jun 2003, Sayamindu Dasgupta wrote:

> Can;t Open the target http://mandrakelinux.com/l10n/bn.php3 page!

By the looks of it I feel that you cannot fopen URLs on the said server

> Moreover, there is another very simple PHP/MySQL based thingy we have
> there - and it is also acting crazy (sometimes, the MySQL queries are not
> returning anything when accessed through a browser, and sometimes, it is
> complaining about missing 'DB.php', (I am using PEAR), though I know that
> it is there).

Again, probably, you are not allowed to set the include path


Put a page with phpinfo() and you will get the information - if
running phpinfo is allowed :(

HTH

Tarique


--
===================================================================
PHP Applications for E-Biz: http://www.sanisoft.com            -o)
                                                                /\\
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v
===================================================================

#753 From: Sayamindu Dasgupta <unmadindu@...>
Date: Thu Jun 5, 2003 9:42 am
Subject: Re: trouble with PHP@sourceforge
unmadindu@...
Send Email Send Email
 
On Thu, 5 Jun 2003 12:06:51 +0530 (IST)
Dr Tarique Sani <tarique@...> wrote:

> On Thu, 5 Jun 2003, Sayamindu Dasgupta wrote:
>
> > Can;t Open the target http://mandrakelinux.com/l10n/bn.php3 page!
>
> By the looks of it I feel that you cannot fopen URLs on the said server

hmm... might be.


>
> > Moreover, there is another very simple PHP/MySQL based thingy we have
> > there - and it is also acting crazy (sometimes, the MySQL queries are not
> > returning anything when accessed through a browser, and sometimes, it is
> > complaining about missing 'DB.php', (I am using PEAR), though I know that
> > it is there).
>
> Again, probably, you are not allowed to set the include path

Well, now, I explicitly  set the path (after installing PEAR locally), and here
is the result

http://www.bengalinux.org/trans_db/showpackages.php

Apparently - a row is being detected, but the contents are not being shown
I ssh-ed into the box, and did a

php showpackages.php > showpackages.html

That is at
http://www.bengalinux.org/trans_db/showpackages.html

>
>
> Put a page with phpinfo() and you will get the information - if
> running phpinfo is allowed :(

yep phpinfo() is allowed

www.bengalinux.org/test.php

-thanks-
Sayamindu


--
Sayamindu Dasgupta [http://www.peacefulaction.org/sayamindu/]
Get my Public Keys at http://www.peacefulaction.org/sayamindu/keys.html
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Knowing your IDE HDD parameters                LOST #226

To know the IDE hard disk identification info  which was found
by the kernel at boot time, inclusive of things like the model
serial number, as root try: #hdparm -i /dev/hdx (where x is a,
b, c etc).

####<bish@...>####################################
:

#754 From: Dr Tarique Sani <tarique@...>
Date: Thu Jun 5, 2003 10:43 am
Subject: Re: trouble with PHP@sourceforge
tariquesani
Send Email Send Email
 
On Thu, 5 Jun 2003, Sayamindu Dasgupta wrote:

> > Put a page with phpinfo() and you will get the information - if
> > running phpinfo is allowed :(
>
> yep phpinfo() is allowed
>
> www.bengalinux.org/test.php

Is the include path you see here what you want it to be?

Tarique

--
===================================================================
PHP Applications for E-Biz: http://www.sanisoft.com            -o)
                                                                /\\
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v
===================================================================

#755 From: Sayamindu Dasgupta <unmadindu@...>
Date: Thu Jun 5, 2003 1:00 pm
Subject: Re: trouble with PHP@sourceforge
unmadindu@...
Send Email Send Email
 
On Thu, 5 Jun 2003 16:13:50 +0530 (IST)
Dr Tarique Sani <tarique@...> wrote:

> On Thu, 5 Jun 2003, Sayamindu Dasgupta wrote:
>
> > > Put a page with phpinfo() and you will get the information - if
> > > running phpinfo is allowed :(
> >
> > yep phpinfo() is allowed
> >
> > www.bengalinux.org/test.php
>
> Is the include path you see here what you want it to be?
>

Lol - it seems to point to a non-existent directory
What's more

Configuration File (php.ini) Path /usr/local/lib/php.ini

/usr/local/lib/php.ini

does not exist.

I used set_ini() to specify the include path - but then the script stopped
working :-S

-sdg-




--
Sayamindu Dasgupta [http://www.peacefulaction.org/sayamindu/]
Get my Public Keys at http://www.peacefulaction.org/sayamindu/keys.html
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Command line shortcuts (history)               LOST #271

To get a command pre-existing in the history press [Ctrl+R]
and type in a character or two of the desired command.  You
can press the right arrow till you get the required command
This works for most shells (except for ash, bsh and ksh)

####<rtorvi@...>#########################################
:

#756 From: Dr Tarique Sani <tarique@...>
Date: Thu Jun 5, 2003 4:27 pm
Subject: Re: trouble with PHP@sourceforge
tariquesani
Send Email Send Email
 
On Thu, 5 Jun 2003, Sayamindu Dasgupta wrote:

> I used set_ini() to specify the include path - but then the script stopped
> working :-S

I suggest host website somewhere else... ... SF IME is too unreliable

And with the commercial devision of SF shut I don't know how long the non
commercial part last ...

HTH

Tarique

--
===================================================================
PHP Applications for E-Biz: http://www.sanisoft.com            -o)
                                                                /\\
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v
===================================================================

#757 From: Sayamindu Dasgupta <unmadindu@...>
Date: Thu Jun 5, 2003 7:27 pm
Subject: Re: trouble with PHP@sourceforge
unmadindu@...
Send Email Send Email
 
On Thu, 5 Jun 2003 21:57:06 +0530 (IST)
Dr Tarique Sani <tarique@...> wrote:

> On Thu, 5 Jun 2003, Sayamindu Dasgupta wrote:
>
> > I used set_ini() to specify the include path - but then the script stopped
> > working :-S
>
> I suggest host website somewhere else... ... SF IME is too unreliable

Yep - I was also thinking about that.
Lemme see wher I can get Free hosting...
-sdg-




--
Sayamindu Dasgupta [http://www.peacefulaction.org/sayamindu/]
Get my Public Keys at http://www.peacefulaction.org/sayamindu/keys.html
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Recovering from corrupt LILO on MBR            LOST #259

In case of corrupt LILO at MBR, it is merely a matter of boot-
ing from the boot disk created during installation.  Once into
the system check your /etc/lilo.conf. Then as root run:
#lilo -v

####<ritesh_shukla@...>#################################
:

#758 From: Bhupendra Banodhe <bhupi08@...>
Date: Wed Jun 11, 2003 6:23 am
Subject: mailbox acl
bhupi08
Send Email Send Email
 
Hello Everybody,

I am writing a interface for mail server admin and
using php, ldap and cyrus-imap.

There is function to set acl(access control list) that
is imap_setacl and we can remove also using the same
function.

But how you can get the list of acl of the given
mailbox. There is no function available in php.

Any help shall be highly appreciated.

Regards

Bhupendra

=====
Visit My Web Site at :http://www.bhupi.20m.com

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

#759 From: deepak dharwadkar <ddeepak76@...>
Date: Wed Jun 11, 2003 7:32 am
Subject: Source Encoder
ddeepak76
Send Email Send Email
 
Hi all,

Are there any freely available source encoder.i mean i
want encode my source files so the intellectual
property is not lost :)

regards,
Deepak

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

#760 From: Dr Tarique Sani <tarique@...>
Date: Wed Jun 11, 2003 7:10 am
Subject: Re: Source Encoder
tariquesani
Send Email Send Email
 
On Wed, 11 Jun 2003, deepak dharwadkar wrote:

> Are there any freely available source encoder.i mean i
> want encode my source files so the intellectual
> property is not lost :)

Why do you want to protect your so called intellectual property?

Tarique

--
===================================================================
PHP Applications for E-Biz: http://www.sanisoft.com            -o)
                                                                /\\
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v
===================================================================

#761 From: Mandar V Kelkar <kelkar_mandar@...>
Date: Wed Jun 11, 2003 8:15 am
Subject: Re: Source Encoder
kelkar_mandar
Send Email Send Email
 
Please keep this place clean. Only reply in case you
have solutions and not ask questions like "Why? When?
Where? If? "

Please answer clearly to the point or dont reply.

What do others in this group fell.

Mandar
(Without any /::\ and kinda symbols :))


--- Dr Tarique Sani <tarique@...> wrote:
> On Wed, 11 Jun 2003, deepak dharwadkar wrote:
>
> > Are there any freely available source encoder.i
> mean i
> > want encode my source files so the intellectual
> > property is not lost :)
>
> Why do you want to protect your so called
> intellectual property?
>
> Tarique
>
> --
>
===================================================================
> PHP Applications for E-Biz: http://www.sanisoft.com
>           -o)
>
>           /\\
> Indian PHP User Group:
> http://groups.yahoo.com/group/in-phpug _\_v
>
===================================================================
>
>


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

#762 From: Sid Carter <sidcarter@...>
Date: Wed Jun 11, 2003 8:42 am
Subject: Re: Source Encoder
sidgeek
Send Email Send Email
 
On Wed, Jun 11, 2003 at 01:15:34AM -0700, Mandar V Kelkar wrote:
> Please keep this place clean. Only reply in case you
> have solutions and not ask questions like "Why? When?
> Where? If? "

How do you get to a solution without asking ? And in some cases, after
you ask, you find that the problem is not a problem at all.

> What do others in this group fell.

I don't "fell" it is wrong. A valid question to ask, it was.

Regards
	 Sid
--
APL is a mistake, carried through to perfection.  It is the language of
the future for the problems of the past: it creates a new generation of
coding bums.

Sid Carter http://khader.net/

#763 From: Dr Tarique Sani <tarique@...>
Date: Wed Jun 11, 2003 8:12 am
Subject: Re: Source Encoder
tariquesani
Send Email Send Email
 
On Wed, 11 Jun 2003, Mandar V Kelkar wrote:

> Please keep this place clean. Only reply in case you
> have solutions and not ask questions like "Why? When?
> Where? If? "

Huh! Why not?

To begin with dont "Top Post" and read the guidelines of the group

Comming to the point - What was asked by the original poster was an
antithesis as per my ethics. So I asked as to why he wanted to protect his
IP. Once he answered that I would have given an answer as well

Also right now I don't need a helping hand in "Admin"ing this list so be
happy and enjoy the benifits without any added burden to yourself.


Dr Tarique Sani

Moderator and Owner


--
===================================================================
PHP Applications for E-Biz: http://www.sanisoft.com            -o)
                                                                /\\
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v
===================================================================

#764 From: "amit soni" <amitsoni@...>
Date: Thu Jun 12, 2003 6:28 am
Subject: Re: Source Encoder
amitsoni9999
Send Email Send Email
 
Intellectual property is "enhanced" when source is open.

Imagine if you had to pay $500.00 for buying PHP as a language. or $2000.00 for
MySQL ?  or $700 for phpMyAdmin or something else for something else.

Did you try to copy the PHP source code and release your own PHP ? or did you do
that for MySQL or phpMyAdmin ?
Why did you not ?
Because they were already open and they were good.
But still they did not care about intellectual property.
But you used these software to develop your own "intellectual property"
....and you think that someone would copy your code and create his own software.
Then let him !!
atleast you'll have a better product in the end !!

Please return something to the opensource community when you are drawing so much
from it.

In any case,

I don't know of a encoder, but I do know of a compiler for PHP www.scriptol.com

and  http://www.zend.com/store/products/zend-safeguard-suite.php

Please avoid using the above two as encoders and let the open source community
remain open.



Thanks,
Amit Soni,
Technical Lead,
Fortune Space.



   ----- Original Message -----
   From: deepak dharwadkar
   To: in-phpug@yahoogroups.com
   Sent: Wednesday, June 11, 2003 1:02 PM
   Subject: [in-phpug] Source Encoder


   Hi all,

   Are there any freely available source encoder.i mean i
   want encode my source files so the intellectual
   property is not lost :)

   regards,
   Deepak

   __________________________________
   Do you Yahoo!?
   Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
   http://calendar.yahoo.com

         Yahoo! Groups Sponsor



   Read Posting Guidelines at
   http://groups.yahoo.com/group/in-phpug/files/guidelines.html
   To unsubscribe from this group, send an email to:
   in-phpug-unsubscribe@yahoogroups.com



   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


[Non-text portions of this message have been removed]

#765 From: Rajesh Fowkar <mail@...>
Date: Thu Jun 12, 2003 8:49 am
Subject: Problem of single and double quotes in part number and description
rfowkar
Send Email Send Email
 
Hello,

Here is perculiar problem we have discovered just now.

What we are doing is accepting part number in our form and than using a
script checking whether it exists in the master. If it exists than we
are setting the description of the parent form using javascript :

$txtItemShortDescription = addslashes($oAns->item_short_description);
$txtUom = $oAns->uom;

echo "<script language=javascript>
   
window.opener.document.INVIndentAddUpd.$DisplayShortDescription.value='$txtItemS\
hortDescription';
    window.opener.document.INVIndentAddUpd.$DisplayUom.value='$txtUom';
    window.opener.document.INVIndentAddUpd.$okFocusField.focus();
    window.close();
      </script>";

To those items where there are single quotes or double quotes addslashes
does the work and if we use javascript to display the description it is
displayed without backslashes but with quotes. The same thing with php
goes on adding backslashes for each refresh of the page.

When the user  adds one more row for entry the page is refreshed. In our
page we are using something like below to display the description :

<TD><DIV align=center><INPUT class=readonlyinput type=text
                         name=txtItemShortDescription<?=$i?>
                         value='<? echo $$txtItemShortDescription ?>'
                         size=25 readonly></DIV></TD>

All these backslash problem is created because of the single quote which
we are using in value = ' '. Similar thing is there for part numbers
too. Some of our part numbers are with single and double quotes.

Hope I have been able to make myself clear on the problem we are facing.

Can anybody suggest some solution on how we can display the part number
and discription which contain quotes properly in PHP ?

Thanks in advance.

Peace

--
Rajesh
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Screenshot of text console                     LOST #342

To take screen shots of a console, do:
#cat /dev/vcsN > filename [where N is the tty to be captured]
This needs root privileges. Not suitable  for  graphic images
on console (e.g. through zgv).

####[rupeshnagar (at) gmx.net]################################
:

#766 From: "Nirav Mehta" <nirav@...>
Date: Thu Jun 12, 2003 9:06 am
Subject: [Info-Commercial] Invitation to visit the InfoTech WorldExpo exhibition
vrmaster_2000
Send Email Send Email
 
Hi All,

We would like to invite you to our stall at the InfoTech WorldExpo
organized at NSE Complex, Goregaon (E) during 13-15 June.

We are demoing Horde applications and Moodle - a PHP based learning
management system. We ourselves do a lot of PHP work, so this event
could be a good way to meet up as well :)

Apart from PHP, our show will focus on GNU/Linux. We are launching
"Radix Clever Client Solution Platform" at this expo. There will also be
presentations about solutions and happening technologies in GNU/Linux.
It will be great if you can make up for this event!

Here are the details:

Radix Solution Platform:
---------------------
MagNet welcomes you to witness the launch of Radix Solution Platform.
Explore server based computing on Linux. Discover how Radix can cut down
IT software and hardware costs tremendously. Radix allows you to work
remotely on Linux, Windows and Citrix and offers centralized management.


Enterprise Solutions:
---------------------
Learn what Linux has on offer for your company in areas like:
- Messaging & Groupware
- Desktop Productivity
- Security
- Knowledge Management
- Document Management
- Education / Virtual Learning
- Web Development

Linux Tech Showcase:
--------------------
See the hot technologies and solutions:
- Clever computing with Radix
- Opie - Linux on Pocket PC
- Kalculate - Linux Accounting Software
- IndLinux
- Knoppix Live Linux
- Multimedia with mPlayer
- Horde Groupware
- Learning Management with Moodle

Presentation Plan:
------------------
13th June
  4 to 4.45PM    Linux on the Desktop
  5 to 5.45PM    Radix Clever Client Solution Platform

14th June
  10 to 10.45AM  Economies of GNU/Linux (by Dinesh Shah, Shah Micro
Solutions)
  4 to 4.45PM    GNU/Linux for the Indian Enterprise
  5 to 5.45PM    Linux in Indian Languages (by Venkatesh Hariharan,
IndLinux)

15th June
  4 to 4.45PM    GNU/Linux for the Indian Enterprise
  5 to 5.45PM    GNU/Linux and Education in India (by Prof. Jitendra
Shah, VJTI)

MagNet is glad to host Linux For You, IndLinux, Kalculate and ILUG-BOM /
FSF India at the booth. You can catch up with Venky of IndLinux on
Saturday. Would like to invite volunteers from the GLUB for Sunday!

Special Offer:
---------------
Get Knoppix Bootable Linux CD, IndLinux Indian Linux, Kalculate Pro
accounting software (60 days trial) and a copy of Linux For You
magazine. For Rs. 50 ONLY! (offer till stocks last, can change according
to availability ;)


I look forward to see you there!

Regards,
Nirav.
======================================================
| tangible, customized solutions for your e-business |
|              http://www.magnet-i.com/              |
======================================================

#767 From: Dr Tarique Sani <tarique@...>
Date: Thu Jun 12, 2003 9:58 am
Subject: Re: Problem of single and double quotes in part number and description
tariquesani
Send Email Send Email
 
On Thu, 12 Jun 2003, Rajesh Fowkar wrote:

> Hello,
>
> Here is perculiar problem we have discovered just now.
>
> What we are doing is accepting part number in our form and than using a

Can we view the problem online somewhere?

Tarique

--
===================================================================
PHP Applications for E-Biz: http://www.sanisoft.com            -o)
                                                                /\\
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v
===================================================================

#768 From: Rajesh Fowkar <mail@...>
Date: Thu Jun 12, 2003 11:08 am
Subject: Re: Problem of single and double quotes in part number and description
rfowkar
Send Email Send Email
 
On Thu, Jun 12, 2003 at 03:28:17PM +0530, Dr Tarique Sani wrote:

>On Thu, 12 Jun 2003, Rajesh Fowkar wrote:
>
>> Hello,
>>
>> Here is perculiar problem we have discovered just now.
>>
>> What we are doing is accepting part number in our form and than using a
>
>Can we view the problem online somewhere?

Unfortunatly no sorry.

Whatever you have not followed I will try to explain again.

Thanks for the reply.

Peace

--
Rajesh
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Sending attachments from command line (#1)     LOST #225

If you have mutt installed, do:
mutt someone (at) somewhere.com -a /tmp/file.tar.gz \
                            -s "subject line"   \
                            -x < message.txt

####[binand (at) cysphere.com]################################
:

#769 From: Dr Tarique Sani <tarique@...>
Date: Thu Jun 12, 2003 12:39 pm
Subject: Re: [Info-Commercial] Invitation to visit the InfoTech WorldExpo exhibition
tariquesani
Send Email Send Email
 
On Thu, 12 Jun 2003, Nirav Mehta wrote:

Hi Nirav,

> We would like to invite you to our stall at the InfoTech WorldExpo
> organized at NSE Complex, Goregaon (E) during 13-15 June.

Would have come if I was at Mumbai, Best of luck for the Expo

May you get loads of business there :)

Cheers
Tarique

--
===================================================================
PHP Applications for E-Biz: http://www.sanisoft.com            -o)
                                                                /\\
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v
===================================================================

#770 From: "Yogesh Puri" <yherculean@...>
Date: Fri Jun 13, 2003 7:00 am
Subject: [Commercial] Urgent PHP opportunity
herculespuri
Send Email Send Email
 
There's an urgent opportunity in PHP in a Chandigarh based company (with its
offices at USA), dealing with US based projects. Its local office is in Mohail,
Punjab in Chandigarh region. Candidates with minimum 1 year of experience in PHP
may send their resumes to chandang@... . Candidates from Northern
India will be preffered

Regards
Yogesh Puri
Software Engineer

HR Email: chandang@...


Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com

#771 From: venkateshwaran@...
Date: Sun Jun 15, 2003 11:58 am
Subject: session problem php 4.0.6
tssvwn
Send Email Send Email
 
Hi all,

I am using php 4.0.6 in linux redhat 7.0.

The session.save_path=/tmp

file : file1.php

<?
session_start();
session_register("test_var");
$HTTP_SESSION_VARS['test_var']="Hello World";
echo
?>
File : file2.php
<?
session_start();
echo $HTTP_SESSION_VARS['test_var'];
?>

I could not able to access the session value in the file2.php
could you tell me, how to fix this ?.

Venk.

#772 From: "php-india.net" <php_love@...>
Date: Mon Jun 16, 2003 5:09 am
Subject: Re: session problem php 4.0.6
php_love
Send Email Send Email
 
Hi

i did try your both files, i could get echo  "Hello wolrd" on file2.php.

so please check out permission of /tmp dir, it shouldnt be owned by root,

let me know if you find the solution

Thanks

Chirag


Webmaster
www.php-india.net
An endeavor to cheer PHP in India




---------------------------------
Do you Yahoo!?
Yahoo! News - Today's headlines

[Non-text portions of this message have been removed]

#773 From: "Yogesh Puri" <yherculean@...>
Date: Mon Jun 16, 2003 5:42 am
Subject: Re: session problem php 4.0.6
herculespuri
Send Email Send Email
 
Please try
<?
session_start();
session_register("test_var");
$test_var="Hello World";?>

and one any pagebu can access it as:
<?
session_register("test_var");
echo $test_var;?>

Regards
Yogesh Puri

--

--------- Original Message ---------

DATE: Sun, 15 Jun 2003 05:58:55
From: venkateshwaran@...
To: in-phpug@yahoogroups.com
Cc:

The original message body has been attached to your current Mail Composition



Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com

[Non-text portions of this message have been removed]

#774 From: venkateshwaran@...
Date: Mon Jun 16, 2003 6:13 am
Subject: Thanks
tssvwn
Send Email Send Email
 
Hi,

This code is working fine in my server.

If i migrate my server with the higher version, does it work with higher
version ?, i mean in php 4.3.2 version.

Thanks,
venk.

  ----- Original Message -----
From: Yogesh Puri
To: in-phpug@yahoogroups.com
Sent: Monday, June 16, 2003 11:12 AM
Subject: Re: [in-phpug] session problem php 4.0.6


Please try
<?
session_start();
session_register("test_var");
$test_var="Hello World";?>

and one any pagebu can access it as:
<?
session_register("test_var");
echo $test_var;?>

Regards
Yogesh Puri

  --

  --------- Original Message ---------

DATE: Sun, 15 Jun 2003 05:58:55
From: venkateshwaran@...
To: in-phpug@yahoogroups.com
Cc:

The original message body has been attached to your current Mail Composition



Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com

[Non-text portions of this message have been removed]

#775 From: "Venkatehwaran" <venkateshwaran@...>
Date: Mon Jun 16, 2003 11:06 am
Subject: dynamic sub domain creation php apache
tssvwn
Send Email Send Email
 
Hi,

Is it possible to create subdomain dynamically using php/apache

i mean the main domain is www.mydomainname.com

and the subdomains should be like

www.venk.mydomainname.com
www.rajesh.mydomainname.com
www.jrk.mydomainname.com
www.vignesh.mydomainname.com

Is it possible to have those this in php?.

any idea please suggest me.

Thanks,
Venk




[Non-text portions of this message have been removed]

#776 From: "Yogesh Puri" <yherculean@...>
Date: Mon Jun 16, 2003 11:39 am
Subject: Re: Thanks
herculespuri
Send Email Send Email
 
This code will work perfectly in latest version of php i.e. 4.2.3. We are using
this code in all our applications.

Regards
Yogesh Puri

--

--------- Original Message ---------

DATE: Mon, 16 Jun 2003 00:13:43
From: venkateshwaran@...
To: in-phpug@yahoogroups.com
Cc:

The original message body has been attached to your current Mail Composition



Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com

[Non-text portions of this message have been removed]

#777 From: "Paul Alapatt" <a.paul@...>
Date: Mon Jun 16, 2003 12:02 pm
Subject: RE: dynamic sub domain creation php apache
paulalapatt
Send Email Send Email
 
Hi,

Sure.

You need to simply do the following:


- Add an entry to apache httpd.conf file the entry of the subdomain
- Restart apache

This assuming you have setup the DNS entry for CNAME for this domain
correctly under BIND.

Now restarting apache is a signal process so you will have to use CGI to
do that or better run a once in a day cron which takes care of that.

Also, its not a good idea to directly write to the httpd.conf, instead
use the include file where you have the list recreated from the
database, at the start of the cron.

Take care,
Paul Alapatt
---------------
BernardLabs

-----Original Message-----
From: Venkatehwaran [mailto:venkateshwaran@...]
Sent: Monday, June 16, 2003 4:37 PM
To: in-phpug@yahoogroups.com
Subject: [in-phpug] dynamic sub domain creation php apache


Hi,

Is it possible to create subdomain dynamically using php/apache

i mean the main domain is www.mydomainname.com

and the subdomains should be like

www.venk.mydomainname.com
www.rajesh.mydomainname.com
www.jrk.mydomainname.com
www.vignesh.mydomainname.com

Is it possible to have those this in php?.

any idea please suggest me.

Thanks,
Venk




[Non-text portions of this message have been removed]



Read Posting Guidelines at
http://groups.yahoo.com/group/in-phpug/files/guidelines.html
To unsubscribe from this group, send an email to:
in-phpug-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/

#778 From: "arunissatan" <arunissatan@...>
Date: Mon Jun 16, 2003 2:59 pm
Subject: Multiple submits for a form
arunissatan
Send Email Send Email
 
Hi,
This may be a stupid question, since I'm *very* new to this.

I've got a form with two submit buttons. As I understand it, a form
can only have 1 action, so processing the option selected must be done
by scripting. My code to do this works fine.
The problem I'm facing is that I use "require_once()" to include the
appropriate file, as per the submit button used. However, these
included files reside in separate directories, and their relative URLs
fail, since the current path is not the directory in which the inluded
file resides. I could relocate the included files and modify their
realtive URLs, but I don't think it's the right way to go about it.
So, must I relocate the files, is there a better way, or am I doing
something fundamentally wrong somewhere?

Thanks in advance,
Arun

p.s.: Redirection won't work out since relative URLs are not allowed,
and absolute URLs will mess up my session.

Messages 749 - 778 of 3282   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help