RE: [PHP] PHP FAQ (again)

2002-04-03 Thread Hunter, Ray
... I now some mailing lists will not even reply if you do not follow specific criteria when you post... Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 5:58 AM To: php

RE: [PHP] PHP FAQ (again)

2002-04-03 Thread Hunter, Ray
if they have researched some of the information and the reply is no...Then I say RTFM and STFI... This is a general list and newbie questions should be asked here...However, newbies need to post adequate information for an adequate response... Thank you, Ray Hunter Firmware Engineer ENTERASYS

RE: [PHP] sablotron XMl XSLT

2002-04-09 Thread Hunter, Ray
://rpmfind.net/linux/rpm2html/search.php?query=js http://rpmfind.net/linux/rpm2html/search.php?query=js I am actually installing it now as we speak... RAY HUNTER Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Matthew Luchak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April

RE: [PHP] php and wml

2002-04-09 Thread Hunter, Ray
You can you just need to have php handle the wml pages and supply the correct headers... RAY HUNTER Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Starman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 2:00 PM To: [EMAIL PROTECTED] Subject: [PHP] php

[PHP] PHP as HTML

2002-06-04 Thread Tom Ray
Hey there- I'm trying to use an .htaccess file to parse .php files as .html does anyone know how to do this? It doesn't work with the same structure as parsing the .shtml files. any suggestions would be great. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
.html AddType application/x-httpd-php .htm - Original Message - From: Tom Ray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 2:41 PM Subject: [PHP] PHP as HTML Hey there- I'm trying to use an .htaccess file to parse .php files as .html does anyone

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 June 2002 9:49 AM To: Kevin Stone; [EMAIL PROTECTED] Subject: Re: [PHP] PHP as HTML I tried this, and it just prompts me to download the file from the server. I can't see what the issue is. - Original Message - From

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
-Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 June 2002 9:49 AM To: Kevin Stone; [EMAIL PROTECTED] Subject: Re: [PHP] PHP as HTML I tried this, and it just prompts me to download the file from the server. I can't see what the issue is. - Original Message

[PHP] Retrieving Info from Cookies

2002-06-04 Thread Tom Ray
I've been playing with cookies, and I've been able to write information to a cookie, but now what I want to do is pull that information from the cookie. Is there something special I need to do to pull that info or should I just be to get that data by delcaring a variable in the php script?

Re: [PHP] Retrieving Info from Cookies

2002-06-04 Thread Tom Ray
when I do that it comes up with Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' Justin French wrote: you should be able to access it via $_COOKIE['name'], or what I do, $cookie = $_COOKIE['name']. Justin French on 05/06/02 2:19 PM, Tom Ray ([EMAIL

RE: [PHP] redirection

