Re: [PHP] Unlink file older then 7 days

2007-07-16 Thread Suhas Pharkute
http://us.php.net/manual/en/function.fileatime.php $filename = 'somefile.txt'; if (file_exists($filename) && fileatime($filename) < (time()-(7*24*60*60)) ) { unlink($filename); } Read docs! Suhas On 7/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: How wou

Re: [PHP] Integer Overflow Error

2007-06-21 Thread Suhas Pharkute
Ok, I am sorry, but not sure what do you mean here? Is there any error? If so it will not even run the code Suhas On 6/21/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Suhas Pharkute wrote: > Hi, > > I tried to search on this mailing list and I saw the bug was reported and >

[PHP] Integer Overflow Error

2007-06-21 Thread Suhas Pharkute
*actions.php* on line *1328* Can one some give me other clues? Thanks in advance, Suhas

Re: [PHP] PHP4 and SQLite

2007-05-07 Thread Suhas Pharkute
Yep, PDO was one more question that I had and could not find dll for it. Upgrade is an option but there are some custom dlls that we developed for 4.1.1 and do not want to spend time in checking it for higher version. But if it is not possible then I guess we will do that Thx SUhas On 5/7/07

[PHP] PHP4 and SQLite

2007-05-07 Thread Suhas Pharkute
HI, Can someone please point me to a tutorial for PHP4.x.x and SQLite installation on Windows with Apache web server? I searched in Google and PHP mailing list but nothing useful. It seems like I am missing php_pdo.dll for 4.1.1 version. Can someone please help? Thanks in advance, Suhas

Re: [PHP] Run script every 30 seconds

2006-10-30 Thread Dr. Suhas Pharkute
and one running at 30 sec every minute Suhas On 10/30/06, Ahmad Al-Twaijiry <[EMAIL PROTECTED]> wrote: Thank you all but the problem is that I don't have root access to the server to create daemon :) so if I just run the script in background with 30 seconds sleep and someone reboot

[PHP] Question about set_time_out and shell_exec

2006-05-24 Thread Suhas
Hi, I am trying to write a script which will avoid browser timeout problem and in that process I have created 2 files FILE1.php: set_time_out(1); echo shell_exec("/usr/local/bin/php -f FILE2.php &"); FILE2.php: @mail($to,$sub,$msg); sleep(60); @mail($to,$sub,$msg); I run File1.php thr' browser

Re: [PHP] Dates before 1970

2006-04-13 Thread Suhas
<[EMAIL PROTECTED]> wrote: > Suhas wrote: > > Hello, > > > > I have a project that deals with the date time stamps since 1900 (and > > past), any suggestions about a good class that handles Date Time > > Format before 1970. I really like date() function a

[PHP] Dates before 1970

2006-04-13 Thread Suhas
Hello, I have a project that deals with the date time stamps since 1900 (and past), any suggestions about a good class that handles Date Time Format before 1970. I really like date() function and want something similar. Thanks in advance! SP -- PHP General Mailing List (http://www.php.net/) To u

[PHP] OT - PHP Webhost Dedicated Server

2006-04-11 Thread Suhas
Hello, Any suggestions for Dedicated PHP Webhost. The current service provider is ok but Customer service is unsatisfactory. Very bad experience. Thanks for your help in advance, SP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] unset a constant

2006-03-27 Thread Suhas
Hi, How do I unset a defined variable. e.g. define('AA',1); unset(AA) // gives error any suggestions! Thanks SP

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Suhas
thanks, never thought about that. Suhas On 11/20/05, Curt Zirzow <[EMAIL PROTECTED]> wrote: > On Sun, Nov 20, 2005 at 09:26:15AM -0700, Suhas wrote: > > This is not a disk usage as it works when script is run from terminal as su\ > > root can break the 100% barrier, it u

Re: [PHP] Problem with the fwrite function (not as simple as it sounds though)

2005-11-20 Thread Suhas
This is not a disk usage as it works when script is run from terminal as su\ Suhas On 11/20/05, Curt Zirzow <[EMAIL PROTECTED]> wrote: > On Sun, Nov 20, 2005 at 03:38:56PM +0100, ukasz Hejnak wrote: > > Brian V Bonini napisa�(a): > > >You are saying: > > >From th

Re: [PHP] Sessions again....

2005-08-04 Thread Suhas
t is your question...? > > - Original Message - > From: "Suhas" <[EMAIL PROTECTED]> > To: "php-general" > Sent: Thursday, August 04, 2005 4:13 PM > Subject: [PHP] Sessions again > > > Hello, > I am trying to understand how s

[PHP] Sessions again....

2005-08-04 Thread Suhas
Hello, I am trying to understand how sessions work. I have this code. My understanding is after 1 sec of script completion, (may be little after that), the session should destroy. I understand that it is huge overhead for server, not planning to do this but want to understand how it really wor

[PHP] Sessions again....

2005-08-04 Thread Suhas
Hello, I am trying to understand how sessions work. I have this code. My understanding is after 1 sec of script completion, (may be little after that), the session should destroy. I understand that it is huge overhead for server, not planning to do this but want to understand how it really wo

[PHP] HTTP Include Error

