Re: [PHP] command line argument vs. urlencode ?

2002-08-28 Thread Joseph W. Goff
php is treating command line arguments as GET argument. So that means a + is a space. Try rawurlencode. - Original Message - From: Renato Lins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 1:37 PM Subject: [PHP] command line argument vs. urlencode ? Hi,

[PHP] Re: AOL problem with remote IP address

2002-08-28 Thread Justin Garrett
Yup, AOL's proxy servers do this. Justin Garrett Joseph Szobody [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In a portion of a website, I have implemented user authentication and management using sessions. When a user first logs in, the $REMOTE_ADDR is stored

[PHP] RE: time stamp

2002-08-28 Thread Lopez David E-r9374c
Steve Try: SELECT MAX(field_timestamp) from table1; David -Original Message- From: Steve Buehler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 5:21 PM To: mysql; PHP Subject: time stamp I am using PHP with MySQL and have a timestamp field in my db table. What

[PHP] HTTP_REFERER?

2002-08-28 Thread Lon Lentz
I have a template which places the value of $HTTP_REFERER into a table. This template is included in another template which is included in yet another template. The problem I am having is that the HTTP_REFERER, HTTP_USER_AGENT, and QUERY_STRING variables are all blank. Are there issues with

Re: [PHP] sending email to a mailing list

2002-08-28 Thread Andy
I do not agree. First off all (in my case) I do want to send personalized e-mails. And even if I cancel this wish.. how about adresses which fail? You will never ever find out how many adresses failed by putting them into the all in bcc. And.. isn't there a restriction? What happens if you put

Re: [PHP] sending email to a mailing list

2002-08-28 Thread Manuel Lemos
Hello, On 08/28/2002 07:54 PM, Andy wrote: I do not agree. First off all (in my case) I do want to send personalized e-mails. And even if I cancel this wish.. how about adresses which fail? You will never ever find out how many adresses failed by putting them into the all in bcc. And..

[PHP] Re: Building a query on multiple variables, how to test for which variables are valid?

