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,

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

[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

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

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

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

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

[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

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

[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

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

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

[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

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

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"

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

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

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

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

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

[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

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

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

[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

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

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

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

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

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

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] argv and argc

2002-02-19 Thread Martin Towell
IF it is deprecated in 4.1.0, then what are we meant to use in place of it? Martin -Original Message- From: Darren Gamble [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 9:04 AM To: 'Chris Boget'; PHP General Subject: RE: [PHP] argv and argc Good day, The array $argv con

RE: [PHP] Formatting problem

2002-02-19 Thread Jason Murray
Your problem is a simple HTML formatting problem - your submit button is inside your but outside a (it's after the final ), thus Netscape puts it above the table entirely. -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" > -Original Message- > Fr

[PHP] Formatting problem

2002-02-19 Thread jas
I feel kinda dumb for posting this but here it is... I am trying to query a table then format the results so it looks like the rest of the site and the darn delete button to remove db entries keeps showing up at the top. Here is the code... Thanks in advance. Jas Current Inventory"; $count = -1;

[PHP] Timing Sessions Out

2002-02-19 Thread Phillip S. Baker
Hey Gents and Ladies, I read that sessions can be set to timeout after a certain period of time. However I have not come across anything that tells me how to do that. So how do I specify when sessions are to timeout? Phillip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] explode? (table field to a variable of same name)

2002-02-19 Thread Christopher William Wesley
oi ... typo! see below. sorry :( ~Chris On Tue, 19 Feb 2002, Christopher William Wesley wrote: > This may not be what you want to do, but should give you some hints. > (This is my code which I use to simply dump any SQL table into an HTML > table I can view in a browser ... for small

Re: [PHP] explode? (table field to a variable of same name)

2002-02-19 Thread Rasmus Lerdorf
This creates all the variables you asked for and also prints each one in a column of a table. foreach($row as $key=>$val) { $$key = $val; echo "$val"; } -Rasmus On Tue, 19 Feb 2002, Baloo :0) wrote: > How can I assign automatically all fields of a database to a variable of > the same n

Re: [PHP] explode? (table field to a variable of same name)

2002-02-19 Thread Christopher William Wesley
This may not be what you want to do, but should give you some hints. (This is my code which I use to simply dump any SQL table into an HTML table I can view in a browser ... for small tables, of course.) Using MySQL as an example: // assuming you ran a query and stored results in $mysql_result_s

Re: [PHP] argv and argc

2002-02-19 Thread Chris Boget
> look in the manual under predefined variables: > language.variables.predefined.html Sorry, I should have specified for a function, not a script. I found those vars, just couldn't find the same for a function. Just found it, though: func_num_args(); func_get_arg(); :) Chris -- PHP General

RE: [PHP] argv and argc

2002-02-19 Thread Darren Gamble
Good day, The array $argv contains what you're looking for (I'm not sure if this is deprecated in 4.1.0, though) so you'll have to flip through the manual and release notes. Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Al

RE: [PHP] argv and argc

2002-02-19 Thread Hunter, Ray
Here are all the predefined variables that are in PHP. You will notice that there is an argc and argv here. http://www.php.net/manual/en/language.variables.predefined.php Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]]

RE: [PHP] argv and argc

2002-02-19 Thread Rick Emery
look in the manual under predefined variables: language.variables.predefined.html -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 4:00 PM To: PHP General Subject: [PHP] argv and argc The other day, I was reading the docs and I just happen

[PHP] shopping cart

2002-02-19 Thread sasza
Hi I listed my shopping cart in this form: product_name quantity(text field in form)price And I want allow user to change quantity and then after submit load cart contents with new quantity. I forward text value in one variable(name of text field) and id of product in second(hidden type

[PHP] argv and argc

2002-02-19 Thread Chris Boget
The other day, I was reading the docs and I just happened across something that emulated argc and argv. However, I just spent 2 hours in the docs and can't find it. Is there something in PHP that you can use to get this info? thnx, Chris -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Re: PHP and HTTPS

2002-02-19 Thread Rodolfo Gonzalez
On Mon, 18 Feb 2002, J Smith wrote: > plaintext, no SSL at all. Useful if you want to keep your password safe > during transmission, but it sucks that everything can't be encrypted. That's the way hotmail works too, f. ex. I guess it's to increase speed. -- PHP General Mailing List (http://w

Re: [PHP] Re: PHP and HTTPS

2002-02-19 Thread Rodolfo Gonzalez
On Mon, 18 Feb 2002, Michael Kimsal wrote: > > on IE on pc a "this page cannot be displayed" error (with possible > > reasons like your browser needs to be set to accept SSL2 and SSL3 [it is > > by the way]) is generated half of the time. the other half it works. > We've worked with this several

Re: [PHP] explode? (table field to a variable of same name)

2002-02-19 Thread Simon Willison
First grab an associative array of the variables from the database with mysql_fetch_array() Then use extract($array); to extract all of the variables in the array to the symbol table: www.php.net/extract Simon Baloo :0) wrote: >How can I assign automatically all fields of a database to a va

RE: [PHP] Storing Newsletter in Database

2002-02-19 Thread Rick Emery
An XML DTD would not work here; XML describes content, HTML describes presentation. You might consider translating to PDF via Adobe Acrobat. Acrobat supports hyperlinks and PDF is a standard plugin for the IE and NN -Original Message- From: Kevin Old [mailto:[EMAIL PROTECTED]] Sent: Tue

[PHP] Storing Newsletter in Database

2002-02-19 Thread Kevin Old
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 currently being done in Microsoft Publisher. I would like to take the MS Publisher file and extract the data and insert it into a database (Pos

Re: [PHP] Getting an RGB value of a pixel (JPEG)

2002-02-19 Thread Rasmus Lerdorf
ImageColorsForIndex() and ImageColorAt() But you will PHP 4.1 for these functions to work with TrueColor images. -Rasmus On Tue, 19 Feb 2002, Baumann Reto wrote: > Hi there > > > I have to get an RGB value of a specified pixel in an JPEG image. This image > uses 24bit per pixel (so is true-co

RE: [PHP] explode? (table field to a variable of same name)

2002-02-19 Thread Rick Emery
This isn't exactly what you want, but it is close: list($user_id,$field2,$field3,$field4) = $row; where $row was retrieved via mysql_fetch_array() Just list each of the variable names in the list() function; include ALL fields' names included in $row -Original Message- From: Baloo :0) [m

[PHP] explode? (table field to a variable of same name)

2002-02-19 Thread Baloo :0\)
How can I assign automatically all fields of a database to a variable of the same name? Instead of having to manually do $user_id=$row["user_id"]; etc Then how could I know the number of fields in the table so I can do a loop to print them all in html? In advance, thanks for your help. Alfredo

[PHP] Re: http header?

2002-02-19 Thread Richard KS
Which of them? A webserver sents quite many variables, and you can access almost everyone of them with PHP. So perhaps giving some specifics? -- Richard, oblivion creations http://oblivion.lunamorena.net [EMAIL PROTECTED] +4+ (0) 736 849 531 for sure contact.. "Marcbey" <[EMAIL PROTEC

[PHP] Mail Headers & Formatting

2002-02-19 Thread Steven Walker
Can someone tell me where to find documentation on defining mail headers and formatting? I've been to faqs.org, but was hoping to find something a bit more friendly. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Re: My Session don't expire

2002-02-19 Thread Richard KS
Try passing Header("Cache-Control: no-cache, must-revalidate"); Header("Pragma: no-cache"); in the beginning of the page, that way all contents MUST be re-valided, thus disabling cache. -- Richard, oblivion creations http://oblivion.lunamorena.net [EMAIL PROTECTED] +4+ (0) 736 8

Re: [PHP] Simple problem

2002-02-19 Thread Richard KS
Or you could just write $fp1 = Fopen("D:\\log.txt","a+"); fwrite($fp1,"$start\n$array[0]\n$array[1]\n"); to simplify... -- Richard, oblivion creations http://oblivion.lunamorena.net [EMAIL PROTECTED] +4+ (0) 736 849 531 for sure contact.. "Jeff Van Campen" <[EMAIL PROTECTED]> wrote

[PHP] Re: When should I use gethostbyaddr () if I want to monitoring theusers

2002-02-19 Thread Philip Hallstrom
Yes... you definately want to wait to check the domains until later. gethostbyaddr() (or any dns lookup) can be extremely slow... Also, you're doing it *every* time even for the same visitor... if you waited until you were parsing the log files you could do it *once* per visitor (by caching the r

Re: [PHP] Looking for good tutorial on Sessions

2002-02-19 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Phillip S. Baker declared > I am looking for a good tutorial on the net about sessions. > I have found a few but they do not seem to go in much detail about full > use. > Can anyone suggest anything? Depends what you've found? There

Re: [PHP] Looking for good tutorial on Sessions

2002-02-19 Thread Erik Price
On Tuesday, February 19, 2002, at 02:52 PM, Phillip S. Baker wrote: > Greetings all, > > I am looking for a good tutorial on the net about sessions. > I have found a few but they do not seem to go in much detail about full > use. > Can anyone suggest anything? How's this: 1) Put session_star

Re: [PHP] Parse Error Line Numbers

2002-02-19 Thread Steven Walker
> my take on it is that php reports the line it was on when it > encountered the error with isn't the same as where you've made your > mistake. That sometimes is the case, depending on the error/omission. However, in my case the error is reported on a line number -before- the actual line numbe

[PHP] Looking for good tutorial on Sessions

2002-02-19 Thread Phillip S. Baker
Greetings all, I am looking for a good tutorial on the net about sessions. I have found a few but they do not seem to go in much detail about full use. Can anyone suggest anything? Thanks Phillip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

[PHP] email body text extraction.

2002-02-19 Thread Athar Hameed
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. Athar Hameed [EMAIL PROTECTED] P.S. I would like to meet other PHP programmers in Islamabad,

[PHP] When should I use gethostbyaddr () if I want to monitoring the users

2002-02-19 Thread SED
I'm using the gethostbyaddr() function in each webpage on my server to monitor the users. Today I noticed that it causes a very slow speed but before it was ok. Is it commonly bad choise to use it like I do? Should I rather check the host afterwards e.g. when I'm viewing the log-database? Regard

Re: [PHP] Re: Moto

2002-02-19 Thread Gary
Ben Curtis wrote: > http://www.webcodex.com/moto/ > > On Tue, Feb 19, 2002 at 05:07:14PM +, Nick Winfield wrote: > >>On Tue, 19 Feb 2002, Ben Curtis wrote: >> >> >>>Not PHP itself, heh, but PHP scripts that you write. Moto scripts can >>>be interpreted by moto, just like PHP, but the scr

[PHP] Getting an RGB value of a pixel (JPEG)

2002-02-19 Thread Baumann Reto
Hi there I have to get an RGB value of a specified pixel in an JPEG image. This image uses 24bit per pixel (so is true-color). How could this be done? Thanks a lot Reto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse Error Line Numbers

2002-02-19 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Steven Walker declared > Does anyone know how line numbers are figured? I get errors like the > following: > > Parse error: parse error in > /home/sites/site104/users/walker/web/admin/_fileutils.php on line 74 > > Is PHP preprocess

RE: [PHP] PHP_SELF Undefined

2002-02-19 Thread Lars Torben Wilson
On Tue, 2002-02-19 at 05:14, Ford, Mike [LSS] wrote: > > -Original Message- > > From: Matt [mailto:[EMAIL PROTECTED]] > > Sent: 18 February 2002 23:30 > > To: Lars Torben Wilson > > > > > $foo = "This page is $_SERVER[PHP_SELF]"; [snip] > > Can you expand on why the first option isn't

[PHP] Parse Error Line Numbers

2002-02-19 Thread Steven Walker
Does anyone know how line numbers are figured? I get errors like the following: Parse error: parse error in /home/sites/site104/users/walker/web/admin/_fileutils.php on line 74 Is PHP preprocessing the code to remove comments and white space? The larger my code file, the more inaccurate the p

Re: [PHP] Crashing a webserver

2002-02-19 Thread Chris Lott
> I have got the task to down our webserver, to see how stable she is, and how > easy/hard it is to get it on it's knees ;) > > Does anyone have some ideas how to do it? There are various useful "torture" scripts floating around the web that you can use to create heavy, somewhat radom loads on a

Re: [PHP] Re: Copyright

2002-02-19 Thread Steven Walker
Here is a good explanation, in laymen's terms, of intellectual property laws: 'An Intellectual Property Law Primer for Multimedia and Web Developers' http://www.laderapress.com/lib/laderapress/primer.html Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] O

[PHP] Re: Crashing a webserver

2002-02-19 Thread J Smith
I'd start out by using ab, the apache benchmarker. Look for $APACHE_PATH/bin/ab. You can start hammering away at the site by setting the number of connections to try, conncurrent connections, etc. in ab, which will spit out a bunch of interesting stats, like the number or errors produced, pag

RE: [PHP] Dynamic file creation in Win NT4.

2002-02-19 Thread Hunter, Ray
You need to make sure that php has the correct permissions to access the directory and write the file that you want it to write too... Check out the manual for this... Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]]

[PHP] Dynamic file creation in Win NT4.

2002-02-19 Thread Sridhar Moparthy
Hi All, Could you please help me on how to create a file dynamically on the server in PHP. I wanted to open a new file for each day to save all the errors generated by different web pages on that day. I am using PHP 4.1.6 on, Win NT4 and IIS . Thank you in advance! Sridhar Moparthy

  1   2   >