Re: [PHP] speed - PHP/MYSQL
Actually the data inserted in MYSQL is at every 2 seconds. i.e. 30 rows in an hour. but we are making report on hourly basis. So i used this method. With best wishes balwant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] speed - PHP/MYSQL
Hi, I have made a webpage in php which retrieves the data from a huge MYSQL tables as below:- $i=0; while ($i=23) { select a, b from table where hour(time)=$i and date='' order by desc time limit 1; $i++; } then i substract the current hour output from the last hour output for calcuating the output in that hour through PHP code and then display it. But my problem is that this page takes approx. 90 seconds or more for loading even when i refresh the page, it is taking the same time. I have done indexing on that table, tune the php and apache but it is still taking same time. I have other tables also when PHP is doing more calculatios but those pages are not taking so much time they load in 5 sec. or so. Is there anything needs to be done more, please advise. -- With Best Wishes Balwant Singh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] AJAX PHP
Have anybody tried PHP AJAX, may please share your experience. also pls. suggest good link of tutorial on this. With Best Wishes Balwant Singh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] server taking long time to make graph
Hi I am making graph in PHP using JPGRAPH. I am not taking big data, my data is only 48 points. Through TOP command in linux, I found that httpd is taking lot of time to make the simple x-y graph. I found that the graph size is 47.75kb only. May pls suggest if any setting needs to be done in PHP / APACHE etc. to make it fast -- With Best Wishes Balwant Singh INDO ASIAN FUSEGEAR LTD. A-39, HOSIERY COMPLEX PHASE - II EXTN., NOIDA PH: +91 - 120 - 2568 472 / 093 -098 FAX: +91 - 120 - 2568 473 WEB : www.indoasian.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] how to know whether web server of a remote machine is running or not
Hi, I want to make a page (on a webserver) which will be redirected to another page on another webserver and hence i want to know whether the another webserver is running or not so that if the webserver is not running it do something else. is there any method to know whether the other webserver is running or not. your help will be appreciated. with best wishes balwant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] to pass session from one websever to another webserver
hi to all i want to pass session variables from one websever to another webserver. may please help. with best wishes balwant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] to pass session from one websever to another webserver
thx, actually, i want to pass session of 1st server to 2nd server and vice versa i.e. to pass session of 2nd server to 1st server and want to use them in both the servers. with best wishes balwant On Wed, 2005-05-04 at 22:04, Rory Browne wrote: Elaborate. Do you want to pass the sesson from server_1 to server_2, and use the session on server_2 instead of server_1, or do you want to use the session on both servers at the same time, or switch frequently between both machines? On 04 May 2005 18:24:07 +0530, Balwant Singh [EMAIL PROTECTED] wrote: hi to all i want to pass session variables from one websever to another webserver. may please help. with best wishes balwant -- 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
[Fwd: Re: [PHP] email through PHP]
thanks to all for the kind support. i resolved the problem, i would like to share the same with you:- 1. made the changes in php.ini (gave sendmail path) 2. gave my smtp server ip address and name in /etc/hosts file 3. gave my smtp server name in /etc/mail/sendmail.mc file 4. then made sendmail.cf file from sendmail.mc file. now i am able to send the mail to outside through PHP. pls feel free to give your suggestion on the above. once again thanks to all with best wishes balwant -Forwarded Message- From: Balwant Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Ken [EMAIL PROTECTED], php-general@lists.php.net Subject: Re: [PHP] email through PHP Date: 19 Apr 2005 17:15:11 +0530 thanks for your email, i read the manual and already tried the setting as told by you but its not working. i would like to again inform that i want to send email through PHP which is on a linux machine and our Company SMTP sever is on Windows Machine. i am certain the somebody has already tested it and can give me solution. pls help. with best wishes balwant On Tue, 2005-04-19 at 17:20, Angelo Zanetti wrote: why dont you read the manual, thats what its for. I know you can specify your smtp server setttings in your php.ini file. so just set your smtp to the windows server address from PHP.ini [mail function] ; For Win32 only. SMTP = smtp.myserver.com ; for Win32 only ; For Win32 only. sendmail_from = [EMAIL PROTECTED]; for Win32 only ; For Unix only. You may supply arguments as well (default: sendmail -t -i). ;sendmail_path = hope this helps Angelo Zanetti Z Logic [c] +27 72 441 3355 [t] +27 21 464 1363 [f] +27 21 464 1371 www.zlogic.co.za Balwant Singh wrote: i want to use the SMTP server which is already exists. pls. give more details.. with best wishes balwant On Tue, 2005-04-19 at 15:59, Ken wrote: On 19 Apr 2005 15:04:08 +0530, Balwant Singh [EMAIL PROTECTED] wrote: hi, I am using FEDORA 3 and PHP. I want to send email to outside by my above mentioned linux machine through PHP. For this i want to use my SMTP sever, which is on a WINDOWS machine Please inform what setting to be done in php.ini or any other file to send the email. with best wishes balwant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php erm, isn't it easier to have the smtp on your fedora box instead...? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] email through PHP
hi, I am using FEDORA 3 and PHP. I want to send email to outside by my above mentioned linux machine through PHP. For this i want to use my SMTP sever, which is on a WINDOWS machine Please inform what setting to be done in php.ini or any other file to send the email. with best wishes balwant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] email through PHP
i want to use the SMTP server which is already exists. pls. give more details.. with best wishes balwant On Tue, 2005-04-19 at 15:59, Ken wrote: On 19 Apr 2005 15:04:08 +0530, Balwant Singh [EMAIL PROTECTED] wrote: hi, I am using FEDORA 3 and PHP. I want to send email to outside by my above mentioned linux machine through PHP. For this i want to use my SMTP sever, which is on a WINDOWS machine Please inform what setting to be done in php.ini or any other file to send the email. with best wishes balwant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php erm, isn't it easier to have the smtp on your fedora box instead...? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] email through PHP
thanks for your email, i read the manual and already tried the setting as told by you but its not working. i would like to again inform that i want to send email through PHP which is on a linux machine and our Company SMTP sever is on Windows Machine. i am certain the somebody has already tested it and can give me solution. pls help. with best wishes balwant On Tue, 2005-04-19 at 17:20, Angelo Zanetti wrote: why dont you read the manual, thats what its for. I know you can specify your smtp server setttings in your php.ini file. so just set your smtp to the windows server address from PHP.ini [mail function] ; For Win32 only. SMTP = smtp.myserver.com ; for Win32 only ; For Win32 only. sendmail_from = [EMAIL PROTECTED]; for Win32 only ; For Unix only. You may supply arguments as well (default: sendmail -t -i). ;sendmail_path = hope this helps Angelo Zanetti Z Logic [c] +27 72 441 3355 [t] +27 21 464 1363 [f] +27 21 464 1371 www.zlogic.co.za Balwant Singh wrote: i want to use the SMTP server which is already exists. pls. give more details.. with best wishes balwant On Tue, 2005-04-19 at 15:59, Ken wrote: On 19 Apr 2005 15:04:08 +0530, Balwant Singh [EMAIL PROTECTED] wrote: hi, I am using FEDORA 3 and PHP. I want to send email to outside by my above mentioned linux machine through PHP. For this i want to use my SMTP sever, which is on a WINDOWS machine Please inform what setting to be done in php.ini or any other file to send the email. with best wishes balwant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php erm, isn't it easier to have the smtp on your fedora box instead...? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] general
hi and greetings from India to all of you... my name is balwant, i m from Noida, India. hope there are many from India... through this email, i request all of you, who are from India to send me your contact details like email, address and phone numbers so that we can be in touch whenever needed and also to discuss the scope of PHP in India. with best wishes balwant singh [EMAIL PROTECTED] 0091-120-2568472 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php and linux shell script
hello, 1) first of all i would like to inform you that i have made a PHP script which also have some amount of linux shell script in it for converting emails from EVOLUTION to MOZILA THUNDERBIRD just by executing this script. if anybody need it, do let me know, i will send the same. 2) i am also exploring possibilities of using linux dialog boxes (used in shell scripting) with PHP. has anybody tried it, may please advise me how to call dialog boxes through PHP in CLI. also please share with me if u have information on how to use PHP with Shell Scripting. thx with best wishes balwant singh [EMAIL PROTECTED] 0091-120-2568472 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php