php-general Digest 18 May 2005 09:01:52 -0000 Issue 3461

2005-05-18 Thread php-general-digest-help
php-general Digest 18 May 2005 09:01:52 - Issue 3461 Topics (messages 215411 through 215447): Re: PHP Applications? 215411 by: Greg Donald 215426 by: Manuel Lemos 215428 by: Danny Brow 215436 by: Chris Shiflett 215441 by: Richard Lynch hey dip shit

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Richard Lynch
On Tue, May 17, 2005 9:03 pm, Bill Hoffman said: I'm trying to use libxml_set_streams_context() to load a remote xml file via HTTP conditional GET with DOMDocument::load() by stuffing an 'If-Modified-Since: --- HTTP header into the stream, but no matter how I try it I always get an HTTP 200

Re: [PHP] Mail function

2005-05-18 Thread Richard Lynch
On Tue, May 17, 2005 3:53 pm, [EMAIL PROTECTED] said: I have a script which send emails using mail() function. I have 100 email addresses and i set up the script to send 1 email every 10 seconds. So, it will take 1000 seconds to send all 100 emails. My question is: If I stop the script

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread Richard Lynch
On Tue, May 17, 2005 2:24 pm, Robert Meyer said: Hello, Scenario: 1) User is presented a blank form. with an MD5 hash which is stored in the database as fresh 2) User fills in form. 3) User submits form. 4) Record is added to database. That particular MD5 has is marked as used 5) Back

[PHP] Re: Secure delivery

2005-05-18 Thread lopopizarro
Please authenticate the secure message. +++ Attachment: No Virus found +++ Bitdefender AntiVirus - www.bitdefender.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Applications?

2005-05-18 Thread Richard Lynch
On Tue, May 17, 2005 1:50 pm, Greg Donald said: On 5/17/05, Brent Baisley [EMAIL PROTECTED] wrote: Zend sells a compiler to speed up your PHP code. Since it's compiled, it also does not contain the source code in readable form. You should visit the Zend website. Did you have a link for this

RE: [PHP] Blank page in browser

2005-05-18 Thread Nayeem
Thanks Richard Lynch, I found same error in error_log file which I face on command prompt before then I install PHP 5.0 with --with-oci8=$ORACLE_HOME compilation so that problem solved. Now I'm facing same problem on Apache. So can you tell me where should I define the environment variables on

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Bill Hoffman
On May 17, 2005, at 10:24 PM, Richard Lynch wrote: I don't know much about that fancy new stream stuff, or the XML crap, but you've got zero (0) lines of code in there to do anything useful when the functions fail. no functions fail. what I'm expecting is that with

[PHP] Unknown column 'peterspeters' in 'where clause'

