Re: [PHP] Re: php|cruise - do unto others...

2003-10-20 Thread Didier McGillis
I cant attach my loose change to my email :(


From: Ryan A [EMAIL PROTECTED]
Reply-To: Ryan A [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: [PHP] Re: php|cruise - do unto others...
Date: Mon, 20 Oct 2003 21:29:53 +0200
Hey,
Sending John on a cruise is a fantastic idea, if we pay a bit more can we
keep his sarcastic ass there???
Hehe, just kidding, the dude has helped me (and a whole lot of others) a
lot...its payback time.
I am not a rich guy and not based in the states, so my one and only little
question is:
Is there a minimum donation or does every little bit count, and I don't
get cursed for a small donation do I?
Cheers,
-Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Weird Apache/php/windows problem

2003-10-20 Thread Didier McGillis
Question?  Was this the download from the PHP site, the Windows installer.
Does the sapi folder have anything in it?
I had an issue with this installer, the PHP 4.3.1 and I know there is 
another download you will need to do.

Let me see if I can find it.

dan


From: Nemesis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Weird Apache/php/windows problem
Date: Mon, 20 Oct 2003 15:42:07 -0400
Lai, Kenny wrote:

i'm new to php, but from what i can see.. you need to add the DDL that
resides in your PHP directory..
LoadModule php4_module  c:/php/sapi/php4apache.dll

or

LoadModule php4_module  c:/php/sapi/php4apache2.dll for apache 2.x

regards,
kenny
Tried that already. I have never been able to get it to work on Win 98. It 
does seem to work on other windows versions.

Gary

The Nemesis Project
http://nemesis1.f2o.org
One Stop CSS
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: php|cruise - do unto others...

2003-10-20 Thread Didier McGillis
We dont even have to ask permission .. we would be doing them a service.  :)

From: Robert Cummings [EMAIL PROTECTED]
To: Didier McGillis [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED],PHP-General 
[EMAIL PROTECTED]
Subject: Re: [PHP] Re: php|cruise - do unto others...
Date: 20 Oct 2003 15:52:35 -0400

On Mon, 2003-10-20 at 15:35, Didier McGillis wrote:
 I cant attach my loose change to my email :(
There's a money making idea -- teleporter email attachments. Now to just
figure out the teleporter part...
Rob.



 From: Ryan A [EMAIL PROTECTED]
 Reply-To: Ryan A [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 Subject: [PHP] Re: php|cruise - do unto others...
 Date: Mon, 20 Oct 2003 21:29:53 +0200
 
 Hey,
 Sending John on a cruise is a fantastic idea, if we pay a bit more can 
we
 keep his sarcastic ass there???
 
 Hehe, just kidding, the dude has helped me (and a whole lot of others) 
a
 lot...its payback time.
 
 I am not a rich guy and not based in the states, so my one and only 
little
 question is:
 Is there a minimum donation or does every little bit count, and I 
don't
 get cursed for a small donation do I?
 
 Cheers,
 -Ryan
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

 _
 The new MSN 8: smart spam protection and 2 months FREE*
 http://join.msn.com/?page=features/junkmail

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


--
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'
_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] OT Re: php|cruise - do unto others...

2003-10-20 Thread Didier McGillis



 I cant attach my loose change to my email :(

Sadly, that feature won't be implemented till PHP5. ;)
Yeah I tried that and it took my underwear and left a welt, I submitted it 
as a bug.

Edward Dudlik
Those who say it cannot be done
should not interrupt the person doing it.
wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU



- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, 20 October, 2003 15:35
Subject: Re: [PHP] Re: php|cruise - do unto others...
I cant attach my loose change to my email :(

From: Ryan A [EMAIL PROTECTED]
Reply-To: Ryan A [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: [PHP] Re: php|cruise - do unto others...
Date: Mon, 20 Oct 2003 21:29:53 +0200

Hey,
Sending John on a cruise is a fantastic idea, if we pay a bit more can we
keep his sarcastic ass there???

Hehe, just kidding, the dude has helped me (and a whole lot of others) a
lot...its payback time.

I am not a rich guy and not based in the states, so my one and only 
little
question is:
Is there a minimum donation or does every little bit count, and I don't
get cursed for a small donation do I?

Cheers,
-Ryan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


_
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] OT Re: php|cruise - do unto others...

2003-10-20 Thread Didier McGillis
Some change just came out of my cd-rom .. could it be yours?


From: Jay Blanchard [EMAIL PROTECTED]
To: Robert Cummings [EMAIL PROTECTED],   Didier McGillis 
[EMAIL PROTECTED]
CC: [EMAIL PROTECTED], PHP-General [EMAIL PROTECTED]
Subject: RE: [PHP] OT Re: php|cruise - do unto others...
Date: Mon, 20 Oct 2003 15:18:36 -0500

[snip]
   I cant attach my loose change to my email :(
 
 Sadly, that feature won't be implemented till PHP5. ;)

 Yeah I tried that and it took my underwear and left a welt, I
submitted it
 as a bug.
I heard it might be delayed till PHP 6 due to unforseen technical
difficulties.
[/snip]
$uploaddir = '/var/change/uploads/';
$uploadfile = $uploaddir. $_FILES['userchange']['name'];
if (move_uploaded_change($_FILES['userchange']['tmp_name'],
$uploadfile)) {
print Change is valid, and was successfully uploaded. ;
print_r($_FILES);
} else {
print Possible theft of change!\n;
print_r($_FILES);
}
I was able to upload my loose change (see code above), but now I cannot
find it.
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php|cruise - do unto others...

2003-10-20 Thread Didier McGillis
I certain hope no one takes offense to this, John has been a great asset to 
this community and to this list, its not like its a required donation or 
anything like that, unlike my sons daycare, pay $200/wk and then fundraise 
for them.

From: Becoming Digital [EMAIL PROTECTED]
To: PHP-DB [EMAIL PROTECTED], php-general 
[EMAIL PROTECTED]
Subject: Re: [PHP] php|cruise - do unto others...
Date: Mon, 20 Oct 2003 15:26:04 -0400

Thanks for the kinds words.  I'm glad this has been well received (so far).

To make a donation, simply login to PayPal and click the Send Money tab 
at the top of your screen.  Once there, put [EMAIL PROTECTED] in the 
Recipient's Email field and fill out the remaining fields to your liking. 
:)

Edward Dudlik
Those who say it cannot be done
should not interrupt the person doing it.
wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU



- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: Becoming Digital [EMAIL PROTECTED]; PHP-DB 
[EMAIL PROTECTED]; php-general [EMAIL PROTECTED]
Sent: Monday, 20 October, 2003 15:09
Subject: RE: [PHP] php|cruise - do unto others...

[snip]
PayPal a contribution to [EMAIL PROTECTED]
[/snip]
Fabulous idea Ed, I wish I'd a thunk it for me. At the risk of seeming
ignorant (same risk I run each day by just getting out of bed) how
exactly do I PayPal a contribution to [EMAIL PROTECTED]? I have
made Paypal contributions before, but I've never seen (to my
recollection) one done directly before.
Thanks!

Jay

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Looking for a programmer designer to hire

2003-10-16 Thread Didier McGillis
I've asked for help and replied to help, but try and do the answer back off 
list.


From: Chris W. Parker [EMAIL PROTECTED]
To: Joseph Bannon 
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: RE: [PHP] Looking for a programmer  designer to hire
Date: Thu, 16 Oct 2003 11:26:55 -0700

Joseph Bannon mailto:[EMAIL PROTECTED]
on Thursday, October 16, 2003 11:22 AM said:
 Are there any sites I can post a bid request for programmers and
 graphic designers?
I've seen requests posted to this list in the past and not heard anyone
complain (that I can remember). So it should be ok to do it here. I
tried googling for a real website but didn't find anything. I know
they're out there though.
HTH,
Chris.
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] RE: DAN (Didier McGillis) *** codeSECURE 1.0 - - Protecting PHP code

2003-10-15 Thread Didier McGillis
I'm sorry I did not know this was being sent to the list as well.

From: James Cox [EMAIL PROTECTED]
To: John Black [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: [PHP] RE: DAN (Didier McGillis) *** codeSECURE 1.0 - - Protecting 
PHP code
Date: Wed, 15 Oct 2003 11:19:53 -0700

Ok, can we stop sending this to php-announce please...

--
James Cox (Editor) :: [EMAIL PROTECTED] :: http://www.apress.com/
The Experts Voice (tm)
Frasier Crane: Y'know, Niles, what say I buy us dinner and a lot of
martinis?   Niles Crane: Sounds great, except for the dinner part.
 -Original Message-
 From: John Black [mailto:[EMAIL PROTECTED]
 Sent: 15 October 2003 10:16
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: DAN (Didier McGillis) *** codeSECURE 1.0 - -
 Protecting PHP code


 Hi again Dan,
 Sorry, I have been very busy and looking back I dont think I
 cleared the license issue totally.

 If you are selling software from your site, it does not
 matter how many people buy your software that is encoded with
 codeSecure, the license is site wise,
 ie:
 if you are selling software from 1 site, thats 1 license, no
 matter how many people buy your software (which is encoded
 with CS) and use it on their sites. if selling from 3 sites
 thats 3 licenses. And additional licenses are just 15$
 anyway, even less if you are purchasing 5 licenses and above.


 Regards,
 JB

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] OT project

2003-10-13 Thread Didier McGillis
I'm starting a pretty involved project and would like to get some help 
lookin for 1 php/sql/linux person and 1 database person for some assistance. 
 will answer/talk about the project off list with those interested.  
compensation available.  serious inquires only.

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Congratulations You Win

2003-10-10 Thread Didier McGillis
NONONONONOONO ITS MINE, BACK AWAY !
grr




From: Kevin Bruce [EMAIL PROTECTED]
To: Nathan Taylor [EMAIL PROTECTED], [EMAIL PROTECTED],   
[EMAIL PROTECTED]
Subject: Re: [PHP] Congratulations You Win
Date: Wed, 08 Oct 2003 14:40:25 -0400

WOW! who's ALREADY jumped on this??? I can't wait to give him my bank
account #!!! I'm going to be RICH!
;)
 WTF is this?
 - Original Message -
 From: Francis Weeny
 To: [EMAIL PROTECTED]
 Sent: Wednesday, October 08, 2003 10:30 PM
 Subject: [PHP] Congratulations You Win


 SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS.
 ALFONSTRAAT B56,
 1002 BS AMSTERDAM, THE NETHERLANDS.
 TO THE MANAGER
 FROM: THE DESK OF THE PROMOTIONS MANAGER,
 INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPARTMENT,
 REF: OYL /26510460037/02
 BATCH: 24/00319/IPD
 ATTENTION:
 RE/ AWARD NOTIFICATION; FINAL NOTICE
 We are pleased to inform you of the announcement
 today,  7th October2003 of winners of the SUNSWEETWIN PROMO
 LOTTERY,THE
 NETHERLANDS/ INTERNATIONAL, PROGRAMS held on 28th August 2003

 Your company,is attached to ticket number
 023-0148-790-459, with serial number 5073-11 drew
 the lucky numbers 43-11-44-37-10-43, and consequently
 won the lottery in the 3rd category.
 You have therefore been approved for a lump sum pay
 out of US$5,500.000.00 in cash credited to file REF
 NO. OYL/25041238013/02. This is from total prize money
 of
 US$80,400,000.00 shared among the seventeen
 international winners in
 this category. All participants were selected through
 a computer
 ballot
 system drawn form 25,000 names from Australia, New
 Zealand, America, Europe, North America and Asia as
 part of
 International Promotions Program, which is conducted
 annually.
 CONGRATULATIONS!
 Your fund is now deposited with a Security company
 insured in your name. Due to the mix up of
 some numbers and names, we ask that you keep this
 award strictly
 from
 public notice until your claim has
 been processed and your money remitted to your
 account.
 This is part of our security protocol to avoid
 double claiming or unscrupulous acts by participants
 of
 this program.
 We hope with a part of you prize, you will
 participate in our end of year high stakes US$1.3
 billion
 International Lottery.
 To begin your claim, please contact your claim
 agent; Mr Francis weeny at this email address below.
 [EMAIL PROTECTED]
 For due processing and remittance of your prize
 money to a designated account of your choice.
 Remember, all prize money must be claimed not later
 than 17th October 2003. After this date, all funds will
 be returned as unclaimed.
 NOTE: In order to avoid unnecessary delays and
 complications, please remember to quote your
 reference and batch numbers in every one of your
 orrespondences with your agent.
 Furthermore, should there be any
 change of your address, do inform your claims agent
 as soon as possible.
 Congratulations again from all our staff and thank
 you for being part of our promotions program.

 Sincerely,
 Clark Wood
 THE PROMOTIONS MANAGER, SUNSWEETWIN PROMO LOTTERY,THE
 NETHERLANDS.
 NB. Any breach of confidentiality on the part of
 the winners will result to disqualification.
 SORRY FOR THE LATE INFORMATION THANKS
 CLARK  WOOD




 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


--
Kevin Bruce
Educational Web Designer
VIP K-16 Grant
http://www.scienceinquiry.org
[EMAIL PROTECTED]
Maryland Sea Grant College
AOL Instant Messenger screen name- mdsgkevin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Congratulations You Win

2003-10-10 Thread Didier McGillis
NO I CAN AFFORD MICRO$OFT !  WELL KINDA

From: Dan Joseph [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Congratulations You Win
Date: Wed, 8 Oct 2003 14:39:03 -0400
Excellent!  We all win again!  Retirement here I come!

-Dan Joseph

 -Original Message-
 From: Francis Weeny [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 08, 2003 10:39 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Congratulations You Win


 SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS.
 ALFONSTRAAT B56,
 1002 BS AMSTERDAM, THE NETHERLANDS.
 TO THE MANAGER
 FROM: THE DESK OF THE PROMOTIONS MANAGER,
 INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPARTMENT,
 REF: OYL /26510460037/02
 BATCH: 24/00319/IPD
 ATTENTION:
 RE/ AWARD NOTIFICATION; FINAL NOTICE
 We are pleased to inform you of the announcement
 today,  7th October2003 of winners of the SUNSWEETWIN PROMO
 LOTTERY,THE
 NETHERLANDS/ INTERNATIONAL, PROGRAMS held on 28th August 2003

 Your company,is attached to ticket number
 023-0148-790-459, with serial number 5073-11 drew
 the lucky numbers 43-11-44-37-10-43, and consequently
 won the lottery in the 3rd category.
 You have therefore been approved for a lump sum pay
 out of US$5,500.000.00 in cash credited to file REF
 NO. OYL/25041238013/02. This is from total prize money
 of
 US$80,400,000.00 shared among the seventeen
 international winners in
 this category. All participants were selected through
 a computer
 ballot
 system drawn form 25,000 names from Australia, New
 Zealand, America, Europe, North America and Asia as
 part of
 International Promotions Program, which is conducted
 annually.
 CONGRATULATIONS!
 Your fund is now deposited with a Security company
 insured in your name. Due to the mix up of
 some numbers and names, we ask that you keep this
 award strictly
 from
 public notice until your claim has
 been processed and your money remitted to your
 account.
 This is part of our security protocol to avoid
 double claiming or unscrupulous acts by participants
 of
 this program.
 We hope with a part of you prize, you will
 participate in our end of year high stakes US$1.3
 billion
 International Lottery.
 To begin your claim, please contact your claim
 agent; Mr Francis weeny at this email address below.
 [EMAIL PROTECTED]
 For due processing and remittance of your prize
 money to a designated account of your choice.
 Remember, all prize money must be claimed not later
 than 17th October 2003. After this date, all funds will
 be returned as unclaimed.
 NOTE: In order to avoid unnecessary delays and
 complications, please remember to quote your
 reference and batch numbers in every one of your
 orrespondences with your agent.
 Furthermore, should there be any
 change of your address, do inform your claims agent
 as soon as possible.
 Congratulations again from all our staff and thank
 you for being part of our promotions program.

 Sincerely,
 Clark Wood
 THE PROMOTIONS MANAGER, SUNSWEETWIN PROMO LOTTERY,THE
 NETHERLANDS.
 NB. Any breach of confidentiality on the part of
 the winners will result to disqualification.
 SORRY FOR THE LATE INFORMATION THANKS
 CLARK  WOOD




 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] dynamic - static

2003-10-08 Thread Didier McGillis
Quick way to do it would be to spider your site with an offline browser and 
then put that site up in a subdirectory, change your index file to redirect 
to your site via javascript and place the static html page hidden from 
browsers, but not from spiders.  Completely legal as long as you follow the 
search engines guidelines.  I think it is legal if you do it like a framed 
page.  Also place javascript redirects to their cooresponding dynamic pages. 
 The javascript redirects are invisible to spiders.


From: Veniamin Goldin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] dynamic - static
Date: Wed, 8 Oct 2003 10:09:11 +0100
The problem is actually that search engines poorly indexes dynamic content
sites, so I looking for solution to produce static pages with static links
from all dynamic content being formed on the fly.
- Original Message -
From: Ryan Thompson [EMAIL PROTECTED]
To: Veniamin Goldin [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 7:46 AM
Subject: Re: [PHP] dynamic - static
Do you mean something like taking a snapshot of the CMS every
24 hours or so??
If I understand you right you might want to look at a different language
like perl or shell scripting. I would think they'd be more useful for that
sort of thing.
On Wednesday 08 October 2003 03:56, Veniamin Goldin wrote:
 Dear All,

 Does anybody have any solutions, which makes possible to produce static
 pages of all dynamic cms once a day and  can be easily integrated into
 already made site?


 Thank you.
--
Ryan Thompson
[EMAIL PROTECTED]
http://osgw.sourceforge.net
==
A computer scientist is someone who fixes
 things that aren't broken --Unknown
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] LiteSpeed Web Server 1.1

2003-10-08 Thread Didier McGillis
lol


From: Robert Cummings [EMAIL PROTECTED]
To: Leif K-Brooks [EMAIL PROTECTED]
CC: LiteSpeed Information [EMAIL PROTECTED],Php-General (E-mail) 
[EMAIL PROTECTED]
Subject: Re: [PHP] LiteSpeed Web Server 1.1
Date: 08 Oct 2003 12:44:52 -0400

On Wed, 2003-10-08 at 12:41, Leif K-Brooks wrote:
 LiteSpeed Information wrote:

  We glad to introduce you LiteSpeed Web Server 1.1.

 Mind explaining this?


 $ telnet litespeedtech.com 80
 HEAD / HTTP/1.1
 Host: litespeedtech.com

 HTTP/1.1 200 OK
 Date: Wed, 08 Oct 2003 16:36:18 GMT
 Server: Apache
 -
*heheh* That's like the smarty template site not using smarty. Or back
in the day when hotmail was owned by Microsoft but still running off
linux.
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] User authentication

2003-10-02 Thread Didier McGillis
for those of you who are writing apps and looking at this and you have 
customers adding things to their session such as a cart or something else 
and you destroy the session the information that they were keeping in their 
session would be lost so if you dont want pissed off customers calling 
saying they lost something after leaving their desk for a few minutes then 
you want to make sure that the information such as cart or whatever is 
stored elsewhere and has their user id tied to it.  So when your laying out 
your site, and your destroying sessions make sure that unless that is the 
designed intent (such as login information) that your arent destroying 
something more imporatant like someones shopping cart filling with $3000 
worth of merch, yes I know with exchange rate thats only worth $.25 to 
Americans.


Yes. session_destroy().

--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
How do I love thee?  My accumulator overflows.
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Cleaning up my messy code

2003-09-30 Thread Didier McGillis
I can understand that.  When I was a young coder, just fresh out of high 
school going to school for Sport Management, btw I believe and have stress 
to the education board that I sit on for high school and trade school tech 
programs that they not teach specifics about a certain language but that 
they teach the kids the proper way to code, database design, all the 
fundamentals and allow the kids to get a good base (think that is more 
imporatant then anything) and then let them discover their own tools, and 
style and language of choice (notice mine isnt english).

Anyway I'm sorry about the rant.  I imagne that you are writting the 
database and coming up with that piece as well.  While you are writting the 
database you are starting to form the foundation of your site, and coming up 
with revisions.  I find its best to make notes in the db design doc, and 
even in the sql about why you did things the way you did.  You can go back 
and reference these notes and build on them.  Secondly I sit down on my 
laptop and while thinking or coding I make other notes either in my code or 
in a coding document about how the structure of how things are laid out, and 
why I did xml over sql calls and such.  This may sound like a lot of extra 
work, but not only is the foundation to your site documentation, which 
should be written but it will help you get a frame of reference should you 
have to step away from teh project or just need a reminder, also if you 
bring someone else in to help you wont have to spend much time babysitting 
them.


From: Chris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Cleaning up my messy code
Date: 29 Sep 2003 21:49:45 -
[EMAIL PROTECTED] (Warren Vail) wrote in
news:[EMAIL PROTECTED]:
 My own experience has shown that separation of a presentation layer
 from an application layer, doesn't occur where we think it should.
 HTML as a language has no capability to be dynamic, and if we are
 going to ask that the page be dynamic, we are going to need to make
 sure we don't attempt to split layers along language boundaries.
 JavaScript, as we typically use it, adds some dynamic nature to our
 pages, but often is not based on database content.  This is where PHP
 comes in and the split becomes more vague.  If what the user sees, is
 controlled by database content, then splitting presentation and
 application layers becomes a frustrating exercise in theoretical
 purity, that often adds to response times of applications.
Certainly. This is not a theoretical exercise but frustration with
dealing with my own code, trying to implement revisions, and basically
feeling like I need a map of some kind to know where I am.
That's why I'm interested in what other people really do rather than
theoretical models they think might be the purest. And it isn't just
code and content separation, which isn't always practical as an
absolute, but code separation. If I have a simple set of actions to
perform, say a series of functions to enter data into a db, review the
entry, edit the entry, etc. how can I organize my code so it is easy to
maintain and so some things can be reused? Objects? Functions? Fuses?
Switches? All of these have their adherents... I'm trying to find one
that adheres to me-- i.e. that is usable without being so extensive and
abstract that I spend more time trying to learn how to fit the framework
than actually getting something done...
c

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP Editor - which to use?

2003-09-25 Thread Didier McGillis
I like accelerators I just didnt like the price.  So I wrote my own, but I 
havent worked all the bugs out yet.


From: Robert Cummings [EMAIL PROTECTED]
To: Curt Zirzow [EMAIL PROTECTED]
CC: PHP-General [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Editor - which to use?
Date: 24 Sep 2003 09:44:40 -0400
On Wed, 2003-09-24 at 09:43, Curt Zirzow wrote:
 * Thus wrote Didier McGillis ([EMAIL PROTECTED]):
  alot easier for me with the returns and tabs.  What I do is I have a 
script
  that strips out any space, tabs, carriage returns and then moves the 
code
  into the production environment.  But really unless you are dealing 
with

 In some cases, files with no carriage returns is less effeciant
 than files with them.

Accelerators are very efficient, and I'm pretty sure they don't store
whitespace except when it's in a string :)
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP Editor - which to use?

2003-09-25 Thread Didier McGillis
me? groan?  never!
:)
Really I think most of agree that its a personal preference if you learned 
one way then you going to be the most comfortable in using that style.  I am 
very used to C style coding and therefore am more comfortable using that.

From: Kevin Bruce [EMAIL PROTECTED]
To: PHP-General [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Editor - which to use?
Date: Wed, 24 Sep 2003 10:34:33 -0400
FYI- New to this list but have been a php coder for 2 years.

I know a lot of you out there are going to groan inwardly, but I use
Dreamweaver, mainly because that's what I used since it's inception when I
was writing static sites. I use OSX for my writing platform and 
occasionally
use BBedit as well. If someone could point out a better PHP editor for the
Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting.

I started out as a pure designer but got into the web and have since been a
moderate code writer, so cut me some slack if my methods are not standard;)
Whether or not it is proper form, I use the following format:

if($conditional)
{
some code;
}
else
{
if($subconditional)
{
subsome code;
}
else
{
subsome alternate code;
}
}
---
iChat screen name- mdsgkevin
 * Thus wrote Robert Cummings ([EMAIL PROTECTED]):
 *COUGH* *COUGH* EVERY REAL coder knows that you have to use the
 following brace style for your code to be accepted into the l33t
 hierarchy of [EMAIL PROTECTED]:

 if( $pos_params != false )
 {
 $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params );

 $back_url_params =
 substr( $HTTP_GET_VARS['origin'], $pos_params + 1 );
 }
 else
 {
 $back_url = $HTTP_GET_VARS['origin'];
 $back_url_params = '';
 }

 cat | realprogrammer

 if( $pos_params != false ) {

 $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params );
 $back_url_params =
 substr( $HTTP_GET_VARS['origin'], $pos_params + 1 );

 } else {

 $back_url = $HTTP_GET_VARS['origin'];
 $back_url_params = '';

 }

 cat | realprogrammer | in_a_rush

 if($p) {
 $bu = substr( $_GET['o'], 0, $p );
 $bup = substr( $_GET['o'], ++$p );
 } else {
 $bu = $_GET['o'];
 $bup = '';
 }

 :)

 Curt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP Editor - which to use?