2002-08-28 Thread David Robley
In article 000201c24ec3$d884db50$8102a8c0@000347D72515, [EMAIL PROTECTED] says... So these 4 variables walk into a bar :^] I have a form with 4 drop downs. Each of these drop downs might have a value and there is no order in which they might have a value. A query needs to built (the

[PHP] Question about sending varibles to script

2002-08-28 Thread Piotr Skorupski
Hello I have following question. How can i send to a script varible, but not from HTML form but via URL. (I'm talkin about something like http://www.domain.com/script.php?id=1 in earlyier version o php). Best Regards P.S. Please forgive me my english -- Serwer Biznesowy - serwer WWW

[PHP] Sending running under user Apache??

2002-08-28 Thread Daren Cotter
Hi all... For some reason, starting today, sendmail will not run as root on my server...it starts as user apache. This is causing permission problems with the mail queue. I have made no configuration modifications to the server in months. Does anyone know why this may be happening, or how to

[PHP] PHPSESSID on entry page only

2002-08-28 Thread Jason Morehouse
Hello, Have a strange problem since upgrading to 4.2.2. On a clients first visit to a site, the PHPSESSID gets written into the URL, but not on any additional requests. Has anyone had this problem? It wasn't happening before the upgrade. Running: Redhat 7.3 PHP 4.2.2

[PHP] include interpreted php file

2002-08-28 Thread you
pb : include a php file in an other php file contraints : the php file must be interpreted before being included solution known : fsock then get the html code from the server and include it... Is there an other solution (easier) to include that file? thx for your help! You -- PHP

Re: [PHP] PHPSESSID on entry page only

2002-08-28 Thread Todd Pasley
On a clients first visit to a site, the PHPSESSID gets written into the URL, but not on any additional requests. Has anyone had this problem? It wasn't happening before the upgrade. Running: Redhat 7.3 PHP 4.2.2 Apache 1.3.26 The same thing happens to me, however, sessions are

[PHP] RE: time stamp

2002-08-28 Thread Steve Buehler
Thank you David Lopez and David Robley. That was what I was looking for. Here is how I used it. $date=getlastupdatetime(array(team_id = $team_id, season = $season, div_id = $div_id)); echo $date; function

[PHP] Cannot get data from form.

2002-08-28 Thread Le Van Thanh
- I have installed PHP4.2.2 with Apache 1.3.26 on Solaris7. And now I have problems with getting data from form. I have 2 pages test.html and welcome.php as following: test.html form userDetails method=post action=welcome.php

[PHP] Re: HTTP_REFERER?

2002-08-28 Thread Seairth Jacobs
If you are running PHP 4.1.0 or later, you can also use $_SERVER[HTTP_REFERER], etc. Note that if you are using PHP 4.2.0 or later, then the register_globals option is off by default and the variables you mention below are not automatically created. --- Seairth Jacobs [EMAIL PROTECTED] Lon

Re: [PHP] Cannot get data from form.

2002-08-28 Thread Jason Wong
On Thursday 29 August 2002 23:04, Le Van Thanh wrote: - I have installed PHP4.2.2 with Apache 1.3.26 on Solaris7. Then I cannot get the value of input name. But if I write print $_POST['name']; or print $HTTP_POST_VARS['name'];, it's ok. Is there something wrong when I install PHP?

Re: [PHP] PHPSESSID on entry page only

2002-08-28 Thread Jason Wong
On Thursday 29 August 2002 08:00, Todd Pasley wrote: On a clients first visit to a site, the PHPSESSID gets written into the URL, but not on any additional requests. Has anyone had this problem? It wasn't happening before the upgrade. Running: Redhat 7.3 PHP 4.2.2 Apache

[PHP] imap_gt_quota is not defined ?

2002-08-28 Thread Roger Thomas
php-4.2.2 Linux rh7.1 I run this on my browser ? $mbox = imap_open({imap.domain.com},roger,roger123,OP_HALFOPEN) or die(can't connect: .imap_last_error()); $quota_value = imap_get_quota($mbox, user.roger); if(is_array($quota_value)) { print Usage level is: . $quota_value['usage'];

[PHP] using php from command line

2002-08-28 Thread Michael P. Carel
Hi to all, I have a problem here in using php in command line i cant find the php executable in /usr/bin/php in my readhat linux after compiling php-4.2.2 with --enable-cli. Any idea why? I need to run a php script using cron, or if you have any suggestion please share. Regards, Mike --

Re: [PHP] AOL problem with remote IP address

2002-08-28 Thread Justin French
I haven't heard about address' changing midway through a session (ie, without reconnecting), but it's worth pointing out that there will be a few other reasons why this isn't a good idea: 1. if they have to reconnect, they're near guaranteed to have a new IP 2. with most big ISPs, all users may

[PHP] Re: using variable ..help

2002-08-28 Thread Remon Redika
Thank you for u'r advanced, it's works correct... regard me. Stas Maximov writes: Remon, Your code works correct, cause you coded it this way as it should go through the array and output every element in the array into one line. If I got your idea correctly - you probably want

Re: [PHP] sending email to a mailing list

2002-08-28 Thread Justin French
on 29/08/02 8:54 AM, Andy ([EMAIL PROTECTED]) wrote: I do not agree. First off all (in my case) I do want to send personalized e-mails. And even if I cancel this wish.. how about adresses which fail? You will never ever find out how many adresses failed by putting them into the all in bcc.

Re: [PHP] AOL problem with remote IP address

2002-08-28 Thread Joseph Szobody
But I wouldn't be relying on a remote IP for anything... they're too unreliable. This wasn't meant to be a fool-proof security solution to begin with. None of these 'protected' pages contain anything real sensitive. However... what are some good security procedures (besides an encrypted

RE: [PHP] HTTP_REFERER?

2002-08-28 Thread Lon Lentz
Weird. When I plugged them straight into the query, it worked. Thanks again for the help. Solved a major problem for me. -Original Message- From: listman@evol [mailto:listman@evol]On Behalf Of Keith Vance Sent: Wednesday, August 28, 2002 10:51 PM To: Lon Lentz Subject: RE: [PHP]

[PHP] trying to post to credit card authorization gateway - ibill

2002-08-28 Thread Stan
The following was from a post over a year ago, where the author was trying to post credit card info to an .exe gateway program to check authorization. I am trying to get something similar to work. I can submit it and to the gateway, but I never get the comma delimitted authorization string back

Re: [PHP] AOL problem with remote IP address

2002-08-28 Thread Justin French
on 29/08/02 1:01 PM, Joseph Szobody ([EMAIL PROTECTED]) wrote: But I wouldn't be relying on a remote IP for anything... they're too unreliable. This wasn't meant to be a fool-proof security solution to begin with. None of these 'protected' pages contain anything real sensitive. Yes, but

RE: [PHP] trying to post to credit card authorization gateway - ibill

2002-08-28 Thread Eric Bauer
I have done this with ASP and Authorize.net, so I'm not sure if it will work for you, but all I did was in asp use a request.form(fieldname) which I think would be like using $_POST['fieldname']; or $HTTP_POST_VARS['fieldname'] (I'm still new to PHP). Hope that helps -Original Message-

[PHP] Re: trying to post to credit card authorization gateway - ibill

2002-08-28 Thread Manuel Lemos
Hello, On 08/29/2002 12:14 AM, Stan wrote: The following was from a post over a year ago, where the author was trying to post credit card info to an .exe gateway program to check authorization. I am trying to get something similar to work. I can submit it and to the gateway, but I never get

[PHP] and or statement

2002-08-28 Thread Victor
What is the and or statement in php? I need this to see if the first statement is whatever, and or the second statement is whatever... if (!isset($PHP_AUTH_USER) and or blah($blah)) {} Thank you - vic __ Post your free ad

Re: [PHP] and or statement

2002-08-28 Thread Rasmus Lerdorf
That makes absolutely no sense. How is and or different from simply or? Draw me the sets and show me the overlap satisfied by this alien and or operator of yours. -Rasmus On Wed, 28 Aug 2002, Victor wrote: What is the and or statement in php? I need this to see if the first statement is

[PHP] performing searches with random entries

2002-08-28 Thread Brian Shannon Windsor
I'm trying to take a variable in that would be usually 3 to 4 words (could be more or could be less). Right now, I'm exploding the variable and testing each individually, but this obviously is a pain with the more variables you get, and the result I get from the mysql search doesn't give me

Re: [PHP] AOL problem with remote IP address

2002-08-28 Thread Justin Garrett
AOL uses load balancing proxy servers which means every new page load could come from a different IP address. A quick google search brought up this article that mentions it: http://surfaid.dfw.ibm.com/web/home/whitepapers/weblog.html Read the section on 'Effects of Dynamically Changing IP

Re: [PHP] and or statement

2002-08-28 Thread Todd Pasley
Apologies if im not quite understanding this... but to me it reads you want... if ((X and Y) OR Y) . which mathematically is simply if (Y). If this is what u actually mean, then all u need is if (blah($blah)) because the value of the first predicate is going to have still depends on Y to

Re[2]: [PHP] and or statement

2002-08-28 Thread Tom Rogers
Hi, Thursday, August 29, 2002, 1:35:47 PM, you wrote: RL That makes absolutely no sense. How is and or different from simply RL or? RL Draw me the sets and show me the overlap satisfied by this alien and or RL operator of yours. RL -Rasmus RL On Wed, 28 Aug 2002, Victor wrote: What is the

[PHP] Mime Decoder

2002-08-28 Thread Santosh Pasi
Hi All, I am looking for Mail Mime Decoder tutorial or guide. Does any have any idea how to decode mail (for example torture mail) or OE mail with multipart/mixed Content Type. I tried Richard Heyes' mimeDecode, but actually don't know how to proceed further. Regards, Santosh Pasi -- PHP

Re: [PHP] using php from command line

2002-08-28 Thread Jason Wong
On Thursday 29 August 2002 09:50, Michael P. Carel wrote: I have a problem here in using php in command line i cant find the php executable in /usr/bin/php in my readhat linux after compiling php-4.2.2 with --enable-cli. After doing make, the php binary should be in the same directory as

[PHP] Class problem - Fatal error:

2002-08-28 Thread irek
Hello I get this error: Fatal error: Cannot redeclare class dmsql in /usr/local/apache/htdocs/dm/inc/sql.inc.php on line 4 It happens when a user presses the back button, otherwise when the page is first loaded it works fine. Here's the file called with web browser

Re: [PHP] Class problem - Fatal error:

2002-08-28 Thread Todd Pasley
Fatal error: Cannot redeclare class dmsql in It looks like you are after include_once http://www.php.net/manual/en/function.include-once.php Todd - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 2:48 PM Subject: [PHP] Class problem -

[PHP] Re: Mime Decoder

2002-08-28 Thread Manuel Lemos
Hello, On 08/29/2002 01:32 AM, Santosh Pasi wrote: Hi All, I am looking for Mail Mime Decoder tutorial or guide. Does any have any idea how to decode mail (for example torture mail) or OE mail with multipart/mixed Content Type. I tried Richard Heyes' mimeDecode, but actually don't

<    1   2