2005-05-18 Thread Mark Sargent
Hi All, the below code generates this error, Unknown column 'peterspeters' in 'where clause' mysql_select_db(status, $db); $username = $_POST[username]; $password = $_POST[password]; $result = mysql_query(SELECT customer_id FROM Customers WHERE customer_username = $username AND customer_password

[PHP] Re: PHP Complex Data Structures

2005-05-18 Thread zzapper
On 18 May 2005 01:28:07 -, wrote: * Zzapper [EMAIL PROTECTED]: I seem to remember that you access/use PHP data in the same/similar way to Perl data and that you can create complex data structures ie arrays of arrays, arrays of records etc. For once Google let me down so can any one

Re: [PHP] Unknown column 'peterspeters' in 'where clause'

2005-05-18 Thread Tom Rogers
Hi, Wednesday, May 18, 2005, 4:27:34 PM, you wrote: MS Hi All, MS the below code generates this error, MS Unknown column 'peterspeters' in 'where clause' MS mysql_select_db(status, $db); MS $username = $_POST[username]; MS $password = $_POST[password]; MS $result = mysql_query(SELECT

Re: [PHP] Unknown column 'peterspeters' in 'where clause'

2005-05-18 Thread Prathaban Mookiah
If customer_username is a string (char, varchar, text etc.) then I guess it should be mysql_query(SELECT customer_id FROM Customers WHERE customer_username = \$username\ AND customer_password = \$password\) Prathap -- Original Message --- From: Mark Sargent [EMAIL

RE: [PHP] Unknown column 'peterspeters' in 'where clause'

2005-05-18 Thread Rob Agar
hi Mark Unknown column 'peterspeters' in 'where clause' you're missing the quotes around (I guess) the password. you can kick yourself now :-p -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Unknown column 'peterspeters' in 'where clause'

2005-05-18 Thread Mark Rees
I expect (indeed I sincerely hope) that customer_username AND customer_password columns are character datatypes. So it would be a good idea to put single quotes around the values you are trying to select from them. -Original Message- From: Mark Sargent [mailto:[EMAIL PROTECTED] Sent: 18

[PHP] server taking long time to make graph

2005-05-18 Thread balwant singh
Hi I am making graph in PHP using JPGRAPH. I am not taking big data, my data is only 48 points. Through TOP command in linux, I found that httpd is taking lot of time to make the simple x-y graph. I found that the graph size is 47.75kb only. May pls suggest if any setting needs to be

[PHP] Dwonloading a file

2005-05-18 Thread Brian Dunning
I need to write a cron job that retrieves a zipped XML file via FTP, unzips it, and then imports the XML into MySQL. I haven't done any of these three specific functions yet. Before I tear my hair out on each of these functions, can anyone point me to a simple example of any or all three?

[PHP] Jakarta Tomcat and PHP

2005-05-18 Thread Chris Holden
Hi, I hope this is the right place to ask... I am running Tomcat 5.5.7 (jdk 1.5) on Windows XP quite happily. I have MySQL set up and that all works fine too. But I would also like to be able to run PHP under Tomcat rather than having to install Apache to handle PHP file and forward JSP requests

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread Mukasa Assey Alfred
Force a reload of the document after step (4), you may use javascript to reload this document, ie... After step (4) add this line... print scriptdocument.location.href='your-document-url';/script; Assey. On Tue, 17 May 2005, Robert Meyer wrote: Hello, Scenario: 1) User is presented a blank

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread Mukasa Assey Alfred
On Tue, 17 May 2005, Robert Meyer wrote: As a last resort, I may have to do that, but that is by no means the preferred method. I want to keep database access to a minimum. I thought by this time this problem would have had a standard solution. It would be nice if PHP had a function like

[PHP] directory listing from text file

2005-05-18 Thread dreiph
Hello, I have a plain text file with the following direcory listing: \first \second \third \third\first \third\first\first \third\first\second \third\second \third\second\first \third\second\second \fourth How can I get directory tree from this and using Javascript or DHTML display such view:

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread M. Sokolewicz
Next time, Mukasa, try reading... Robert clearly states that he'd like a PHP function which TELLS him if the page has been refreshed or not (thus, resent). There are headers sent out that indicate this, and thus a function like refreshed() would be a shortcut to getting to know if it has. He

Re: [PHP] Dwonloading a file

2005-05-18 Thread Burhan Khalid
Brian Dunning wrote: I need to write a cron job that retrieves a zipped XML file via FTP, unzips it, and then imports the XML into MySQL. I haven't done any of these three specific functions yet. Before I tear my hair out on each of these functions, can anyone point me to a simple example of

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread Marek Kilimajer
Robert Meyer wrote: Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Robert Meyer wrote: Hello, Scenario: 1) User is presented a blank form. 2) User fills in form. 3) User submits form. 4) Record is added to database. 5) Back to 1). Go really back to 1) - use redirect.

Re: [PHP] directory listing from text file

2005-05-18 Thread Chris Ramsay
Dreiph, If you're familiar with PEAR, take a look at this: http://pear.php.net/package/HTML_TreeMenu regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with using SPL to build a MySQL Iterator

2005-05-18 Thread V Kam
Hello all I was trying to write an SPL Iterator for a MySQL result set but not having any luck. Specifically I'm not sure how to overload the key() and current/next() methods. Does anyone here have a working code sample that does this, or can offer some guidance on how to overload the 5