2003-09-25 Thread Didier McGillis
I think that is the one thing that really gets me, and therefore is the 
reason that I stay away from Dreamweaver (my wife uses it, so its in the 
house) but I have to tweak the code it gives me or she gives me when 
something isnt working, and its always something odd or many things odd in 
the HTML or php.  But again thats just me.

From: Kevin Bruce [EMAIL PROTECTED]
To: Cesar Cordovez [EMAIL PROTECTED],   PHP-General 
[EMAIL PROTECTED]
Subject: Re: [PHP] PHP Editor - which to use?
Date: Wed, 24 Sep 2003 13:04:45 -0400

Thanks:) I'll give BBedit a go for a week and let you know how it turns 
out.
Yes, Dreamweaver does sucketh much, but it's great for hashing out the page
(WYSIWYG style) then tweeking the code. I Hate (capital H) hand typing
nested tables.*  :P

*high school memoryHwat the hell do I need typing for, I'm going to be an
illustrator!/high school memory
 THE best text/code editor in this planet is BBEdit. No questions about
 it.  It is a pitty it only runs on Macs.  I have used it to write text,
 code fortran, pascal, c, c++, html, css and php (among others). It is
 great, I love it.  Kudos to Bare Bones!  Great find/replace utility.
 Incredible adaptation to your needs.  Owesome syntax coloring.  Terminal
 included.  FTP, mail, telnet, terminal, macro, perl included.  Try it, 
