Re: [PHP] Wanna Join me for an open source PHP Project?

2005-11-26 Thread bala chandar
On 11/26/05, Andy Pieters <[EMAIL PROTECTED]> wrote:
> Hmmm..
>
> Outlook is notorious for blatantly violating the standards and being a
> security nightmare.
>
> Instead I suggest you make an application that has the same look & feel as
> outlook but has a core that is much smarter, safer, and better.
>
> Also, work from the ground up to generate standards compliant html (or xhtml)
> documents so that FireFox, and KHTML based browsers will render it ok.  You
> can later add hacks to support non-standard compliant browsers (such as ie)

i will take your suggestions.

>
> Not starting a flame war, just providing some common sense.

> Good luck with your project
>
>
> With kind regards
>
> Andy
>
>
> --
> Now listening to Top! Radio Live www.topradio.be/stream on amaroK
> Geek code: www.vlaamse-kern.com/geek
> Registered Linux User No 379093
> If life was for sale, what would be its price?
> www.vlaamse-kern.com/sas/ for free php utilities
> --
>
>
>


--
 balachandar muruganantham
 mbchandar
  mbchandar
 http://chandar.blogspot.com
http://www.balachandar.net
 http://www.expertstalk.org
http://www.chennaishopping.com

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



[PHP] Wanna Join me for an open source PHP Project?

2005-11-26 Thread bala chandar
Hi All,

I have just started a Open source Project in SourceForget.net using PHP.

Project Name: Weblook Express
URL : http://sourceforge.net/projects/weblookexpress

Idea came to me when i thought of porting the complete windows based
Desktop outlook express Application into a Portable, Web based
Application that runs on any Javascript supported webbrowser for any
POP3, or IMAP or HTTP Mail Service Providers.

I am just looking for people who can work along with me so that
complete porting occurs so that we can release the base version.

Technology to be used would be PHP, XML, XSLT, Javascript, HTML.

About Weblook Express
Weblook Express provides an integrated solution for managing and
organizing e-mail messages. It delivers innovations you can use to
manage your email communications, organize your mails - all from one
place similar like the desktop outlook express.

Project would involve complete porting of Desktop Outlook Express that
comes with Internet Explorer. The user should be able to configure
multiple Mail Service Providers. User experience is what we must see.
and i have more ideas in my mind. I also invite ideas, suggestions for
this project.

Looking for developers...
--
 balachandar muruganantham
 mbchandar
  mbchandar
 http://chandar.blogspot.com
http://www.balachandar.net
 http://www.expertstalk.org
http://www.chennaishopping.com

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



Re: [PHP] whitch class can I read EXCEL .xls file

2005-11-02 Thread bala chandar
Hi,

On 11/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Dear all:
>
> whitch class can I read EXCEL .xls file
> I want to read data from a excel's .xls file on Linux use php,please tell
> me way.

There is a phpexcelreader project going on sf.net. check out there it works fine


--
 balachandar muruganantham
 mbchandar
  mbchandar
 http://chandar.blogspot.com
http://www.balachandar.net
 http://www.expertstalk.org
http://www.chennaishopping.com

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



[PHP] creating images using php

2005-11-02 Thread bala chandar
Hi,

i know there is a support for Imagemagick in php. I have a doubt.

Please help me out.
I have to create a image in which a text which should insert a texture
withing it something like what we do with powerpoint word art. for eg.
Rose is the text and i want to Rose picture withing the text using
php. any suggestions or help welcomed!


--
 balachandar muruganantham
 mbchandar
  mbchandar
 http://chandar.blogspot.com
http://www.balachandar.net
 http://www.expertstalk.org
http://www.chennaishopping.com

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



[PHP] is it worth using apache2 with php 4.3.4

2005-08-19 Thread bala chandar
Hi,

i am now using apache 1.3.x with php 4.3.4

is it worth upgrading to apache 2.x
-- 
bala> balachandar muruganantham
Y!   > mbchandar
Hotmail >  mbchandar
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] Freelance Work - London N1

2005-05-11 Thread bala chandar
hi

On 5/11/05, bubba <[EMAIL PROTECTED]> wrote:
> 
> We're looking for a freelancer to work ON-SITE IN LONDON on a PHP/MySQL
> content management system for 4-5 weeks, starting in approx. 10 days time.
> Experience of building bespoke CMS systems is essential. If you're
> interested, please send your CV, rates and relevant URLs that you've worked
> on via email to milan AT mook.co.uk