[PHP] Basic PHP/HTML code question

2005-05-18 Thread Carlos Palomino
Hi, I have been trying to write or find a pre-written script of a combo-box which would allow one to select a category from one drop-down list, then be given related options within a secondary list before clicking a submit button. Is there anyone who knows where I can find this or an easy

[PHP] version difference or server difference?

2005-05-18 Thread Lee Chen
Why does a Win2K installation of PHP honor max_input_time and a FreeBSD machine does not? I am running version 5.0.0b2-dev on the windows machine and version 4.3.10 on the BSD machine would the version difference cause this problem? -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP Complex Data Structures

2005-05-18 Thread Brent Baisley
I find PHP arrays easier than Perl's data structures. Probably because PHP just has arrays, there really is no differentiation between arrays (Perl @) and hashes (Perl %). And PHP references arrays the same way as variables ($), which may or may not be confusing. You could probably look at PHP

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-18 Thread Mukasa Assey Alfred
Sorry for that., i miss read that.. sorry, thought he wanted a php function to refresh the browser. Assey. On Wed, 18 May 2005, M. Sokolewicz wrote: Next time, Mukasa, try reading... Robert clearly states that he'd like a PHP function which TELLS him if the page has been refreshed or not

Re: [PHP] hey dip shit

2005-05-18 Thread Rory Browne
This list could really use an active moderator. Um no. You can't moderate what's already in peoples mailboxes, and if you're going to have all posts manually approved before delivery, then you're going to seriously affect the responsiveness of the list. Besides that post was harmless, was

Re: [PHP] server taking long time to make graph

2005-05-18 Thread Jason Barnett
Balwant Singh wrote: Hi I am making graph in PHP using JPGRAPH. I am not taking big data, my data is only 48 points. Through TOP command in linux, I found that httpd is taking lot of time to make the simple x-y graph. I found that the graph size is 47.75kb only. May pls suggest if any

Re: [PHP] hey dip shit

2005-05-18 Thread Jason Barnett
John Nichel wrote: Jason Motes wrote: HAH This list could really use an active moderator. Did Mr. Nichel just volunteer for that task... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] From in mail() header problem.

2005-05-18 Thread Rahul S. Johari
Ave, I¹ve written a simple script to send a mail out in HTML format to the recipient. Everything is working fine... Except the ³From² header. The recipient receives the email from ³World Wide Web Server [EMAIL PROTECTED]² instead of what I have specified. Here¹s my code... FORM action=?php echo

[PHP] Reprocessing text

2005-05-18 Thread Michael Satterwhite
I have a site that extracts HTML page code from a database and prints it to the page being generated. A user has requested that I allow this text to be dynamic. I can code process functions for the code that I pull from the database, but it would be so much better if I could simply get PHP to

Re: [PHP] Basic PHP/HTML code question

2005-05-18 Thread tg-php
Since PHP is server-side, it's probably not the best option for doing what you're describing. It IS possible to use a javascript onchange event and use that to trigger a new page load which would change your second select box, but that's kind of slow and sloppy and should probably only be used

[PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Ryan A
Hey, Can anyone suggest a few places where i can get some decent tech/programming/php news feeds? I presently have the PHP.net feed (but its not too good because the news does not change much in days) and I am using yahoo's feeds for software, digital music and internet. I was using slashdot,

RE: [PHP] version difference or server difference?

2005-05-18 Thread Jay Blanchard
[snip] Why does a Win2K installation of PHP honor max_input_time and a FreeBSD machine does not? I am running version 5.0.0b2-dev on the windows machine and version 4.3.10 on the BSD machine would the version difference cause this problem? [/snip] According to http://us3.php.net/ref.info

Re: [PHP] hey dip shit

2005-05-18 Thread John Nichel
Rory Browne wrote: This list could really use an active moderator. Um no. You can't moderate what's already in peoples mailboxes, and if you're going to have all posts manually approved before delivery, then you're going to seriously affect the responsiveness of the list. Besides that post was

[PHP] Re: RSS news feed (slightly 0T)

2005-05-18 Thread Matthew Weier O'Phinney
* Ryan A [EMAIL PROTECTED]: Can anyone suggest a few places where i can get some decent tech/programming/php news feeds? http://planet-php.net/ Planet PHP is an aggregation of newsfeeds from PHP developers and programmers. Not everything will necessarily be programming or PHP oriented, but

Re: [PHP] directory listing from text file

2005-05-18 Thread dreiph
Thank you Chris, but this is not I needed. Let me explain my situation. I have a big server with a lot of audio files, working within LAN, with Windows 2000 Pro on it. Let's call it as FileServer. Also I have another server with Apache2 and PHP installed, windows 2000 PRO too, let's say it is

Re: [PHP] hey dip shit

2005-05-18 Thread John Nichel
Jason Barnett wrote: John Nichel wrote: Jason Motes wrote: HAH This list could really use an active moderator. Did Mr. Nichel just volunteer for that task... Hell, I'll do it...if there are no objections from the established list members (like that will happen ;) -- John C. Nichel ÜberGeek

Re: [PHP] Help with using SPL to build a MySQL Iterator

2005-05-18 Thread Chris
V Kam wrote: Hello all I was trying to write an SPL Iterator for a MySQL result set but not having any luck. Specifically I'm not sure how to overload the key() and current/next() methods. Does anyone here have a working code sample that does this, or can offer some guidance on how to overload

[PHP] Re: Basic PHP/HTML code question

2005-05-18 Thread Matthew Weier O'Phinney
* Carlos Palomino [EMAIL PROTECTED]: I have been trying to write or find a pre-written script of a combo-box which would allow one to select a category from one drop-down list, then be given related options within a secondary list before clicking a submit button. Is there anyone who knows

Re: [PHP] From in mail() header problem.

2005-05-18 Thread Chris
Rahul S. Johari wrote: Ave, I¹ve written a simple script to send a mail out in HTML format to the recipient. Everything is working fine... Except the ³From² header. The recipient receives the email from ³World Wide Web Server [EMAIL PROTECTED]² instead of what I have specified. Here¹s my code...

Re: [PHP] server taking long time to make graph

2005-05-18 Thread Philip Hallstrom
I am making graph in PHP using JPGRAPH. I am not taking big data, my data is only 48 points. Through TOP command in linux, I found that httpd is taking lot of time to make the simple x-y graph. I found that the graph size is 47.75kb only. May pls suggest if any setting needs to be done in

Re: [PHP] Basic PHP/HTML code question

2005-05-18 Thread Michael Satterwhite
Carlos Palomino wrote: Hi, I have been trying to write or find a pre-written script of a combo-box which would allow one to select a category from one drop-down list, then be given related options within a secondary list before clicking a submit button. Is there anyone who knows where I can

Re: [PHP] PHP Applications?

2005-05-18 Thread Evert | Rooftop
Chris Shiflett wrote: Danny Brow wrote: Zend sells a compiler to speed up your PHP code. Since it's compiled, it also does not contain the source code in readable form. You should visit the Zend website. Any free ones? http://pecl.php.net/package/APC APC won't work for me, segmentation faults

Re: [PHP] Jakarta Tomcat and PHP

2005-05-18 Thread Evert | Rooftop
My guess would be looking for how to use PHP as a CGI in tomcat. So check out the manual for CGI stuff. grt, Evert Chris Holden wrote: Hi, I hope this is the right place to ask... I am running Tomcat 5.5.7 (jdk 1.5) on Windows XP quite happily. I have MySQL set up and that all works fine too.

[PHP] Re: Refresh (F5) adds another SQL record.

2005-05-18 Thread Robert Meyer
Hello to all that responded. Thanks very much for your help. I implemented and thoroughly tested the following: header(Location: .$_SERVER['PHP_SELF']); exit; And is works great for this particular need.. Regards, Robert Robert Meyer [EMAIL PROTECTED] wrote in

Re: [PHP] From in mail() header problem.

2005-05-18 Thread Philip Hallstrom
I¹ve written a simple script to send a mail out in HTML format to the recipient. Everything is working fine... Except the ³From² header. The recipient receives the email from ³World Wide Web Server [EMAIL PROTECTED]² instead of what I have specified. Here¹s my code... [snip] $message =

[PHP] Responses in my email.

2005-05-18 Thread Robert Meyer
Hello, When I post a question here, I get an email for every response posted. I only want the response posted, not emailed to me. The other newsgroups I belong to don't send me an email. What are my options if any and how do I implement them? Regards, Robert -- PHP General Mailing List

Re: [PHP] Re: why are session only working with cookies?

2005-05-18 Thread Brian V Bonini
On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: Let him fight with phpIniDir some other day. Something interesting maybe: http://gfx.gfx-design.com/session_test.php Hit your browsers refresh button. I would think SID is NOT supposed to change with every page refresh..?? ?php

[PHP] PHP and PayPal

2005-05-18 Thread Robert Meyer
Hello, I am about ready to start my investigation into this matter, but thought I'd ask here first. Here is the scenario I would like to implement. 1) User wants to buy a key that allows them to do a particular task on my web site. 2) I do not want to release the key to the user until payment

Re: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Philip Hallstrom
Can anyone suggest a few places where i can get some decent tech/programming/php news feeds? I don't know if they have RSS feeds on them or not, but I'd try... http://www.zend.com/ http://www.devshed.com/c/b/PHP/ http://www.phpbuilder.com/ And all or none of the sites listed here:

[PHP] Re: Sending a string with $_POST/$_GET

2005-05-18 Thread Luis
Ross wrote: I want to write a string to a variable and use $_POST or $_GET to retrieve it on another page. I keep gettting an undefined index errror. Can someone show me how this is done? Do I have to use session_start() ? or just use cookies: setcookie('myvarname', 'some value'); and in the

[PHP] Building array ?

2005-05-18 Thread Paul Nowosielski
HI All, I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ // put user ID's into an array; $uidToAdmin .= array ($row[user_id]); // for debugging echo brUID $row[user_id]BR; echo BRAUID

Re: [PHP] hey dip shit

2005-05-18 Thread Jochem Maas
John Nichel wrote: Jason Barnett wrote: John Nichel wrote: Jason Motes wrote: HAH This list could really use an active moderator. Did Mr. Nichel just volunteer for that task... Hell, I'll do it...if there are no objections from the established list members (like that will happen ;) John has my

Re: [PHP] hey dip shit

2005-05-18 Thread Rory Browne
I didn't say anything about approval before delivery, and I really can't see how an active moderator would screw up the list. You mean having someone around who can remove email addresses subscribed to the list that generate bounces would be a bad thing? Fair enough. That just wasn't my

Re: [PHP] imap_open with variable fails

2005-05-18 Thread Michael Baas
Hi, just did want to let this sink unanswered, but I see that 6 days means quite a lot of messages piled up. Should have answered earlier, but... Anyway, I think I had tried the \{ or '{-combinations as well and it didn't work - but I can't remember exactly and can't reproduce now, since I was

RE: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Jared Williams
Hey, Can anyone suggest a few places where i can get some decent tech/programming/php news feeds? I presently have the PHP.net feed (but its not too good because the news does not change much in days) and I am using yahoo's feeds for software, digital music and internet. I was

RE: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Jared Williams
Hey, Can anyone suggest a few places where i can get some decent tech/programming/php news feeds? I presently have the PHP.net feed (but its not too good because the news does not change much in days) and I am using yahoo's feeds for software, digital music and internet. I was

Re: [PHP] PHP Applications?

2005-05-18 Thread Jason Barnett
Evert | Rooftop wrote: Chris Shiflett wrote: Danny Brow wrote: Zend sells a compiler to speed up your PHP code. Since it's compiled, it also does not contain the source code in readable form. You should visit the Zend website. Any free ones? http://pecl.php.net/package/APC APC won't work for

Re: [PHP] PHP and PayPal

2005-05-18 Thread Duncan Hill
On Wednesday 18 May 2005 16:33, Robert Meyer wrote: Here is one way I would like it to work: 1) User fills out a form (user email address, etc.) then clicks the Buy Key button. 2) User, along with a link, unique ID (not Key), cost, and form data is sent to PayPal. Paypal document this in