now!

 Cesar

 (If any one cares, I also think that Dreamweaver Sucks!, big Time,
 capital S)

 Kevin Bruce wrote:

 FYI- New to this list but have been a php coder for 2 years.

 I know a lot of you out there are going to groan inwardly, but I use
 Dreamweaver, mainly because that's what I used since it's inception 
when I
 was writing static sites. I use OSX for my writing platform and 
occasionally
 use BBedit as well. If someone could point out a better PHP editor for 
the
 Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP 
highlighting.


--
Kevin Bruce
Educational Web Designer
VIP K-16 Grant
http://www.scienceinquiry.org
[EMAIL PROTECTED]
Maryland Sea Grant College
4321 Hartwick Road, Suite 300
College Park, MD 20740
301.403.4220 ext. 25
OR (on Wednesdays and Fridays)
717.637.5370
AOL Instant Messenger screen name- mdsgkevin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP Editor - which to use?

2003-09-25 Thread Didier McGillis
lmao .. good one.


From: pete M [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Editor - which to use?
Date: Thu, 25 Sep 2003 10:59:19 +0100
I write my code with pencil and paper and then scan it..
Dont need an editor !


John Nichel wrote:
I know we've discussed this numerous times, but I'll chime in again 
(mainly because I'm bored).

By far, I have been totally satisfied with UltraEdit.  Lightweight, just 
about any language you want to edit, user configurable syntax highlighting 
(for those into that), handles UNIX / DOS / Mac files easily, etc, etc.  
And best of all, buy a liscense (cheap) and you're supporting a 
programmer, and not a company.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] mysql.sock file location

2003-09-25 Thread Didier McGillis
ohohohohohoo
or you can delete that and restart mysql and it will recreate.  i have seen 
that before and that worked.


From: Jay Blanchard [EMAIL PROTECTED]
To: Donald Tyler [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
Date: Thu, 25 Sep 2003 09:43:33 -0500
[snip]
Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (13) in
/usr/local/apache2/htdocs/dbtest.php on line 3
[/snip]
Can we see your connection string? My bet would be permissions...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] mysql.sock file location

2003-09-25 Thread Didier McGillis
yes like the user and the password  ** and ** arent working for me.
;)
From: Jay Blanchard [EMAIL PROTECTED]
To: Brad Pauly [EMAIL PROTECTED],   Donald Tyler 
[EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
Date: Thu, 25 Sep 2003 10:12:50 -0500

[snip]
 Here's the test script I am using: (Presume that's what you meant by
 connection string?

 ?PHP

if($Connection = mysql_connect('localhost', '**', '**'))
print 'Success!';
else
print 'Failure';

 ?
[/snip]
Let's get a hair more info, try

if(!($Connection = mysql_connect('localhost', '**',
'**'))){
print(mysql_error() . \n);
exit();
}
It also has the added benefit of shortening the code

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] mysql.sock file location

