Yes but you can call the Header() function in the middle of the page if you
need to.
You just need to put this line as the VERY FIRST line of the script:
This uses the PHP Output Buffering functions.
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332
ld be usefull to.
also, the script your trying to execute, and does the script actually run? or
does it just time out.
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the I
$YOUR-STRING=
eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])","\\1://\\2\\3", $YOUR-STRING);
hth
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.c
er that is larger that I think 2.5Kb, this way, IE knows that its a
custom error doc, and displays this instead.
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
I know this is a windows list, but
I need to know how to configure Sendmail on a Redhat Linux machine to relay
messages through another host.
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http
I need to open an image and convert its binary type to hex,
what I need to do is a bin2hex on the binary info of the image, sounds simple
enough. Although, I can get php to open the image and read the (binary)
contents into a string, can someone help me.
Thanks.
-- Ben Cairns - Head Of
)."\n";
print("Unseen: ". $status->unseen )."\n";
print("UIDnext:". $status->uidnext)."\n";
print("UIDvalidity:". $status->uidvalidity)."\n";
} else
print "imap_status faile
conn);
$howmanyrows = mysql_num_rows($howmanyrows);
if ($howmanyrows == '0') { $auto_inc_id = '0'; } else {
$auto_inc_id = (($howmanyrows+1));
};
I'm not sure if that will work, but its a start.
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 013
HTH...
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK.."
--
PHP Windows Mailing List (http://www.php.net/)
To unsu
How do I set a cookie in IE5,
I cant do it, it just wont let me...I have looked at php.net and have tried
the examples there, but they don't seem to work!
HELP, Please
-- Ben Cairns
E-Mail: [EMAIL PROTECTED]
Just Because It Works, Doesn't Mean It Isn't Broken
--
PHP
I have a string that I want to MD5 (No prizes for guessing its a password),
what I want to do is MD5 two strings (one supplied by the user, and one by my
server) and compare them. How can I do this?
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
.
Thanks.
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK.."
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-ma
if (screen.width==640) { Your Redirect Here}
if (screen.width==800) { Your Redirect Here }
if (screen.width==1024) { Your Redirect Here }
Hope this is what you need
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web
The wildcard in PHP is a %
E.G.
select * from YOUR_TABLE where SOME_FIELD like '%$dan%'";
Hope this helps
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sens
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK.."
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-ma
Please ensure that you do actually have the ldap dll, as these do NOT ship
with the windows installer.
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORM
the path of the include file withing an included file need to be relative.
I cant remember if they need to relative to the Main script, or the first
include file
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http
dreds of rows. How can I add
all of the values together?
Any help appreciated, cos. I'm stuck!..
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNO
in your lib.inc.php
put localhost as the host value
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK.."
--
PHP Windows Ma
You could try putting this at the top of your script:
ignore_user_abort(true);
Although, if it taking 20-30 mins, then I think you may need to optimize
your code, or get a WinNT box with a bit more boot.
If you want, I can quote
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel
Have you thought of using a cookie?
As PHP is server side, it cannot write to the users machine, only the
server.
JavaScript may be able to help you here though, but I cant think of any
sotrce code that imediatley springs to mind
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel
I have this script:
";
}
}
fclose ($fp);
?>
It reads a csv file (actually its tab seperated) into an array called $data.
When I call this in my browser, this is fine. But what I need to do is to
put this information into a MySQL database...
The file contains these fields:
region
event
make sense?
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK.."
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscri
I have this line of code in a script:
$todays_date=date("dmY");
It generates something like this:
01022001
What I need to do is get something like this from it:
Thursday, February 01, 2001
Um, How?
Thanks in adavance...
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Thanks You guys, that was what i was looking 4
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK.."
--
PHP Windows Mailing
ith the syntax?
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK.."
--
PHP Windows Mailing List (http://www.php.net/)
To uns
)
Year (Numerical - 4 digits)
but this information has to come from the SERVER as the site visitors will
be all over the world, and the date's will be wrong
Thanks in advance
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED
It may be that you need to uncoemment the ldap line in you r php.ini file.
This is under the loadable extensions bit.
I forge the exact syntax, but I know its in there
-- Ben Cairns, Head Of Technical Operations, Intasept.com
E-Mail: [EMAIL PROTECTED] | Web: http://www.intasept.com
try replacing host with localhost
and ensure that MySQL is actually running
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@
ORDER BY POST_ID desc LIMIT
'$lower','$upper'
$lower and $upper are defined from the url.
But that doesn't seem to work. Any ideas?
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://w
I have a script that looks at a web page, parses it and grab the HTML content
between two Tags, then outputs the result to a file.
What I need to do is another script to read this file, remove more text
between two tags, and then display this.
How can I do this?
-- Ben Cairns - Head Of
31 matches
Mail list logo