i would like to work for ur project. check out
http://chandar.blogspot.com for my resume. i am from india

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


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] Question about acessing databases and formatting output

2005-05-09 Thread bala chandar
On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> On Mon, May 09, 2005 at 08:19:47PM +0530, bala chandar wrote:
> > Hi,
> >
> > On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
> > > > On 5/9/05, bala chandar <[EMAIL PROTECTED]> wrote:
> > > > > Hi
> > > > >
> > > > > On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > > > On Sun, May 08, 2005 at 01:49:08PM -0600, The Doctor wrote:
> > > > > > > On Sun, May 08, 2005 at 08:56:25PM +0530, bala chandar wrote:
> > > > > > > > On 5/8/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > > > > > > On Thu, May 05, 2005 at 05:49:38AM -0600, The Doctor wrote:
> > > > > > > > > > On Thu, May 05, 2005 at 10:11:14AM +0530, bala chandar 
> > > > > > > > > > wrote:
> > > > > > > > > > > hi,
> > > > > > > > > > >
> > > > > > > > > > > On 5/5/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > > > > > > > > > This is probably easy, but how does
> > > > > > > > > > > > one access a database, mysql or oracle or postgresql,
> > > > > > > > > > > > and
> > > > > > > > > > > > present the data in a tabular format?
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > check out http://in2.php.net/mysql
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Looks good to me.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > So far so good except my blobs are appearing as is instead of
> > > > > > > > > as an interpret item.  What next?
> > > > > > > > > > > --
> > > > > > > >
> > > > > > > > what are you storing in BLOB?
> > > > > > > >
> > > > > > >
> > > > > > > First a .tgf and then a jpg.
> > > > >
> > > >  hey, check out this. this might help you
> > > >
> > > >  http://www.zend.com/zend/trick/tricks-sept-2001.php
> > > >
> > > > http://forum.100megswebhosting.com/archive/index.php/t-2971.html
> > > > >
> > > > > > >
> > > > > >
> > > > > > Is their a way to embed the third column?
> > > > > >
> > > > > > And what changes do I need to make to the php code?
> > > > > >
> > > > >
> > > >
> > >
> > > Seems to be correct.  Here is what I think:
> > >
> > > All the non-blobs are working fine; it is the blobs that are turning up
> > > as text instead of data.  Can you not tell the PHP scripts the following:
> > >
> > > if a blob then present the data as binary
> > > else
> > > present the text
> > > endif
> > > ?
> >
> > I think you cannot judge the content of the blob.  for text use the
> > data type text instead of blob
> >
> 
> Can you please clarify?

kindly check this link
http://forums.devshed.com/archive/t-63144/UserContributed-PHP-Mysql-and-Images


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] text with $

2005-05-09 Thread bala chandar
hi 

On 5/9/05, Martín Marqués  wrote:
> I have a text variable that contains "$" symbols, that when I pass it out PHP
> thinks that the "$" mean that a variable name comes right after.

use this

$$text = "$text";


> 
> I tried escaping the "$" put with no luck.
> 
> Is there something I can do?
> 
> --
>  09:21:28 up 37 days, 17:45,  1 user,  load average: 2.54, 2.04, 1.50
> -
> Martín Marqués| select 'mmarques' || '@' || 'unl.edu.ar'
> Centro de Telematica  |  DBA, Programador, Administrador
>  Universidad Nacional
>   del Litoral
> -
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] Question about acessing databases and formatting output

2005-05-09 Thread bala chandar
Hi,

On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
> > On 5/9/05, bala chandar <[EMAIL PROTECTED]> wrote:
> > > Hi
> > >
> > > On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > On Sun, May 08, 2005 at 01:49:08PM -0600, The Doctor wrote:
> > > > > On Sun, May 08, 2005 at 08:56:25PM +0530, bala chandar wrote:
> > > > > > On 5/8/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > > > > On Thu, May 05, 2005 at 05:49:38AM -0600, The Doctor wrote:
> > > > > > > > On Thu, May 05, 2005 at 10:11:14AM +0530, bala chandar wrote:
> > > > > > > > > hi,
> > > > > > > > >
> > > > > > > > > On 5/5/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > > > > > > > This is probably easy, but how does
> > > > > > > > > > one access a database, mysql or oracle or postgresql,
> > > > > > > > > > and
> > > > > > > > > > present the data in a tabular format?
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > check out http://in2.php.net/mysql
> > > > > > > > >
> > > > > > > >
> > > > > > > > Looks good to me.
> > > > > > > >
> > > > > > >
> > > > > > > So far so good except my blobs are appearing as is instead of
> > > > > > > as an interpret item.  What next?
> > > > > > > > > --
> > > > > >
> > > > > > what are you storing in BLOB?
> > > > > >
> > > > >
> > > > > First a .tgf and then a jpg.
> > >
> >  hey, check out this. this might help you
> >
> >  http://www.zend.com/zend/trick/tricks-sept-2001.php
> >
> > http://forum.100megswebhosting.com/archive/index.php/t-2971.html
> > >
> > > > >
> > > >
> > > > Is their a way to embed the third column?
> > > >
> > > > And what changes do I need to make to the php code?
> > > >
> > >
> >
> 
> Seems to be correct.  Here is what I think:
> 
> All the non-blobs are working fine; it is the blobs that are turning up
> as text instead of data.  Can you not tell the PHP scripts the following:
> 
> if a blob then present the data as binary
> else
> present the text
> endif
> ?

I think you cannot judge the content of the blob.  for text use the
data type text instead of blob

> 
> --
> Member - Liberal International
> This is [EMAIL PROTECTED]   Ici [EMAIL PROTECTED]
> God Queen and country! Beware Anti-Christ rising!
> BC, Vote Liberal!!
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] Question about acessing databases and formatting output

2005-05-08 Thread bala chandar
On 5/9/05, bala chandar <[EMAIL PROTECTED]> wrote:
> Hi
> 
> On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > On Sun, May 08, 2005 at 01:49:08PM -0600, The Doctor wrote:
> > > On Sun, May 08, 2005 at 08:56:25PM +0530, bala chandar wrote:
> > > > On 5/8/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > > On Thu, May 05, 2005 at 05:49:38AM -0600, The Doctor wrote:
> > > > > > On Thu, May 05, 2005 at 10:11:14AM +0530, bala chandar wrote:
> > > > > > > hi,
> > > > > > >
> > > > > > > On 5/5/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > > > > > This is probably easy, but how does
> > > > > > > > one access a database, mysql or oracle or postgresql,
> > > > > > > > and
> > > > > > > > present the data in a tabular format?
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > >
> > > > > > > check out http://in2.php.net/mysql
> > > > > > >
> > > > > >
> > > > > > Looks good to me.
> > > > > >
> > > > >
> > > > > So far so good except my blobs are appearing as is instead of
> > > > > as an interpret item.  What next?
> > > > > > > --
> > > >
> > > > what are you storing in BLOB?
> > > >
> > >
> > > First a .tgf and then a jpg.
> 
 hey, check out this. this might help you
 
 http://www.zend.com/zend/trick/tricks-sept-2001.php

http://forum.100megswebhosting.com/archive/index.php/t-2971.html
> 
> > >
> >
> > Is their a way to embed the third column?
> >
> > And what changes do I need to make to the php code?
> >
> 
 

-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] Any alternative to POST method FTP uploads from client computer?

2005-05-08 Thread bala chandar
Hi,

On 5/9/05, Murray @ PlanetThoughtful <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> I need to implement the ability to ftp upload files from client machines via
> a form in a web application I'm developing.
> 
> From reading the PHP help, all I can find to perform this is the POST method
> for handling file uploads
> (http://au2.php.net/manual/en/features.file-upload.php).
> 
> From my perspective, while this seems to work, there are a couple of
> drawbacks, most important of which is that it seems you can only do
> comparisons of the uploaded file, against the potential that the file has
> already been uploaded, once the file has already been uploaded and is
> sitting in the server temp directory.

Instead use the dynamic file names

say you upload a file filename.jpg

when u upload it name it dynamiccaly by appending date and time before
the file name
 like this

2005050501010-filename.jpg


> 
> This is a drawback to our application because the files can typically vary
> on a daily basis in size from 20mb thru to 400mb, and 400mb seems like a lot
> of bandwidth to consume to discover that the file already exists on our
> server.
> 
> I had hoped there was a way in which I could retrieve stats of the file
> being uploaded prior to beginning the upload, to compare against files in
> the target directory, so that the application can advise the user that the
> file already exists and to give them the option to cancel the upload.
> 
> Another minor drawback is that it seems the Post upload method changes the
> file datetime to the datetime of the upload.
> 
> So, can anyone confirm that there is no other way to upload files from a
> client machine using a form? (and assuming they don't have an ftp server at
> their end).
> 
> Much warmth,
> 
> 
> Murray
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] Question about acessing databases and formatting output

