[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 $_COOKIE["Accces

[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 unsubscribe,

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

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

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.

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

RE: [PHP] how to configure with ldap?

2002-10-13 Thread Ray Hunter
l person of life's lies, at the same time you'll be robbing > him of his happiness." > > >From Henrik Ibsen's "Vildanden", "The wild Duck." > > e-post: [EMAIL PROTECTED] > www: http://www.billy.demon.nl > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Thank you, Ray Hunter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Blank PHP pages.

2002-10-16 Thread Ray Hunter
gt;Checked by AVG anti-virus system (http://www.grisoft.com) > > >>Version: 6.0.404 / Virus Database: 228 - Release Date: 10/15/2002 > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > > > > >

[PHP] Questions on PHP Variables

2002-11-08 Thread Ray Seals
ght on what the difference is? Ray -- --- Is the Internet down? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Questions on PHP Variables

2002-11-10 Thread Ray Seals
header('HTTP/1.0 401 Unauthorized'); echo 'Authorization Required.'; exit; } } ?> -- The data base stuff hasn't been put in yet, I'm just trying to get the script t

[PHP] Building Menus based on User Rights

2002-11-11 Thread Ray Seals
which trail to start going down. Ray -- --- Is the Internet down? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Building Menus based on User Rights

2002-11-11 Thread Ray Seals
helps, I'm new to all of this and not really a programmer but I would rather learn to do it the right way than the easy way. Ray On Mon, 2002-11-11 at 12:30, Jason Wong wrote: > On Tuesday 12 November 2002 02:05, Ray Seals wrote: > > > I would like for my pages to generate HTML code

RE: [PHP] Mcrypt Under IIS 5 / Win32?

2002-11-11 Thread Ray Hunter
eral Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > --- > > Outgoing mail is certified Virus Free. Can McAfee do that? - Hell NO! > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6

Re: [PHP] ldap strong authentication

2002-11-12 Thread Ray Hunter
> Unable to bind: Strong authentication required > > > > > > after i search in google and php.net manual i wonder if it is possible > > > do connect with strong authentication > > > > > > any further suggenstions would be great > > > > > > tia > > > karim jafarmadar > > -- > > .: B i g D o g :. > > > > -- Thank you, Ray Hunter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to pass multiple $_GET variables

2002-11-19 Thread Ray Hunter
HREF="action.html?action=deactivate&confirm=yes" Should work... On Tue, 2002-11-19 at 20:44, Jeff Bluemel wrote: > I'm using the following syntax, but evidently it's not correct. > > HREF="action.html?action=deactivate?confirm=yes" > >

Re: [PHP] php programming style

2002-11-21 Thread Ray Hunter
return $number . ' is a number.'; > } else { > return false; > } > } > > if ($string = foo(1)) { > echo $string; > } else { > echo 'error'; > } > > ?> > > Is this ok? > > Thank you, > >

Re: [PHP] Help needed with the php.ini file

2002-11-21 Thread Ray Hunter
ks. > > --Pushpinder > > Pushpinder Singh Garcha > _ > Web Architect > T. Falcon Napier and Associates, Inc. > > Off : 704 987 6500 > Cell : 704 236 2939 > Fax : 704 987 5002 > _ -- Ray Hun

Re: [PHP] Script Question

2002-11-21 Thread Ray Hunter
f a field exists without getting an error? > > Thanks for any help. -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Script Question