Re: [PHP] From in mail() header problem. - Solved!

2005-05-18 Thread Rahul S. Johari
Ave, On 5/18/05 10:55 AM, Philip Hallstrom [EMAIL PROTECTED] wrote: What happens if you do it like this: $headers = Content-type: text/html; charset=iso-8859-1\r\n; $headers .= From: SOMETHING [EMAIL PROTECTED]\r\n; $headers .= Reply-To: [EMAIL PROTECTED]; $headers .= MIME-Version: 1.0;

[PHP] Re: Building array ?

2005-05-18 Thread rush
Paul Nowosielski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] HI All, I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ // put user ID's into an array; $uidToAdmin .= array

Re: [PHP] Re: why are session only working with cookies?

2005-05-18 Thread Jason Barnett
Brian V Bonini wrote: On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: Let him fight with phpIniDir some other day. Something interesting maybe: http://gfx.gfx-design.com/session_test.php Hit your browsers refresh button. I would think SID is NOT supposed to change with every page refresh..??

RE: [PHP] hey dip shit

2005-05-18 Thread Jay Blanchard
[snip] John has my vote for what it's worth :-) [/snip] So, you're voting John in as dip shit? I second that. :) You knew it wasn't going to be too long before I weighed in on this. Agree with not releasing every post (posts are taking a long time to show up NOW), but handling all that little

