[PHP] Re: Mysql export

2001-10-19 Thread Nikhil Goyal
I've found the best way is to set up a MyODBC link. You can download MyODBC from http://mysql.com/downloads/api-myodbc.html It's a bit complicated, but you get excellent results! - Nikhil Roman wrote: Please help me, how to export mysql table to the xls table ? Thanks for all

Re: [PHP] mailing list

2001-05-03 Thread Nikhil Goyal
nope, that's not it. sorry Nikhil Richard Lynch [EMAIL PROTECTED] wrote in message 051c01c0d2e1$2f9bfb40$7a24fea9@oemcomputer">news:051c01c0d2e1$2f9bfb40$7a24fea9@oemcomputer... start sending email (this process would take many minutes). However before this script finished, another copy of

[PHP] Session Variables

2001-05-03 Thread Nikhil Goyal
When does a session variable become available? Immediately after the session_register command or after the script ends? And if the commands are as follows: session_start(); session_register(hello); $hello=3; will the session variable $hello be set to 3 or do I have to add another

Re: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Nikhil Goyal
the session_start() should be placed at the top, before the HTML ?php session_start(); ? html head ... ?php session_register(test) ... Nikhil Bruno Freire [EMAIL PROTECTED] wrote in message

Re: [PHP] Session Variables

2001-05-03 Thread Nikhil Goyal
they can be retrieved by script 2. Kirk -Original Message- From: Nikhil Goyal [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 2:41 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Session Variables Funnily - doesn't work for me. Here's what I got: Script #1 #!/usr/l

Re: [PHP] Is PHP code software?

2001-05-01 Thread Nikhil Goyal
I read about a PHP compiler for windows some time back - that qualifies PHP as software, or actually code analogous to C/++ right? Kath [EMAIL PROTECTED] wrote in message 002201c0cf58$c26d7980$[EMAIL PROTECTED]">news:002201c0cf58$c26d7980$[EMAIL PROTECTED]... Food for thought: Is PHP code

Re: [PHP] include whole directories?

2001-05-01 Thread Nikhil Goyal
you could create a common include file for each directory, for e.g. functions/auth.inc.php would contain: include (auth/auth1.php); include (auth/auth2.php); ... later you could just include() the auth.inc.php file, and all the rest qould get included as well andrew [EMAIL

[PHP] mailing list

2001-05-01 Thread Nikhil Goyal
Hello people, I came with this problem to the group a while back, got some suggestions, and have been working on them since then. I know post the query again from a new perspective I have a mysql database, which contains a lot of email addresses and various other fields. My PHP code generates a

[PHP] exclusive execution

2001-04-27 Thread Nikhil Goyal
I need to set up a script such that only one instance of it is running at a time i.e. in case the script is already executing, it will not be started again. My problem is on a script taking a long time to execute (like it should) - I find that for some reason the script stops somewhere in the

Re: [PHP] exclusive execution

2001-04-27 Thread Nikhil Goyal
s should provide you with the functionality you're looking for. John On Fri, 27 Apr 2001, Nikhil Goyal wrote: I need to set up a script such that only one instance of it is running at a time i.e. in case the script is already executing, it will not be started again. My problem is on

Re: [PHP] exclusive execution

2001-04-27 Thread Nikhil Goyal
e script write it's process ID in some .pid file. Since a process ID is per instance of the script, this should provide you with the functionality you're looking for. John On Fri, 27 Apr 2001, Nikhil Goyal wrote: I need to set up a script such that only one instance of it is running at a

Re: [PHP] checking if e-mail address and syntax are valid

2001-04-25 Thread Nikhil Goyal
I wrote a similar script of my own... Works fine for me function email_valid($email) { $pattern=^[0-9a-zA-Z_-]+(\.[0-9a-zA-Z_-]+)*@[0-9a-zA-Z_-]+(\.[0-9a-zA-Z_-]+ )+$; return ereg($pattern, $email); } (returns false if email is not valid, true if it is) N Martin Skjöldebrand [EMAIL

Re: [PHP] what is better? mysql_connect() or mysql_pconnect()?

2001-04-24 Thread Nikhil Goyal
I believe a good article is at http://www.php.net/manual/en/features.persistent-connections.php elias [EMAIL PROTECTED] wrote in message 9c3fi6$edm$[EMAIL PROTECTED]">news:9c3fi6$edm$[EMAIL PROTECTED]... hello... just asking...what is better in this case: i got lots of scripts and almost all

Re: [PHP]PHP script and new window.

2001-04-24 Thread Nikhil Goyal
Plutarck [EMAIL PROTECTED] wrote in message 9c2gdi$170$[EMAIL PROTECTED]">news:9c2gdi$170$[EMAIL PROTECTED]... First of all, I believe since you are using javascript on your button you shouldn't use type=submit. Change it to type=button, which means it will have no effect for browsers that

Re: [PHP] Using input type = 'button rather than input type = 'submit'

2001-04-24 Thread Nikhil Goyal
also, using Method = POST will not show the vars in the URL, though it will be passed. Make it METHOD=GET to show it in the URL. N Rene Maldonado [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi I think it woulf be better this way: print form

[PHP] newbie question: duplicate emails

2001-04-23 Thread Nikhil Goyal
Hello people, I am having a peculiar problem with my mailing list and hope you can help me out. I have a mySQL database with a table of email addresses for the mailing lists. I have many lists, and my (PHP) code runs various queries on this table to generate lists of email addresses to which the

Re: [PHP] newbie question: duplicate emails

2001-04-23 Thread Nikhil Goyal
you can check? Have you monitored the exact data being sent to the SMTP server(maybe set up a dummy socket that repeats back the data sent to it then have your program try to connect to that)? -- phill Nikhil Goyal [EMAIL PROTECTED] wrote in message 9c1ujm$868$[EMAIL PROTECTED]">news:9