2003-09-25 Thread Didier McGillis
d-d-a is the proper way to say it but I pretty much go by everything 
including 'Hey you!'

From: Jay Blanchard [EMAIL PROTECTED]
To: Didier McGillis [EMAIL PROTECTED], [EMAIL PROTECTED],   
[EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
Date: Thu, 25 Sep 2003 10:16:45 -0500

[snip]
yes like the user and the password  ** and ** arent working for
me.
;)
[/snip]
Not to head way off topic, well, OTOH, yes I am...

Didier, is that pronounced did-i-A or did-i-er, or am I way off base. I
knew someone with the first iteration.
_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Shopping Cart Solutions

2003-09-24 Thread Didier McGillis
As everyone has said osCommerce is a good cart program, but if you need a 
serious customized solution then you are going to need to either spend your 
time foucsing on that app and get into it, or your going to want to find 
something a little less polished and more just foundation, not saying 
osCommerce doesnt have a good foundation, its just that its more of a 
finished and therefore has a more defined set of rules to work with it.

FreeTrade is a good app, they have moved several times you'll have to google 
it.  PHPShop I never really liked, more of a personal decision.

Anyone have suggestions for open source shopping cart apps in PHP?

Thanks, Charles
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Shopping Cart Solutions

2003-09-24 Thread Didier McGillis
I had been doign interchange back when it first changed names to 
Interchange, I havent used it since it was aquired by Redhat, no particular 
reason just personal preference.

Here is the link to FreeTrade.  I believe the Restoration Hardware site 
started with this code, they have since gone bigger and better, but its a 
great starting place.  This is will get you a site up and running, but this 
is pretty much framework.
http://share.whichever.com/index.php?SCREEN=freetrade


From: Stephan Becker [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Shopping Cart Solutions Date: Wed, 24 Sep 2003 14:07:33 
+0200

Well take a look into interchange.
http://www.icdevgroup.org
This Shop Engine has a nice demo catalog called foundation.
Take it, adopt it and your set for the most of all things you want to
achieve.
There is a lill tutorial which guides you through the basics of interchange
and leaves you with a skeletton but functional catalog after 3-4 hours of
reading and typing.
Installation is a bit tricky but I managed it though within a couple of
hours of try and error. If you eventually pass that phase of learning you
could do it easyliy again within 10 minutes.
One thing left to mention:
It´s Perl not PHP.
But I´am on the issue to wrap it into a modul .. ;)

Stephan

Didier McGillis [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]...
 As everyone has said osCommerce is a good cart program, but if you need 
a
 serious customized solution then you are going to need to either spend
your
 time foucsing on that app and get into it, or your going to want to find
 something a little less polished and more just foundation, not saying
 osCommerce doesnt have a good foundation, its just that its more of a
 finished and therefore has a more defined set of rules to work with it.

 FreeTrade is a good app, they have moved several times you'll have to
google
 it.  PHPShop I never really liked, more of a personal decision.

 Anyone have suggestions for open source shopping cart apps in PHP?
 
 
 Thanks, Charles

 _
 STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
 http://join.msn.com/?page=features/junkmail


_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP Editor - which to use?

2003-09-24 Thread Didier McGillis
I love editplus, I love homesite and emacs.
I hate Dreamweaver.
I can read code like that not a problem, but for debugging and layout its 
alot easier for me with the returns and tabs.  What I do is I have a script 
that strips out any space, tabs, carriage returns and then moves the code 
into the production environment.  But really unless you are dealing with 
hight traffic sites, your not going to see a difference.


From: Marek Kilimajer [EMAIL PROTECTED]
To: Jim Lucas [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Editor - which to use?
Date: Wed, 24 Sep 2003 14:12:04 +0200
I bet you don't indent your code either. And all white characters are 
useless too, they only slow interpreter down. Good coder will understand 
this at a glimpse:
if($pos_params!=false){$back_url=substr($HTTP_GET_VARS['origin'],0,$pos_params);$back_url_params=substr($HTTP_GET_VARS['origin'],$pos_params+1);}else{$back_url=$HTTP_GET_VARS['origin'];$back_url_params='';}

Jim Lucas wrote:
I like NoteTab from www.notetab.com

It doesn't do syntax highlighting, but if you need that, then you need to
learn to code better.
And best of all, there is a free version that does most everything the 
full
priced copy does.

Plus, one added feature is, is that it will allow you to do internal
scripting.
Jim Lucas

- Original Message - From: jeffrey pearson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 8:59 AM
Subject: Re: RE: [PHP] PHP Editor - which to use?


I like to use Edit Plus. www.editplus.com

It has the syntax highlighting for php, perl, java, and many others
through modules that are downloadable from their web site, DOESNT change
code like dreamweaver does and its cheap ($25).
Jeff Pearson

- Original Message -
From: Ruessel, Jan [EMAIL PROTECTED]
Date: Monday, September 22, 2003 2:00 am
Subject: RE: [PHP] PHP Editor - which to use?

well, i like to use dreamweaver mx or textpad with the syntax
highlighting

file you additionally have to download. i dunno if there are special
php-

must-have-editors.
grtz
jan
-Original Message-
From: Binay [EMAIL PROTECTED]
Sent: Montag, 22. September 2003 10:58
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Editor - which to use?
Hi everybody!

Please suggest me  a good PHP editor like ( Microsoft's Interdev for
ASP)

to write my php programs/scripts and get a visual feel.

Thanks
Binay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Logged Out of Seesion, Then use back button

2003-09-23 Thread Didier McGillis
http://www.php.net/manual/en/function.header.php

?php
// Date in the past
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);
// always modified
header(Last-Modified:  . gmdate(D, d M Y H:i:s) .  GMT);
// HTTP/1.1
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Cache-Control: post-check=0, pre-check=0, false);
// HTTP/1.0
header(Pragma: no-cache);
?


From: Roger Spears [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Logged Out of Seesion, Then use back button
Date: Tue, 23 Sep 2003 11:51:40 -0400
Hello,

I've googled to try to find an answer to this.  I've also checked the 
php.net site.  Perhaps I'm not using the correct search parameters.  The 
only suggestion I've found is the following code:

?php
header('Cache-Control: no-cache');
header('Pragma: no-cache');
?
But this doesn't seem to solve my problems.

My problem/question is as follows.

I have an email script that works in the following steps:

1) Login (if success then FROM and a personal email signature are 
properly populated)

2) Choose specifics for the email (this populates the TO variable and the 
other BODY variables)

3) Then click on preview (this creates the email with all the current 
variables, on the screen for viewing)

4) Then send the email

5) Prompted to create another or logout (if create another, then some 
session variables are unset) (if logout then session is destroyed)

Everything works as intended.

One user, however, has created a glitch.  He/she logged out and later 
returned to their still opened browser and used the back button to return 
to step 2 in the process.  Every email they created after using the back 
button has the following problems:
1) The reply to address and the from address are both default server 
address's and not the users personal email address.
2) Their is no personal signature.

Here's my questions
1) How can I prevent the use of the browser back button after someone 
logs out?
2) If, after a user has attained step 3, they use their back button to 
change a variables value in step 2, the new value is never saved by the 
session and their original entry is used in the email.  How can I adjust 
for people using their back buttons during the individual steps of the 
script?
3) Should the header calls appear before the session_start or after?

Thanks in advance,
Roger
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] HELP strip slashes ???

2003-08-14 Thread Didier McGillis
Everyone,

I am doing an admin site for a person and their small site.  I need to allow 
them to put in paragraphs of information.  I am allowing them to put in some 
HTML like b, br, p a href= a very limited amout of tags.  What is 
the best way to submit and then show this information to make sure that bad 
tags, characters ad quotes dont mess up the code when displaying it.

any help would be appreciated.

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] HELP about pull hair on this INSERT

2003-08-14 Thread Didier McGillis
About to yank some hair, and I have very little left.  Can some one look at 
my code, then the message I get and see what I am missing, I am at wits end, 
this is something that is not new to me but I am missing and I cant see it.

Included is code, message and table structure.

