Search the web
Sign In
New User? Sign Up
php-objects · Discussions about Object Oriented Programming in PHP
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 8175 - 8204 of 9232   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
8175
Hi All, I need small help regarding downloading the word document in php code.Can anybosy help me regarding this. with regards vijaya Add more friends to your...
vijaya lakshmi Vulli
vijayalakshm...
Offline Send Email
Feb 1, 2009
9:03 am
8176
download of a word document??? r u talking about * header("Content-type:application/msword");* Kranthi. On Sun, Feb 1, 2009 at 14:33, vijaya lakshmi Vulli < ...
kranthi
u_kranthi001
Offline Send Email
Feb 1, 2009
9:07 am
8177
Hi The below code is a wonder ful one I found , so you can download what ever the type it is . <?php function dl_file($file){     //First, see if the file...
Hari KT
kthari85
Offline Send Email
Feb 1, 2009
9:21 am
8178
hi guys we are the fallowing sting 01-31-2009 13:24:27 we need to split sec in the above stirng i.e we need out put in the fallowing formta 01-31-2009 13:24 ...
malayappa2000
Offline Send Email
Feb 2, 2009
12:01 pm
8179
hi, Try this: $today=date("m-d-y","H:i"); Regards, Swanand Reddy ... From: malayappa2000 <malayappa@...> Subject: [php-objects] how to split the...
reddy swand
redswa6222
Offline Send Email
Feb 2, 2009
12:12 pm
8180
<?php $input = "01-31-2009 13:24:27"; $output = substr($input,0,-3); echo $output; ?> That'll do the job :) Bill....
Bill Richards
chelt0
Offline Send Email
Feb 2, 2009
12:29 pm
8181
I want to write a program to automatically run a program within every half an hour, How to write this using PHP? Help me...
muthuranjmca
Offline Send Email
Feb 2, 2009
12:29 pm
8182
You need to use CRON on Linux/Unix or Scheduled Tasks under Windows. There are ways to do it purely with PHP, but these are unreliable and shouldn't be used. ...
Atkinson, Robert
ratkinsonuk
Offline Send Email
Feb 2, 2009
12:32 pm
8183
Prefer this :- $arrayDatetime = explode(" ",$input); $datePiece = $arrayDatetime[0]; $timePiece = $arrayDatetime[1]; $arrayDate = explode("-",$datePiece); ...
Atkinson, Robert
ratkinsonuk
Offline Send Email
Feb 2, 2009
12:40 pm
8184
Use sprintf and sscanf functions to parse and format. Thanks & Regards Udayakumar Sarangapani Sr. PHP Developer CompIndia Infotech Pvt. Ltd. Chennai. "Science...
Udaya kumar
udayakumaar
Offline Send Email
Feb 2, 2009
12:44 pm
8185
Hi Malayappa, Use the following way: list($m, $d, $y, $h, $i, $s) = sscanf('01-31-2009 13:24:27', "%2d-%2d-%4d %2d:%2d:%2d"); echo sprintf("%2d%-2d%-4d...
Udaya kumar
udayakumaar
Offline Send Email
Feb 2, 2009
12:57 pm
8186
Hi, Try this its a more direct way <?php $today = getdate(); print_r($today); echo $today['mday' ].'-'.$today['mon' ].'-'.$today['year' ].'...
reddy swand
redswa6222
Offline Send Email
Feb 2, 2009
1:07 pm
8187
Please use strtotime() function Hi, Try this its a more direct way <?php $today = getdate( ); print_r($today) ; echo $today['mday' ].'-'.$today[ 'mon' ...
Abid Shahzad
abidshahzad4u
Offline Send Email
Feb 2, 2009
1:09 pm
8188
try this echo date('m-d-Y H:i',strtotime( '01-31-2009 13:24:27' )); 2009/2/2 malayappa2000 <malayappa@...> ... -- ".. E no final das histórias...
Uilson Rosa
uilson.lopes@...
Send Email
Feb 2, 2009
5:28 pm
8189 muthuranjmca
Offline Send Email
Feb 3, 2009
3:26 am
8190
u can use scheduled tasks if u want to run a particular scripts once in a while. if u want to run any program from a php script u'll hav to use exec() or ...
kranthi
u_kranthi001
Offline Send Email
Feb 3, 2009
3:40 am
8191
You can use sleep(), but I have found it to be unreliable and can cause a heavy process load for most servers. -- Joe...
Joe Forsythe
jforsythe@...
Send Email
Feb 3, 2009
4:48 am
8192
Hi, You need to set a cron job. ... -- Thank you, - Mayank Sharma Rave Infosys, Inc. ... 505-506, President Tower, 6/2, South Tukoganj, Indore. Email:...
Mayank Sharma
mynk_sharma
Offline Send Email
Feb 3, 2009
4:51 am
8193
sleep() in php??? well apache server dosent allow a php script to run for more than 60 secs. even though the limitation can b changed, it is not advisable coz...
kranthi
u_kranthi001
Offline Send Email
Feb 3, 2009
5:07 am
8194
will the script run for more than 60 secs? ... -- Thank you, - Mayank Sharma Rave Infosys, Inc. ... 505-506, President Tower, 6/2, South Tukoganj, Indore. ...
Mayank Sharma
mynk_sharma
Offline Send Email
Feb 3, 2009
5:13 am
8195
yeh but u'll hav to change some configuration in httpd.conf or php.ini [Non-text portions of this message have been removed]...
kranthi
u_kranthi001
Offline Send Email
Feb 3, 2009
6:34 am
8196
... http://www.phpjobscheduler.co.uk/ explains how it's achieved, but basically each user hitting your site runs a check to see if anything needs to be run, so...
Atkinson, Robert
ratkinsonuk
Offline Send Email
Feb 3, 2009
10:19 am
8197
Does the phpjobscheduler work in Windows XP? I'm using XAMPP. ... From: Atkinson, Robert <ratkinson@...> Subject: RE: [php-objects] Re: autorun a...
Muthu Ranjani
muthuranjmca
Offline Send Email
Feb 3, 2009
1:06 pm
8198
Yes, as it's a PHP solution, not an O/S solution. If the server is running on your XP box, why don't you use Windows Task Scheduler to call a command line PHP...
Atkinson, Robert
ratkinsonuk
Offline Send Email
Feb 3, 2009
4:12 pm
8199
Hi,   I have one centralized server and 3 local servers connected. I am uploading  files from central server to local servers at a time by using ftp...
gangadhara prasad
ngprasad20
Offline Send Email
Feb 3, 2009
5:04 pm
8200
You can use something like fsockopen - http://uk2.php.net/manual/en/function.fsockopen.php - to check a port/service. Rob. ... From:...
Atkinson, Robert
ratkinsonuk
Offline Send Email
Feb 3, 2009
5:16 pm
8201
could u pls tell..Is autorun file is possible or not.If possible pls provide some code....I dont have idea on that..Pls help ________________________________ ...
bala ratnakar
bala_ratnakar
Offline Send Email
Feb 4, 2009
7:50 pm
8202
change the keep alive time is not recommended in apache, will cause a heavy load on the server and affect the security, is there a way to make a desktop small...
Mohammad Al-Naji
mnaji.qx@...
Send Email
Feb 4, 2009
8:23 pm
8203
Dont be afraid of CRONTAB, its the only way out. Most linux servers should have it. There is a sourceforge project called CRONw, CRON for windows. ... -- Yours...
Ezekiel Macharia
quazzmarsh
Offline Send Email
Feb 4, 2009
8:23 pm
8204
hi all I have script of file uploading it works in Linux/Unix server but this script is not working at windows server . There is any method or changes in...
amit choure
paragchaure
Offline Send Email
Feb 5, 2009
5:27 am
Messages 8175 - 8204 of 9232   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help