2005-05-08 Thread bala chandar
Hi

On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> On Sun, May 08, 2005 at 01:49:08PM -0600, The Doctor wrote:
> > On Sun, May 08, 2005 at 08:56:25PM +0530, bala chandar wrote:
> > > On 5/8/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > On Thu, May 05, 2005 at 05:49:38AM -0600, The Doctor wrote:
> > > > > On Thu, May 05, 2005 at 10:11:14AM +0530, bala chandar wrote:
> > > > > > hi,
> > > > > >
> > > > > > On 5/5/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > > > > This is probably easy, but how does
> > > > > > > one access a database, mysql or oracle or postgresql,
> > > > > > > and
> > > > > > > present the data in a tabular format?
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > >
> > > > > > check out http://in2.php.net/mysql
> > > > > >
> > > > >
> > > > > Looks good to me.
> > > > >
> > > >
> > > > So far so good except my blobs are appearing as is instead of
> > > > as an interpret item.  What next?
> > > > > > --
> > >
> > > what are you storing in BLOB?
> > >
> >
> > First a .tgf and then a jpg.

hey, check out this. this might help you

http://www.zend.com/zend/trick/tricks-sept-2001.php

> >
> 
> Is their a way to embed the third column?
> 
> And what changes do I need to make to the php code?
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] Question about acessing databases and formatting output

2005-05-08 Thread bala chandar
On 5/8/05, The Doctor <[EMAIL PROTECTED]> wrote:
> On Thu, May 05, 2005 at 05:49:38AM -0600, The Doctor wrote:
> > On Thu, May 05, 2005 at 10:11:14AM +0530, bala chandar wrote:
> > > hi,
> > >
> > > On 5/5/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > This is probably easy, but how does
> > > > one access a database, mysql or oracle or postgresql,
> > > > and
> > > > present the data in a tabular format?
> > > >
> > > > --
> > > >
> > >
> > > check out http://in2.php.net/mysql
> > >
> >
> > Looks good to me.
> >
> 
> So far so good except my blobs are appearing as is instead of
> as an interpret item.  What next?
> > > --

what are you storing in BLOB? 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] Between Query (0T)

2005-05-08 Thread bala chandar
Hi,

On 5/8/05, Ryan A <[EMAIL PROTECTED]> wrote:
> Hi,
> Sorry I know this is OT but I'm hoping someone will still help...it should
> be quite simple :-)
> I have a field in the database called "age" which is a DATE field.

are u storing in terms of Date of Birth??? if so the below lines u cannot do

> 
> I also have a webform where the user can select between which ages he wants
> the records shown...
> eg: if he types 23,25 then I should get all results where
> age >=23 and age <=25

Instead store the age in a column with int data type. or else

you must provide date range using some calendar script

> 
> Thanks,
> Ryan
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] browser detect and redirect

2005-05-08 Thread bala chandar
Hi,

On 5/8/05, Ross <[EMAIL PROTECTED]> wrote:
> I want to redirect anyone not using ie 4+ as there browser.
> 
> Is this possible with php?

Yes!  you can use get_browser function. 
chec out http://in.php.net/manual/en/function.get-browser.php
> 
> R.
> 
> 

-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] POST long texts to PHP

2005-05-07 Thread bala chandar
Hi,

On 5/7/05, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> First of all, don't hijack threads. Instead of replying to a message,
> create a new one.

i agree with him

> 
> SED wrote:
> > I need to POST long texts through a form to PHP but the text cuts down to
> > around 64.000 characters. Is there any way to allow longer texts (like in
> > php.ini)?

> 
> This is browser limit. Most, if not all, browsers limit textarea field
> length to this value.
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] compiling dynamic extensions without root access

2005-05-06 Thread bala chandar
On 5/6/05, Dan Rossi <[EMAIL PROTECTED]> wrote:
> I was going to ask, without the need of requesting our admins to
> recompile php all the time is there a way in the meantime to compile
> extensions and load them dynamically without the need for root access
> to some of the php libraries ? I have always compiled in personally so
> have never tried it. But there a few things i'd like which would take
> forever to get requested. Let me know.

yes you can do if u have compiled apache to support apache dynamic extensions.


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] php.ini uploads