###
CODE:
// query to inset data into database
if ($submit) {
	$bmenu=addslashes($bmenu);
	$tmenu=addslashes($tmenu);
	$parent=addslashes($parent);
	$name=addslashes($name);
	$desc=addslashes($desc);
	$g_desc=addslashes($g_desc);
	$sort_order=addslashes($sort_order);
	$status=addslashes($status);
	$image=addslashes($image);
	$mb=addslashes($mb);
	$calendar=addslashes($calendar);
	$agiQuery=INSERT INTO group (id, bmenu, tmenu, parent, name, desc, g_desc, 
sort_order, status, image, mb, calendar) ;
	$agiQuery.=VALUES ('', '.$bmenu.', '.$tmenu.', '.$parent.', '$name', 
'$desc', '$g_desc', '.$sort_order.', '.$status.', '$image', '.$mb.', 
'.$calendar.');;
	$agiQuery.=;
	print p$agiQuery/pbr\n;
	$agiResult = mysql_query($agiQuery) or die(Invalid query:  . 
mysql_error());
	if (!$agiResult){
		print phey! insert failed./pbr\n;
	}
	print pinsert sucess!/pbr\n;
}

###

#
MESSAGE:
INSERT INTO group (id, bmenu, tmenu, parent, name, desc, g_desc, sort_order, 
status, image, mb, calendar) VALUES ('', '1', '1', '0', 'FBC Administrator', 
'fdhsjfds jfdash', 'jhfdjs fjdsahfjksda hfjdsha fjdskah fjdsha fdshajf dsa 
h', '4', '1', 'fdjshafjdash', '1', '1');

Invalid query: You have an error in your SQL syntax. Check the manual that 
corresponds to your MySQL server version for the right syntax to use near 
'group (id, bmenu, tmenu, parent, name, desc, g_desc, sort_order
##

#
TABLE:
CREATE TABLE group (
 id int(4) NOT NULL auto_increment,
 bmenu int(1) NOT NULL default '0',
 tmenu int(1) NOT NULL default '0',
 parent int(3) NOT NULL default '0',
 name text NOT NULL,
 desc text NOT NULL,
 g_desc text NOT NULL,
 sort_order int(3) NOT NULL default '0',
 status int(1) NOT NULL default '0',
 image text NOT NULL,
 mb int(1) NOT NULL default '1',
 calendar int(1) NOT NULL default '1',
 PRIMARY KEY  (id)
) TYPE=MyISAM;
#

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] HTML equivalents of accented characters

2003-08-14 Thread Didier McGillis
http://hotwired.lycos.com/webmonkey/reference/special_characters/
should have all you want

From: Liam Gibbs [EMAIL PROTECTED]
To: php list [EMAIL PROTECTED]
Subject: [PHP] HTML equivalents of accented characters
Date: Mon, 11 Aug 2003 14:18:37 -0400
I don't think this has been discussed, although I'm not really sure what 
you would call these accented characters, so I haven't been able to do a 
complete search of the archives, so apologies if this has been previously 
discussed.

Is there a function that not only turns  into amp;,  into quot;, and 
the like, but also turns é into eacute; and likewise with other accented 
characters? I know I could easily write one, but why if one already exists?
_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Installation for OS X

2003-07-01 Thread Didier McGillis
Went there and couldnt find the download, did he move it.

From: Larry E. Ullman [EMAIL PROTECTED]
To: Rodney Davis [EMAIL PROTECTED]
CC: PHP-General [EMAIL PROTECTED]
Subject: Re: [PHP] Installation for OS X
Date: Mon, 30 Jun 2003 20:26:38 -0400
Does anyone know of a good installation kit like FoxServ, phpTriad, etc 
for
Mac OS X?  I want a quick solution for adding MySQL, GD, phpLib support 
for
my mac.
Follow Marc's instructions at http://www.entropy.ch/software/macosx/php/
He provides a compiled version of PHP that includes MySQL support, GD, and 
much, much more.

Larry

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Query for MySQL

2003-06-30 Thread Didier McGillis
Question.

I am looking to try and pull the last modified date out and display it.  So 
lets say I have 1000 records.  I want to only display the date of the last 
modified time, I dont care about the id or the name or anything.  How do I 
query for that?

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] mysql_connect(): '/tmp/mysql.sock' error

2003-06-26 Thread Didier McGillis
What has always worked for me was to make sure MySQL is running, and if so 
then go delete the mysql.sock file and restart MySQL, not sure why but the 
first couple of times I have seen that error, usually goes away after one or 
two restarts.


From: Jean-Christian IMbeault [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] mysql_connect(): '/tmp/mysql.sock'  error
Date: Thu, 26 Jun 2003 16:53:22 +0900
I've installed PHP from source and MySQL 4.0.9 from rpm on my RH 9 machine.

When I try and connect from php using mysql_connect() I get the following 
error:

Warning: mysql_connect(): Can't connect to local MySQL server through 
socket '/tmp/mysql.sock' (2)

The server is up and running and I can connect fine using the command line 
client.

Do I need some special configuration?

Any advice appriciated!

Jean-Christian Imbeault

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Three questions.

2003-06-25 Thread Didier McGillis
I am building a smallish site that has planned growth over the next year or 
so.  I have time to do this correctly and would like to do so, most other 
projects I have done have come down to the wire for one reason or another.  
Anyway, I have two hopefully easy questions and one that could be opinion.

1.  Error trapping.  There are probably going to be times where there is 
going to be an error, I know you say but Didier not with your code, but 
there is alot of content being touched by lots and lots of people.  What I 
want to do is not to display the error to the screen, but you put up a 
generic message and have it fire off an email to me.  This would be for 
database queries and forms and such.  Any thoughts.

2.  Templates.  Oh I have tried Smarty and all the rest, usually just too 
much for my little sites.  Plus I like doing the work myself and I like ... 
well thats a story for another time.  I'm going to use modules for some of 
the items, but basically the header and footer will not change, in the past 
I have done the traditional header and footer include, but basically I dont 
want to have to rerun that php code and sql queries everytime I load a page. 
 Is there away to make a request for a page without loading the header and 
footer just have them stay the same.  I dont know maybe being to picky.

3.  Functions vs. Queries on the page.  Most sites I do, I start out with 
the great intention of doing functions and keeping alot of the logic off of 
the presentation layer, but that ends up going away after awhile and there 
mixed in with the html, dhtml, css and client javascript is php, asp or jsp. 
 Any thoughts, hints, tips for trying and succeeding on keep the logic away 
from the presentation.

thanks

didier

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] $_FILES help. Counting help

2003-05-27 Thread Didier McGillis
I have three file fields in a form.  I need it to upload those three items 
or two or one.  I can get it to upload one, but not all three, habing 
trouble with the for loop and how I get a value of $i.

if(isset($_POST['upload'])){
   if (!empty($_FILES['file']['name'])){
   $formats = array('mp3','exe');
   
if(in_array(strtolower(substr($_FILES['file']['name'],-3)),$formats)) {
   echo font face=\verdana,arial,helvetica\ size=\2\ 
color=\#00\bSorry! MP3's and .EXE's are disallowed!/b/font;
   }else{
   //mkdir(upload/ . $_POST['dir'],0777);
   copy($_FILES['file']['tmp_name'], images/ . 
$_FILES['file']['name']);
   unlink($_FILES['file']['tmp_name']);
   echo font face=\verdana,arial,helvetica\ size=\2\ 
color=\#00\b.$i. File(s) Uploaded Successfully to b . 
$_POST['dir'] . /b directory!/b/font;
   }
   }else{
   echo font face=\verdana,arial,helvetica\ size=\2\ 
color=\#00\bYou must specify a file to upload/b/fontbr\n;
   echo font face=\verdana,arial,helvetica\ size=\2\ 
color=\#00\a href=\javascript:history.back()\  
back/a/fontbr\n;
   exit();
   }
}

$i =$_FILES['file']['name'];
is it for ($i=1;$i4;i++) {
run code
}
or am I way off, help please.

thanks,

_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] global find and replace

2003-03-08 Thread Didier McGillis
I have to remove all semi-colons from user input fields that will be sent 
down to our backend system, semi-colons are the delimiter in the messages 
that flow from ur website to our backend system.  How I need this to work is 
not client side but server-side in our pages, I need to do this in the least 
system taxing and easiest to implement.  There are many many files and 
fields that find their way into the system.  I dont necessarly want a PHP 
function.  I am looking for a best pratice for doing a global removal.

Here are the three approaches that I have thought of, although there is 
another one but that is outside my scope as it requires me touching out C++ 
componets.

1.  Down and dirty make a function that will strip each field when it is 
going through its normal validation.  Time consuming and taxing of the 
system.

2.  Strip the semi colons on their way in to the functions that interact 
with the C++ components.

3.  Strip them in the JSI component, which is the layer between JS and C++.

4.  I had thought of stripping the semi-colons in the C++ components myself, 
I thought that would be the best, doing a strip, but I dont know C++ very 
well and I dont know the best way or any way to do that.

Okay you have seen my four obviously briliant ideas, do you have one or do 
you have a way of doing this task easly and quickly.

Please help

_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] end of the loop.

2003-02-20 Thread Didier McGillis
I have a question.  I need to setup something so it goes through a dynamic 
list, the length of the list changes, gets the contents of the list and 
seperate each element with a ^ (carot), except for the last one.  So it 
looks like this.  number=0^1^2^3

How do I make sure that it does append a ^ to the last item?

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] quick question form validation

2003-02-12 Thread Didier McGillis
I must be missing something, but I am doing some very simple validation of a 
form.  So if it is incorrect I need to redisplay the form.  Normally what I 
do is I just include the form back in.  This one I have tried to include the 
form back in, but I need to keep an id number.  That seems to blow up my 
include.

Any thoughts?

if ($coll_id==) {
 $invalid=1;
 $error[] = Please include a group to associate with this store.;
}
if ($invalid==1) {
 $included=1;
 include(add_store.php?id=.$id.);
}

