php-windows Digest 2 Oct 2003 17:55:33 -0000 Issue 1937

Topics (messages 21643 through 21649):

PHP and XML
        21643 by: Harpreet

Re: Q on TZ on Win 2k
        21644 by: Shadow
        21649 by: jsWalter

Strange error
        21645 by: Charlie Brewer
        21646 by: Ignatius Reilly

Send Email with an attachment
        21647 by: Disko_kex

MySQL security hole - how to fix??
        21648 by: Roderick Martin

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Dear friends,

I have never done this before but i have to do the below sometime soon.
I have an xml file that needs to be edited using php via the web.We want to
edit its attributes and then save the updated xml file to a database field.

Is this possible please put me on the right track.

I am so new to this i am looking on the internet to find something useful.
Please help if you know whwere i can get soemthing or if ne of u have done
similar xml file editing using php.

Thanks,
Harpreet Kaur

--- End Message ---
--- Begin Message ---
Shouldn't that be  echo (date ( "T", mktime() )); ?
Shadow

--- End Message ---
--- Begin Message ---
"Shadow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

> > echo date ( "T", mktime() );

> Shouldn't that be  echo (date ( "T", mktime() )); ?

Either one will work.

Now back to the orginal question, pls.

???

walter

--- End Message ---
--- Begin Message ---
My forums used to work :) Now when I go to them from my main page, I get the following 
error:
=======
General Error
Could not query forums information

DEBUG MODE

SQL Error : 1030 Got error 127 from table handler

SELECT f.*, p.post_time, p.post_username, u.username, u.user_id FROM (( nuke_bbforums 
f LEFT JOIN nuke_bbposts p ON p.post_id = f.forum_last_post_id ) LEFT JOIN nuke_users 
u ON u.user_id = p.poster_id ) ORDER BY f.cat_id, f.forum_order

Line : 217
File : C:\apache2\htdocs\phpnuke\modules\Forums\index.php
======

Any help would be appreciated!

--- End Message ---
--- Begin Message ---
What version of MySQL are you using?

>From 4.0.13 there is a severe bug that corrupts table after a DELETE
operation. Solution: revert to 4.0.12

See http://bugs.mysql.com/bug.php?id=1321

HTH
Ignatius
_________________________
----- Original Message -----
From: "Charlie Brewer" <[EMAIL PROTECTED]>
To: "'[PHP-WIN]'" <[EMAIL PROTECTED]>
Sent: Thursday, October 02, 2003 8:03 AM
Subject: [PHP-WIN] Strange error


My forums used to work :) Now when I go to them from my main page, I get the
following error:
=======
General Error
Could not query forums information

DEBUG MODE

SQL Error : 1030 Got error 127 from table handler

SELECT f.*, p.post_time, p.post_username, u.username, u.user_id FROM ((
nuke_bbforums f LEFT JOIN nuke_bbposts p ON p.post_id =
f.forum_last_post_id ) LEFT JOIN nuke_users u ON u.user_id = p.poster_id )
ORDER BY f.cat_id, f.forum_order

Line : 217
File : C:\apache2\htdocs\phpnuke\modules\Forums\index.php
======

Any help would be appreciated!

--- End Message ---
--- Begin Message ---
Hi,

How can I send an email with an attachment? In this case a .pdf file.

I found this in the php-manual.

mail("[EMAIL PROTECTED]", "the subject", $message,
     "From: xxx\r\n"
    ."Reply-To: xxx\r\n"
    ."X-Mailer: PHP/" . phpversion());

--- End Message ---
--- Begin Message --- According to this article, there is a major security leak in all versions of MySQL...

http://www.eweek.com/article2/0,4149,1306270,00.asp

The article provides a link to a patch, but I find two things confusing...

1. All the patches on that page are ancient. Why wouldn't these patches have been incorporated into MySQL by now, or is the article incorrect.

2. I can't tell which of the patches I need to fix MySQL running on Windows 2000 under IIS.

Can someone more knowledgeable than I shed some light on these?

Thanks!
--- End Message ---

Reply via email to