2005-05-06 Thread bala chandar
On 5/6/05, Jon Aston <[EMAIL PROTECTED]> wrote:
> this has got to be something easy but I was uploading to a folder on a
> windows PC
> c:\upload
> but I updated php and forgot to backup my ini file.
> 
> I have tried with quotes without quotes as well as a relational address to
> the folder in my ini file and I cannot get any uploads into the folder.
> 
> this is what I have tried
> 
> c:\upload

check for the writing access for the web server user

> c:\upload\
> "c:\upload"
> "c:\upload\"
> c:/upload
> c:/upload/
> "c:/upload"
> "c:/upload/"
> ../upload
> ..\upload
> 
> what am I doing wrong?
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] payment gateways slightly OT

2005-05-06 Thread bala chandar
On 5/6/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> Hi guys,
> 
> I just want to find out from you which payment gateways you use and 
>what
use paypal
> experiences good and bad have you had with them. I'm looking for a
> reliable payment gateway to handle credit card processing
> 
> Apologies for the OT post
> 
> thanks in advance
> 
> --
> 
> Angelo Zanetti
> Z Logic
> www.zlogic.co.za
> [c] +27 72 441 3355
> [t] +27 21 469 1052
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] newsgroup

2005-05-06 Thread bala chandar
check out www.mysql.com

On 5/6/05, Anasta <[EMAIL PROTECTED]> wrote:
> Anyone know a good mysql newsgroup to compliment thid php newsgroup
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] PHP based project management

2005-05-05 Thread bala chandar
hi

On 5/6/05, Zareef Ahmed <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Look for phpcollab.

along with this also look for dotproject!

> 
> zareef ahmed
> 
> On 5/4/05, Neal Carmine <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > There are a lot of open source project management packages. .Project,
> > netoffice and others. Does anyone have a recommendation on the best overall
> > project management software for tracking billable software projects?
> >
> > Thanks,
> >
> > Neal
> >
> >
> 

-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] html hyperlink and PHP

2005-05-05 Thread bala chandar
Hi,

On 5/6/05, Oscar Andersson <[EMAIL PROTECTED]> wrote:
> If i do like this.
> 

if u do like above u might have to use  $_GET['action']

> How does the webbrowser send this? With post or get or ..?
> Shall i get the action with $_POST or $_GET?
> ex.
>   @$action = $_POST['action'];
>   if(!$action)
> @$action = $_GET['action'];
> processRequest($action);
> 
> If i do like this
> 
> 

if u use like above use $_POST['action']

> 
> How do i get the action in my php page. I think it is with $action =
> $_POST['action'];

if u r not sure what to use,

use  $_REQUEST['action'];

> but it doesent work.
> 
> Tnx for any help mates


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] if then else statement not working

2005-05-05 Thread bala chandar
On 5/5/05, Anasta <[EMAIL PROTECTED]> wrote:
> What am i doing wrong here, the output is always 'empty'
> 
>   $result = mysql_query("SELECT username FROM users
> WHERE seatnum='seat1'") or die(mysql_error());
> 
>   if (seatnum == seat1) {

you must use 

  if (seatnum == "seat1") {

> echo username;
> } else {
> echo 'empty';
> }
> ?>
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] PHP mail

2005-05-05 Thread bala chandar
Hi 

On 5/5/05, Aaron Gould <[EMAIL PROTECTED]> wrote:
> Eustace wrote:
> > I am relatively new to PHP and could use some help. I have a form, which is
> > basically in an email format, from, subject, and message. How do I then send
> > this to an email? I know a bit about the mail function, somebody show me the
> > ropes please!
> >
> > Eustace
> >
> 
> Everything you need to know should be gleamed from the following page:
> 
>  http://ca3.php.net/manual/en/function.mail.php

check this too
http://zend.com/codex.php?CID=11
> 
> Check the examples, and you'll be well on your way.
> 
> --
> Aaron Gould
> Programmer/Systems Administrator
> PARTS CANADA
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] form variables

2005-05-05 Thread bala chandar
hi

On 5/5/05, Anasta <[EMAIL PROTECTED]> wrote:
> Can anyone tell me how a submit button can be used to send set a variable so
> there is only a button --no textfield.
use value="" in the button html component 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] joining in php development

2005-05-05 Thread bala chandar
Hey