_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question form validation

2003-02-12 Thread Didier McGillis
Is there a way that I can redirect and keep the id.


From: Jason Wong [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] quick question form validation
Date: Thu, 13 Feb 2003 00:55:59 +0800

On Thursday 13 February 2003 00:47, Didier McGillis wrote:

 I must be missing something, but I am doing some very simple validation 
of
 a form.  So if it is incorrect I need to redisplay the form.  Normally 
what
 I do is I just include the form back in.  This one I have tried to 
include
 the form back in, but I need to keep an id number.  That seems to blow 
up
 my include.

 Any thoughts?

 if ($coll_id==) {
   $invalid=1;
   $error[] = Please include a group to associate with this store.;
 }
 if ($invalid==1) {
   $included=1;
   include(add_store.php?id=.$id.);
 }

Please RTFM on the correct use of include().

--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
I don't want to achieve immortality through my work.  I want to achieve
immortality through not dying.
		-- Woody Allen
*/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question form validation

2003-02-12 Thread Didier McGillis
I get this.

Warning: Cannot add header information - headers already sent by (output 
started header.php:7) in add_store.php on line 186



From: Jason Wong [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] quick question form validation
Date: Thu, 13 Feb 2003 01:32:59 +0800

On Thursday 13 February 2003 01:26, Didier McGillis wrote:
 Is there a way that I can redirect and keep the id.

If you want to _redirect_ use header().

--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
It's a dog-eat-dog world out there, and I'm wearing Milkbone underware.
-- Norm, from _Cheers_
*/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] hopefully easy

2003-01-29 Thread Didier McGillis
I need to parse an HTML file for certain information.  Like the text between 
title/title.

So if the html was ...

html
head
titleThe page/title
/head

body

Lots of code .

/body
/html

I would just like the The page text.

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] hopefully easy

2003-01-29 Thread Didier McGillis


cool thanks





From: 1LT John W. Holmes [EMAIL PROTECTED]
Reply-To: 1LT John W. Holmes [EMAIL PROTECTED]
To: Didier McGillis [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP] hopefully easy
Date: Wed, 29 Jan 2003 08:58:50 -0500

 I need to parse an HTML file for certain information.  Like the text
between
 title/title.

 So if the html was ...

 html
 head
 titleThe page/title
 /head

 body

 Lots of code .

 /body
 /html

 I would just like the The page text.

preg_match(!title(.*)/title!si,$html,$match);

echo $match[1];

That will account for title vs TITLE and also if title and /title
are on separate lines. You may have to add a U modifier if there is a 
chance
/title would be somewhere else in the text, although I don't know why it
would be...

---John Holmes...


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] HELP session cache limiters

2003-01-27 Thread Didier McGillis
I dont know where this came from.  The site was working fine, unless someone 
else on my team made a fix in this file.

Any thoughts on this error?

Warning: Cannot send session cache limiter - headers already sent (output 
started at /home/sisource/public_html/stage/administration/config.php:19) in 
/home/sisource/public_html/stage/administration/phpSecurePages/checklogin.php 
on line 134








_
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] HELP session cache limiters

2003-01-27 Thread Didier McGillis
Nevermind, I have found the person who fooled with the code and then lied 
about being in the file.






From: Matt [EMAIL PROTECTED]
To: Didier McGillis [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP] HELP session cache limiters
Date: Mon, 27 Jan 2003 19:48:31 -0500

- Original Message -
 From: Didier McGillis [EMAIL PROTECTED]
 Sent: Monday, January 27, 2003 7:14 PM
 Subject: [PHP] HELP session cache limiters

 Any thoughts on this error?

 Warning: Cannot send session cache limiter - headers already sent 
(output
 started at 
/home/sisource/public_html/stage/administration/config.php:19)
in

What's happening at line 19 in
/home/sisource/public_html/stage/administration/config.php?


_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] checkboxes php

2003-01-24 Thread Didier McGillis
Then I would do what John Holmes suggested.

---John Holmes...

Or name them as an array, user[] so that you have a $_REQUEST['user']
array. Checkboxes are a little pecular in how they come across into PHP. If
you search the archives you'll get some good examples.

---John Holmes...







From: Greg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] checkboxes  php
Date: Fri, 24 Jan 2003 15:37:06 -0500

I want to be able to let people check multiple values.  I want them to be
given a list of usernames and check the ones they want deleted, so a radio
button won't work.  If you go to Yahoo mail and select more than one
checkbox, you can delete more than one item.  I looked at the source and 
all
the checkboxes are called Mid.  Any ideas?
/Greg


Edward Peloke [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 why would you give them all the same name?  I can see this for radio
buttons
 but not checkboxes.

 -Original Message-
 From: Greg [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 24, 2003 3:27 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] checkboxes  php


 If I have 3 checkboxes labeled user, but each one has a seperate 
value,
 how do I get the values of each checkbox?  For example, how would I tell
if
 the following checkboxes are checked?

 input type=checkbox name=user value=1
 input type=checkbox name=user value=2
 input type=checkbox name=user value=3
 input type=submit name=Submit value=Submit



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] MQSeries

2003-01-24 Thread Didier McGillis
Is there currently any hooks into MQSeries through PHP.  I need to put some 
infromation on a queue, and was hoping not have to break out the C++ coding 
tools.

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Custom Error pages in IIS

2003-01-23 Thread Didier McGillis

Yes I always do that when I go there.
Sorry ..







From: John W. Holmes [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Custom Error pages in IIS
Date: Wed, 22 Jan 2003 19:28:03 -0500

No biggie, but you forgot an 's' on the address:

http://www.iis-resources.com, in case anyone was having trouble getting
there.

Thank you for the link, though.

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/

 -Original Message-
 From: Didier McGillis [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 22, 2003 4:42 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: [PHP] Custom Error pages in IIS

 Have you tried http://www.iis-resource.com, they have some good
resources.






 From: 1LT John W. Holmes [EMAIL PROTECTED]
 Reply-To: 1LT John W. Holmes [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [PHP] Custom Error pages in IIS
 Date: Wed, 22 Jan 2003 15:08:58 -0500
 
 Is anyone using PHP to create custom error pages in IIS. I want to
modify
 the 403 error page to do a redirect to HTTPS if it was requested with
 HTTP.
 I had someone try it, but they said it didn't work. I'm at work now
and
 don't have a box to try it on until I get home. Does anyone have this
 working out there, so I know whether or not to spend my time on it??
Any
 pointers? Thanks for any info.
 
 ---John Holmes...
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


 _
 Add photos to your e-mail with MSN 8. Get 2 months FREE*.
 http://join.msn.com/?page=features/featuredemail


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] HELP please quickly

2003-01-22 Thread Didier McGillis
Here is a brief description of what I want to do.  I want to use PHP to grab 
a list of numbers in one file.  Check it against a bigger file and strip the 
ones that match out of the bigger file, into a holding file.


so here is what it might look like.

file1.txt
456789
456790
456791
456792
456793
456794


file2.log
some time stamp
code=001;number=456784;name=blahblah;date=012403;
some time stamp
code=001;number=456785;name=blahblah;date=012403;
some time stamp
code=001;number=456786;name=blahblah;date=012303;
some time stamp
code=001;number=456789;name=blahblah;date=012503;
some time stamp
code=001;number=456789;name=blahblah;date=012503;
some time stamp
code=001;number=456789;name=blahblah;date=012503;
some time stamp
code=001;number=456789;name=blahblah;date=012503;
some time stamp
code=001;number=456789;name=blahblah;date=012503;
some time stamp
code=001;number=456790;name=blahblah;date=012603;
some time stamp
code=001;number=456791;name=blahblah;date=012703;

notice there might be more then one of the same number, I only need one so I 
need to ignore the rest, rip out the time stamp, which is a seperate line.

file3.txt
code=001;number=456789;name=blahblah;date=012503;
code=001;number=456790;name=blahblah;date=012603;
code=001;number=456791;name=blahblah;date=012703;

can anyone help, any suggestions?





_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] HELP please quickly

2003-01-22 Thread Didier McGillis

Cool I'll report back what I have found.  Question.  I have tried fopen and 
file and was wondering for opening the file and loading it into an array 
which one is better?






From: Timothy Hitchens \(HiTCHO\) [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: 'Didier McGillis' [EMAIL PROTECTED], 
[EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly
Date: Wed, 22 Jan 2003 23:26:10 +1000

You first file just requires loading into an array and you can use
unique array functions to remove
duplicates etc..

The other files simply load into an array and use preg to strip out what
you want and follow the same
checking and removal of duplicates.

Checkout: preg_match and array functions in the www.php.net manual.



Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]

 -Original Message-
 From: Didier McGillis [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 22 January 2003 11:22 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] HELP please quickly


 Here is a brief description of what I want to do.  I want to
 use PHP to grab
 a list of numbers in one file.  Check it against a bigger
 file and strip the
 ones that match out of the bigger file, into a holding file.


 so here is what it might look like.

 file1.txt
 456789
 456790
 456791
 456792
 456793
 456794
 .

 file2.log
 some time stamp code=001;number=456784;name=blahblah;date=012403;
 some time stamp code=001;number=456785;name=blahblah;date=012403;
 some time stamp code=001;number=456786;name=blahblah;date=012303;
 some time stamp code=001;number=456789;name=blahblah;date=012503;
 some time stamp code=001;number=456789;name=blahblah;date=012503;
 some time stamp code=001;number=456789;name=blahblah;date=012503;
 some time stamp code=001;number=456789;name=blahblah;date=012503;
 some time stamp code=001;number=456789;name=blahblah;date=012503;
 some time stamp code=001;number=456790;name=blahblah;date=012603;
 some time stamp code=001;number=456791;name=blahblah;date=012703;

 notice there might be more then one of the same number, I
 only need one so I
 need to ignore the rest, rip out the time stamp, which is a
 seperate line.

 file3.txt
 code=001;number=456789;name=blahblah;date=012503;
 code=001;number=456790;name=blahblah;date=012603;
 code=001;number=456791;name=blahblah;date=012703;

 can anyone help, any suggestions?





 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] HELP please quickly

2003-01-22 Thread Didier McGillis
Cool.  Thanks for the information.  I try and organize my thoughts like that 
as well.  I dont really need to delete anything, mostly move and copy.

One problem I have run into is my second file seems to be too big.  In just 
doing a simple count the first file was fine, found my 470 lines.  The 
second file is 7.1MB and seems to fail telling me Fatal error: Allowed 
memory size of 8388608 bytes exhausted (tried to allocate 81 bytes)

So it seems to be on hurrdle at a time.




From: Clarkson, Nick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly
Date: Wed, 22 Jan 2003 14:15:32 -


I'm pretty new to PHP so I can't help you with the code per se, but how
about as an outline;

Open the first file and read values into an array.
Open the 2nd file and read in the first line.
Compare each value in the array to see if it occurs in the line from the 
2nd
file you just read in.
If it occurs then write that value to the 3rd file
Repeat until the array ends

File functions are here - http://www.php.net/manual/en/ref.filesystem.php 
-
the only one I can't see is the ability to delete a line in a file - at
least without creating another holding filevery messy that way
tho...I'll keep looking.

As an exercise to myself I'll try and recreate it using the 2 example files
belowdunno how long it'll take me tho ;o)

Good luck

Nick


-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 13:57
To: Didier McGillis
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] HELP please quickly


