[PHP] images no appearing

2001-09-24 Thread Adrian D'Costa
Hi, I wrote a php script to create a dynamic graph (image/jpeg). On my development system the image appears on my website it gives Image/Jpeg support not compiled. Below are the config settings: My system: Configure Command ^@ './configure' '--prefix=/usr'

[PHP] images no appearing

2001-09-24 Thread Adrian D'Costa
Hi, I wrote a php script to create a dynamic graph (image/jpeg). On my development system the image appears on my website it gives Image/Jpeg support not compiled. Below are the config settings: My system: Configure Command ^@ './configure' '--prefix=/usr'

[PHP] Undelivered Mail Returned to Sender (fwd)

2001-09-24 Thread Adrian D'Costa
-- Forwarded message -- Date: Mon, 24 Sep 2001 08:35:03 +0200 (CEST) From: Mail Delivery System [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Undelivered Mail Returned to Sender This is the Postfix program at host mail.aaz-netmarketing.com. I'm sorry to have to inform you

Re: [PHP] Why this error to this newsgroup?

2001-09-24 Thread Adrian D'Costa
This is the same error I get. The question is why the mails is going to: mail.aaz-netmarketing.com when it should be going to : pb1.pair.com Adrian On Sat, 22 Sep 2001, hvm wrote: Hi I have the same and I don't know if some one even get my questions, I never get a response. Maybe the

[PHP] Re: images no appearing

2001-10-03 Thread Adrian D'Costa
is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Adrian D'Costa [EMAIL PROTECTED] Newsgroups: php.general To: php general list [EMAIL

Re: [PHP] sending email to php script

2001-10-31 Thread Adrian D'Costa
On Mon, 29 Oct 2001, David Robley wrote: On Sat, 27 Oct 2001 03:23, JSheble wrote: A while ago an email came through here about how to parse out email message from a php script. The thing that was mostly of interest to me is the ability to send an email to a php script, I guess through a

RE: [PHP] sending email to php script

2001-11-01 Thread Adrian D'Costa
On Thu, 1 Nov 2001, Jason Murray wrote: You'll also need to compile php as a standalone, and put as the first line of your php script #!/path/to/php -q What if we need both version?? There's nothing stopping you running both. How do you compile it for both? Adrian --

Re: [PHP] sending email to php script

2001-11-02 Thread Adrian D'Costa
On Fri, 2 Nov 2001, David Robley wrote: What if we need both version?? There's nothing stopping you running both. How do you compile it for both? Adrian To do the cgi compile, use all the configure values you need EXCEPT anything apache related. The compile will produce an

[PHP] Advantages of php

2001-11-17 Thread Adrian D'Costa
Hi, Is there somewhere on the PHP site that give a list of advantages, speed, etc in comparsion with other similar programs. I have a client that is in ASP and would like to move to PHP and need this info. Thanks Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Advantages of php

2001-11-19 Thread Adrian D'Costa
On Sat, 17 Nov 2001, Jason G. wrote: You could check the list archives... This question flys by every week or two... Thanks, but browsing is one thing I am still to get used to :) I like things in my mail box. Adrian -Jason Garber IonZoft.com At 01:41 PM 11/17/2001 +0530, Adrian

[PHP] extracting data from html

2001-07-31 Thread Adrian D'Costa
Hi, This mail is very looong as I have included the code. What I need is to extract certian text from the html file and dump it into mysql table. This is what the html looks like (code below). The mysql part can wait now. I have given comment between each file. As of now the php is just

Re: [PHP] user's ip

2001-08-08 Thread Adrian D'Costa
On Tue, 7 Aug 2001, Renze Munnik wrote: On Tue, Aug 07, 2001 at 03:55:25PM +0530, Adrian D'Costa wrote: Hi, I am trying to get the ip address of any user browsing a particular page. I tried $REMOTE_ADDR but that give me only the remote address. What would be the best way

[PHP] text wrap in table

2001-08-24 Thread Adrian D'Costa
Hi, I am creating a program for a newspaper to publish their article online. There is a form what allows them to cut and past from their editors (word, pagemaker, staroffice). The data is being entered correctly. The problem is when I try and get the data from the table the whole matter

