I often build simple reports using HTML tables and then add an Excel MIME
header to the page which launches Excel. Since newer verions of Excell
suport HTML natively, Excel can read the HTML tables and render them
appropriately with all your formatting. I find this works well for simple
repo
This is probably an easy answer, but I cannot seem to find it. Is it
possible to determine whether a variable is set with either $_POST or $GET
without having to do:
if(isset($_POST['foo']) || isset($_GET['foo']))
//do something
_
I have a bound variable to an oracle cursor. I then use the OCIFetchInto()
statment to move forward through the resultset. My question is how do i
move backwards through the resultset? Or reset it to its starting position?
thanks.
I have two classes. Organization and users.
In the organization class I am try to keep an array of user objects but it
does not seem to be taking. Can any help? See code below.
class Organization
{
var $users = array();
function AddUser($oUser)
{
array_push($this->users,
Is it possible to modify the password attribute in LDAP? I am the netscape
directory server for authentication, but would like to allow the user to
change their own password. When I search for a user and get the attibutes
for that user password is not available. Am I missing something here?
This may be slightly off topic so please forgive me, but... I am trying to
get my apache server up and running with PHP and basic authentication.
Everything appears to be okay except the authentication portion. When I try
to access the directory requiring authentication I reciever a 500 error
I am running apache and php. I want to create a custom 404 page for my
site. I have created a .htaccess file and "ErrorDocument 404 /error.php3"
line to it.
If someone tries to view www.myserver.com/thispagedoesnotexist.htm the 404
page is displayed without issue.
If someone tries to view w
If I execute a query and fill a resultset, how can i tell if I am on the
last result in the set? I want to something like:
while(OCIFetchInto ($curs, $data)) {
if($isLastRecord)
// do something
}
Thanks.
Anderson
_
Get your
What kind of error message do you get? Anything in the web server logs? My
guess would be that you do not have your all of your oracle environment
variables set up.
-Original Message-
From: Damien LEBLANC [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 6:54 AM
To: [EMAIL PR
I am trying to create PNG images on the fly
using the following code.
if(file_exists($key)) {
$diff = time() - filemtime($key);
if($diff >= 600) {
unlink($key);
}
}
$im = ImageCreateFromPNG($value);
$isCreated = imagePNG($im, $key, '80'); //error occurs here
I recieve the following error o
10 matches
Mail list logo