In that case, I don't know of any PHP classes to help you.
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 7:53 AM
Subject: Re: [PHP] HELP please quickly


No.  The numbers are coming from two text files.  The first text file is 
the

file that I need to compare against the second file, and if I find one 
match

in the second file, I need to move it to the third file.






From: Rick Emery [EMAIL PROTECTED]
Reply-To: Rick Emery [EMAIL PROTECTED]
To: Didier McGillis 
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: Re: [PHP] HELP please quickly
Date: Wed, 22 Jan 2003 07:45:20 -0600

Are the numbers coming from a mysql database? If so, mysql can handle 
this
chore.

- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 7:21 AM
Subject: [PHP] HELP please quickly


Here is a brief description of what I want to do.  I want to use PHP to
grab
a list of numbers in one file.  Check it against a bigger file and strip
the
ones that match out of the bigger file, into a holding file.


so here is what it might look like.

file1.txt
456789
456790
456791
456792
456793
456794


file2.log
some time stamp
code=001;number=456784;name=blahblah;date=012403;
some time stamp
code=001;number=456785;name=blahblah;date=012403;
some time stamp
code=001;number=456786;name=blahblah;date=012303;
some time stamp
code=001;number=456789;name=blahblah;date=012503;
some time stamp
code=001;number=456789;name=blahblah;date=012503;
some time stamp
code=001;number=456789;name=blahblah;date=012503;
some time stamp
code=001;number=456789;name=blahblah;date=012503;
some time stamp
code=001;number=456789;name=blahblah;date=012503;
some time stamp
code=001;number=456790;name=blahblah;date=012603;
some time stamp
code=001;number=456791;name=blahblah;date=012703;

notice there might be more then one of the same number, I only need one 
so
I
need to ignore the rest, rip out the time stamp, which is a seperate 
line.

file3.txt
code=001;number=456789;name=blahblah;date=012503;
code=001;number=456790;name=blahblah;date=012603;
code=001;number=456791;name=blahblah;date=012703;

can anyone help, any suggestions?





_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject

RE: [PHP] HELP please quickly

2003-01-22 Thread Didier McGillis

I'm currently looking at this.  This particular code creates a file 10-20 
times the size of the orginial file.  A minor alteration of this code copies 
the file to the results file.

Basically I think the problem is, is in the preg_match, and I can't think of 
why that would die when it is placed back into the code.

Any thoughts.





From: Clarkson, Nick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly
Date: Wed, 22 Jan 2003 15:21:32 -


I managed this bit of code, but I doubt it does exactly what you want, but
it's a start. And just to add to it I couldn't get the preg_match to work -
so that needs sorting. I'm at work, so I'm afraid I can't spend any more
time right now on this. If anyone can help on the preg_match bit (it just
needs to compare/match 2 strings) then could you add to this ? I looked at
the preg_match function on the php site, but I couldn't make head nor tail
of it :o/

Good luck with it

Nick


?php
// load file1.txt into array
$file1 = file ('./file1.txt');

// open file2.log for read only
$file2 = fopen (./file2.log, r);

// open results.txt for write
$results = fopen (./results.txt, w);