[PHP] Re: File Upload and NT...

2001-08-25 Thread Adrian D'Costa
Hi, I had this problem. If you say that even without the getimagesize() it is not being uploaded. Then try this. If you declared $the_image in the input type=file name=the_image try using $the_image_name. From the manual this is what I figured out and it works (on linux) In PHP, the

[PHP] Re: text wrap in table

2001-08-25 Thread Adrian D'Costa
Hi, I got the answer from one earlier mail. I used nl2br(). It does just what I want. Adrian On Fri, 24 Aug 2001, Adrian D'Costa wrote: Hi, I am creating a program for a newspaper to publish their article online. There is a form what allows them to cut and past from their editors

[PHP] how do I?

2001-09-05 Thread Adrian D'Costa
Hi, I am trying to write a dynamic help module based on a mysql database. I am using Javascript and PHP to do this. This is part of my script (both java and php) script language=JavaScript !-- function info(theline) { w

[PHP] Re: how do I?

2001-09-06 Thread Adrian D'Costa
. The script works fine if text in the table is a single line. If it is multiply lines then it does not display, but in the source code of the browser it is there, except /BR flashing. Adrian Adrian D'Costa [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP] limiting rows and pages like google

2001-09-12 Thread Adrian D'Costa
Hi, I am trying to find out the the best way to do the following: I have a script that select records from a table. The problem is that I need to limit the rows to 20. I know that I can use limit 20. But what I want to do is give the view a link to the next 20 till all the records are shown.

[PHP] limiting rows and pages like google -- again

2001-09-12 Thread Adrian D'Costa
Hi, I am trying to find out the the best way to do the following: I have a script that select records from a table. The problem is that I need to limit the rows to 20. I know that I can use limit 20. But what I want to do is give the view a link to the next 20 till all the records are shown.

[PHP] Re: mail problem

2001-09-13 Thread Adrian D'Costa
On Thu, 13 Sep 2001, Peter Houchin Sun Rentals STR Manager wrote: php.ini mail related line: sendmail_path = sendmail -t -i ;for unix only, may supply arguments as well (default is 'sendmail -t -i') I suggest you put the full path in the sendmai path. Adrian -- PHP

Re: [PHP] limiting rows and pages like google -- again

2001-09-13 Thread Adrian D'Costa
On Thu, 13 Sep 2001, Helen wrote: The logic would be to check if the script is called the first time, then the sql statement would be select travel.*, city.city from travel, city where travel.cityid=city.id limit 0,20. The second time or based on what has been selected on the page (1-20,

[PHP] viewer analysis

2001-09-14 Thread Adrian D'Costa
Hi, I trying to write a php program using mysql to dump the data to capture the following details: 1. From where the viewer is coming. Easy getting the remote address 2. Which file they are viewing. Ok think I can handle this. 3. How long they are on that particlular page? 4.

RE: [PHP] limiting rows and pages like google

2001-09-14 Thread Adrian D'Costa
of the implications of the full result set residing serverside - maybe higher memory requirements. So what do people do to take advantage of limit? Two queries or a single query? Any other solutions? Any more insights on how limit works? Julian On Wednesday, September 12, 2001, at 10:16 PM, Adrian

Re: [PHP] R: viewer analysis

2001-09-16 Thread Adrian D'Costa
On Fri, 14 Sep 2001, GATop wrote: Is there more like that? Like what :) Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] some hyper links

2001-09-19 Thread Adrian D'Costa
Hi, I have two table: policies: id == auto increment, primary key policy topics id == auto increment, primary key topic polid == linked from policies In the policies table I have 72 records in the topics 325. What I am trying to do is to display all the 72 record for the policies

[PHP] why does this happen

2001-05-09 Thread Adrian D'Costa
Hi, I am trying to write a php and javascript that will pick up data from a table and display and scroll it. I seem to have run out of ideas how to make the script work. I don't get any display on the screen. I use rand() limit 1 so only one row is selected. Can some one tell me where I went

[PHP] stumped