On 5/5/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> well your statement doesnt make any sense????
> 
> bala chandar wrote:
> 
> >hi,
> >
> >how to join in php development???

i want to develop some functions that is built in to the php. how to
contribute or join in its development/?

> >
> >
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] PHP 5, mySQL and Win XP. I NEED HELP

2005-05-05 Thread bala chandar
hey

On 5/5/05, Oscar Andersson <[EMAIL PROTECTED]> wrote:
> I have made a instal of the latest mySQL and PHP 5 on my computer.
> I have made the following changes to my php.ini file
> 
> extension=php_mysql.dll
> extension_dir = "c:\php\"
> 
> and i have put the php_mysql. and libmysql.dll in c:\php\ and in c:\windows
> to
> 
> Now i try this in my php-file
> $con = mysql_connect("localhost:3306", "buddy", "bestbuddy");

stop the mysql server and restart and again run your php script. there
might be some disk space constraint all be there

> 
> I cant connect to mySQL. I dont know what is wrong. mySQL listen to port
> 3306. I have tried with my IP to. I get this warning
> Warning: mysql_connect() [function.mysql-connect]: Too many open links (0)
> in myfilename.php.
> 
> I hope for help
> Oscar Andersson
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



[PHP] joining in php development

2005-05-05 Thread bala chandar
hi,

how to join in php development???
-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] insert not working

2005-05-05 Thread bala chandar
Hi,

On 5/5/05, Ross <[EMAIL PROTECTED]> wrote:
>  $query = "INSERT INTO sheet1 (title, fname, sname, job_title, organisation,
> street, postcode, city, telephone, mobile, fax, email, web, add_info) VALUES
> ('$title', '$fname', '$sname', '$job_title', '$organisation', '$street',
> '$postcode', '$city', '$telephone', '$mobile', '$fax', '$email', '$web',
> '$add_info')";
> 
>$result= mysql_query($query);
>   if($result){
>   echo "sucess";
>   }
> 
> why yould this not work? I can retrievethe data but not write any data to
> the database??

Please mention the error message clearly. what error are you getting. 

I think there might be some data type mismatch between ur php code and
mysql data type


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


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] multi dimensional array

2005-05-05 Thread bala chandar
hi,

On 5/5/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> Hi guys,
> 
> I have a problem where I use a multi dimensional array on one server and
> now have moved it to another server and it just doesnt work:
> 
> $result2 = $userdb->listUsers($clubID);
> $i=0;
> 
> while ( $row2 = mysql_fetch_array($result2) )
> {
> //echo $row2['firstname'];
> $user[$i]['firstname']=$row2['firstname'];
> $user[$i]['lastname']=$row2['lastname'];
> $user[$i]['userid']=$row2['userid'];
> $i++;
>}
> 
> the loop is definitely getting the values from the database as i can see
> them when I echo out the recordset variables ($row[)
> 

try explicityly declaring the array variables

$user[] = array();

> I'm thinking that there is some sort of configuration issue here with
> the other server. Its running Apache 1 and the server that works is
> running Apache 2.
> I've tried single and double quotes and neither work, does anybody else
> know what can be causing this not to assign the value to the
> multidimensional array?
> 
> AFAIK both servers have register_globals OFF
> 
> TIA
> 
> --
> 
> Angelo Zanetti
> Z Logic
> www.zlogic.co.za
> [c] +27 72 441 3355
> [t] +27 21 469 1052
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] select statement

2005-05-05 Thread bala chandar
On 5/5/05, Anasta <[EMAIL PROTECTED]> wrote:
> Why doesnt this work, it shows the username but not the balance of the users
> money.here is the mysql table:
> 
> CREATE TABLE `users` (
>   `user_id` int(11) NOT NULL auto_increment,
>   `username` varchar(15) NOT NULL default '',
>   `password` varchar(15) NOT NULL default '',
>   `status` varchar(10) NOT NULL default '',
>   `user_balance` bigint(5) NOT NULL default '0',
>   PRIMARY KEY  (`user_id`)
> ) TYPE=MyISAM AUTO_INCREMENT=3 ;
> 
> /
>  include("connect.php");
> $uname=$_SESSION['username'];
> $user_balance=mysql_query($sql);
> $sql = "Select  FROM users ,user_balance WHERE user_id =$uname";

you should write

$sql = "Select user_balance  FROM users  WHERE user_id =$uname";

