RE: [PHP] Need help creating a mysql query in PHP

2002-09-30 Thread John W. Holmes
> I have a form containing a text field where the user types in a sentence. > I > need to search a mysql table, specifically a text field and display a list > of found results. My criteria selections are: > > 1) return a record if all the words are contained in a record > 2) return a record if a

[PHP] Re: error: loading extensions / php_xslt.dll on win32

2002-09-30 Thread Mark Johnson
I still seem to be having a problem. When I run depends on my php_xslt.dll it says: "At least one module has an unresolved import due to a missing export function in an implicitly dependent module." When I look, I see a call to _ecalloc from php4ts.dll that is marked with a red icon. I just d

RE: [PHP] Determining platform PHP is running on?

2002-09-30 Thread John W. Holmes
> I'm looking for something that returns just the OS type, not tons of > information. :) I think the constant PHP_OS is what I'm looking for. > I just found it. > > Thanks for the suggestion though, The idea was that you look at that "tons of information" and find the variable you are after. T

Re: [PHP] checking if a MySQL update worked

2002-09-30 Thread Justin French
If result is true, I take this to mean that the query could be executed. And I take MySQL affected rows to mean that N rows were affected AND the result was true: I haven't dug right down to make sure this method works for every problem, but so far, no problems found. Justin French on 01/1

Re: [PHP] Pay Pal

2002-09-30 Thread Lowell Allen
> From: "Anup" <[EMAIL PROTECTED]> > > Hello everybody, I thought programming pay pal would be a cinch. I can;t > find any information in programming pay pal. All I need to do is one simple > transaction to paypal. payapldev.org is down for the next week. Does any one > know any other site I can

[PHP] Re: mail headers & mail filtering