2005-02-28 Thread Suhas
Hi This issue has been discusses many times before, but no perticular solution found. include '/www/.../file.php' => works fine include 'http://google.com/' => works fine include 'http://myserver.com/file.php' => Warning: main(http://myserver.com/file.php): failed to open stream

[PHP] Session.gc_maxlifetime?

2004-10-04 Thread Suhas
ion data. Can any one please explain or send links or more docs on this? Thanks in adv, Suhas -- Suhas Pharkute. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cybercash Dynamic Module

2004-02-24 Thread Suhas
Hello, Does any one how to get cybercash dynamically? I have a host which allows dl(). Everywhere it is given that I have to recomplie PHP --with cybercah=DIR, but I dont have that permission. One more Question (you can consider as the dumbest question) If I get the permission to complie PHP

[PHP] FTP - Can't build data connection

2003-07-26 Thread Suhas Pharkute
Hi I am writing a FTP application. When I upload a file I am getting following error, Warning: ftp_put(): Can't build data connection: Connection refused. There is no error for connection/login to ftp site. can any one help? Thanks, Suhas _ Encrypt you

[PHP] Need Help: Please click on Test Link

2003-07-16 Thread Suhas Pharkute
feedback. I am trying to get hits from different parts of the world to make sure that it works. Planning to develop a webservice from this. Thanks in advance, Suhas _ Encrypt your PHP code for FREE at http://encphp.sspsoft.com

Re: [PHP] Grabbing info from other Sites

2003-07-13 Thread Suhas Pharkute
Why don't you use MSN services to get quotes. MSN does care for login. I am using this to get quotes after 15 minutes on my Cell Phone. I am using culr functions to get it. Suhas _ Encrypt your PHP code for FREE at http://encphp.sspsof

Re: [PHP] PDF on the fly ?

2003-07-03 Thread Suhas Pharkute
You have code to execute after filewriting,the output of that code will go as a pdf file continuation. try exit after writing filecontents. Suhas _ Encrypt your PHP code for FREE at http://encphp.sspsoft.com _ - Original

Re: [PHP] Sending a PDF page

2003-07-03 Thread Suhas Pharkute
try to send it as attachment Suhas _   Encrypt your PHP code for FREE at   http://encphp.sspsoft.com   _ - Original Message - From: Todd Cary To: [EMAIL PROTECTED] Sent: Thursday, July 03, 2003 1:18 PM

Re: [PHP] Free Service to Secure PHP Code

2003-07-02 Thread Suhas Pharkute
If your DNS is not resolveing http://encphp.sspsoft.com Please click here FIRST : http://ns1.webhostdns.us and then click here. http://encphp.sspsoft.com For some reason my webhost/DNS is not working properly. I hope they will solve this problem soon. Sorry for the inconvenience Suhas

[PHP] Free Service to Secure PHP Code

2003-07-02 Thread Suhas Pharkute
Hello PHP Developers, Now a free service is available to secure PHP code. This service is located at http://encphp.sspsoft.com Now you can encrypt your PHP files with online encryptor and get one of loader module to run these files. This program is still under development, your suggestions/comme

Re: [PHP] online file management

2003-07-01 Thread Suhas Pharkute
identical system for you on another server. Please let me know if you are interested in this. Let me know Suhas _ Suhas S Pharkute. P O Box 8551, Pocatello ID 83209. 1.208.221.3896 http://myweb.cableone.net/psuhas _ - Original Message

Re: [PHP] .inc.php

2003-07-01 Thread Suhas Pharkute
it not because of extension .php it is because of start and end tags you can have a file .abc with php tags and it will work I have it working on my server Suhas - Original Message - From: "Kyle Babich" <[EMAIL PROTECTED]> To: "PHP-General" <[EMAIL PROTE

[PHP] PHP Code inside Zend_API

2003-06-21 Thread Suhas Pharkute
I have a custom extension for windows (dll which can be used in PHP). I want to run some php code inside this dll module. I searched for Zend_API Docs, but I could not find any way to run php code inside this API. Any Ideas how to do this, Please help! Thanks Suhas -- PHP General Mailing

[PHP] Using DL to add DLL Files

2003-06-18 Thread Suhas Pharkute
=20010901 These options need to match in c:\apache\htdocs\dlltest.php on line 2 Can any one explain how to solve this? Thanks Suhas

[PHP] String containing PHP Code

2003-06-16 Thread Suhas Pharkute
Hello, I have a php script which generates a string which has php code in it. I need to run that code. For example: "; ?> Is there any way that we can do it? I know I can do it by writing it to file but then it is no more secured. Please let me know, Than

[PHP] Securing Source Code

2003-06-14 Thread Suhas Pharkute
Hello, I am developing a network application. But I need to distribute it to different divisions. I am looking for Ideas for "Securing Source Code" from User. Please Help! Suhas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] need a reliable PHP host

2003-03-27 Thread Suhas Pharkute
Also checkout http://bidforhost.com Suhas __ Suhas S Pharkute. P O Box 8551, Pocatello, ID 83209. 1.208.221.3896 http://myweb.cableone.net/psuhas/ __ -Original Message- From: Jason Sheets [mailto:[EMAIL PROTECTED] Sent

[PHP] Can anyone help me

2003-03-27 Thread Suhas Pharkute
Can anyone give me a basic tutorial for Secure Site Programming (OpenSSL) Also How to create certificate on server Suhas __ Suhas S Pharkute. P O Box 8551, Pocatello, ID 83209. 1.208.221.3896 http://myweb.cableone.net/psuhas