> $result = mysql_query();
> 
> ?>
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] Re: [suspicious - maybe spam] Re: [suspicious - maybe spam] [PHP] Simple question: How to declareVars in PHP? (I know it's not necessary, but I still want to know)

2005-05-05 Thread bala chandar
hi,

On 5/5/05, Jon M. <[EMAIL PROTECTED]> wrote:
> Oops!! What I meant was:
> 
> JavaScript:
> 
> var varName;
> 
> PHP:
> 
> var $varName;
> 
> I can't believe I did that (I have been writing JavaScript for a few years,
> and know better -I gotta get more sleep).
> 
> So, are you saying that it is absolutely "PHP-illegal" to do:
> 
> var $varName;
> 
> in PHP??? Would it be ignored? Or would it screw up the interpreter?

Yes. I checked for var $i = 1; it throwed parse error. so i think you cannot do.

> 
> "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Jon M. wrote:
> >> I know in JavaScript, that you declare vars like so:
> >>
> >> var = variableName;
> >>
> >> So I'm assuming that in PHP you do it like this:
> >>
> >> var = $variableName;
> >>
> >> But there doesn't seem to be a single shred of documentation on PHP.net
> >> (or
> >> in ANY book) that covers this. All they say is that it's good practice,
> >> but
> >> not necessary. Then they always skip telling you how.
> >>
> >> I always like to declare vars since it helps me keep track of the vars I
> >> will be using, and I just like to do things right.
> >>
> >> So am I right about how you do it? "Yes", "No", example please??
> >
> > No
> >
> > You don't declare variables in PHP.  You just start using them.
> >
> > Perhaps you mean assign?  Since your example of
> >
> >  var = variableName;
> >
> > is actually an assignment in Javascript.
> >
> > In PHP you simply do:
> >
> > $one_var = $another_var;
> >
> > -Rasmus
> 

-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



Re: [PHP] Question about acessing databases and formatting output

2005-05-04 Thread bala chandar
hi,

On 5/5/05, The Doctor <[EMAIL PROTECTED]> wrote:
> This is probably easy, but how does
> one access a database, mysql or oracle or postgresql,
> and
> present the data in a tabular format?
> 
> --
> Member - Liberal International
> This is [EMAIL PROTECTED]   Ici [EMAIL PROTECTED]
> God Queen and country! Beware Anti-Christ rising!
> UK as 5 May 2005 approaches, vote LDem!!
> 

check out http://in2.php.net/mysql

-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



[PHP] [suspicious - maybe spam] Re: [suspicious - maybe spam] [PHP] Simple question: How to declare Vars in PHP? (I know it's not necessary, but I still want to know)

2005-05-04 Thread bala chandar
Hi

On 5/5/05, Jon M. <[EMAIL PROTECTED]> wrote:
> I know in JavaScript, that you declare vars like so:
> 
> var = variableName;
> 
> So I'm assuming that in PHP you do it like this:
> 
> var = $variableName;

I think you can do like this inside a class
var $variableName;

> But there doesn't seem to be a single shred of documentation on PHP.net (or
> in ANY book) that covers this. All they say is that it's good practice, but

check out http://www.php.net/manual/en/language.variables.php

> not necessary. Then they always skip telling you how.
> 
> I always like to declare vars since it helps me keep track of the vars I
> will be using, and I just like to do things right.
> 
> So am I right about how you do it? "Yes", "No", example please??

when u use OO concepts, then you can use var. other wise its not neccessary.

> 
> -Jon
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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



[PHP] [suspicious - maybe spam] Re: [PHP] Finding out their server type

2005-05-04 Thread bala chandar
i think u can use nmap -O [hostname]

On 5/5/05, Mark Cain <[EMAIL PROTECTED]> wrote:
> I agree that the best way would be to parse the http header response.
> However, If you want to check it out quickly and only do a couple of them,
> do this:
> 
> http://www.whois.sc/google.com
> 
> or
> 
> http://www.whois.sc/cnn.com
> 
> One of the surprising features of this whois site is that it will also tell
> you how many websites are on that server.  I ran across one the other day
> that had about 4.000 websites on it.
> 
> http://www.whois.sc/e-zekiel.com
> 
> Mark Cain
> 
> - Original Message -
> From: "Computer Programmer" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, May 04, 2005 7:44 AM
> Subject: [PHP] Finding out their server type
> 
> > I asked a question at Apache.org mailing list about how to hide my server
> > type; and now I'm asking here how can I know someone's server type using
> 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
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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