when i submit a form and try to have it post a cookie in the php thing i get
this error message:
Warning: Cannot add header information - headers already sent by (output
started at /usr/local/www/data/vi2dev/root/layout/functions.php:167) in
/usr/local/www/data/vi2dev/root/admin/manager.php on li
Wow... ok now i get it.. thanks guys
Aaron Moore
"Michael Kimsal" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Aaron, CC Zona wrote before that:
>
>
> If track_vars is on (always true if version >= 4.0.3), then the
Well hers teh perl version of the the parser... how do i convert this to php
$tmp = $ENV{'QUERY_STRING'};
@pairs = split(/&/, $tmp);
foreach $item (@pairs) {
($key, $content) = split(/=/,$item,2);
$content =~ tr/+/ /;
$content =~ s/%(..)/pack("c",hex($1))/ge;
$fields{$key} = $content;
}
-
Ok if you have a query string from like file.php?bob=manager&phil=employ
how do i split the bob=manager and phil=employ dynamically?
because i may have 2 or 3 elements and i just want to sepearte them all and
access them via an array such as if ($var["bob"] = "manager")
etc so a loop that w
Sorry about the newbie question. I have a config.php file which contains a
string which I would like a function to access. How do i make it global so
that it can do so.
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
its functions.php
as i've said my include works... because i'm able to echo from it... i just
can't access the functions.
"Cc Zona" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTE
Heres what I have so far. I've put all the fiels into one folder, and i know
the paths are correct since they don't give an include error. The error
resides in line 6 of test.php where i try to call a function which is in
function.php
the test.php file :
___
_
Its obviously not finding it... my question is why the includes don't
work???
Thanks
Aaron Moore
"Don Read" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On 03-Sep-2001 Aaron Moore wrote:
> > ok i have this at the
ok i have this at the top of my page:
include("/www/data/vi2/root/layout/functions.php");
include("/www/data/vi2/root/layout/config.php");
require("/www/data/vi2/root/layout/init.php");
but when I call one of the functions included in functions.php i get a
message saying :
Fatal error: Call to
9 matches
Mail list logo