Re: [PHP] Building array ?

2005-05-18 Thread Jochem Maas
Paul Nowosielski wrote: HI All, I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ thereisnothingwrongwithwhitespaceitcanhelplegebilityofyourcode:-) // put user ID's into an array; $uidToAdmin .= array

Re: [PHP] Building array ?

2005-05-18 Thread Philip Hallstrom
I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ // put user ID's into an array; $uidToAdmin .= array ($row[user_id]); $uidToAdminArray[] = $row[user_id]; // for debugging echo brUID $row[user_id]BR; echo

Re: [PHP] Re: Sending a string with $_POST/$_GET

2005-05-18 Thread Brian V Bonini
On Wed, 2005-05-18 at 11:53, Luis wrote: Ross wrote: I want to write a string to a variable and use $_POST or $_GET to retrieve it on another page. $string = 'this is a string'; echo 'a href=another_page.php?val=' . $string . 'Next page/a'; another_page.php: echo $_GET[val]; --

Re: [PHP] Building array ?

2005-05-18 Thread Brian V Bonini
On Wed, 2005-05-18 at 12:00, Paul Nowosielski wrote: HI All, I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ // put user ID's into an array; $uidToAdmin .= array ($row[user_id]); // for

[PHP] Display a database image from MSSQL database

2005-05-18 Thread Alaor Barroso
Hi... I need to display some images that exists inside one MSSQL server in a BLOB datatype field, but my code don't work... My code: ? $arg = $_GET[codPessoa]; mssql_connect(server, web, web); $sql = SELECT Foto FROM Foto WHERE CodPessoa=$arg; $result = mssql_query($sql); $data =

Re: [PHP] hey dip shit

2005-05-18 Thread Ryan A
mine too On 5/18/2005 6:05:46 PM, Jochem Maas ([EMAIL PROTECTED]) wrote: John Nichel wrote: Jason Barnett wrote: John Nichel wrote: Jason Motes wrote: HAH This list could really use an active moderator. Did Mr. Nichel just volunteer for that task... Hell, I'll

Re: [PHP] hey dip shit

