RE: [PHP] Timing Sessions Out

2002-02-19 Thread Johnson, Kirk
See session.gc_maxlifetime in php.ini. Kirk > -Original Message- > From: Phillip S. Baker [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 19, 2002 4:10 PM > To: PHP Email List > Subject: [PHP] Timing Sessions Out > > > Hey Gents and Ladies, > > I read that sessions can be set to

Re: [PHP] Mail Headers & Formatting

2002-02-19 Thread Steven Walker
Nick, Thank you for your reply. I have looked at the RFC's and they are just too wordy without examples. I was hoping to find a nice hyperlinked html page with complete docs and examples...that may be hoping for too much:). I'll be using this to generate auto-responding email messages. I'd lik

[PHP] Help for passing variable to all pages

2002-02-19 Thread WG4- Cook, Janet
Hi All, I am new to PHP and learning as I go by reading many of the tutorials around. I have however come up against a problem that I can't seem to solve of find any other references to. I need to make some information available to every page and one of the series of articles by Kevin Yank whic

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread Martin Towell
looks like there's a problem with this line: test link try using this line instead: ">test link looks like you were missing the end quotes and closing "bracket" of the anchor tag See how that goes Martin -Original Message- From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]

Re: [PHP] Apache+PHP+DSO: maybe trivial (?): apxs doesn't create libphp4.so under AIX 4.3.3

2002-02-19 Thread Tom Rogers
Hi Make sure you include at least one internal apache module as shared (i used mod_rewrite) otherwise apache doesn't include enough linker information in apxs. you will probably have to do make distclean and start again with configure Tom At 09:18 PM 2/19/02, Erwin S R U B A R wrote: >Hi

Re: [PHP] email body text extraction.

2002-02-19 Thread Bogdan Stancescu
E-mail is formatted just like HTTP messages - just split it in two after the first \r\n\r\n and the first part is the header and the rest is the body. You'll have to look for a line starting with "Subject:" in the header and store the second part. You'll have a small problem if you expect to a

[PHP] regexp on user supplied link

2002-02-19 Thread Justin French
Hi, I have a website which is based purely on user-added content. The problem with this is that some areas allow users to use links in the text, and it's difficult to ensure that they all have a decent knowledge of attributes such as tartget="_new", etc etc. So, I'd like a script that... 1. lo

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread WG4- Cook, Janet
Ok - I changed it to ">test link First login page now has " test linkthen the login stuff, and I still don't get the value through Janet -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread Martin Towell
that makes me think that your page isn't being executed through php. why this is happening, i don't know - maybe a misconfigured web server Martin -Original Message- From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 10:50 AM To: Martin Towell; PHP List

RE: [PHP] regexp on user supplied link

2002-02-19 Thread Martin Towell
reg.ex. something like (not tested): "]*>" this would give you the entire anchor tag, then go from there? or what about using the XML parsing routines, get it to find the anchors and give you it's attributes, then go from there? Martin -Original Message- From: Justin French [mai

Re: [PHP] Unicode TTF Font wingding's just don't cut it!

2002-02-19 Thread hugh danaher
Thanks Neil, Verdana is nice, but what I'm looking for would have large circles (filled or open), squares, diamonds, and other basic geometric shapes. Nothing fancy but it does need to be unicode as I'm using it with php's image functions. Thanks again, Hugh - Original Message - From: "Ne

[PHP] really hopelessly stuck on this problem!

2002-02-19 Thread DigitalKoala
hi folks, i've been tearing my hair out over a redirection problem ... but i can't seem to find a satisfactory solution. i'm sending some variables to a script on an external webpage, the webpage sends me the data i need back.. except that this page goes through a redirect page... i want to kee

[PHP] Re: [PHP-DB] I cant get the logic for this...

2002-02-19 Thread Hugh Bothwell
"; // while there is data... while($row = mysql_fetch_object($res)) { // begin new row if appropriate. // NOTE: Of necessity, I separate this from the // end-of-row test; otherwise, a query returning // an exact multiple of the table width would // result in a table with an em

RE: [PHP] really hopelessly stuck on this problem!

2002-02-19 Thread Martin Towell
what about just include'ing it? -Original Message- From: DigitalKoala [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 11:53 AM To: [EMAIL PROTECTED] Subject: [PHP] really hopelessly stuck on this problem! hi folks, i've been tearing my hair out over a redirection problem

[PHP] Re: Storing Newsletter in Database

2002-02-19 Thread Hugh Bothwell
"Kevin Old" <[EMAIL PROTECTED]> wrote in message 030701c1b988$cf93df30$0701a8c0@KOLD">news:030701c1b988$cf93df30$0701a8c0@KOLD... > Hello all, > > I have a challenge that has been put on me. I have built a website for my > church and we are now wanting to put our newsletter online. It is curren

[PHP] Weather Scripts

2002-02-19 Thread Shannon Doyle
Hi People, I have been looking around the web lately and have noted a number of sites are running what appears to be php scripts that parse their local weather information and display it on their wesite. Well, I want to do the same, however I have been searching and found nothing that does what

[PHP] A function that turns special charcters into html codes?

2002-02-19 Thread Leif K-Brooks
I'm looking for a function that turns special charcters into html charcter codes (" into "). Is there one? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weather Scripts

2002-02-19 Thread Jeff Sheltren
Hi, it sounds like it shouldn't be too bad, but you didn't say where you plan on getting the information from... At 11:43 AM 2/20/2002 +1030, Shannon Doyle wrote: >Hi People, > >I have been looking around the web lately and have noted a number of >sites are running what appears to be php script

RE: [PHP] A function that turns special charcters into html codes?

2002-02-19 Thread Jason Murray
> I'm looking for a function that turns special charcters into > html charcter codes (" into "). Is there one? Please try the manual before you ask here. If you'd looked, you'd have found the function: html_special_chars() ... which you'll note is named extremely closely to the wording y

Re: [PHP] really hopelessly stuck on this problem!

2002-02-19 Thread DigitalKoala
you still see the redirection "middle page" then .. the redirection needs to happen (as some extra information is collected), but what i want to display to the user is just the end result. Martin Towell <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > what abou

Re: [PHP] A function that turns special charcters into html codes?

2002-02-19 Thread Michael Sims
At 08:15 PM 2/19/2002 -0500, Leif K-Brooks wrote: >I'm looking for a function that turns special charcters into html charcter >codes (" into "). Is there one? http://www.php.net/manual/en/function.htmlspecialchars.php and http://www.php.net/manual/en/function.htmlentities.php -- PHP General

[PHP] Re: Weather Scripts

2002-02-19 Thread Philip Hallstrom
you could take a look around here... http://weather.noaa.gov/pub/data/forecasts/city/ http://weather.noaa.gov/pub/data/forecasts/state/ Somewhere on the site they say it's free, but they ask you not to bang on their servers too hard... -p On Wed, 20 Feb 2002, Shannon Doyle wrote: > > Hi Peopl

Re: [PHP] really hopelessly stuck on this problem!

2002-02-19 Thread annazaraah
RE: [PHP] really hopelessly stuck on this problem!you still see the redirection "middle page" then .. the redirection needs to happen (as some extra information is collected), but what i want to display to the user is just the end result. - Original Message - From: Martin Towell

Re: [PHP] really hopelessly stuck on this problem!

2002-02-19 Thread Justin French
Not entirely sure what your trying to do, but... Unless you need to collect information off the user's machine (cookies, form input, etc), then user never needs to render that page in order to perform a redirect. You can have a straight php file which has no HTML, and prints nothing to the scree

Re: [PHP] Weather Scripts

2002-02-19 Thread Bogdan Stancescu
Surprising as it may come, you should look for something like "satellite images" on Google - you'll find zillions of links to top-level weather info providers. Then you should check which are free, copy their names and search for "free web weather service " - you'll probably end up with a soli

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread WG4- Cook, Janet
That's not a lot of help - its a new installation, as far as I know everything has been done to default settings. What can I do to check the server setup Janet -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 February 2002 10:59 To: 'WG4- Cook, Janet

Re: [PHP] really hopelessly stuck on this problem!

2002-02-19 Thread annazaraah
hi.. sorry i haven't explained myself well.. this is what i am trying to do i need to send house numbers and postcodes to script on another machine(third party). the script then sends back complete address details for the house number and postcode. i have no control on how the third party scr

[PHP] Re: email body text extraction.

2002-02-19 Thread David Robley
In article <000b01c1b8e3$b9ad16a0$0100a8c0@athar>, [EMAIL PROTECTED] says... > I want to check for new emails (with a specific subject) and extract the > message body. This message body will be used to update specific parts of my > website. Any ideas? > > Many thanks in advance. > > Regards. >

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread Martin Towell
Create a new page with just the following in it if you then load that page through your server and you don't see the just the words, then your server isn't executing your script... If it's not going through php, specify your OS, and server type and someone here should be able to help you. Mar

[PHP] Difference between two dates

2002-02-19 Thread Uma Shankari T.
Hello, How can i find out the difference between two dates. I am having the date like this $str="10-01-2001"; $str1="01-02-2002"; I need to find out the difference between the date,month and year. If anyone know the solution for this problem plz tell me -Uma -- PHP General Mai

Re: [PHP] Difference between two dates

2002-02-19 Thread Rasmus Lerdorf
This will give you the difference between the two dates in seconds: $diff = strtotime(str_replace('-','/',$str1)) - strtotime(str_replace('-','/',$str)); -Rasmus On Wed, 20 Feb 2002, Uma Shankari T. wrote: > > > > Hello, > > How can i find out the difference between two dates. > > I am h

RE: [PHP] Re: Weather Scripts

2002-02-19 Thread Shannon Doyle
Hi, Sorry, I forgot to mention that I would be willing to get the information off either METAR or any other source that provides the raw data for the forecasts. I am in australia and the Bureau of Meteorology provides annoymous ftp access to a raw data text file for this information as well. R

Re: [PHP] Difference between two dates

2002-02-19 Thread Steven Walker
You can convert the time into seconds using mktime(), subtract one from the other, and then reformat it using gmstrftime: //int mktime ( int hour, int minute, int second, int month, int day, int year [, int is_dst]) //string gmstrftime ( string format [, int timestamp]) "; echo "$time2"

[PHP] Re: HTTP REFERER

2002-02-19 Thread Bharath Bhushan lohray
$HTTP_REFERER The address of the page (if any) which referred the browser to the current page. This is set by the user's browser; not all browsers will set this. -from the php documentation -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] gzdoc

2002-02-19 Thread Steven Walker
Does anybody have experience using gzdoc? I can't find much information about it, and was just wondering if it is even worth the effort. For anyone interested, here is the url I found it at: http://php.weblogs.com/http_compression Steven J. Walker Walker Effects www.walkereffects.com [E

[PHP] Re: problem with mail()/html/outlook

2002-02-19 Thread Bharath Bhushan lohray
A program I had written to send notification to recievers when a greeting card was sent to them.. = Ind-e-glow Greetings.Dear Friend!\nYou have an e greeting waiting for you at http://www.bh-loh-inc.f2s.com.com/\";>http://www.ind-e-glow.com/ sent by $sender. To view you

RE: [PHP] Re: problem with mail()/html/outlook

2002-02-19 Thread Jason Murray
> This had worked without problems.. It sounds like the text encoding could be wrong. Using some encoding types, = means something else. Maybe the charset you're using needs to be looked at? Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] really hopelessly stuck on this problem!

2002-02-19 Thread hugh danaher
When submitting data to the site that provides details from addresses and postcodes what is the last page you see, and what does its header look like. If it's the redirect page, where does it say it's going. Perhaps, you could send an amended header directly to that page, skip all the pages in bet

Re: [PHP] Re: Weather Scripts

2002-02-19 Thread Gary
Shannon Doyle wrote: > Hi, > > Sorry, I forgot to mention that I would be willing to get the > information off either METAR or any other source that provides the raw > data for the forecasts. I am in australia and the Bureau of Meteorology > provides annoymous ftp access to a raw data text file

[PHP] search results - details

2002-02-19 Thread mm fernandez
hi, I'm working on a search results page. actually i have my search form and search results page working fine already. but i want to add something on the "results page". my search "results page" shows the following fields: lastname, firstname, middlename, yeargrad. what i want is that the last

RE: [PHP] search results - details

2002-02-19 Thread Martin Towell
I'm assuming you have an id in that table, so all you need to do is pass the details page the id and the details page can then display whatever you want it to display -Original Message- From: mm fernandez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 3:21 PM To: [EMAIL PRO

[PHP] test

2002-02-19 Thread Jack
Dear All I had Setup a Website in a IIS Server 4.0, but i just want to know what is the different between the Apache Server and IIS server? Thx jack [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What is the different between Apache and IIS?

2002-02-19 Thread Jack
Dear All I had Setup a Website in a IIS Server 4.0, but i just want to know what is the different between the Apache Server and IIS server? Thx jack [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is the different between Apache and IIS?

2002-02-19 Thread NDPTAL85
On Tuesday, February 19, 2002, at 07:52 AM, Jack wrote: > Dear All > I had Setup a Website in a IIS Server 4.0, but i just want to know what > is > the different between the Apache Server and IIS server? > > Thx > jack > [EMAIL PROTECTED] Day and night. Both are webservers. IIS is made by Micr

[PHP] Need to-do list for my web site

2002-02-19 Thread Michael Zornek
I'm looking to put up a dynamic to-do list for me and my web dev team. Nothing to fancy but something to keep us organized. I'd write one myself but don't want to reinvent the wheel and would hate to put "create to-do list app" on the top of my to-do list for the shear redundancy of it all. ~ Mik

[PHP] PHP Developers in Melbourne, Australia

2002-02-19 Thread Jason Murray
Hi everyone, If you're located in Melbourne, Australia and are available for contract or temporary work for 3 to 6 months starting early March, I'd like to hear from you. Pre-requisites: - Working knowledge of a unix / linux environment - Firm grasp of PHP concepts and programming (OO unnecc

Re: [PHP] Difference between two dates

2002-02-19 Thread Uma Shankari T.
If i gave the str date as "31-01-2001"; and $str1="04-02-2001"; then it is displaying the wrong result Plz tell me how can i rectify this problem... -Uma On Tue, 19 Feb 2002, Rasmus Lerdorf wrote: RL>This will give you the difference between the two dates in seconds: RL> RL>$diff

[PHP] argh!

2002-02-19 Thread Richard Baskett
Ok this is getting frustrating! I am serializing a variable and passing it through the url, in the url and when I echo it on the next page it shows s:608:, and when I unserialize it and echo it, it doesnt show anything! How can I pull that data out in the next page? Rick "It is the mark of an

Re: [PHP] argh!

2002-02-19 Thread Weston Houghton
Is it an array, or a single variable? Wes > Ok this is getting frustrating! I am serializing a variable and passing it > through the url, in the url and when I echo it on the next page it shows > s:608:, and when I unserialize it and echo it, it doesnt show anything! How > can I pull that dat

RE: [PHP] Re: Weather Scripts

2002-02-19 Thread Rasmus Lerdorf
> Sorry, I forgot to mention that I would be willing to get the > information off either METAR or any other source that provides the raw > data for the forecasts. I am in australia and the Bureau of Meteorology > provides annoymous ftp access to a raw data text file for this > information as well.

[PHP] exec()/PGP: long file names, hanging.

2002-02-19 Thread Analysis and Solutions
Hi Folks: Upgraded today from 4.0.7-dev to 4.1.1 on my Windows NT / Apache system in hopes of eliminating a problem I'm having. But, doing so brought up another problem... First, I found that in my 4.1.1 implementation, I had to use short file names when running PGP in an exec() statement. In

Re: [PHP] What is the different between Apache and IIS?

2002-02-19 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Jack declared > Dear All > I had Setup a Website in a IIS Server 4.0, but i just want to know what is > the different between the Apache Server and IIS server? IIS sucks and Apache doesn't in a nutshell. Tons of exploits possible in I

[PHP] Re: argh!

2002-02-19 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Richard Baskett) wrote: > Ok this is getting frustrating! I am serializing a variable and passing it > through the url, in the url and when I echo it on the next page it shows > s:608:, and when I unserialize it and echo it, it doesnt show anyt

[PHP] Re: PHP 4.1.1, c-client-2001a and cyrus-imapd

2002-02-19 Thread 2147483647
After numerous tests I found out that c-client-2001a works good bu onli with PHP4.0.4pl1. Newer versions of PHP try to use CRAM-MD5 authentication. So can anyone tell me why it is? Thanks in advance, Pavel. "2147483647" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTE

[PHP] Don't Know how to Set the include Path

2002-02-19 Thread Jack
Dear all I had create a file called "contant.inc". What i want to do is to use the require function() to point to this file, but when i test it, it says: "Warning: Failed opening 'constant.inc' for inclusion (include_path='') in C:\InetPub\wwwroot\php study\General News\news.php on line 17" Then

Re: [PHP] What is the different between Apache and IIS?

2002-02-19 Thread Ben Turner
Well im relativly new to the apache environment but I have gotten a huge grasp on it through my use of ASP and IIS. Sure there are some stark differences but I can tell you that I can already duplicate my rather advanced sometimes ASP applications into php. In the short time I have had it runnin

Re: [PHP] What is the different between Apache and IIS?

2002-02-19 Thread Ben Turner
Not mention budget friendly-ness - Original Message - From: "Nick Wilson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 20, 2002 12:26 AM Subject: Re: [PHP] What is the different between Apache and IIS? > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > >

RE: [PHP] Timing Sessions Out

2002-02-19 Thread Phillip S. Baker
At 03:21 PM 2/19/2002 Tuesday, Johnson, Kirk wrote: >See session.gc_maxlifetime in php.ini. > >Kirk I assume that the value given is in seconds. Correct?? Thank you for the response. Phillip > > -Original Message- > > From: Phillip S. Baker [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday,

<    1   2