2002-11-21 Thread Ray Hunter
tain field exists: > > > > > > . > > > . > > > if (document.myform.mytextfield) { > > > . > > > . > > > > > > This line will give me the javascript error "document.myform.mytextfield > is undefined" > > >

Re: [PHP] PHP Coding HELP

2002-11-21 Thread Ray Hunter
ded so many times in > an ideal world they'd be automatically removed, though just to be made so > people couldn't download them anymore would be great. > > Please help! Thanks! > > Vicky -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PH

Re: [PHP] phpUpLoad

2002-11-22 Thread Ray Hunter
Hint: Never change your directory or file to mod 777 that just invites hackers, plus it is a bad habit. The best thing is to make sure that your directory is owned by your apache server and that it is writeable for that user... Verify the user in your httpd.conf file and change the directory owne

[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: http://w

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
L > AddType application/x-httpd-php .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 > >

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
dule or cgi ver? > >Cheers > >-----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

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
ication/x-httpd-php .html >>>AddType application/x-httpd-php .htm >>> >>>is PHP installed as a module or cgi ver? >>> >>>Cheers >>> >>>-Original Message- >>>From: Tom Ray [mailto:[EMAIL PROTECTED]] >>>Sent: Wedne

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

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 To

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: 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 all, How do

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 PROTECTE

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 1

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

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

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

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

2002-06-07 Thread Tom Ray
that arrays start with element 0 */ >if ($your_array[1]) == "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

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

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

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 (http://www.php.ne

Re: [PHP] Include question

2002-06-11 Thread Tom Ray
= 'yellow': Why is that? John Holmes wrote: >Umm...that's what it's supposed to do...it's "including" it... > >---John Holmes... > > > >>-Original Message- >>From: Tom Ray [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday

Re: [PHP] Include question

2002-06-11 Thread Tom Ray
7;s what it's supposed 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

[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 username.date

Re: [PHP] Unlink question more or less

2002-06-11 Thread Tom Ray
atetime part at all? 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 mo

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 S

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

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 ar

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 PROTECTE

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]

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

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, &g

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

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 Messa

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

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

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=navclient&q=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] Dea

Re: [PHP] V basic newbie problem

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

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 intersectio

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 or

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 http://localhost/cgi-bin/siteUserEmail/siteUserEmail.cgi?forwardaddr=$forwar daddr&aliases=$aliases&vacationmode=$vacationmode&vacationmsg=$vacationmsg&n ame=$name&group=$group&page=$page" ); ?> Or you can use something else...

Re: [PHP] PHP Interview questions

2003-08-26 Thread Ray Hunter
they know. Can these be utilized. Hope that gives you some more to think about. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP and Apache

2003-09-09 Thread Ray Mordy
details to php to decode. I am using Win XP Apache 1.3.23 MYSQL 3.23.49 PHP 4.1.1 any ideas on how i can solve this and do you need any more info? Thanks Ray Mordy I.T CTC PLUS www.Ctcplus.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Ray Hunter
> In the configure line --with-mysql=/path/to/mysql were is the path for RPM > versions of MySQL. I have search the computer but it looks like the mysql > files are all over the place. Database files are in /var/lib/mysql BIN > files are in /usr/bin/, etc... use --with-mysql or --with-mysql-soc

Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Ray Hunter
sure PHP is compiled this the right libraries for MySQL. > > Mark. > > > "Ray Hunter" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > In the configure line --with-mysql=/path/to/mysql were is the path for > RPM > >

Re: [PHP] Shopping Cart Solutions

2003-09-22 Thread Ray Hunter
> Anyone have suggestions for open source shopping cart apps in PHP? Check out sourceforge.net...there are many there. Also try google and you will get tons of info. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] speaking of php editors

2003-09-22 Thread Ray Hunter
Check out vim or emacs... -- BigDog On Mon, 2003-09-22 at 17:41, Chris W. Parker wrote: > Hey everyone. > > I am looking for an editor that will highlight the string > "{$array['index']['index']}" within a string. > > For example: > > +- gray + > |

Re: [PHP] PHP Editor - which to use?

2003-09-22 Thread Ray Hunter
> PHP eclipse is also nice, you need eclipse from http://www.eclipse.org > and then you install the PHP Eclipse module > http://phpeclipse.sourceforge.net. Very easy to install, I am a big fan > of Komodo, I also like Vim, Kate and Eclipse. I tried Zend Studio 1 and > 2 but it didn't live up

Re: [PHP] Calling PHP shell scripts with exec from within PHP goes awry?

2003-09-22 Thread Ray Hunter
On Mon, 2003-09-22 at 19:50, uvm wrote: > I'm beggining to develop the theory that things go awry when > using exec from within a webserver-executed PHP script to call > a shell script itself written in PHP. > Why are you trying to call a php script with exec...since it is php why not just cal

Re: [PHP] TAR Error - 'Invalid block size'

2003-09-23 Thread Ray Hunter
> I use the TAR.php file for extract tar.gz file. The tar file extracted > fine, but the tar class raises the 'Invalid block size 351'. Why? And > how can I discard this error. Basically, tar writes in block sizes of 512 bytes so you are receiving an invalid block size smaller than 512 which has

Re: [PHP] TAR Error - 'Invalid block size'

2003-09-23 Thread Ray Hunter
> > I use the TAR.php file for extract tar.gz file. The tar file extracted > > fine, but the tar class raises the 'Invalid block size 351'. Why? And > > how can I discard this error. > > Basically, tar writes in block sizes of 512 bytes so you are receiving > an invalid block size smaller than 51

Re: [PHP] Test Links...

2003-09-26 Thread Ray Hunter
Ive used curl to test stuff out with too...however, if on link i like to use wget to test it out. You might not have that option but I have seen others use fopen or file_get_contents. HTH, BigDog On Fri, 2003-09-26 at 10:15, Doug Coning wrote: > Greetings All, > > I am creating a 'links' page a

Re: [PHP] Test Links...

2003-09-26 Thread Ray Hunter
lol...if on linux... On Fri, 2003-09-26 at 12:35, Ray Hunter wrote: > Ive used curl to test stuff out with too...however, if on link i like to > use wget to test it out. You might not have that option but I have seen > others use fopen or file_get_contents. > > HTH, > > Big

Re: [PHP] php & xvfb gives xauth command not found

2003-09-29 Thread Ray Hunter
> $test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile 2>&1"); > echo $test; Try $test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile" ); -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php & xvfb gives xauth command not found

