Any easy way to make the file pointer go up one line in a text file?
(I am thinking of using ftell(), then working out the length of the line,
and then fseek()?)
Thanks :-)
swadie
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd
Hi all - just wondering if anyone knows of a function like fputcsv - that
is, writes a line to a csv file - opposite of fgetcsv.
Any help would be appreciated :-)
swadie
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North
Hmm - seems clear to me that PHP *is* some form of drug - judging by the way
it seems to affect some people's lives... *grin*
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North)
ABN 26 001 273 105
+61 2 9477 1110
Thanks - the hassle is - my isp doesn't use mysql - so i have to use text
files I reckon :-)
swadie
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North)
ABN 26 001 273 105
+61 2 9477 1110
-Original Message-
From
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North)
ABN 26 001 273 105
+61 2 9477 1110
: Cannot add header information - headers already sent by (output
started at /home/swadie/public_html/redirect.php:2) in
/home/swadie/public_html/redirect.php on line 9
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North)
ABN
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North)
ABN 26 001 273 105
+61 2 9477 1110
-Original Message-
From: Adaran (Marc E. Brinkmann) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 10 May 2001 22:20
To: [EMAIL PROTECTED]
Subject: Re[2]: [PHP] Newbie
: $HTTP_REFERRER);
exit;
}
?
which gives an error msg:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
`T_NUM_STRING' in /home/swadie/public_html/redirect.php on line 6
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd
(Location: $fred);
exit;
} else {
header(Location: $HTTP_REFERRER);
exit;
}
?
and the updated referring code...
a href=redirect.php?fred=http://www.fusion.org.au;test link/a
Whew! Now to work on the hits counter bit...
swadie
~~~
Steve Wade
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North)
ABN 26 001 273 105
+61 2 9477 1110
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
10 matches
Mail list logo