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 Apa

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 libxml_set_streams_context()

[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_pas

[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

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("SEL

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 PRO

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 do

[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 t

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 "document.location.href='';"; Assey. On Tue, 17 May 2005, Robert Meyer wrote: Hello, Scenario: 1) User is presented a blank form. 2) Us

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 refresh

[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 Iterator

[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 w

[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 unsubscrib

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 (t

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 ap

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 set

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... Hi, You have rec

[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 proce

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 use

[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 slashd

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 max_inpu

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 har

[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 KegWor

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 th

[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 know

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 fin

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 fault

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. But

[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 m

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 = stripslas

[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..?? '; print_r($_SESSION)

[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: http://www.php.ne

[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 ot

[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 "UID $row[user_id]"; echo "AUID $uidToAdmin

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 vot

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".

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

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 th

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 .= "

[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 ("$r

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..?? Exc

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 a

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 ("$row[

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 "UID $row[user_id]"; 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 'Next page'; another_page.php: echo $_GET["val"]; -- s/:-[(/]/:-)/g BrianGnuPG -> KeyI

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]"); > >

[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: And I access this page sending in the URL the text: .../showimage.php?codPessoa=xxx. I receive a strange code like Fh54757eFg554257eFrgtth547d54e7t8h54j87j85fd5

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

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 CHAR(10)

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 u

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

[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 > > > > ---

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:

[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 -- $text = file_get_contents('DocumentA.php'); ech

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 someth

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) instead

[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),

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 Da

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

[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: http://www.w3.org/TR/html4/loose.dtd";> Verification : IMSAFM Type the code you see in

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 ca

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 Me

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, b

[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 -- $text = file_get_content

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 h

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 n

[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 Per

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 func

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 poi

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 generatin

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 use

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

2005-05-18 Thread Alaor Barroso
Thankz the atention. I try to cut out the stripslashes and it also not work, and yes, the images are valid, i can use it in delphi apps with no errors. ={ 2005/5/18, Richard Lynch <[EMAIL PROTECTED]>: > On Wed, May 18, 2005 10:28 am, Alaor Barroso said: > > Hi... I need to display some images th

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

2005-05-18 Thread Jason Wong
On Thursday 19 May 2005 03:51, Rahul S. Johari wrote: > 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: That's because IE is severely broken? In

[PHP] Re: PHP Complex Data Structures

2005-05-18 Thread zzapper
On Wed, 18 May 2005 09:02:01 -0400, wrote: >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 n

[PHP] Re: Blank page in browser

2005-05-18 Thread zzapper
On Tue, 17 May 2005 11:41:56 +0300, wrote: >Dear All, > >I'm new to PHP programming and I just try to display small information from >database on web page but its shows blank page. So my code is mention below >and let me know what's wrong in it but when I execute same program on >command prompt t

[PHP] html editor written in PHP

2005-05-18 Thread Dustin Krysak
Has anyone seen an example of a HTML editor written in PHP (no JS)? You know the ones - for adding HTML tags to a text field, etc. Thanks! d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2005-05-18 Thread Marek Kilimajer
Rahul S. Johari wrote: 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: Because only Safari gets it right. With the above line you are saing this

  1   2   >