2003-09-29 Thread Ray Hunter
> $test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile" ); Actually, I think that you can just run the command without the xvfb-run command... $test = exec("/usr/bin/njplot -psonly testfile" ); that should just create the testfile.ps file and not fire up a x-window. The error with the

Re: [PHP] Change cell colour with selection from a drop down menu

2003-09-30 Thread Ray Hunter
> I am putting together a web site with graphics from the artist and I need > to learn how to change the image when I hover over it. Can you recommend > a good javascript list or resource, particularly for someone who doesn't > want to learn a lot of javascript? I have not found a great website

Re: [PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Ray Hunter
not use any system libraries. As for your questions: yes you can do it. -- Ray On Wed, 2003-10-01 at 07:58, Donahue, Peter wrote: > I want to build Php(4.3.3) for Apache(1.3.28) on Solaris 8. > I am configuring Php with oci8 (Oracle) support. > > Is it possible to build Php on system

Re: [PHP] exec command

2003-10-01 Thread Ray Hunter
> I want to execute > #useradd -d /home/all -g wahtever -s /bin/bash newuser You have to be root to add a user to the system...and just a heads up...you might want to rethink doing this from apache or php. The security implications alone make me cringe. -- Ray -- PHP General Mailin

Re: [PHP] Date Sorting

2003-10-01 Thread Ray Hunter
Try using any of the sort functions: sort asort arsort ksort krsort ... That should get you started. -- Ray On Wed, 2003-10-01 at 07:18, Greg Wiley wrote: > Apologies if this has been asked before but I couldn't find > anything on google or any of the PHP code sites that qu

RE: [PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Ray Hunter
libraries should be installed by the user. However, I would suggest checking with oracle on this. -- Ray On Wed, 2003-10-01 at 08:12, Donahue, Peter wrote: > How would I build them with all of the libraries? > Also - is it OK for me to ship Oracle libraries to > customers to install on

Re: [PHP] how to call a script every (say) 5 minutes

2003-10-01 Thread Ray Hunter
On linux do run the following commands: $ man cron $ man crontab $ man 5 crontab That should get you started with cron on linux... HTH, Ray On Wed, 2003-10-01 at 08:53, Jan Hübbers wrote: > Hi all, > can someone point me to a quickstart to the > following problem? > &g

Re: [PHP] exec shell command from php

2003-10-01 Thread Ray Hunter
that account. If the account is not activated within a desired account then that account needs to be deleted immediately. These is just something off the top of my head. There needs to be tons of time put into this and planned out or your box will become a hackers haven. -- Ray On Wed, 2003-10-01

Re: [PHP] Variables not passed on localhost setup

2003-10-01 Thread Ray Hunter
rename php.ini-recommended to php.ini and put it in C:\windows and you can now use that file. -- Ray On Wed, 2003-10-01 at 10:52, Greg Watson wrote: > Thank you for that answer! That worked perfectly! > > That leads me to another query, again, which I have searched for... > >

RE: [PHP] Help with treeview

2003-10-02 Thread Ray Hunter
> Does anyone know how to implement a treeview style display in PHP? PEAR has a treeview that I have used in the past and it works fine. http://pear.php.net/package/HTML_TreeMenu -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP as a Servlet in Tomcat

2003-10-03 Thread Ray Hunter
Try running php is from a servlet environment. Basically in tomcat you set up a servlet that handles your *.php files and calls the php executable. This is like php cgi so it can be slow. -- BigDog On Fri, 2003-10-03 at 12:11, David Erickson wrote: > Hi I am wondering if anybody has successful

Re: [PHP] enable FTP support

2003-10-09 Thread Ray Hunter
Can you send what lines you have before the make[1] there should be some additional error information? -- BigDog On Thu, 2003-10-09 at 09:03, Jay Blanchard wrote: > I am trying to enable FTP support on one of our test servers running PHP > 4.2.2 > > 1. rm config.cache > 2. ./configure --enable-

Re: [PHP] XML / XLS application

2003-10-10 Thread Ray Hunter
So what is your questions concerning php? --- BigDog On Fri, 2003-10-10 at 23:28, [EMAIL PROTECTED] wrote: > > > Hello mailing list, I have a question about the use of XML / XLS > > application, I am introducing myself in this technology, What is useful > XML > > / XLS for? , I need a basic exa

Re: [PHP] mozilla

2003-10-16 Thread Ray Hunter
Heavens no... -- Ray On Thu, 2003-10-16 at 10:24, Joseph Bannon wrote: > Does IE use mozilla? I'm writing a PHP script to keep track of user > agents. > > J. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] intercepting URLs in a "control-system"

2003-10-16 Thread Ray Hunter
> Having read quite a bit on-line, I am interested in trying to "trap" URLs > sent to my site so I can process the request and respond without > neccessarily having a "real" page to serve. If this makes any sense, how do > I do it? Because I expect that apache (in my case) would not like a URL tha

Re: [PHP] Using two XSLT stylesheets

2003-10-18 Thread Ray Hunter
> xslt_process($xh, 'library.xml', 'simple-search-get-results.xsl', > --> 'results.xml', NULL, $params); > $data = xslt_process($xh, 'results.xml', > --> 'simple-search-display-results.xsl', NULL, NULL, NULL); What happens when you do the above...what is the var_dump of data? -- BigDog -- P

Re: [PHP] Re: Using two XSLT stylesheets

2003-10-19 Thread Ray Hunter
;NULL); > echo $data; > > xslt_free($xh); Try using a new xslt process for the second transformation. So do the first transformation and then close the xslt process. Then create a new xslt process and do the second transformation, then close the 2nd xslt process. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] second time: problem with LDAP support

2003-10-20 Thread Ray Hunter
> I have a problem of installation of php. > > I'm using Linux 7.3. I have installed > openldap2.1.22 successfully. > > Now I'm compiling php with the following > command: > > ./configure --with-apache2=/usr/local/apache2 \ > --with-mysql=/usr/local/mysql \ >

<    1   2   3   4   5   6   7   8   9   >