2001-05-11 Thread Adrian D'Costa
Hi, I need to find a solution to this. I am lost. To see what I talk about check vvmm.net/search.php3. I am using php 4 offline. Based on whatever the viewer select I get the below script to build the select statements accordingly. Everything is working fine now. I want to add another

[PHP] Re: One database, different forms

2001-05-14 Thread Adrian D'Costa
Hi, I ask a similar question but did not get a reply. I figured out a way. The only thing I do is use one form and four tables. I build the sql statement on the fly. From the from I have a hidden field that will be passed on to the php script. Based on that variable I select the table. You

Re: [PHP] RE: why does it not work (fwd)

2001-05-22 Thread Adrian D'Costa
On 22 May 2001, Chris Searle wrote: Adrian == Adrian D'Costa [EMAIL PROTECTED] writes: Adrian // sql statement $searchStmt = select special.contid, Adrian special.cityid, special.curr1, special.catalogo, Adrian special.hf, special.curr2, special.vitofferta, special.fh

[PHP] Re: Lists are back up

2001-06-19 Thread Adrian D'Costa
Hi Rasmus, I was home sick with out this mailing list ;-) I found that this is the only list that can get quick responses (most of the times). I am glad it is up Adrian On Mon, 18 Jun 2001, Rasmus Lerdorf wrote: We have re-enabled the PHP mailing lists. They are now running from a

[PHP] extract data from html

2001-06-28 Thread Adrian D'Costa
Hi, I keep receiving a lot of word documents the I need to extract and put into a mysql table. As of now, I do a cut and paste manually using a html from to a php script to dump it into the mysql table. Since the format is usually the same (most of the time) I am sure there should be another

Re: [PHP] extract data from html

2001-06-29 Thread Adrian D'Costa
On Thu, 28 Jun 2001, CC Zona wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Adrian D'Costa) wrote: 1. Open the html file in read only mode 2. Start reading the html file till I encounter a td tag (I don't know how to do this) 3. Grab that data after the td tag

[PHP] webmail

2001-07-09 Thread Adrian D'Costa
Hi, I am trying to write a web-based email client for my site (or are there any samples) using php4 and POP3. I have a book on professional PHP but that sample uses IMAP which is not installed on my system. Could anyone tell me where I can get some samples or how to proceed with this

Re: RE: [PHP] webmail

2001-07-10 Thread Adrian D'Costa
Hi, On Mon, 9 Jul 2001 [EMAIL PROTECTED] wrote: In addition, here's a POP3 class from the PHP Classes Repository... Where :) I did not get anything. Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Re: webmail

2001-07-10 Thread Adrian D'Costa
Hi, Thanks. I found it and installed it. Maybe I need to hack around it to add more functions such as address book and attachement like squirrelmail. Adrian On Mon, 9 Jul 2001, Bleue wrote: There is a really good simple pop email client called rymo. Im not sure where I found it, but it

Re: [PHP] webmail

