Re: [PHP] Prepared statements

2006-03-05 Thread chris smith
> MySQL returns "Column 'auction_house' cannot be null". > Here're some parts of my code: > > --- code --- > > $update = $this->sql->stmt_init(); > $update->prepare("UPDATE auctions SET name=?, auction_house=?, link=?, > prize=?, runtime=?, bids=?, picture=? WHERE link=?"); > $update->bind_param("s

[PHP] help with this error message please

2006-03-05 Thread Mark
Can anyone tell me why i am getting this message when trying to login to the admin section, i am running the script off my local machine. Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at C:\VertrigoServ\_htdocs\myti

[PHP] help with this error message please

2006-03-05 Thread Mark
Can anyone tell me why i am getting this message when trying to login to the admin section, i am running the script off my local machine. Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at C:\VertrigoServ\_htdocs\mytippe

Re: [PHP] help with this error message please

2006-03-05 Thread chris smith
On 3/5/06, Mark <[EMAIL PROTECTED]> wrote: > Can anyone tell me why i am getting this message when trying to login to the > admin section, i am running the script off my local machine. > > Warning: session_register() [function.session-register]: Cannot send session > cookie - headers already sent b

Re: [PHP] Mysql Rows

2006-03-05 Thread tedd
R O B said: That Rod guy, he's such a card! I'd add something, but Jay has already covered my list in a more recent email than this one to which I'm responding :) jblanchard (who I think is Rod) said: A SQL question on a PHP mailing list usually gets more than ribbing. ;) No harm done -- I

Re: [PHP] Mysql Rows

2006-03-05 Thread chris smith
On 3/6/06, tedd <[EMAIL PROTECTED]> wrote: > R O B said: > > >That Rod guy, he's such a card! I'd add something, but Jay has already > >covered my list in a more recent email than this one to which I'm > >responding :) > > jblanchard (who I think is Rod) said: > > >A SQL question on a PHP mailing l

Re: [PHP] output Today's date

2006-03-05 Thread tedd
Hi all, ls there anyway I can set the date to the timezone of the clients timezone? For example, if a person opens the web page at 3/6 12:01 EST and another person opens the same page at 3/5 10:01 MST I would like the date to be the above days on the client computers. I know everyone knows this

[PHP] Contact List Grabber

2006-03-05 Thread Ahmed Abdel-Aliem
Hi i would like to make a script to import contact list from msn, yahoo and gmail instant messenger. any ideas or tutorial on how to do that. any help will be appreciated thanks in advance -- Ahmed Abdel-Aliem Web Developer www.SafariStudio.net +20101108551 registered Linux user number 382789 --

RE: [PHP] output Today's date

2006-03-05 Thread jblanchard
[snip] ls there anyway I can set the date to the timezone of the clients timezone? For example, if a person opens the web page at 3/6 12:01 EST and another person opens the same page at 3/5 10:01 MST I would like the date to be the above days on the client computers. I know everyone knows this bu

RE: [PHP] Mysql Rows

2006-03-05 Thread jblanchard
[snip] R O B said: >That Rod guy, he's such a card! I'd add something, but Jay has already >covered my list in a more recent email than this one to which I'm >responding :) jblanchard (who I think is Rod) said: [/snip] I am definitely not Rod. [snip] For sake of argument, let's agree that renum

[PHP] Re: DOMElement::setAttribute() manual example question

2006-03-05 Thread Andreas Korthaus
Hi Rob! Rob wrote: createElement("root"); $node->setAttribute("align", "left"); $doc->appendChild($node); echo $doc->saveXML(); ?> Both ways are perfectly valid. $node and $newnode refer to the same object. It was written the 1st way to demonstrate the return value of appendChild(), because

[PHP] Re: DOMElement::setAttribute() manual example question

2006-03-05 Thread Rob
Andreas Korthaus wrote: $node = new DOMElement("root"); is read only, while $node = $doc->createElement("root"); is not? Why? $node = new DOMElement("root"); In this case the element is not associated with a document. In DOM, you really aren't supposed to have a node not associated with an

Re: [PHP] Prepared statements

2006-03-05 Thread Julius Hacker
chris smith wrote: > > > > So at some point the $auction_parts['id'] is empty. > > > > As you go into the loop, print out the $auction_house["id"], then work > > backwards... > > > I output already some variables in the loop and all are set with correct values. As I said, if I do the bind_pa

Re: [PHP] Mysql Rows

2006-03-05 Thread Curt Zirzow
On Sun, Mar 05, 2006 at 08:01:07AM -0500, tedd wrote: > R O B said: > > >That Rod guy, he's such a card! I'd add something, but Jay has already > >covered my list in a more recent email than this one to which I'm > >responding :) > > jblanchard (who I think is Rod) said: > > >A SQL question on a

Re: [PHP] [JOB] LAMP Developers, Los Angeles | 70-120k

