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 would I use fileatime to check if

[PHP] Integer Overflow Error

2007-06-21 Thread Suhas Pharkute
Hi, I tried to search on this mailing list and I saw the bug was reported and fixed. I am using PHP 4.4.7 and GD 2 The error that I am getting is at statement $img_t = imagecreatetruecolor(100,100);* Fatal error*: Possible integer overflow in memory allocation (4 * -91750400 + 0) in

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 fixed. I am using PHP

[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] PHP4 and SQLite

2007-05-07 Thread Suhas Pharkute
, Richard Lynch [EMAIL PROTECTED] wrote: On Mon, May 7, 2007 5:29 pm, Suhas Pharkute wrote: 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

Re: [PHP] Run script every 30 seconds

2006-10-30 Thread Dr. Suhas Pharkute
You can still use Cronjob with 1 min setting and in use 2 processes 1. Run script immediately 2. Sleep for 30 sec and then run the script you can use exec/shell_exec functions with output redirected to soem file so that It will run in background. That way you have one process running at 0 sec

[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 your PHP

[PHP] Need Help: Please click on Test Link

2003-07-16 Thread Suhas Pharkute
Hi I need your help. Can you please visit a site http://sspsoft.com/test/ip2ll.php (in case if you cannot get it, please click on http://ns1.webhostdns.us and then click on the website link.) which should identify your Country, State, City. Please click on one of the buttons to provide

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.sspsoft.com

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] 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

[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

Re: [PHP] Free Service to Secure PHP Code

2003-07-02 Thread Suhas Pharkute
_ Encrypt your PHP code for FREE at http://encphp.sspsoft.com _ - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: Suhas Pharkute [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 10:30 AM Subject: Re

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 PROTECTED] Sent: Tuesday, July 01, 2003 3:38

Re: [PHP] online file management

2003-07-01 Thread Suhas Pharkute
Hello, I have developed a package which is exactly same what you explained here. It is PHP-MySQL (Windows/Linux)combination. I have another older version which was PHP-MSAccess (Windows). If you want I can give you logins for test purposes. This system is currently in use. I have to creat

[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
Hello, I am trying to include a dll module in the file. In php.ini safe_mode is off I am getting following warning/error Warning: MyMod: Unable to initialize module Module compiled with debug=0, thread-safety=1 module API=20020429 PHP compiled with debug=0, thread-safety=1 module

[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: ?php $str = ?php echo 'Hello World!'; ?; ? 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

[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

[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/ __

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: