Re: [PHP] Command line php....

2003-08-09 Thread Ray Hunter
Technically, yes it should however, I think this is a bug...are you running php 5b? -- BigDog - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 05, 2003 9:07 PM Subject: [PHP] Command line php > Can someone tell me why php w

Re: [PHP] Can't change include_path in php.ini

2003-08-14 Thread Ray Hunter
When you uncomment out the include_path in the php.ini file i believe that php still has an internal one that it falls back on. After you set a new include_path in php.ini do you restart apache and then check phpinfo() to see what the include_path is? -- BigDog On Fri, 2003-08-08 at 17:03, Mac

Re: [PHP] global scope issue

2003-08-14 Thread Ray Hunter
> /dir1/script1.php > include("/dir1/script2.php"); > print_r($test); //works great > print_r($GLOBALS['test']); //does not work > ?> Works fine for me when I have the include as include( 'script2.php' ); Make sure that the include is correct...I figure that you dont have dir1 off of the root

Re: [PHP] Config files

2003-08-14 Thread Ray Hunter
I tend do do something similar here: I usually set up my arrays and then access them later using the GLOBALS superglobal array. For some projects I tend to use multidimensional arrays because I can do something like. $config['db']['name'] = 'something'; $config['db']['user'] = 'someone'; $con

Re: [PHP] dbx

2003-08-14 Thread Ray Hunter
Not sure i understand fully the question...however, you can set up your own error handling and that will allow you to do what you like with all errors. You can also trigger your own errors (however, this is limited to a certain type). http://us2.php.net/manual/en/ref.errorfunc.php -- BigDog On

Re: [PHP] This is getting ridiculous

2003-08-20 Thread Ray Hunter
Can we move this off list...many of us dont have time to mill through this...we are here to help. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] functions/methods and what they should return

2003-08-20 Thread Ray Hunter
> Each product that is in the database can have at least one attribute to > it (i.e. color, size, etc.). Right now I've got a method in my Products > class called ShowAttributes($id). This method, based on the ID passed to > it, will query the db and ultimately return a string that makes up the >

RE: [PHP] functions/methods and what they should return

2003-08-20 Thread Ray Hunter
> function GetAttributes($id) > { > // query db > > // get records > > // return record array > } > > function BuildAttributes($id) > { > $attributes = GetAttributes($id); > > // format $attributes > > // return HTML string > } That is a good way...you ha

Re: [PHP] I wish I knew more about multi-dimensional arrays

2003-08-22 Thread Ray Hunter
mysql result as a multi-dimensional array: while( $row = mysql_fetch_array($result) ) { $rows[] = $row; } now you have a multi-dimensional array that contains each row in rows... examples: row 1 col 1 - $rows[0][0] row 3 col 2 - $rows[3][2] hth -- bigdog On Fri, 2003-08-22 at 10:37, Verdon

Re: [PHP] how to do this

2003-08-23 Thread Ray Hunter
Sessions, cookies or thru the get request -- BigDog On Sat, 2003-08-23 at 02:21, macromaniac wrote: > well, > i have to php pages and i want to send one argument from one to another. I > tried a few things but I couldn't do it. > > is there a special way to do it? > > -- PHP General Mailin

Re: [PHP] user-defined superglobals?

2003-08-23 Thread Ray Hunter
you can define your own superglobals by defining the vars first then accessing them thru the $GLOBALS var. example: That should get you started with globals. -- BigDog On Sat, 2003-08-23 at 11:45, Matthias Nothhaft wrote: > Hi List, > > is there a way (mybe in php5?) to define/declare a g

Re: [PHP] finding out localhost :-P

2003-08-24 Thread Ray Hunter
Make sure that the user that you are connecting with has permissions to connect to mysql from that computer. You can check the user table in the mysql database to see the user and their associated permissions. I would suggest checking out mysql.com for additional information. -- BigDog On Sat,

Re: [PHP] 2 databases

2003-03-19 Thread Ray Hunter
yes, as long as you have them compiled and configured into php. I have used up to 4 database type for a given application: mysql, pgsql, oracle, and sybase... That is the beauty of PHP... -- Ray On Wed, 2003-03-19 at 16:21, Iwan van Kanten wrote: > Is it possible to connect to 2 different datab

Re: [PHP] The tool that generates documentation for PHP's website

2003-03-24 Thread Ray Hunter
The system is done with xml and xslt and uses the docbook utilities like jade, jadetex, sgml and other utilities. -- Ray On Mon, 2003-03-24 at 05:48, James wrote: > I'm refering to the type of documentation that mysql and php has on their > websites, where you have chapter headings and sections,

RE: [PHP] Passing data between the web to an Intranet

2003-03-26 Thread Ray Hunter
your best bet might be to use xml (soap) or to do mysql replication. http://www.mysql.com/doc/en/Replication_HOWTO.html Now if you have a web db saying that the db is used for web access only and then you have an internal (intranet) db, i am supposing that it is behind some firewall. If not then

Re: [PHP] Installation Problem

2003-03-26 Thread Ray Hunter
Maybe have this: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php I would load the module first and then add the type...might not make a bit of difference. -- Ray On Wed, 2003-03-26 at 03:24, bob pilly wrote: > Hi > > Im trying to install php-4.3.1 as a dynamic

Re: [PHP] MySQL's connection information.

2003-03-26 Thread Ray Hunter
Ed A good practice is to have your configuration files out of the webserver document directory. You should set the include_path in the php.ini file to include the directory where your configuration file is located at. You can also change the permission to 600 and change the owner to whatever user

RE: [PHP] How to Return 403 Forbidden headers

2003-03-27 Thread Ray Hunter
What browser are you using... IE has its own 404 pages that it displays when it gets those types of headers. -- Ray On Thu, 2003-03-27 at 08:58, Christopher Ditty wrote: > Thanks, but it returns a blank page. > > >>> "Matt Schroebel" <[EMAIL PROTECTED]> 03/27/03 09:52AM >>> > > > -Original

Re: [PHP] Internet Explorer toolbar

2003-03-27 Thread Ray Hunter
This is why it is imperative that the user first research the topic (problem) via on-line references (search engines, docs, howtos,etc) then post to the mailing list when all these resources have been exhausted. -- Ray On Fri, 2003-03-28 at 02:43, Haseeb Iqbal wrote: > hello, > just want to sugg

Re: [PHP] How to debug XSLT Errors?

2003-03-28 Thread Ray Hunter
Try using the command line sablot "sabcmd" to parse the xsl file and see if you can get any info on the well-formness of the file. If you dont have the command line version I suggest downloading an application that does xsl verification. You could also send post the file so that we can review the

Re: [PHP] PHP OOP x Procedural Performance

2003-05-29 Thread Ray Hunter
yes, the bottom line is code reuse...that is why there is oop. So that a developer can always reuse code saving money on development and thus if speed is an issue then adding more hardware. -- Ray On Wed, 2003-05-28 at 20:05, William N. Zanatta wrote: > It is a known issue that function calls

Re: [PHP] Sybase and PHP

2003-06-25 Thread Ray Hunter
U just need the sybase client on the linux machine and the file that contains your TNS names... -- BigDog On Wed, 2003-06-25 at 23:26, Michael A Smith wrote: > Hi, > > I want to connect to a Sybase database running on another windoze server > without having to a buy a copy of sybase for linux.

Re: [PHP] Re: Why Can't I get this to work

2003-06-28 Thread Ray Hunter
It depends on what data types are your fields in the database. U are quoting each value which might not be the case. You should check the mysql_error function to see what error the database is giving back to you.. -- BigDog On Sat, 2003-06-28 at 12:42, Ron Clark wrote: > OK, normally I do not re

Re: [PHP] Another newbie

2003-06-28 Thread Ray Hunter
Jay, I would start out by reading up on the oop stuff and then maybe look at some software development sites...there are many and most have sufficient info to get you started. There are tons of design patterns out there which will more than help you code out too...(http://www.phppatterns.com) is

Re: [PHP] New PCRE features

2003-06-28 Thread Ray Hunter
Thanks Andrei, we truly appreciate it...i will definitely put it to use... -- BigDog On Sat, 2003-06-28 at 18:28, Andrei Zmievski wrote: > Some news on PCRE front: > > 1. I've upgraded the bundled PCRE library to version 4.3 which has some >interesting new features. > > 2. I added new pa

Re: [PHP] if and...

2003-06-30 Thread Ray Hunter
if( $biz == "my_business" && $id_num == 1 ) { echo "stuff..."; } if $biz is a string and $id_num is an int... -- BigDog On Mon, 2003-06-30 at 19:09, Steve Marquez wrote: > I am trying to get php to use two conditions. > > > if ($biz = my_business and $id_num = "1"){ > > echo "stuff"

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 th

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 connectio

Re: [PHP] problem with PostgreSQL

2002-08-21 Thread Ray Hunter
n /var/lib/pgsql/data/pg_hba.conf 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]&g

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

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

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

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
The whole idea is that we offer help after you have exhausted all other resources... If security is an issue then I suggest getting on a security mailing list and post your questions. Plus, it would be better if you found out how to solve the problems that are associated with security... check

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

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

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] 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: 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
Everyone has given some great information. I have some ideas i would like to throw into the mix too. Here are some topics: 1. Questions regarding HTTP protocols. (SSL) 2. Questions regarding the server that you will be deploying on. If you are deploying to apache or iis they should be familia

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
What you would want to do is build apache + php together with all the libraries built into it. Unless you want the user to install the libraries seperate. I have done this in the past however, you file is going to be HUGE. Basically you have a file with everything that it needs in it and does not

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 Mailing List (http

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 quite fits my > requi

RE: [PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Ray Hunter
You build apache with php statically linked instead of dynamically linked. Check the apache documentation on statically linking apache and php (module). I would venture to say that oracle libraries should not be shipped. They are proprietary code and the user needs to install them. Your oracle li

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? > > I'd like t

Re: [PHP] exec shell command from php

2003-10-01 Thread Ray Hunter
If you are using apache and php then when php runs the exec function then it is running the the user/group of the apache process. Here is what I might suggest doing. Have a registration form that submits the user's information to another process that logs the information (make sure to validate al

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... > > I'd like to be abl

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
On Sun, 2003-10-19 at 18:01, rich wrote: > OK, > > This is my latest idea to try and do this: > > $xh = xslt_create(); > > parse_str($_SERVER['QUERY_STRING']); > $params = array("keywords" => $keywords); > > $results = xslt_process($xh, 'library.xml', 'simple-search.xsl', NULL, NULL, > -->$pa

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

Re: [PHP] need help w a for loop

2003-10-20 Thread Ray Hunter
On Mon, 2003-10-20 at 15:35, Colin Kettenacker wrote: > $categories_array = array(); > for($j=0; $j < $categories_count; $j++){ > $tempval="str_categories".$j; > array_push($categories_array,$_REQUEST[$tempval]); > } Or you could try this: $categories_array = array(); for( $j = 0; $j < $categor

RE: [PHP] need help w a for loop

2003-10-20 Thread Ray Hunter
> > Or you could try this: > > > > $categories_array = array(); > > > > for( $j = 0; $j < $categories_count; $j++ ) { > > $tempval = "str_categories".$j; > > $categories[$j] = $_REQUEST[$tempval]; > > } > > Or you could get really fancy and try this (my preferred method if not a > little con

Re: [PHP] php framework

2003-10-21 Thread Ray Hunter
> just wanted a general idea on what kind of PHP framework everyone is using.. > i've heard of pear, and interjinn.. is there a preference or distinct > advantage that a particular framework has in comparison to one another? Check the archives...this has been touched on numerous times in the past

Re: [PHP] Tab index

2003-10-22 Thread Ray Hunter
On Wed, 2003-10-22 at 11:07, John Nichel wrote: > Hardik Doshi wrote: > > I am using the HTML. Javascript is not standard of W3C > > organization and that's why i don't want to use it. > > > > Is there any other solution for setting up the > > tabindex on the Drop down menu? > > > > Thanks > > >

<    1   2   3   >