while (!feof($file2)) {
	$buffer = fgets($file2, 4096);
	foreach ($file1 as $line_num = $line) {
		//if (preg_match (/$line/, $buffer)) - CAN'T GET THIS
TO WORK ;o(
			{ fwrite ($results, $buffer); }
	}
}
?


-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 14:33
To: [EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly


Cool.  Thanks for the information.  I try and organize my thoughts like 
that

as well.  I dont really need to delete anything, mostly move and copy.

One problem I have run into is my second file seems to be too big.  In just
doing a simple count the first file was fine, found my 470 lines.  The
second file is 7.1MB and seems to fail telling me Fatal error: Allowed
memory size of 8388608 bytes exhausted (tried to allocate 81 bytes)

So it seems to be on hurrdle at a time.




From: Clarkson, Nick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [PHP] HELP please quickly
Date: Wed, 22 Jan 2003 14:15:32 -


I'm pretty new to PHP so I can't help you with the code per se, but how
about as an outline;

Open the first file and read values into an array.
Open the 2nd file and read in the first line.
Compare each value in the array to see if it occurs in the line from the
2nd
file you just read in.
If it occurs then write that value to the 3rd file
Repeat until the array ends

File functions are here - 
http://www.php.net/manual/en/ref.filesystem.php
-
the only one I can't see is the ability to delete a line in a file - at
least without creating another holding filevery messy that way
tho...I'll keep looking.

As an exercise to myself I'll try and recreate it using the 2 example 
files
belowdunno how long it'll take me tho ;o)

Good luck

Nick


-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 13:57
To: Didier McGillis
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] HELP please quickly


In that case, I don't know of any PHP classes to help you.
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 7:53 AM
Subject: Re: [PHP] HELP please quickly


No.  The numbers are coming from two text files.  The first text file is
the

file that I need to compare against the second file, and if I find one
match

in the second file, I need to move it to the third file.






 From: Rick Emery [EMAIL PROTECTED]
 Reply-To: Rick Emery [EMAIL PROTECTED]
 To: Didier McGillis
[EMAIL PROTECTED],[EMAIL PROTECTED]
 Subject: Re: [PHP] HELP please quickly
 Date: Wed, 22 Jan 2003 07:45:20 -0600
 
 Are the numbers coming from a mysql database? If so, mysql can handle
this
 chore.
 
 - Original Message -
 From: Didier McGillis [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, January 22, 2003 7:21 AM
 Subject: [PHP] HELP please quickly
 
 
 Here is a brief description of what I want to do.  I want to use PHP to
 grab
 a list of numbers in one file.  Check it against a bigger file and 
strip
 the
 ones that match out of the bigger file, into a holding file.
 
 
 so here is what it might look like.
 
 file1.txt
 456789
 456790
 456791
 456792
 456793
 456794
 
 
 file2.log
 some time stamp
 code=001;number=456784;name=blahblah;date=012403;
 some time stamp
 code=001;number=456785;name=blahblah;date=012403;
 some time stamp
 code=001;number=456786;name=blahblah;date=012303;
 some time stamp
 code=001;number=456789;name=blahblah;date=012503;
 some time stamp
 code=001;number=456789;name=blahblah;date=012503;
 some time stamp
 code=001;number=456789;name=blahblah;date=012503;
 some time stamp
 code=001;number=456789;name=blahblah;date=012503;
 some time stamp
 code=001;number=456789;name=blahblah;date=012503;
 some time stamp
 code=001;number=456790;name=blahblah;date=012603;
 some time

Re: [PHP] HELP HELP on a file parser

2003-01-22 Thread Didier McGillis
Fixed a couple of things in the code.  Pretty good for psudo code.  :)

But I get this error when running.

Warning: Argument #1 to array_intersect() is not an array in 
/home/httpd/vhosts/mccullough-net.com/httpdocs/GH/parse2.php on line 27

Warning: Wrong datatype in array_flip() call in 
/home/httpd/vhosts/mccullough-net.com/httpdocs/GH/parse2.php on line 32

code below.  any thoughts on what might be choking it.

?
//read numbers
$numbers = file(bad.txt);

//read all lines from log file
$fp = fopen(file2.log,r);
$log_file = fread($fp,filesize(file2.log));

$results = fopen (results.txt, w);

//match lines of log_file that start with 'code'
//and match number
preg_match_all(/^(code.*number=([0-9]+).*)$/m,$log_file,$matches);

//put matches into an array such as
// $array[code] = number
$x=0;
foreach($matches[1] as $code)
{
 $number = $matches[2][$x++];
 $log_file_array[$code] = $number;
}

//compute intersection of log file array
//and numbers array
$intersect = array_intersect($log_file_array[$code],$numbers);

//flip the log array, so you now have
//an array full of the lines in the log
//file that matches a number in the in.txt file
$answer = array_flip($intersect);
fwrite ($results, $answer);





From: 1LT John W. Holmes [EMAIL PROTECTED]
Reply-To: 1LT John W. Holmes [EMAIL PROTECTED]
To: Didier McGillis [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] HELP HELP on a file parser
Date: Wed, 22 Jan 2003 16:07:17 -0500

Okay, if I understand everything correctly, something like this may work, 
if
you can get around the issue of your file sizes being so large, and you can
deal with the amount of memory this is going to eat up, and you realize 
that
Perl is probably better suited to the job...

//read numbers
$numbers = file(in.txt);

//read all lines from log file
$fp = fopen(file.log,r);
$log_file = fread($fp,filesize(file.log));

//match lines of log_file that start with 'code'
//and match number
preg_match_all(/^(code.*number=([0-9]+).*)$/m,$log_file,$matches);

//put matches into an array such as
// $array[code] = number
$x=0;
foreach($mathes[1] as $code)
{
  $number = $matches[2][$x++];
  $log_file_array[$code] = $number;
}

//compute intersection of log file array
//and numbers array
$intersect = array_intersect($log_file_array,$numbers);

//flip the log array, so you now have
//an array full of the lines in the log
//file that matches a number in the in.txt file
$answer = array_flip($intersect);

Hope that works... I can't test it. There are many ways you can do this...

--John Holmes...
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 21, 2003 5:49 PM
Subject: Re: [PHP] HELP HELP on a file parser


 Sorry should have done this.

 in.txt (there will be 470 of these #'s) - it uses these numbers to check
 against the chek.txt file
 455784
 455785
 455786
 455787
 455788

 check.txt - after it checks this file where number=389487 a number from
 in.txt, if it does it writes that to another file
 not on q/n2 24 Sat Nov 12 00:27:34 2002
 3 129 code=001;number=389487;name=Blah L
 McBlah;type=5;big_number=8;time=09;min=2004;


 found.txt gets written to either in this format
 not on q/n2 24 Sat Nov 12 00:27:34 2002
 3 129 code=001;number=389487;name=Blah L
 McBlah;type=5;big_number=8;time=09;min=2004;
 or this format
 code=001;number=389487;name=Blah L
 McBlah;type=5;big_number=8;time=09;min=2004

 hope that helps.


 From: 1LT John W. Holmes [EMAIL PROTECTED]
 Reply-To: 1LT John W. Holmes [EMAIL PROTECTED]
 To: Didier McGillis [EMAIL PROTECTED],
[EMAIL PROTECTED]
 Subject: Re: [PHP] HELP HELP on a file parser
 Date: Tue, 21 Jan 2003 17:33:36 -0500
 
   I need some help, I think this is probably really simple and I was
 wondering
   if anyone had some code I could use to help me write this.
  
   I need a page to parse a text file with a list of numbers, and then
take
   those numbers and parse another file with over 7MB of information 
and
to
   look for those numbers and then to pull out the matches.  Now the 
file
 that
   its looking through each record that has a number in it is in a
specific
   format with a beginnning and an end.
 
 Can you give a short example of each file and what you want to match in
 each?
 
 ---John Holmes...
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


 _
 STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
 http://join.msn.com/?page=features/junkmail



_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Custom Error pages in IIS

2003-01-22 Thread Didier McGillis
Have you tried http://www.iis-resource.com, they have some good resources.







From: 1LT John W. Holmes [EMAIL PROTECTED]
Reply-To: 1LT John W. Holmes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Custom Error pages in IIS
Date: Wed, 22 Jan 2003 15:08:58 -0500

Is anyone using PHP to create custom error pages in IIS. I want to modify
the 403 error page to do a redirect to HTTPS if it was requested with HTTP.
I had someone try it, but they said it didn't work. I'm at work now and
don't have a box to try it on until I get home. Does anyone have this
working out there, so I know whether or not to spend my time on it?? Any
pointers? Thanks for any info.

---John Holmes...


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] HELP HELP on a file parser

2003-01-21 Thread Didier McGillis
I need some help, I think this is probably really simple and I was wondering 
if anyone had some code I could use to help me write this.

I need a page to parse a text file with a list of numbers, and then take 
those numbers and parse another file with over 7MB of information and to 
look for those numbers and then to pull out the matches.  Now the file that 
its looking through each record that has a number in it is in a specific 
format with a beginnning and an end.

Any help would be appreciated.





_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Development tools

2003-01-07 Thread Didier McGillis
There was one discussion starting about coding/development tools.  I was 
wondering if anyone out there knows of good development/coding tools for 
Java and C++.  I've been using Visual C++ for the C++ part, and hand coding 
Java.  I just started on both of them and wanting to learn how to use them, 
but I know the tools could speed up the process, especially I am a learn by 
doing type of guy.

_
The new MSN 8 is here: Try it free* for 2 months 
http://join.msn.com/?page=dept/dialup


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Development tools[Scanned]

2003-01-07 Thread Didier McGillis
Thanks,

I know my English is bad and I probably didnt articulate the question 
properly.  I understand that some people think that newbies asking 
questions, or particpating in discussions should be subject to rude 
retorical questions, and I know that these people tend to feel that they 
need to place their 2 cents when they have nothing to add to the 
conversation.

I understand that I'm not a briant coder or I might not have the best 
english.  BUt I hope to learn or help someone else who asks a question that 
I can answer ... if I can't then I hope to learn from the answers he might 
recieve.  But I do know that if I can't contribute, I'm not going to answer 
anything.

... btw thanks for the answer in the other email .. I'll check those out.






From: Michael Egan [EMAIL PROTECTED]
To: Didier McGillis [EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: RE: [PHP] Development tools[Scanned]
Date: Tue, 7 Jan 2003 15:50:31 -

Didier,

I'm afraid you really are asking for some harsh responses.

Your last comment in particular invites some rather obvious, albeit rude, 
acronyms.

 I just started on both of them and wanting to learn how to use them,
 but I know the tools could speed up the process, especially I am a learn 
 by doing type of guy.

Perhaps a search on Google for Java or C++ might help you out.

Michael Egan


_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Development tools

2003-01-07 Thread Didier McGillis
Well cant you use PHP to augment Java and C++, such as communication between 
MQ and PHP could be done by using C++ or Java?  Java Applet included in a 
PHP page.






From: Brian McGarvie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Development tools
Date: Tue, 7 Jan 2003 15:45:07 -

And this has what to do with PHP?


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Text editors

2003-01-07 Thread Didier McGillis
Edit Plus
www.editplus.com
theres a trial period that never ends.




From: Michael Sweeney [EMAIL PROTECTED]
To: Karl James [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Text editors
Date: 07 Jan 2003 10:00:45 -0800

jEdit. www.jedit.org.

On Tue, 2003-01-07 at 01:59, Karl James wrote:
 Hello guys,
 Right now im using dreamweaver mx

 I was wondering if anyone knew of any good free text editors that has
 line counts
 And is good for php….




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* 
http://join.msn.com/?page=features/virus


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Using VS.NET for PHP Projects - Revisit

2003-01-07 Thread Didier McGillis
for coding like that I use HomeSite, I dont like Microsoft Tools, but I 
guess they have a use.






From: Sean Malloy [EMAIL PROTECTED]
To: PHP Windows [EMAIL PROTECTED],   PHP General 
[EMAIL PROTECTED]
Subject: [PHP] Using VS.NET for PHP Projects - Revisit
Date: Tue, 7 Jan 2003 17:56:08 +1100

Hi.

I kind of got PHP syntax highlighting working within Visual Studio.NET

I've created a page, which mentions the steps you need to take to get it
working, as well as a screen shot. Everyone loves screen shots.

http://www.quake-au.net/php/php_and_vsdotnet.htm

Hope someone finds it useful apart from me.

Regards,

Sean

-Original Message-
From: Sean Malloy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 7 January 2003 1:34 PM
To: PHP General
Subject: [PHP] Using VS.NET for PHP Projects



I know I can use Visual Studio to edit PHP files as plain text, but has
anyone seen any way of creating some sort of add-in, or macro or whatever,
which would do syntax highlighting on PHP files?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


_
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] table trouble

2002-12-20 Thread Didier McGillis
Hello everyone, I was looking for some help,  its late and I'm trying to 
help a friend finish up a project.

here is an example and the jpg of what the page is supposed to look like.

http://www.heathermccullough.com/bocajava/bocabucks/bocabucks.html
http://www.heathermccullough.com/bocajava/bocabucks/sample.html

The middle where the text and the photo images are a problem.  When I push 
the text table it pushes that whole side out further, and as you can see by 
the sample image it supposed to be closer together.

Any help would be appreaciated.

thanks





_
MSN 8: advanced junk mail protection and 3 months FREE*. 
http://join.msn.com/?page=features/junkmailxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_advancedjmf_3mf


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Session and redirecting

2002-12-05 Thread Didier McGillis
I'm having some problems with sessions on this project I am doing for this 
one class.  I know what I am doing with sessions on a certain level, as I 
use them with ASP and JSP apps.  I notice that when I do session_start() the 
session SID or PHPSESSID doesnt appear until you refresh that page or go to 
the next page, I need the session to start on index, so do I have to plop a 
refresh statement in there?  And why is it you have to do a session_start() 
on every page, could you put that in a header and have it be the same?

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php