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 wr
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" ;
#$searc
-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 want to do this with pure php you'll
t; philip
>
> On Tue, 24 Apr 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
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
>
>
> echo strtoupper($Aname);
> ?>
>
> But when Aname is multiple words, such as "Wade Williams", everything from
> the whitespace on gets cut of
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
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
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
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
featu
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
Hi,
I have the follow running on my local host rh 7.0
My version
+--+
| version()|
+--+
| 3.23.22-beta-log |
+--+
php
4.0.1pl2
my virtual host
mysql
+---+
| version() |
+---+
| 3.22.32 |
+---+
php running on some
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,
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 thr
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
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 com
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, e-mai
1 PM 11/17/2001 +0530, Adrian D'Costa wrote:
> >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.
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
> tempo
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 wa
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 tag (I don't know
> >
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 project.
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
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 s
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 d
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 bu
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 i
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
A66C4EC07C9B572A58FC
> echo cont[2];
> // array index 2 will be nothing.. null or ""
>
> hope it works..
> regards,
>
> James
>
> Adrian D'Costa wrote:
>
> > Hi,
> >
> > I am trying to capture the H
> >
> > 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 s
Bleything wrote:
> Why don't you explode(";",$header); ??
>
> Ben
>
> -----Original Message-
> From: Adrian D'Costa [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, July 14, 2001 2:54 AM
> To: php general list
> Subject: [PHP] REGEXP
>
>
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: [EMAIL
fined function.
> - 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
:
> 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
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, A
gt; Peter
> - 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 t
e. Any
> number of things could be wrong. You will have to do a little bit of
> digging on your own.
>
> -Rasmus
>
> > Hi,
> > I have now compiled php --with-readline and --with-sockets but I still get
> > the "call to undefined function socket() " w
etting up mysql, php,apache and even openssl.
> And it works.
>
> Peter
>
>
> - Original Message -
> From: "Adrian D'Costa" <[EMAIL PROTECTED]>
> To: "E. Peter K. Chan" <[EMAIL PROTECTED]>
> Cc: "php general list" <[EMAIL P
utorial on setting up mysql, php,apache and even openssl.
> And it works.
>
> Peter
>
>
> - Original Message -
> From: "Adrian D'Costa" <[EMAIL PROTECTED]>
> To: "E. Peter K. Chan" <[EMAIL PROTECTED]>
> Cc: "php general list&qu
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 L
e the address
> or remove 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
>
&g
n you can
> send html 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]]
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 th
t; Tyler
>
>
> > -Original Message-
> > 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
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 do
run your
> 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
> >
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
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 PRO
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 prin
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?
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
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 remot
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
scro
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
try using $the_image_name. From the
manual this is what I figured out and it works (on linux)
In PHP, the following variables will be defined w
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 an
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)