2002-09-30 Thread Manuel Lemos
Hello, On 09/30/2002 11:09 AM, Debbie_dyer wrote: > More and more emails seem to be getting blocked by mail filtering > systems looking for spam (but trashing legitimate mail at the same Some people use anti-spam systems that give a lot of false positives due to criteria that make general as

[PHP] Re: image viewing in the mail client

2002-09-30 Thread Manuel Lemos
Hello, On 09/30/2002 11:18 AM, Ramesh Nagendra Pillai wrote: > I have developed an application to send newsletter > periodically using simple mail function in PHP, the > newsletter is in HTML format and also have some > images. The problem is when we see the newsletter in > the inbox, images are

[PHP] Can I pass the ftp transfer mode in a string?

2002-09-30 Thread John Kelly
Can I pass the ftp transfer mode in a string like ... $filetype = "FTP_ASCII"; $upload = ftp_fput($conid, $dfile, $sfile, $filetype); I ask as when I do I get the following error message ... Warning: ftp_fput() expects parameter 4 to be long, string given If I replace $filetype with the text F

[PHP] Re: Can I pass the ftp transfer mode in a string?

2002-09-30 Thread Philip Hallstrom
Why not do... $filetype = FTP_ASCII; $upload = ftp_fput($conid, $dfile, $sfile, $filetype); On Mon, 30 Sep 2002, John Kelly wrote: > Can I pass the ftp transfer mode in a string like ... > > $filetype = "FTP_ASCII"; > $upload = ftp_fput($conid, $dfile, $sfile, $filetype); > > I ask as when I d

RE: [PHP] Can I pass the ftp transfer mode in a string?

2002-09-30 Thread John W. Holmes
> Can I pass the ftp transfer mode in a string like ... > > $filetype = "FTP_ASCII"; > $upload = ftp_fput($conid, $dfile, $sfile, $filetype); > > I ask as when I do I get the following error message ... > > Warning: ftp_fput() expects parameter 4 to be long, string given > > If I replace $file

RE: [PHP] Can I pass the ftp transfer mode in a string?

2002-09-30 Thread Smith, Benjamin
What if you enclose it in single quotes? -Original Message- From: John Kelly [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 12:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Can I pass the ftp transfer mode in a string? Can I pass the ftp transfer mode in a string like ... $filet

RE: [PHP] Regular Expression

2002-09-30 Thread Daren Cotter
John, What about foreign names...such as the umlaut in German? I'm not interested in allowing ALL of the characters, just the most common ones...I'd hate to restrict a genuine registration because the name contains an unaccepted character. Know what I mean? --- "John W. Holmes" <[EMAIL PROTECTED

Re: [PHP] Re: seeking data validation class

2002-09-30 Thread Manuel Lemos
Hello, On 09/28/2002 12:56 AM, Peter J. Schoenster wrote: >>Assumming that you tried the forms generation and validation class, what >>did you realize that was missing to match your needs? >> >>http://www.phpclasses.org/formsgeneration > > > Well that's the first thing I found and I downloaded

[PHP] error notice - valid code

2002-09-30 Thread Pablo Oliva
Notice: Use of undefined constant year - assumed 'year' in c:\apache\htdocs\jotr\includes\globalFooter.php on line 3 Is this not valid code? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] error notice - valid code

2002-09-30 Thread Martin Towell
This is what you're really after - quoting the index -Original Message- From: Pablo Oliva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 1:03 PM To: [EMAIL PROTECTED] Subject: [PHP] error notice - valid code Notice: Use of undefined constant year - assumed 'year' in c:\ap

[PHP] readfile without stating filelength

2002-09-30 Thread Daniel Jung
Hi I want to read a pure html file into a php-generated html file. print(readfile("somefile.html")); How do I get rid of the filelength statement? Messes up the page. Thanks - Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mail headers & filtering

2002-09-30 Thread Manuel Lemos
Hello, On 09/30/2002 01:29 PM, Henry wrote: > How about somebody making a javascript email encoder so that if you use a > javascript enabled mail client it will get decoded only once it arrives with > the recipient. With a link for those people without javascript enabled email > clients to view t

[PHP] Re: Can I pass the ftp transfer mode in a string?

2002-09-30 Thread John Kelly
Thanks guys, I was unaware having quotes around it would make a difference. Works fine once I removed the quotes. "John Kelly" <> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can I pass the ftp transfer mode in a string like ... > > $filetype = "FTP_ASCII"; > $upload = ftp_fput

RE: [PHP] readfile without stating filelength

2002-09-30 Thread John W. Holmes
> I want to read a pure html file into a php-generated html file. > print(readfile("somefile.html")); > How do I get rid of the filelength statement? > Messes up the page. Your error is using the print(). You just want readfile("file") without the print. Readfile() returns the number of bytes rea

[PHP] Reading a PHP-as-CGI script into another PHP script

2002-09-30 Thread Phil Powell
I have the following URL: http://valsignalandet.com/cgi-bin/cgiwrap/ppowell/php4.cgi/~ppowell/my/style.php This is a PHP script that is evaluated and compiled by a CGI script, php4.cgi, to allow for file and directory manipulation w/o having to change file and directory permissions to world-wr

[PHP] Re: mail headers & filtering

2002-09-30 Thread Manuel Lemos
Hello, On 09/30/2002 01:42 PM, Debbie Dyer wrote: > Jon > > Thanks but I already did all that - I first noticed it a while ago when > people signing up on my site (and having to respond to a confirmation mail) > were complaining that they never received the confirmation mail - not all > people j

RE: [PHP] Regular Expression

2002-09-30 Thread John W. Holmes
> What about foreign names...such as the umlaut in > German? I'm not interested in allowing ALL of the > characters, just the most common ones...I'd hate to > restrict a genuine registration because the name > contains an unaccepted character. Know what I mean? Well, that wasn't in your original

Re: [PHP] error notice - valid code

2002-09-30 Thread Tom Rogers
Hi, Tuesday, October 1, 2002, 1:02:46 PM, you wrote: PO> Notice: Use of undefined constant year - assumed 'year' in PO> c:\apache\htdocs\jotr\includes\globalFooter.php on line 3 PO> $year = getdate(); PO> $print_year = $year[year]; ?>> PO> Is this not valid code? No It should be

[PHP] inputbox?

2002-09-30 Thread Jeff Bluemel
is there a way to for an input box to come up looking for a value? I know there are a few ways I could resolve my current issue, but I would prefer to display an inputbox, and use that value in my query. basically I would do a $HTTP_SERVER_VARS['PHP_SELF'] as the action of a form, but then I wou

Re: [PHP] readfile without stating filelength

2002-09-30 Thread Justin French
1. I can't see a file length statement in the docs for readfile. 2. Can't you just use include('somefile.html'); or require('somefile.html'); Just make sure any PHP code in the include file is wrapped in tags. HTH Justin French on 01/10/02 1:12 PM, Daniel Jung ([EMAIL PROTECTED]) wrote: > H

[PHP] image wrapper - graphs

2002-09-30 Thread Mike Mannakee
Hi, Does anyone know of image creation libraries that will generate graphs? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] image wrapper - graphs

2002-09-30 Thread Smith, Benjamin
Try gnuplot: -Original Message- From: Mike Mannakee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 2:31 PM To: [EMAIL PROTECTED] Subject: [PHP] image wrapper - graphs Hi, Does anyone know of image creation libraries that will generate graphs? Mike -- PHP General Mailing

[PHP] Email user

2002-09-30 Thread prasanna shetye
Hi I have downloaded an email client twiggi from http://twiggi.sourceforge.net . It has complete funtionality of email client like read , compose . forward , folder management , etc . But the only problem is creating new account . Can you help me to create an email account on linux and / or

[PHP] Configure php for windows

2002-09-30 Thread Uma Shankari T.
Hello, I am trying to run php from the cd itself..apache and mysql are running.. To what i have to change the following settings so that it will run from the cd.. * ScriptAlias /php/ "c:/path-to-php-dir/" * AddType application/x-httpd-php .php * Add

[PHP] Re: .php to .html?

2002-09-30 Thread Steve Yates
"Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How can I make my pages come out as .html instead of .php? Rename your pages to .html, and configure Apache to send all .html pages through PHP: -- PHP General Mailing List (http:

[PHP] Re: .php to .html?

2002-09-30 Thread Steve Yates
"Steve Yates" <[EMAIL PROTECTED]> wrote in message news:... > "Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > How can I make my pages come out as .html instead of .php? > > Rename your pages to .html, and configure Apache to sen

Re: Re: [PHP] error in php script

2002-09-30 Thread prasanna shetye
Hi Thanks but the path is set . Othere php scripts are running well . My problem is as it is . Have a nice time! On Tue, 01 Oct 2002 Lejanson C. Go wrote : >Hello, > >I guess you forgot to edit your php.ini file. > >Append to the include_path the path to where your >index.php is located.

RE: [PHP] Configure php for windows

2002-09-30 Thread Peter Houchin
ScriptAlias /php/ "c:/path-to-php-dir/" one would assume that you change the "C:/path-to-php-dir/" to the path of the cd drive to get it to work -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Configure php for windows

2002-09-30 Thread Uma Shankari T.
Hello, On Tue, 1 Oct 2002, Peter Houchin wrote: PH> ScriptAlias /php/ "c:/path-to-php-dir/" PH> PH>one would assume that you change the "C:/path-to-php-dir/" to the path of PH>the cd drive to get it to work I have changed like the following you have mentioned above..abut anyway it couldn;t r

RE: [PHP] Configure php for windows

2002-09-30 Thread Khalid El-Kary
Hi, why do you want to run it from a cd, PHP doesn't pass the 6 MB limit! i suggest for reliability reasons that you run PHP from your disk, i don't think Apache would do okay if it didn't fine the PHP path (in case that you eject the cd) do you have special reasons? khalid ___

[PHP] Re: image wrapper - graphs

2002-09-30 Thread Jome
> Does anyone know of image creation libraries that will generate graphs? http://www.aditus.nu/jpgraph/ Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] remote desktop control

2002-09-30 Thread Rahul
Hello all, Is it possible to implement Web Based Remote Desktop Control using PHP or anyother webbased language? Aim is to share the remote(visitor's) system(desktop). If possible, plz let me know how to proceed. Advance thanks, -sadha

RE: [PHP] remote desktop control

2002-09-30 Thread Smith, Benjamin
Not really, no. It goes well beyond the capabilities of a server-side scripting language. There is a java implementation in VNC that allows this capability, though. -Original Message- From: Rahul [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 4:53 PM To: [EMAIL PROTECTED] Subj

[PHP] Re: PHP Include Help

2002-09-30 Thread Erwin
> On line "6", I have the list of musicians in the song. > Example (ignore the quotes): "Doyle Lawson -- lead vocal; Dale Perry - > - bass vocal" > Is there a way to make it so that, when I include line 6 in my PHP > template, the ";" will be replaced with a line break so I get one > musician per

[PHP] conditional statement problems

2002-09-30 Thread Pablo Oliva
$title_err = ($adTitle == "") ? 1 : strlen($adTitle) > 50 ? 2 : 0; Can anyone tell me why this is not evaluating correctly (returning a value of 1) when $adTitle is an empty string? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2