2002-06-05 Thread Ray Hunter
You can also set up redirects in your web server as well... Thank you, RAY HUNTER -Original Message- From: Renaldo De Silva [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 12:45 PM To: [EMAIL PROTECTED] Subject: [PHP] redirection is there any way other than header

RE: [PHP] PHP Apache Module AND command Line

2002-06-05 Thread Ray Hunter
Or you can run the configuration with the bin dir option so that it places it where you want: Example: ./configure --bindir=/usr/bin make make install Thank you, RAY HUNTER -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 11:36 AM

RE: [PHP] htaccess

2002-06-05 Thread Ray Hunter
Try checking the apache environment...however that password will not be there... Thank you, RAY HUNTER -Original Message- From: Steve Buehler [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 3:39 PM To: PHP Subject: [PHP] htaccess I have a php script in an .htaccess

[PHP] Compiling PHP as static mod

2002-06-05 Thread Ray Hunter
--oldincludedir=/usr/include --libdir=/usr/lib Here is my apache configuration: ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a Basically, apache cannot find PHP's header files. Any help would be much appreciated. Thank you, RAY HUNTER

RE: [PHP] multiple selects and $_POST['vars']

2002-06-06 Thread Ray Hunter
Or you can added the bleh as an array... example: select multiple name=bleh[] Thank you, RAY HUNTER -Original Message- From: Chris Knipe [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 5:56 AM To: [EMAIL PROTECTED] Subject: [PHP] multiple selects and $_POST['vars'] Lo

RE: [PHP] Re: Anyone?

2002-06-06 Thread Ray Hunter
on ssl and encryption...you could even go with Kerberos or secure ldap systems. There are many options open...remember google is your friend Ray BigDog -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 11:41 AM To: [EMAIL PROTECTED] Subject: Re

RE: [PHP] Download Page?

2002-06-06 Thread Ray Hunter
Kevin, You will need to send the header information for the file...then you can do a new header so that you show the thank you for downloading page... Thank you, RAY HUNTER -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 12:49 PM

RE: [PHP] Quick Question about Classes

2002-06-06 Thread Ray Hunter
You need to call new operator to create the object. Thank you, RAY HUNTER -Original Message- From: Jay [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 2:22 PM To: Php-General (E-mail) Subject: [PHP] Quick Question about Classes When you define a new class can you do

RE: [PHP] Can't get PHP running with apache

2002-06-07 Thread Ray Hunter
When you use the --with then you need to specify a directory... Read up on the configuration of php on php.net Thank you, RAY HUNTER -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 1:47 PM To: php list Subject: [PHP] Can't get PHP running

RE: [PHP] Can't get PHP running with apache

2002-06-07 Thread Ray Hunter
Did you add the module info to your httpd.conf file? Thank you, RAY HUNTER -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 1:56 PM To: Ray Hunter; 'php list' Subject: Re: [PHP] Can't get PHP running with apache Oops. Sorry. my PHP configure

[PHP] Search a flat file.

2002-06-07 Thread Tom Ray
I want to be able to search a flat file line by line looking for data such as a username then display all the information in that line. Is there some way to search the following format: record1:username:info:info:info record2:username:info:info:info record3:username:info:info:info So if

Re: [PHP] Re: Search a flat file.

2002-06-07 Thread Tom Ray
]) == some name { /* routine to display entire row */ } /* continue processing loop */ -- Gaylen PHP KISGB v4.0.5 Guest Book http://www.gaylenandmargie.com/phpwebsite/ Tom Ray [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I want to be able to search a f

[PHP] Getting users monitor size

2002-06-09 Thread Tom Ray
Is there a way to do this with PHP? I couldn't find it in the online docs and the archive search is offline :( thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Another Flat File question.

2002-06-09 Thread Tom Ray
I know I've asked this before but I don't believe I asked the question correctly. I have a flat file database that is delimited with colons. This file will have new records added to it on a regular basis. What I want to do is be able to search that file based on a keyword that is inputted by

RE: [PHP] FUDforum 2.0 Stable Released

2002-06-10 Thread Ray Hunter
Try using a different database and it might be worth while... Thank you, RAY HUNTER -Original Message- From: Jeff Lewis [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 11:51 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] FUDforum 2.0 Stable Released

RE: [PHP] Formatting XML Data

2002-06-10 Thread Ray Hunter
Also checkout phpbeginner.com it has an article about xslt, xml and php... www.phpbeginner.com Thank you, RAY HUNTER -Original Message- From: Sebastian A. [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 09, 2002 9:21 AM To: PHP General List (PHP.NET) Subject: [PHP] Formatting XML

[PHP] Include question

2002-06-11 Thread Tom Ray
I'm trying to use the include function in some PHP scripts, but when I do include 'config.inc'; or include 'config.php; It returns all the information in the file when I look at my test php file (which calls the include) Anyone know why this is? -- PHP General Mailing List

Re: [PHP] Include question

2002-06-11 Thread Tom Ray
including it... ---John Holmes... -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:29 PM To: [EMAIL PROTECTED] Subject: [PHP] Include question I'm trying to use the include function in some PHP scripts, but when I do include 'config.inc

Re: [PHP] Include question

2002-06-11 Thread Tom Ray
to do...it's including it... ---John Holmes... -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:29 PM To: [EMAIL PROTECTED] Subject: [PHP] Include question I'm trying to use the include function in some PHP scripts, but when I do

[PHP] Unlink question more or less

2002-06-11 Thread Tom Ray
I want to use unlink() to delete a wildcard, but at the moment I keep getting parse errors. Here's what happening: I'm mucking around with some login stuff, when a user logs in it writes a flat file that collects some information about them, the flat file is created with the name

Re: [PHP] Unlink question more or less

2002-06-11 Thread Tom Ray
? The usernames are unique, right? ---John Holmes... -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 11:06 PM To: [EMAIL PROTECTED] Subject: [PHP] Unlink question more or less I want to use unlink() to delete a wildcard, but at the moment I keep

Re: [PHP] Unlink question more or less

2002-06-12 Thread Tom Ray
Any word on when glob() will be in the production version? thanks for the help Miquel. - Original Message - From: Miguel Cruz [EMAIL PROTECTED] To: Tom Ray [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 2:01 AM Subject: Re: [PHP] Unlink question more or less

[PHP] Dynamic Arrays

2002-06-12 Thread Tom Ray
I have an array question. I want to use a dynamic array but I don't know how to do this. What I want to do is this, I want to write a form script that takes the elements of the form and submits them in the array then I want to do a loop and check to see if each element in the array has a

Re: [PHP] beginner in PHP

2002-06-12 Thread Tom Ray
Try this: echo $catalog[unitprice]; in my experience I've only been able to use the echo() without the quotation marks if I'm calling a function, for variables you need the quotation marks. Hope this helps. Phillip Perry wrote: Can someone tell me why this doesn't work? The $mycart array

Re: [PHP] Editor

2002-06-13 Thread Ray Hunter
Actually it is macromedia now. And it is windows based, what about us linux or unix or xbsd guys. Ray Hunter - Original Message - From: Kurth Bemis (List Monkey) [EMAIL PROTECTED] To: Daniele Baroncelli [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 1:24 PM

Re: [PHP] Editor

2002-06-13 Thread Ray Hunter
If color is all you want then try using vim. Ray Hunter - Original Message - From: Kurth Bemis (List Monkey) [EMAIL PROTECTED] To: Ray Hunter [EMAIL PROTECTED] Cc: Daniele Baroncelli [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 1:29 PM Subject: Re: [PHP] Editor

Re: [PHP] server problems

2002-06-18 Thread Tom Ray
And what are the directory/file permissions where you are writing the archive files? - Original Message - From: 1LT John W. Holmes [EMAIL PROTECTED] To: Kris Vose [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, June 18, 2002 11:54 AM Subject: Re: [PHP] server problems Are you

Re: [PHP] display_error=Off in php.ini

2002-06-21 Thread Ray Hunter
Also make sure that your webserver has write privileges to the file... RAY HUNTER - Original Message - From: Anil Garg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 21, 2002 10:57 AM Subject: [PHP] display_error=Off in php.ini Hi, In php.ini file i have set

Re: [PHP] php.ini not creating logs

2002-06-21 Thread Ray Hunter
Like i said make sure the webserver has the privilege to write to the log file... S RAY HUNTER email: [EMAIL PROTECTED] www: http://www.venticon.com aim: spinebl8d3 - Original Message - From: Anil Garg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED

Re: [PHP] php.ini not creating logs

2002-06-21 Thread Ray Hunter
Do this, set log_errors = on in your php.ini file. Do not set the error_log = file comment that line out and all other error_log ones as well. This will then log all errors to apache's log files and you can view the errors there. RAY HUNTER - Original Message - From: Anil Garg

Re: [PHP] some one PLEASE help me!

2002-06-21 Thread Ray Hunter
Why don't you try using mm for the sessions...then you do not have to write to disk, it is all in memory... RAY HUNTER - Original Message - From: Rick Kukiela [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 21, 2002 12:09 PM Subject: [PHP] some one PLEASE help me! Ok

Re: [PHP] some one PLEASE help me!

2002-06-21 Thread Ray Hunter
you need to compile php with-mm and then you need to edit your php.ini file to use mm instead of files. this increases your php performance for sessions. Check you phpinfo() to see if you have mm compiled in and then edit your php.ini file like this: session.save_handler = mm S RAY HUNTER

Re: [PHP] mod_mm problems now....

2002-06-21 Thread Ray Hunter
Find out where you bsd has all the mm header files and add that to your php configuration... Example: --with-mm=/usr/include RAY HUNTER - Original Message - From: Rick Kukiela [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 21, 2002 1:45 PM Subject: [PHP] mod_mm problems

Re: [PHP] Dealing with XML charsets

2002-07-02 Thread Ray Hunter
Check here: http://www.chilkatsoft.com/ChilkatXml.asp Google search: http://www.google.com/search?sourceid=navclientq=convert+xml+charset B i g D o g - Original Message - From: Peter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 02, 2002 3:05 PM Subject: [PHP] Dealing

Re: [PHP] V basic newbie problem

2002-07-03 Thread Ray Hunter
try something like this echo 'table'; while( $result = mysql_fetch_array( $q ) ) { output here... } echo '/table'; S RAY HUNTER email: [EMAIL PROTECTED] www: http://www.venticon.com aim: spinebl8d3 - Original Message - From: Duncan Ellwood [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Ray Hunter
I wrote a small article for builder.com discussing MySQL vs PostgreSQL. There is a great dicussion happening on that article. Many are voicing their opinions for mysql. Here is the url: http://builder.com.com/article.jhtml?id=u00320020624gcn01.htm In short PostgreSQL offers many advanced

Re: [PHP] Postal / Zip Code Proximity Search

2002-07-09 Thread Ray Hunter
One suggestion is to use the geo functionality of Postgres We use postgres to calculate city, state, and/or country by using the geo functions in postgresql. I would really suggest using postgres for your calculations. You can pass the lat and long and have postgres give you the

Re: [PHP] ErrorDocument 404 Form

2002-07-17 Thread Tom Ray
Actaully, neither Apache or PHP is at fault. The ErrorDocument (either in httpd.conf or an .htaccess file) follows absolute paths, so you are calling your engine.php out of the root directory of the machine. So the question is, do you have engine.php in the / folder? If not you can put it there

Re: Re[2]: [PHP] Submitting to cgi script

2002-07-21 Thread Ray Hunter
Instead of doing it as a command, try it through the webserver ?php header( Location: http://localhost/cgi-bin/siteUserEmail/siteUserEmail.cgi?forwardaddr=$forwar daddraliases=$aliasesvacationmode=$vacationmodevacationmsg=$vacationmsgn ame=$namegroup=$grouppage=$page ); ? Or you can use

[PHP] Re: how to give vars to a php(shell env) script?

2002-04-23 Thread Ray Hunter
Pass the variables at the command line... $ARGV[i] and $ARGC deteremines the number of variables passed... Try it and see what happens Hermann Bier [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi NG! how could i give some vars to a php script, that is

Re: [PHP] Re: Display large text fields in html

2002-04-23 Thread Ray Hunter
What type of database are you using? You might want to look into the creating temp tables and accessing them... Jan Peuker [EMAIL PROTECTED] wrote in message 00e101c1eb0a$9a50c730$7ca990d4@toshiba">news:00e101c1eb0a$9a50c730$7ca990d4@toshiba... Ok, but true frames load very slow - not on an

[PHP] Re: How to connect to mysql through JAVA?

2002-04-24 Thread Ray Hunter
Try checking the sun documentation...java.sun.com or the mysql documentation... Ray Hunter Balaji Ankem [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, What is the command to connect to mysql through java. Thanks and Regards Balaji

[PHP] Re: is their a way to run a command as root ???

2002-04-24 Thread Ray Hunter
check your manpages on chroot and sticky bits... This should help you out... Ray Hunter Scott Baer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is their a way to run a command as root..or another user.. I know their are a log of securit

RE: [PHP] regex: string begins with NEITER http NOR cid NOR mailto

2002-05-19 Thread Ray Hunter
Show some code... Thanks, Ray BigDog Hunter -Original Message- From: kras [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 19, 2002 9:53 AM To: [EMAIL PROTECTED] Subject: [PHP] regex: string begins with NEITER http NOR cid NOR mailto Hello! I have got a big problem: I have html

RE: [PHP] Re: Mcrypt: Blowfish or Twofish or no fish?

2002-05-21 Thread Ray Hunter
MD5 is not that secure compared to blowfish or twofish or the other types of encryption available with mcrypt... Thanks, Ray Hunter -Original Message- From: Javier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 2:43 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Mcrypt

RE: [PHP] Re: Mcrypt: Blowfish or Twofish or no fish?

2002-05-21 Thread Ray Hunter
It is a one way hash that many people use for simple encryption...however, it should not be used for encrypting sensitive information...some people have used it for encrypting data contained in files... For example do a md5 hash then encrypt the hash Thanks, Ray Hunter -Original

RE: [PHP] Re: Mcrypt: Blowfish or Twofish or no fish?

2002-05-21 Thread Ray Hunter
And yes...md5 is a message digest hashing utility for compact digital signatures for an arbitrarily long stream of binary data. MD5 website... Thanks, Ray Hunter -Original Message- From: Sqlcoders.com Programming Dept [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 12:47

RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? Part 2

2002-05-22 Thread Ray Hunter
. I would suggest trying all three (blocksize, keylength, and both) and see which one works best for you. You should see how your system deals with it and then decide...I like to have bigger keylenghts personally... Thanks, Ray Hunter -Original Message- From: Jimmy Lantz [mailto

RE: [PHP] Servers, servers and more servers

2002-05-22 Thread Ray Hunter
for apache Thanks, Ray Hunter -Original Message- From: Stephen Tredrea [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 1:06 AM To: [EMAIL PROTECTED] Subject: [PHP] Servers, servers and more servers I'm trying to put together an architecture for a web environment and have

RE: [PHP] php apache log analysers/website stats

2002-05-24 Thread Ray Hunter
Do a search on google and you will find plenty to keep you busy with... Thanks, Ray Hunter -Original Message- From: John Ngo [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 8:47 PM To: [EMAIL PROTECTED] Subject: [PHP] php apache log analysers/website stats hey does anybody

RE: [PHP] inspirational

2002-05-26 Thread Ray Hunter
not be a function that does all this, however, you can try to work around it Thanks, Ray Hunter -Original Message- From: jtjohnston [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 25, 2002 11:39 PM To: [EMAIL PROTECTED] Subject: [PHP] inspirational I want to detect the url my .php lies

RE: [PHP] Parsing PHP output

2002-05-26 Thread Ray Hunter
...however, I have only played with the XML stuff... Thanks, Ray Hunter -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 26, 2002 12:07 PM To: [EMAIL PROTECTED] Subject: [PHP] Parsing PHP output Dear folks, Has anyone ever been able to get a CGI to produce valid

[PHP] Mcrypt Function - New to it

2002-05-30 Thread Tom Ray
Hi there..some what a new programmer when it comes to all this. I'm trying to encrypt some data and then decrypt it. It doesn't have to be high bit encryption just something simple like 3DES. But I keep getting it wrong. Any help would be greatful. Here's the piece of code: $iv =

Re: [PHP] Mcrypt Function - New to it

2002-05-30 Thread Tom Ray
($td, base64_decode($eid)); mcrypt_generic_end ($td); return $id; } Tom At 11:07 PM 30/05/2002 -0400, Tom Ray wrote: Hi there..some what a new programmer when it comes to all this. I'm trying to encrypt some data and then decrypt it. It doesn't have to be high bit

RE: [PHP] mail () will send to everyone except my own domain

2002-07-31 Thread Tom Ray
Gareth- This sounds more like a sendmail issue to me. I've run into this a few times myself. What's happening is simple, sendmail has a file that it reads generally called domains this file tells sendmail what domains it should be handling mail for. When you submit your form the first thing

Re: [PHP] File Question

2002-08-08 Thread Ray Hunter
I guess my question is does PHP support additional macros like this? .: B i g D o g :. - Original Message - From: B i g D o g [EMAIL PROTECTED] To: PHP GEN [EMAIL PROTECTED] Sent: Thursday, August 08, 2002 2:23 PM Subject: [PHP] File Question I have been looking all over the manual

Re: [PHP] problem with PostgreSQL

2002-08-21 Thread Ray Hunter
Basically, That is your problem here: [Wed Aug 21 11:06:56 2002] [error] PHP Warning: pg_pconnect() unable to connect to PostgreSQL server: PQconnec tPoll() -- connect() failed: Connection refused Is the postmaster running (with -i) at '127.0.0.1' and accepting connections

Re: [PHP] problem with PostgreSQL

2002-08-21 Thread Ray Hunter
for network and ip access...if redhat rpm installed... .: B i g D o g :. - Original Message - From: Adam Williams [EMAIL PROTECTED] To: Ray Hunter [EMAIL PROTECTED] Cc: PHP GEN [EMAIL PROTECTED]; Richard Kurth [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 12:55 PM Subject: Re: [PHP

Re: [PHP] problem with PostgreSQL

2002-08-21 Thread Ray Hunter
Sorry Adam, I just realized that you are totally correct...damn brain farts or something... excuses my stupidity -- RAY HUNTER - Original Message - From: Adam Williams [EMAIL PROTECTED] To: Ray Hunter [EMAIL PROTECTED] Cc: PHP GEN [EMAIL PROTECTED]; Richard Kurth [EMAIL

Re: [PHP] whois query

2002-09-12 Thread Tom Ray
Yes, but how do you format the information that comes back out of the whois? I'm doing this: ? $whois = system(whois [EMAIL PROTECTED]); print pre$whois/pre; ? But all the information is shown as one big line, no breaks or anything. How would I do this so it showed properly formatted

Re: [PHP] whois query

2002-09-12 Thread Tom Ray
Nope still comes up with everything in one big line. I'm running through different options right now..but I'm tired and my brain is starting to hurt :) Adam Williams wrote: try with p /p and see if that works. Adam On Thu, 12 Sep 2002, Tom Ray wrote: Yes, but how do you

Re: [PHP] Re: whois query

2002-09-12 Thread Tom Ray
A working solution to the whois question ? $whois = `whois [EMAIL PROTECTED]`; print pre$whois/pre; ? Notice those are back ticks, not single quotes. This will give youthe information you need, and the pre tag puts it out in the proper format for you. yasin inat wrote: Thanx friends

[PHP] COOKIE Question.

2002-09-17 Thread Tom Ray
I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't seem to retrieve data from them. First I set the cookie like so: setcookie (Access, Test_Value,time()+31536000); Then I check my Cookies in Netscape and I can see that I have the cookie stored. But when I go to the page that

Re: [PHP] COOKIE Question.

2002-09-17 Thread Tom Ray
, but case in names seems to generally cause problems. Tom Ray wrote: I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't seem to retrieve data from them. First I set the cookie like so: setcookie (Access, Test_Value,time()+31536000); Then I check my Cookies in Netscape and I

[PHP] Test

2002-09-17 Thread Tom Ray
Test message -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] COOKIE Question.

2002-09-18 Thread Tom Ray
Discovered my cookie issue. I wasn't setting the path in setcookie() so it defaulted to what ever directory the script ran in. I set it so it loads from the root of the website now, and it's working like a charm. Thanks to all that helped! John Holmes wrote: I do the print

[PHP] Calling on functions in a url

2002-09-19 Thread Tom Ray
I have a question that I have yet to figure out. Let's say I have a PHP script with multiple fuctions, how do I call on the script to perfom specific functions through a url? Ex: http://www.sample.com/script.php?fucntion1 TIA -- PHP General Mailing List (http://www.php.net/) To

[PHP] Script Modificaton question

2002-09-19 Thread Tom Ray
I have a chat script that I downloaded and according to the license I can modify it as much as I want, and I'm a little stuck on a simple modification I want to make. When you type in a message it stores in in a file called text.php and then the chat page does an include call for the text.php

Re: [PHP] Script Modificaton question

2002-09-19 Thread Tom Ray
Ahah! That's what I was thinking, thatnks for helping me clear that up! John Holmes wrote: I have a chat script that I downloaded and according to the license I can modify it as much as I want, and I'm a little stuck on a simple modification I want to make. When you type in a message it stores

[PHP] Encryption Question

2002-09-23 Thread Tom Ray
I want to compare a password to a encrypted password stored in my mySQL database using password('password'), what's the best way to compare the two? Encrypted the password sent by the user and compare or pull the password from the database based on username, decrypt it and then compare? --

[PHP] Another Encryption question

2002-09-23 Thread Tom Ray
I dipped into mcrypt about a month or so, and did this script back then. I had it working, it would kick out the encrypted data for me but today when I test it I get a Fatal error: Call to undefined function: mcrypt_create_iv() in test2.php on line 3. And I don't understand why...any help

Re: [PHP] Another Encryption question

2002-09-23 Thread Tom Ray
also if I comment out $iv, I get the error Call to undefined function mcrypt_encrypt() on that line.. I just don't understand why it keeps doing this. I'm running 4.2.2 Tom Ray wrote: I dipped into mcrypt about a month or so, and did this script back then. I had it working, it would kick

[PHP] PHP Form and Arrays help

2002-09-24 Thread Tom Ray
I'm having a small problem with a form I'm designing and I hope someone can point me in the right direction here. The form's function is rather simple actaully. It's supposed to take the information, run through it to make sure all the required fields have data in them, if there is a blank

[PHP] Calling Function Identity

2001-10-03 Thread Ray Hilton
, then just using a function as a wrapper so that set_error_handler uses it. I'm thinking there must be a better way of doing this, anyone have any ideas? Ray Hilton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Searching for a new provider

2001-12-12 Thread Tom Ray
Hey Andy- I work with a hosting company that I believe has everything you're looking for in your wish list. They're a small company that's been around for about 10 years (started as an ISP). If you can get me more information on the type of hosting you're looking to do and what other

[PHP] Simple Question

2001-12-12 Thread Tom Ray
I have a quick question that I haven't been able to find the answer to yet. I've made a couple of guest books via PHP but the biggest problem I'm having is if any one inputs a ' or or anything like that, the output in the book shows the stupid \ for the escape. So the word Tom's looks like

Re: [PHP] Re: Simple Question

2001-12-12 Thread Tom Ray
oh no, Iv'e gotten two answers... stripslashes() and strip_slashes() which one? which one?! G Gaylen Fraley wrote: strip_slashes() -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite Tom Ray [EMAIL PROTECTED

[PHP] Need Working... pop up dialog (repost)

2001-08-20 Thread Ray Clouse
? -- - Ray Clouse | Don't fear the penguins. Engineer Scientist/Specialist | Boeing Expendable Launch Vehicles | Ray.Clouse AT boeing.com Huntington Beach, CA | clouse AT rayclouse.org -- PHP General Mailing List

Re: [PHP] Need Working... pop up dialog (repost)

2001-08-21 Thread Ray Clouse
the way I want it to. I've tried popping up a window, getting the handle, passing the handle to the gunzip code, then closing the handle when the gunzip is done, but that hasn't worked either. Justin French wrote: Ray Clouse wrote: When the user clicks on a link that has to gunzip a very large

Re: [PHP] Need Working... pop up dialog (repost)

2001-08-21 Thread Ray Clouse
. refresh main window.')\\n); And I use Javascript to close the window. Now I just need a way to automatically refresh the main browser window and I'm happy. Thanks for the help! Christian Reiniger wrote: On Tuesday 21 August 2001 17:10, Ray Clouse wrote: So we need to keep as much compressed

Re: [PHP] Need Working... pop up dialog (repost)

2001-08-22 Thread Ray Clouse
species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Ray Clouse [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Cc: php [EMAIL PROTECTED

[PHP] - Hard return in readfile

2001-05-16 Thread Ray Iftikhar
readfile to recognize returns in the file? Thanks in Advance.. Ray _ Get your FREE download of MSN Explorer at http://explorer.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [PHP] image retrival from db?

2001-06-19 Thread Ray Hilton
still do stuff like thumbnail generation on the upload and then store the paths to the file in the database. Ray Hilton - [EMAIL PROTECTED] http://rayh.co.uk -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 19 June 2001 00:57 To: [EMAIL PROTECTED] Subject: [PHP] image

RE: [PHP] What is the deal with cookies

2001-06-19 Thread Ray Hilton
Well, when you set a cookie, it is sent in the headers, so the browser isnt going to send the cookie back to the server until a refresh, the best way is to either cash the userlog on details in the log in function, so you need not refresh, or simply use a header(Location: /); or something to

RE: [PHP] send data to a file composed of frames

2001-06-19 Thread Ray Hilton
what you mean by not being able to go back to the previous page, this is perfectly possible, unless im missing the point Ray Hilton - [EMAIL PROTECTED] http://rayh.co.uk -Original Message- From: kaab kaoutar [mailto:[EMAIL PROTECTED]] Sent: 15 June 2001 12:25 To: [EMAIL PROTECTED] Subject

RE: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Ray Hilton
you need a sub select, which mysql doesn’t support... Ray Hilton - [EMAIL PROTECTED] http://rayh.co.uk -Original Message- From: Simon Kimber [mailto:[EMAIL PROTECTED]] Sent: 06 June 2001 14:57 To: [EMAIL PROTECTED] Subject: [PHP] Multipe Tables, Single Query Problem Hi all, I have three

RE: [PHP] [php]using sendmail with php

2001-06-19 Thread Ray Hilton
I assume you could do it like in perl: Open(MAIL, |/usr/lib/sendmail); Print MAIL OUTPUT; To: ray [EMAIL PROTECTED] From: someone [EMAIL PROTECTED] Subject: blah blah Note the line break before the body, blah blah blah OUTPUT Close(MAIL) I have no idea how you would do this in php, but I hope

RE: [PHP] Turning Off Headers

2001-06-20 Thread Ray Hilton
If your using the standalone binary, I /think/ its something like php -q If it's the module in apache, you will have a problem as apache itself will add a certain degree of header information. -Original Message- From: Meles Meles [mailto:[EMAIL PROTECTED]] Sent: 19 June 2001 14:03 To:

RE: [PHP] HELP problems running PHP4 script in CRON

2001-06-20 Thread Ray Hilton
get php to build both at the same time? The binary and the .so module? At the moment, I just have to compile twice. Ray Hilton - [EMAIL PROTECTED] http://rayh.co.uk -Original Message- From: Splashy [mailto:[EMAIL PROTECTED]] Sent: 19 June 2001 15:29 To: [EMAIL PROTECTED] Subject: [PHP

RE: [PHP] SetCookie weirdness

2001-06-20 Thread Ray Hilton
This is actually a security feature of cookies, so that domains that don’t match your cookie cannot read personal details set by another site. Don't worry, its all in order ;) Ray Hilton - [EMAIL PROTECTED] http://rayh.co.uk -Original Message- From: Tomaz Kovacic [mailto:[EMAIL

<    1   2   3   4   5   6   7   8   9   >