ok depper into it. (since i've been bitten by it
with my website being 'blank page' since it grew out of space...)
Thanks,
On 6/18/05, Bob Winter <[EMAIL PROTECTED]> wrote:
> Look at http://us2.php.net/manual/en/function.rename.php
>
> Mister Jack wrote:
> > Hi,
>
Hi,
I would like to know precisely what rename do in case of error. any
link for that ?
I do a : @rename($old, $new), what happens if I run out of space ? is
the rename just an alias for C function library ?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
gt; successfully...
>
> Your best bet would be to put the filename into a database table, then run
> a cron job that deletes all the files in that table, and only takes them
> out of the table if they are successfully deleted.
>
> Course, you then want to be sure you have UNIQUE fi
Hi,
I having a problem at the moment, I open a file, try to write in it,
and then remove the file if the write goes wrong (if write count != of
my initial buffer length). But I still get some empty file (and then a
blank page). Could possibly fopen (with a 'wb' flag, and under freebsd
4.11) failed
; good test, try this:
>
> [...trial code...]
>
> echo 'test run finished';
> exit;
>
> /*
> [...unknown code...]
> */
> ?>
>
> Hope this helps,
>
> Jeremy
>
>
> Mister Jack wrote:
> > Hi,
> >
> > I'm having a bit of a proble
Hi,
I'm having a bit of a problem.
I include a class in my script, the first time run fine, and then if I
change anything in my class, changes are not reflected on the browser,
it's like it's still the old class which is used. I've cleared the
browser cache, force a pragma no-cache, but no, nothin
axs();
function return_freedb_search($array)
{
global $freedb;
[snip]
$freedb->freedb_search($txt);
}
this is the one working.
On Sun, 20 Mar 2005 11:37:53 +, Mister Jack <[EMAIL PROTECTED]> wrote:
> Ok, I've tried with a dummy class :
>
> class dummy {
>
PHP 4.3.10-8
thanks for your help,
On Sat, 19 Mar 2005 20:45:55 +, Mister Jack <[EMAIL PROTECTED]> wrote:
> there is no database connection involved here. if I displace the
> $freedb =& new freedbaxs();
> inside the function it's works.
>
> I should give a try wit
there is no database connection involved here. if I displace the
$freedb =& new freedbaxs();
inside the function it's works.
I should give a try with a dummy object. (but the constructor, only
initialize empty array)
On Sat, 19 Mar 2005 21:17:02 +0200, BAO RuiXian <[EMAIL PROTECTED]> wrote:
>
The initialisation seems to be ok, since :
Function return_freedb_search($array)
{
global $freedb;
$freedb =& new freedbaxs();
[snip]
$freedb->freedb_search($txt); //line 16...
}
works
and also
$freedb =& new freedbaxs();
$freedb->freedb_search("ploplop");
Function return_freedb_search($array)
Oops, sorry for double posting. my mistake. accept my apologies :-p
On Fri, 18 Mar 2005 23:51:15 +, pooly <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to use a global object (declared at a upper level), but all I
> got is :
> Call to a member function on a non-object in
> /home/pooly/publ
11 matches
Mail list logo