Re: [PHP] cron not allowed

2001-11-13 Thread Andrzej Roszkowski

On Tue, 13 Nov 2001, Caspar Kennerdale wrote:

 I have a php script I'd like to run at regular intervals, but my isp will
 not set a cron job for it but will for a perl script

 Is there anyway round tis, or does anyone one know of a perl script that
 might then execute the php script if I can get that to be automated?

 thanks

at spooler with shell script that sets up new job at exit ;)


Code reviews are like sex, just anyone can do it, but skill and training
can make you a lot better at it. - LJ
Thomas


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] File upload

2001-10-31 Thread Andrzej Roszkowski


Hi!

Where is file upload function? ;) From begining: some time I've found somewhere
this handler:
clearing_report_file is the input that is user sends to me.

if(!isset($clearing_report_file))
{
pp_xfer_trans();
}
else
{
if (!@copy($clearing_report_file, $CFG[local_uri]./cfd- . $batch
..txt)) {
echo(\nbSomething barfed, check the path to and the permissions
for the upload directory/b);
}else
{
// do domething
exit();
}

}


but now, in php 4.0.5 this function don't want to work ;( i have allways
something barfed message, even if i try to wrote to /tmp directory

now i have this in phpinfo:

HTTP_POST_FILES[userfile]

Array
(
[name] = helyjon
[type] =
[tmp_name] = none
[size] = 0
)

where is my file? $variables shows the same values, where are my contents?


Code reviews are like sex, just anyone can do it, but skill and training
can make you a lot better at it. - LJ
Thomas


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Array of classes

2001-10-30 Thread Andrzej Roszkowski


Hi!

I have to create array of classes.

When I do it this way:

f add($sth)
$this-array[] = $sth;

it doesn't work :( when i'm trying to get class from there it says that this is not an 
object.

How to do it rigth way?



Code reviews are like sex, just anyone can do it, but skill and training
can make you a lot better at it. - LJ
Thomas


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] php mod_perl

2001-02-07 Thread Andrzej Roszkowski

Hi!

After compiling mod_perl into Apache, httpd crashes.  Any ideas
php 4.0.4pl1 Apache 1.3.12 mod_perl latest ;) (1.25 if i good remember ;)

-- 
Thomas

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]