2005-05-18 Thread Rory Browne
Hell, I'll do it...if there are no objections from the established list members (like that will happen ;) John has my vote for what it's worth :) Ah why not? The man has a vision. /me seconds Jochams vote for John. -- PHP General Mailing List (http://www.php.net/) To

[PHP] novice: char to varchar

2005-05-18 Thread tony yau
Hi all, I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY KEY (PKey) ) TYPE=MyISAM COMMENT='Invoice Data'; but it keep generating RefNum VARCHAR(10) instead of

Re: [PHP] hey dip shit

2005-05-18 Thread John Nichel
Jay Blanchard wrote: [snip] John has my vote for what it's worth :-) [/snip] So, you're voting John in as dip shit? I second that. :) Thanks professor. ;) You knew it wasn't going to be too long before I weighed in on this. Agree with not releasing every post (posts are taking a long time to show

Re: [PHP] Re: why are session only working with cookies?

2005-05-18 Thread Jason Barnett
Please keep questions regarding PHP problems on the list instead of in my inbox. Thanks. Brian V Bonini wrote: On Wed, 2005-05-18 at 12:58, Jason Barnett wrote: Brian V Bonini wrote: On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: Let him fight with phpIniDir some other day. Something

[PHP] Pfpro PHP

2005-05-18 Thread Rezk Mekhael
I am getting this error when I try to run configure pfpro with PHP, any idea? mkdir: too few arguments Try `mkdir --help' for more information. configure: creating ./config.status config.status: creating config.h config.status: config.h is unchanged Sincerely,

Re: [PHP] Jakarta Tomcat and PHP

2005-05-18 Thread Rory Browne
I don't know if you checked out www.php.net/java but it seems to be what you're looking for. On 5/18/05, Evert | Rooftop [EMAIL PROTECTED] wrote: My guess would be looking for how to use PHP as a CGI in tomcat. So check out the manual for CGI stuff. grt, Evert Chris Holden wrote: Hi,

[PHP] gather reply from POST

2005-05-18 Thread Jeremy Reynolds
I received this useful bit of code for storing a page into a variable instead of loading it as an include. But how can I modify this to submit some parameters to a page and collect the returned page / HTML into a variable?? Jeremy -- ?php /** DocumentB.php */ $text =

Re: [PHP] Sending a string with $_POST/$_GET

2005-05-18 Thread Rory Browne
You don't set $_GET variables, like $_GET['name'] = whaever and expect to do something along the lines of echo $_GET['name'] in another page. To assign a value as a GET variable on another page, then you make the url of the other page whatever.php?name=value Then in whatever.php you can do

RE: [PHP] novice: char to varchar

2005-05-18 Thread Jay Blanchard
[snip] I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY KEY (PKey) ) TYPE=MyISAM COMMENT='Invoice Data'; but it keep generating RefNum VARCHAR(10) instead of CHAR(10)

Re: [PHP] novice: char to varchar

2005-05-18 Thread John Nichel
tony yau wrote: Hi all, I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY KEY (PKey) ) TYPE=MyISAM COMMENT='Invoice Data'; but it keep generating RefNum VARCHAR(10)

[PHP] Re: novice: char to varchar

2005-05-18 Thread tony yau
found the answer sorry about this Tony Yau [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY

Re: [PHP] novice: char to varchar

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 11:15 am, tony yau said: Hi all, I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY KEY (PKey) ) TYPE=MyISAM COMMENT='Invoice Data'; but

Re: [PHP] Display a database image from MSSQL database

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 10:28 am, Alaor Barroso said: Hi... I need to display some images that exists inside one MSSQL server in a BLOB datatype field, but my code don't work... My code: ... contains NO error checking. That's bad. ? $arg = $_GET[codPessoa]; mssql_connect(server, web, web);

[PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-18 Thread Rahul S. Johari
Ave, A simple Image Verification script is working perfect in IE on Windows... But isn¹t working in Safari on Mac OS X! It displays a blank page instead of the image with the form. Here¹ s the Script: ? header(Content-Type: image/png); session_start(); $new_string;

Re: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 6:26 am, Ryan A said: Can anyone suggest a few places where i can get some decent tech/programming/php news feeds? The New York PHP User Group seems to have a pretty hip PHP news feed on their home page, last time I checked. Figure out where they get their news, if you

Re: [PHP] Responses in my email.

2005-05-18 Thread Rory Browne
This is primarly a mailing list. Not a news group. The whole idea of a mailing list is that you get every message mailed to you. If you don't want this then unsubscribe. You could always filter out any email sent to php-general, or containing the term [PHP] in the subject. On 5/18/05, Robert

Re: [PHP] Reprocessing text

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 6:25 am, Michael Satterwhite said: I have a site that extracts HTML page code from a database and prints it to the page being generated. A user has requested that I allow this text to be dynamic. I can code process functions for the code that I pull from the database, but

[PHP] Re: gather reply from POST

2005-05-18 Thread Jason Barnett
Jeremy Reynolds wrote: I received this useful bit of code for storing a page into a variable instead of loading it as an include. But how can I modify this to submit some parameters to a page and collect the returned page / HTML into a variable?? Jeremy -- ?php /** DocumentB.php

Re: [PHP] PHP and PayPal

2005-05-18 Thread Andy Pieters
Hi Robert I am just in implementing PayPal as one of the Payment providers on an order. I realize the PayPal documention is a bit too exhausive and is easy to lose track of what is important. I will introduce two items to you: IPN (Instant Payment Notification) You should have a script that

Re: [PHP] directory listing from text file

2005-05-18 Thread Richard Lynch
What I know about Windows mapped drives could fit in a matchbook with room for every Playmate's phone number... But the answer I always hear when people are trying to do what you are trying to do is Samba HTH On Wed, May 18, 2005 7:37 am, dreiph said: Thank you Chris, but this is not I

[PHP] Tomcat and PHP

2005-05-18 Thread Richard Lynch
To the guy trying to use PHP with Tomcat... I thought of this after deleting all those posts, naturally. :-( In the distant past, when people said You can use PHP with XYZ web server I was able to successfully use PHP with those other web-servers by finding good documentation for installing

RE: [PHP] Blank page in browser

2005-05-18 Thread Richard Lynch
On Tue, May 17, 2005 10:59 pm, Nayeem said: I found same error in error_log file which I face on command prompt before then I install PHP 5.0 with --with-oci8=$ORACLE_HOME compilation so that problem solved. Now I'm facing same problem on Apache. So can you tell me where should I define the

Re: [PHP] gather reply from POST

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 11:55 am, Jeremy Reynolds said: I received this useful bit of code for storing a page into a variable instead of loading it as an include. But how can I modify this to submit some parameters to a page and collect the returned page / HTML into a variable?? Jeremy

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Richard Lynch
On Tue, May 17, 2005 11:12 pm, Bill Hoffman said: On May 17, 2005, at 10:24 PM, Richard Lynch wrote: I don't know much about that fancy new stream stuff, or the XML crap, but you've got zero (0) lines of code in there to do anything useful when the functions fail. no functions fail. If

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Bill Hoffman
On May 18, 2005, at 1:20 PM, Richard Lynch wrote: *YOU* have check their return value to see if it's 'false' or -1 or 0 and, if so, *YOU* have to call another function to get the error message and error code. This is what I am suggesting is missing big-time in your code. Yes, you made your

Re: [PHP] novice: char to varchar

2005-05-18 Thread Philip Hallstrom
On Wed, May 18, 2005 11:15 am, tony yau said: Hi all, I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY KEY (PKey) ) TYPE=MyISAM COMMENT='Invoice Data'; but it keep

Re: [PHP] Responses in my email.

2005-05-18 Thread Jason Barnett
Rory Browne wrote: This is primarly a mailing list. Not a news group. The whole idea of a mailing list is that you get every message mailed to you. I use this solely as a news group. The news group seems to lag the email responses a little, but not too badly. For those that are interested I

  1   2   >