RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Fernando Melo
Guys. This is ridiculous!

When I check my mails from PHP General Mailing List it's to learn something
new about PHP and to help somebody to learn abut PHP.  NOT TO WITNESS CAT
FIGHTS.

Take your issues elsewhere as you or wasting everyone's time, space and
bandwidth.

-Original Message-
From: Nigel Jones [mailto:[EMAIL PROTECTED] 
Sent: 26 November 2003 12:04
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Add Reply-To to this list(s)

You have missed in my opinion the most important thing, many do NOT want to
throw money down the drain because their Client Doesn't support mailing
lists ok.

IMHO we'd be better off having a PHP Forum on php.net and scrub the Mailing
List altogether. That would just about suit everyone. You get to subscribe
to Topics you want to, you can subscribe to whole forums if you want to,
less Privacy Issues.



_
Nigel Jones
[EMAIL PROTECTED]


 -Original Message-
 From: Jason Wong [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 26, 2003 10:42 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [PHP] Add Reply-To to this list(s)



 Simply put, there are mail clients available which are
 mailing-list aware. To
 reply to the list you hit the reply-to-list button , to reply
 to the sender
 you hit the reply button, to reply to everybody and their dogs hit the
 reply-to-all button.

 Now the mail client that you're using does not handle
 mailing-lists correctly,
 so instead of looking for a better mail client you want the mailing-list
 fixed instead?

 It's a bit like saying damn, I can't fully utilise the features of MS
 Exchange  with my non-Outlook client, why don't MS fix Exchange
 so I can use
 it Yahoo mail?

 --
 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
 --
 /*
 To the landlord belongs the doorknobs.
 */

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



RE: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread Fernando Melo
I agree!

-Original Message-
From: Sophie Mattoug [mailto:[EMAIL PROTECTED] 
Sent: 26 November 2003 14:39
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Add Reply-To to this list(s)

Wouldn't it be possible to stop this troll ? Or go on, but in private 
between people who are interested by this matter...
Thanks

Jay Blanchard wrote:

[snip]
  

If you would stop using M$ Outlook and switch to a better
mail client that supports mailing lists, your problem would
be solved.[/snip]

As has been said several times, not all can do this.



True. But maybe instead of *switching* they can just use
*another* mail client for mailing lists? ;)
[/snip]

Depends. Some corps would allow the installation of additional mail
clients, some would not.

  


-- 
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] Time

2003-11-25 Thread Fernando Melo
Hi there,

I have a RH Linux Web server  running apache and PHP.

I recently changed the system clock, the time zone and hardware clock.
The time and date are showing up correctly in Webmin and in the O/S itself.
But when I call a php function to display the date and time it shows it as
one hour behind!

How do I fix this?

Regards
Fernando

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



[PHP] Time

2003-11-25 Thread Fernando Melo
Hi there,

 

I have a RH Linux Web server  running apache and PHP.

 

I recently changed the system clock, the time zone and hardware clock. The
time and date are showing up correctly in Webmin and in the O/S itself. But
when I call a php function to display the date and time it shows it as one
hour ahead (like it used to be)!

 

How do I fix this?

 

Regards

Fernando

 



RE: [PHP] Time

2003-11-25 Thread Fernando Melo
I have done all those checks. Thanks for trying though.
Anyone else have any suggestions please? :(

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 25 November 2003 16:06
To: [EMAIL PROTECTED]
Subject: AW: [PHP] Time

Hi Fernando,
first try date and date -u in a shell. That's the local and UTC-time.
Write a testscript to show time and timezone in PHP without calculations.

Check /etc/timezone. It can be that you must create it.

Sri, no more ideas on the fly. It's a little bit complex to manage all
features.

Hope some checks are good for your search...

Greetings,
Tobias



-Ursprüngliche Nachricht-
Von: Fernando Melo [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 25. November 2003 11:20
An: '[EMAIL PROTECTED]'
Betreff: [PHP] Time


Hi there,

I have a RH Linux Web server  running apache and PHP.

I recently changed the system clock, the time zone and hardware clock.
The time and date are showing up correctly in Webmin and in the O/S itself.
But when I call a php function to display the date and time it shows it as
one hour behind!

How do I fix this?

Regards
Fernando

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



RE: [PHP] Time

2003-11-25 Thread Fernando Melo

Hi,

I found the problem.  If you change the time zone on your Linux server
running Apache and PHP, you need to Stop and then Start Apache else the PHP
(or Apache) will still pick up the old time zone.

Thanks anyway

-Original Message-
From: Wouter van Vliet [mailto:[EMAIL PROTECTED] 
Sent: 25 November 2003 13:13
To: 'Fernando Melo'; [EMAIL PROTECTED]
Subject: RE: [PHP] Time

Fernando Melo wrote:
 Hi there,
 
 I have a RH Linux Web server  running apache and PHP.
 
 I recently changed the system clock, the time zone and hardware clock.
 The time and date are showing up correctly in Webmin and in
 the O/S itself.
 But when I call a php function to display the date and time
 it shows it as one hour behind!
 
 How do I fix this?
 
 Regards
 Fernando

Must be something with your locale settings. Probably your sytem clock is
set to the GMT time, while you are in GMT+1 yourself. Not really sure how to
fix this, but this might be something that helps you find the solution. Let
me know !

Wouter

-- 
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] MS SQL Connectivity from Linux

2003-11-19 Thread Fernando Melo
Hi everyone,

What is the quickest and easiest way to enable access to a MS SQL database
from a Linux server (using PHP functions ofcourse), seeing as the MSSQL
extension is available on Win32 systems only.

Thanks
Fern

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



[PHP] register_globals security

2003-11-13 Thread Fernando Melo
Hi everyone,

I have a PHP application that passes variables (values) from a form.
I get these using $_POST

However I do also post some variables via a link.  Which ofcourse requires
register_globals to be ON.

I would like to secure this application.  What would be the best way of
doing this and how else can I pass/get values via a URL.

Fern

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



RE: [PHP] register_globals security

2003-11-13 Thread Fernando Melo

Thanks.

I don't see how this makes it more secure though?

The values are still picked up the same way from a URL

-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2003 13:28
To: [EMAIL PROTECTED]
Subject: Re: [PHP] register_globals  security

Hi Fernando,

 I have a PHP application that passes variables (values) from a form.
 I get these using $_POST

 However I do also post some variables via a link.  Which ofcourse requires
 register_globals to be ON.

Do you mean variables in a URL, like this:
www.example.com/index.php?foo=1bar=2

If so you can access these via the $_GET array and leave register_globals
turned off.

Cheers
Jon

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



RE: [PHP] register_globals security

2003-11-13 Thread Fernando Melo

Yup I still don't see how it improves anything with regards to security.

-Original Message-
From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2003 15:24
To: [EMAIL PROTECTED]
Subject: Re: [PHP] register_globals  security

Hi,

There is also a $_REQUEST variable.
At the risk of starting another flame war: IMHO switching off register 
globals and relying on $_POST etc can lull you into a false sense of 
security.


Fernando Melo wrote:

Thanks.

I don't see how this makes it more secure though?

The values are still picked up the same way from a URL

-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2003 13:28
To: [EMAIL PROTECTED]
Subject: Re: [PHP] register_globals  security

Hi Fernando,

  

I have a PHP application that passes variables (values) from a form.
I get these using $_POST

However I do also post some variables via a link.  Which ofcourse requires
register_globals to be ON.



Do you mean variables in a URL, like this:
www.example.com/index.php?foo=1bar=2

If so you can access these via the $_GET array and leave register_globals
turned off.

Cheers
Jon

  



-- 
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.

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



RE: [PHP] register_globals security

2003-11-13 Thread Fernando Melo
I was not making an assumption.  I was stating a fact.
I get these using $_POST

I did NOT state that register_globals needs to be on to do what I'm doing.
It seems everyone else understood my query except you.  

Thanks to everyone who tried to help!

-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2003 17:07
To: Fernando Melo; '[EMAIL PROTECTED]'
Subject: Re: [PHP] register_globals  security

--- Fernando Melo [EMAIL PROTECTED] wrote:
 I have a PHP application that passes variables (values) from a form.
 I get these using $_POST
 
 However I do also post some variables via a link. Which ofcourse
 requires register_globals to be ON.

This is a common problem I see on this list. When asking a question, try
not to make assumptions or attempt to answer your own question.

In this case, your assumption is wrong. This does not require
register_globals to be on. Get variables are in $_GET, and POST variables
are in $_POST.

Hope that helps.

Chris

=
My Blog
 http://shiflett.org/
HTTP Developer's Handbook
 http://httphandbook.org/
RAMP Training Courses
 http://www.nyphp.org/ramp

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



[PHP] PHP Apache 2

2003-10-30 Thread Fernando Melo
Hi everyone,

I would like to use apache 2 in a production environment, but initially
there seemed to be some issues with the PHP module. Does anybody know if it
is ok use it now or is it still buggy with apache 2?

Fern

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



RE: [PHP] PHP Apache 2

2003-10-30 Thread Fernando Melo
And when will it be considered stable?  It's been a while since Apache 2 was
released.  PHP needs to speed up for its own good.

-Original Message-
From: Eugene Lee [mailto:[EMAIL PROTECTED] 
Sent: 30 October 2003 11:55
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP  Apache 2

On Thu, Oct 30, 2003 at 11:22:38AM +0200, Fernando Melo wrote:
: 
: I would like to use apache 2 in a production environment, but initially
: there seemed to be some issues with the PHP module. Does anybody know
: if it is ok use it now or is it still buggy with apache 2?

The combination of PHP 4.x and Apache 2.x are not considered stable for
a production environment.

-- 
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] Regular expressions

2003-10-24 Thread Fernando Melo
Hi all,

I have the following statement:

$text = ereg_replace
([live/]*content\.php\?[]*Item_ID=([0-9]*)Start=([0-9]*)Category_ID=([0-
9]*)[]*, content\\1start\\2CID\\3.php, $text);

Basically what I'm trying to do is if the URL includes live/ then I want
to include it in the replace.  The way I have it now check for all the
letters in live instead of the whole string.

I hope I explained this properly.

Regards
Fern

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



RE: [PHP] get back to index.php

2003-10-22 Thread Fernando Melo
In insert_user.php

header(Location: index.php);
exit;

make sure nothing is being echoed before you call this.

-Original Message-
From: Sudheer Palaparambil [mailto:[EMAIL PROTECTED] 
Sent: 22 October 2003 14:15
To: [EMAIL PROTECTED]
Subject: [PHP] get back to index.php

Hi,

   I am calling the insert_user.php like this

   form method=get name=form 
action=http://www.etooss.com/insert_user.php;
   onsubmit=return verifyIt(this);

   In insert_user.php, I am inserting the record to mysql db, nothing is 
displayed there. Now how
   do come back to index.php screen.

   Thank you

Sudheer

_
Making your life easy! That is Citibank Suvidha. 
http://server1.msn.co.in/msnleads/citi_cards_sept03/CitiSuvidha.asp Get your

account now!

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



RE: [PHP] get back to index.php

2003-10-22 Thread Fernando Melo
Make sure there are no blank spaces being echoed.

-Original Message-
From: Sudheer Palaparambil [mailto:[EMAIL PROTECTED] 
Sent: 22 October 2003 14:30
To: [EMAIL PROTECTED]
Subject: Re: [PHP] get back to index.php

But it is giving the following error message

Warning: Cannot modify header information - headers already sent by (output 
started at D:\websites\clands\clandsadmin\etooss.com\web\insert_user.php:3) 
in D:\websites\clands\clandsadmin\etooss.com\web\insert_user.php on line 29

Thank you.

From: Marek Kilimajer [EMAIL PROTECTED]
To: Sudheer Palaparambil [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] get back to index.php
Date: Wed, 22 Oct 2003 14:24:44 +0200

Use
header('Location: http://www.etooss.com/');
exit;

Sudheer Palaparambil wrote:
Hi,

   I am calling the insert_user.php like this

   form method=get name=form 
action=http://www.etooss.com/insert_user.php;
   onsubmit=return verifyIt(this);

   In insert_user.php, I am inserting the record to mysql db, nothing is 
displayed there. Now how
   do come back to index.php screen.

   Thank you

Sudheer

_
Making your life easy! That is Citibank Suvidha. 
http://server1.msn.co.in/msnleads/citi_cards_sept03/CitiSuvidha.asp Get 
your account now!



_
Tired of emails bouncing back? Need more space? 
http://server1.msn.co.in/features/general/extrastorage/index.asp Get extra 
storage on Hotmail

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



RE: [PHP] The page cannot be displayed error

2003-10-21 Thread Fernando Melo


Is there perhaps a redirect in the insert_user.php? If so, that could be the
problem.

-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] 
Sent: 21 October 2003 13:31
To: Sudheer Palaparambil; [EMAIL PROTECTED]
Subject: Re: [PHP] The page cannot be displayed error

From: Sudheer Palaparambil [EMAIL PROTECTED]
   I am calling insert_user.php like this

 form method=post name=form action=insert_user.php onsubmit=return
 verifyIt(this);

   This file and the index.php are kept in the same directory. But the
 browser returns

   The page cannot be displayed error

   Where should I keep the insert_user.php

The files are in the right place. You may not be able to use POST, try GET
for your form method and see if that works.

---John Holmes...

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



RE: [PHP] feedback form

2003-10-13 Thread Fernando Melo
mail($toaddress, $subject, $mailconten); 

should be

mail($toaddress, $subject, $mailcontent);


-Original Message-
From: merryE [mailto:[EMAIL PROTECTED] 
Sent: 12 October 2003 22:52
To: [EMAIL PROTECTED]
Subject: [PHP] feedback form

I create a feedback form in html and the action si to post to the php. It
doesn't wotk well and i don't know what's is the problem. please help me to
look at it. Tell me the errors, thank's. 

This is the form.php code:
? php
$toaddress = [EMAIL PROTECTED];
$subject = Feedback testing;
$mailcontent =  Name: .$name.\n .Email: .$email.\n .comments:\n
.$feedback.\n;

mail($toaddress, $subject, $mailconten);
?

This is the form.html code:
form name=form1 method=post action=form.php
table width=100% border=0
  tr 
td width=83 class=textname :/td
td width=432input name=name type=text class=text
id=name/td
  /tr
  tr 
td class=textemail :/td
tdinput name=email type=text class=text
id=email/td
  /tr
  tr 
td valign=top class=textfeedback :/td
tdtextarea name=feedback cols=30 rows=4 wrap=VIRTUAL
class=text id=feedback/textarea/td
  /tr
  tr 
tdnbsp;/td
tdinput name=Submit type=submit class=buttons
value=Submit 
  input name=Clear type=reset class=buttons id=Clear2
value=Clear/td
  /tr
/table
  /form

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



RE: [PHP] feedback form

2003-10-13 Thread Fernando Melo


mail($toaddress, $subject, $mailconten);

should be

mail($toaddress, $subject, $mailcontent);


-Original Message-
From: merryE [mailto:[EMAIL PROTECTED] 
Sent: 12 October 2003 22:52
To: [EMAIL PROTECTED]
Subject: [PHP] feedback form

I create a feedback form in html and the action si to post to the php. It
doesn't wotk well and i don't know what's is the problem. please help me to
look at it. Tell me the errors, thank's. 

This is the form.php code:
? php
$toaddress = [EMAIL PROTECTED];
$subject = Feedback testing;
$mailcontent =  Name: .$name.\n .Email: .$email.\n .comments:\n
.$feedback.\n;

mail($toaddress, $subject, $mailconten);
?

This is the form.html code:
form name=form1 method=post action=form.php
table width=100% border=0
  tr 
td width=83 class=textname :/td
td width=432input name=name type=text class=text
id=name/td
  /tr
  tr 
td class=textemail :/td
tdinput name=email type=text class=text
id=email/td
  /tr
  tr 
td valign=top class=textfeedback :/td
tdtextarea name=feedback cols=30 rows=4 wrap=VIRTUAL
class=text id=feedback/textarea/td
  /tr
  tr 
tdnbsp;/td
tdinput name=Submit type=submit class=buttons
value=Submit 
  input name=Clear type=reset class=buttons id=Clear2
value=Clear/td
  /tr
/table
  /form

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



RE: [PHP] Installing PHP on XP

2003-10-09 Thread Fernando Melo
Are you installing the CGI or the ISAPI?

-Original Message-
From: Rinal Patel [mailto:[EMAIL PROTECTED] 
Sent: 09 October 2003 05:06
To: [EMAIL PROTECTED]
Subject: [PHP] Installing PHP on XP

Hello
  I am trying to install PHP on my personal computer, which runs Microsoft 
XP, but have had trouble installing it.  I have an apache server(it came 
with the oracle database I installed).
Could you please help me?  I would appreciate a quick response

Thank you
-rinal

_
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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php