2001-07-10 Thread Adrian D'Costa
On Mon, 9 Jul 2001, Max Pyziur wrote: Thanks, but my specs are PHP4 and POP3 Adrian The one which I use which matches your requirements (non-PHP, perl-module driven) is NS WebMail, one which I use and gives basic webmail capablities, though missing some desired functionality (sort on

[PHP] php/webmail question

2001-07-13 Thread Adrian D'Costa
Hi, I am writing a webmail in php using pop3 as the ones I downloaded do not do what I want. Assuming I am able to connect and get the list of messages and sizes. Now I have a couple of attachments on some mails. When I read the message it just displays the base64 encoded message (trying to

[PHP] REGEXP

2001-07-14 Thread Adrian D'Costa
Hi, I am trying to capture the Header from a mail for my webmail using php and pop3. The header is something like this: Content-Type: multipart/mixed; boundary=B42DA66C4EC07C9B572A58FC When I use preg_split(/[\d;]*/, $buffer), I get Content-Type: multipart/mixed; What I want is

[PHP] Re: access pop3 without IMAP

2001-07-15 Thread Adrian D'Costa
Hi James, I past that stage but stuck with messages that are MultiPart/Mixed. I need to display the attachments and give the viewer to download or view if possible. Adrian On Sun, 15 Jul 2001, James Tan wrote: hi prachait saxena, I'm trying to build the same too... u can use the

[PHP] Re: REGEXP

2001-07-15 Thread Adrian D'Costa
.. regards, James Adrian D'Costa wrote: Hi, I am trying to capture the Header from a mail for my webmail using php and pop3. The header is something like this: Content-Type: multipart/mixed; boundary=B42DA66C4EC07C9B572A58FC When I use preg_split(/[\d

RE: [PHP] Re: REGEXP

2001-07-17 Thread Adrian D'Costa
This is wrong. It should be Content-Type: multipart/mixed; boundary=B42DA66C4EC07C9B572A58FC I don't know why it is not reading the whole string. It seems to treat the *boundary* part as another line. It _is_ another line; it just happens to starts with

[PHP] php 4.0.6

2001-07-19 Thread Adrian D'Costa
Hi, I am trying to use the socket or readline functions but get a message: call to undefined function readline(). Why? Is this not implemented in 4.0.6. Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] php 4.0.6

2001-07-20 Thread Adrian D'Costa
. - Original Message - From: Adrian D'Costa [EMAIL PROTECTED] To: php general list [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 7:12 PM Subject: [PHP] php 4.0.6 Hi, I am trying to use the socket or readline functions but get a message: call to undefined function readline(). Why

Re: [PHP] php 4.0.6

2001-07-20 Thread Adrian D'Costa
: Did you compile php using --with-readline ? On Thu, 19 Jul 2001, Adrian D'Costa wrote: Hi, I am trying to use the socket or readline functions but get a message: call to undefined function readline(). Why? Is this not implemented in 4.0.6. Adrian -- PHP General

Re: [PHP] php 4.0.6

2001-07-21 Thread Adrian D'Costa
Hi, I have now compiled php --with-readline and --with-sockets but I still get the call to undefined function socket() what could be wrong. Adrian On Thu, 19 Jul 2001, Rasmus Lerdorf wrote: Did you compile php using --with-readline ? On Thu, 19 Jul 2001, Adrian D'Costa wrote: Hi

Re: [PHP] php 4.0.6

2001-07-21 Thread Adrian D'Costa
I just rebuilt my PHP to 4.0.6 and get a similar message with the bcmath functions. I don't have an answer for you at the moment. it may be the configure options selected. If you find out the answer please tell me and I'll do like wise. Peter - Original Message - From: Adrian

Re: [PHP] php 4.0.6

2001-07-22 Thread Adrian D'Costa
, 19 Jul 2001, Rasmus Lerdorf wrote: Did you compile php using --with-readline ? On Thu, 19 Jul 2001, Adrian D'Costa wrote: Hi, I am trying to use the socket or readline functions but get a message: call to undefined function readline(). Why? Is this not implemented

Re: [PHP] php 4.0.6

2001-07-22 Thread Adrian D'Costa
- From: Adrian D'Costa [EMAIL PROTECTED] To: E. Peter K. Chan [EMAIL PROTECTED] Cc: php general list [EMAIL PROTECTED] Sent: Saturday, July 21, 2001 4:48 PM Subject: Re: [PHP] php 4.0.6 Hi Peter, I think the guru of php on the list can tell us what the problem is. I am going

Re: [PHP] php 4.0.6

2001-07-23 Thread Adrian D'Costa
- Original Message - From: Adrian D'Costa [EMAIL PROTECTED] To: E. Peter K. Chan [EMAIL PROTECTED] Cc: php general list [EMAIL PROTECTED] Sent: Saturday, July 21, 2001 4:48 PM Subject: Re: [PHP] php 4.0.6 Hi Peter, I think the guru of php on the list can tell us what the problem is. I

[PHP] mail with html

2001-07-23 Thread Adrian D'Costa
Hi, I know this subject had been discussed here before. Tried searching in list.php.net, I get a message search not setup (or something). I want to send html mails thru php using mail(). Could someone tell me where I can study some scripts or tutorials. TIA Adrian -- PHP General Mailing

RE: [PHP] mail with html

2001-07-23 Thread Adrian D'Costa
it. /sunny -Original Message- From: Sandeep Hundal [mailto:[EMAIL PROTECTED]] Sent: 23 July 2001 11:06 To: 'Adrian D'Costa'; php general list Subject: RE: [PHP] mail with html here's a script i wrote a while back. copied and pasted. - ? if ($submit

RE: [PHP] mail with html

2001-07-23 Thread Adrian D'Costa
email instead of text email... i'm assuming you've already written the script to sent plain text email. i thought you needed that. /sunny -Original Message- From: Adrian D'Costa [mailto:[EMAIL PROTECTED]] Sent: 23 July 2001 12:26 To: Sandeep Hundal Cc: php general list Subject

[PHP] php stand alone

2001-07-24 Thread Adrian D'Costa
Hi, How do I compile php to work as a stand alone. Right now it is working thru the web but need to run it from a cron job. TIA Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

RE: [PHP] php stand alone

2001-07-25 Thread Adrian D'Costa
- From: Adrian D'Costa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 7:14 AM To: php general list Subject: [PHP] php stand alone Hi, How do I compile php to work as a stand alone. Right now it is working thru the web but need to run it from a cron job. TIA

Re: [PHP] php stand alone

2001-07-25 Thread Adrian D'Costa
Hi, Thanks. I will look at that **manual**. But your suggestion of running lynx is interesting. What I want to do is receive a mail to a account with a preset subject. On arriving at that account the php script will get the contents of the subject and preform other tasks. Will the Lynx

RE: [PHP] php stand alone

2001-07-25 Thread Adrian D'Costa
scripts at inopportune moments. -Original Message- From: Gunther E. Biernat [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 8:32 AM To: Adrian D'Costa; php general list Subject: Re: [PHP] php stand alone How do I compile php to work as a stand alone. Right now

[PHP] what would return?

2001-07-26 Thread Adrian D'Costa
Hi, I have a php script that will send certain information to a mailing list. Upon arrival the customer will have seven records each with a unique id. On clicking the link a mail will be sent back with the subject having that unique id. On arriving at my mail server I pipe the mail thru a php

[PHP] Re: mail priority

2001-07-26 Thread Adrian D'Costa
You can add it in the headers. In fact you can add any info as long as they abide by the RFC822. I took if from the function.mail.php /* additional header pieces for errors, From cc's, bcc's, etc */ $headers .= From: Birthday Reminder [EMAIL PROTECTED]\n; $headers .= X-Sender: [EMAIL

Re: [PHP] Newbie Help!! Please Look!

2001-04-19 Thread Adrian D'Costa
use wordpad. Adrian On Wed, 18 Apr 2001, Tony Daniels wrote: I used notepad and it shows some weird symbols like darkened in squares. That is why I was wondering if there was a specific program. Is there any way to get rid of the squares? Thank for your help. Jason Murray wrote:

[PHP] how do I do this

2001-04-23 Thread Adrian D'Costa
Hi, I have the following script. What I want is that when I select the country the corresponding cities should only be listed in the second dropdown box. Can some one guide me. Right below is my table structure. $searchStmt = select name from airlines group by name order by name ;

Re: [PHP] how do I do this

2001-04-24 Thread Adrian D'Costa
2001, Adrian D'Costa wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 23 Apr 2001, Andreas Landmark wrote: country the corresponding cities should only be listed in the second dropdown box. Can some one guide me. Right below is my table structure. If you

[PHP] Re: Posting to a form

2001-04-24 Thread Adrian D'Costa
I had this problem when I saved the page as a .html rather than a .php Adrian On Mon, 23 Apr 2001, Wade wrote: I'm trying to do the following input type=text tabindex=17 name=Aname value= ? echo strtoupper($Aname); ? But when Aname is multiple words, such as Wade Williams,

[PHP] Re: columns

2001-04-28 Thread Adrian D'Costa
On Sat, 28 Apr 2001, Adrian D'Costa wrote: hi, I have listed the code below. I have the below table: | id | int(11) | | PRI | | auto_increment | | operator | varchar(30) | | | || | email| varchar(35) | YES