2006-03-05 Thread Rory Browne
Maybe I'm being hypocritic, and possibly wouldn't have this problem, if it was a job that only EU Citizens(as opposed to only US Citizens) could apply for, but I think it's a bit disrespectful, sending mails like this to an international audience - especially when you send so many of them. On 3/5/

Re: [PHP] php/mysql/phpMyAdmin on an iBook?

2006-03-05 Thread Larry E. Ullman
I'm thinking of getting an iBook for reasons not really to do with webbing but really need to do occasional php/mysql stuff to justify the expense. I believe that they all come with an Apache testing server installed and wondered if anyone had any success with getting php/mysql/phpMyAdmin

Re: [PHP] [JOB] LAMP Developers, Los Angeles | 70-120k

2006-03-05 Thread Curt Zirzow
Job postings dont really belong on this list, expecially ones that appear on a regular basis for a paticular company. Consider what would happen if sites like dice.org, monster.com, etc... started posting positions that matched the keyword 'php' on a regular basis. Curt. On Sun, Mar 05, 2006

Re: [PHP] output Today's date

2006-03-05 Thread Curt Zirzow
On Sat, Mar 04, 2006 at 07:01:55PM -0700, Paul Goepfert wrote: > Hi all, > > ls there anyway I can set the date to the timezone of the clients > timezone? For example, if a person opens the web page at 3/6 12:01 > EST and another person opens the same page at 3/5 10:01 MST I would > like the date

Re: [PHP] Prepared statements

2006-03-05 Thread Curt Zirzow
On Sun, Mar 05, 2006 at 04:03:17AM +0100, Julius Hacker wrote: > > On 3/4/06, Julius Hacker <[EMAIL PROTECTED]> wrote: > > > >>> > >>> Before that foreach, I use mysqli_stmt_init, mysql_stmt_prepare and > >>> mysql_stmt_bind_param. > >>> In the foreach-loop I give the variables, which I bound wi

[PHP] simplify DOM api

2006-03-05 Thread Andreas Korthaus
Hi Rob! Rob wrote: $node = new DOMElement("root"); In this case the element is not associated with a document. In DOM, you really aren't supposed to have a node not associated with any document, but this syntax allows the DOM classes to be extended in PHP. Once the node is associated with a d

Re: [PHP] Prepared statements

2006-03-05 Thread Anthony Ettinger
On 3/5/06, Curt Zirzow <[EMAIL PROTECTED]> wrote: > On Sun, Mar 05, 2006 at 04:03:17AM +0100, Julius Hacker wrote: > > > On 3/4/06, Julius Hacker <[EMAIL PROTECTED]> wrote: > > > > > >>> > > >>> Before that foreach, I use mysqli_stmt_init, mysql_stmt_prepare and > > >>> mysql_stmt_bind_param. > > >

[PHP] How can I tell if an output stream is finished?

2006-03-05 Thread Al
I have a page that resizes an image to be included in a html page, using: echo "\n"; unlink($rel_mapfile); I need the other html stuff on the page so I need to fetch a file from the server to include in the page. So, I resized the image and saved it as a file. That works fine. After sending

[PHP] create xml root-element with xmlns and xsd link (using DOM)

2006-03-05 Thread Andreas Korthaus
Hi! The XML-Code I have to create (http://news.php.net/php.general/231486), needs a root-element, with xmlns and XML schema link, something like that: http://example.com/test"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://example.com/test test.xsd">

Re: [PHP] How can I tell if an output stream is finished?

2006-03-05 Thread Satyam
I don't think you can. Each element in a web page is transmited over a separate connection, when the browser parses an included element, such as an image, an iframe, a stylesheet, an included script file or whatever, it opens a new connection to the server (or another server in the same domain

Re: [PHP] How can I tell if an output stream is finished?

2006-03-05 Thread Al
Many thinks for your input... The sessions approach seems like a good one. Since posting my question, I thought of writing the file in a tmp dir and using it. Then scan the tmp dir for all files older than an hour or so and unlinking them. Sorta like a cron job without the extra effort. Ou

Re: [PHP] Mysql Rows

2006-03-05 Thread Gustav Wiberg
- Original Message - From: "tedd" <[EMAIL PROTECTED]> To: Cc: "Gustav Wiberg" <[EMAIL PROTECTED]>; "Robert Cummings" <[EMAIL PROTECTED]> Sent: Sunday, March 05, 2006 12:58 AM Subject: Re: [PHP] Mysql Rows Hi: Gustav said: No, maybe not when it's a small db, but when you try to del

Re: [PHP] Mysql Rows

2006-03-05 Thread tedd
Gustav: In any event, I just tested your claim on my host and I was able to renumber 50,000 records in less than 1/2 second. Even though I tried it several times, the results were never above 0.47 seconds. If I was dealing with a database that was accessible to others, then I would either loc