[PHP] Re: phpmyadmin

2002-02-21 Thread Ray Hunter
You might want to try phpbuilder, they have some great articles. phpMyAdmin is housed on sourceforge.net. You can check them out there... Jtjohnston [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I know this is a bit off the wall for most, but for what

[PHP] Re: where is http_cookie ?

2002-03-16 Thread Ray Hunter
Try using the predefined variable $_COOKIE instead and see if that works for you... Bas Jobsen [EMAIL PROTECTED] wrote in message 02031617361309.10531@bjobsen">news:02031617361309.10531@bjobsen... Hello, I have installed php 4.1.2. as a cgi module. But http_cookie isn't set. I don' know

[PHP] Re: PHP Document not found

2002-03-16 Thread Ray Hunter
You should try moving to the current version of php and then try it... Ray Hunter Jan Weidhaase [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi If I try to open a non-existing PHP document by my Apache server I got an internal server error mass

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

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

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

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] Sigh :)

2002-12-04 Thread Ray Hunter
Which version of mysql are you using? -- Ray On Wed, 2002-12-04 at 10:33, John Taylor-Johnston wrote: Hi, Can someone take a look at this again, please? http://news.php.net/article.php?group=php.generalarticle=126934 Your posts so far have proven fruitless. Thanks for trying. :) I do

Re: [PHP] Detecing a Number

2002-12-04 Thread Ray Hunter
If you are getting a number from a user via a form you can use javascript to verify that the user inputed a number... search google - validating forms that should give you some info. You could also verify that the data is a number by is_numeric or is_int... I think that when the data is POSTed

Re: [PHP] Looping Addition

2002-12-04 Thread Ray Hunter
What type is $_POST['vars']? I think that it is a string...you might have to convert it to an integer... if( is_numeric( $_POST['vars'] ) ) { $vars = (int)$_POST['vars']; } else { echo Error: \$_POST['vars'] is not an integer.; } On Wed, 2002-12-04 at 14:26, Stephen wrote:

Re: [PHP] # of lines in a file

2002-12-09 Thread Ray Hunter
in a file and read a particular line from it, however I found no solution to my problem so I'm wondering if any of you out there could help me :-) - CS -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Linux and Graphics

2002-12-09 Thread Ray Hunter
quite new to Linux, I would appreciate it if someone could explain to me what I need to do to have graphic functions. Many thanks. Todd -- Ariste Software, Petaluma, CA 94952 -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http

Re: [PHP] a simple test script for testing gd

2002-12-09 Thread Ray Hunter
-related tasks eg like dynamic construction of buttons??? Oliver Etzel -- 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] Fractions

2002-12-09 Thread Ray Hunter
__ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Fractions

2002-12-09 Thread Ray Hunter
If there are none in the math functions then you need to create your own or do a search at google to see if anyone has created some functions like that... On Mon, 2002-12-09 at 16:20, Stephen wrote: But how do you find it in PHP? - Original Message - From: Ray Hunter [EMAIL

Re: [PHP] Format a currency values

2002-12-09 Thread Ray Hunter
Look at this function in the manual: number_format() HTH, Ray On Mon, 2002-12-09 at 17:38, Adriano Santos wrote: What should I do in order to view a currency format field? For example: I have a double-type field in my table that receives values in currenct, and I want to show the user the

Re: [PHP] Know the path

2002-12-10 Thread Ray Hunter
? Christian, -- 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] command line output

2002-12-10 Thread Ray Hunter
-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-type: text/html 168 (the 168 is my outputted number) Thanks, Bryan -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http

Re: [PHP] XML Data push

2002-12-10 Thread Ray Hunter
, Chris -- 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] XML Data push

2002-12-10 Thread Ray Hunter
record to the DB. That's basically what I'm trying to do. Chris -- 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] PostgreSQL/PHP: transactions: how-to abstract out?

2003-01-09 Thread Ray Hunter
Jean-Christian If you are only doing an insert then you do not need the transactions BEGIN and COMMIT because that is already done for you on a single insert. PGSQL is transaction based so if it does not go then it will not work. -Ray On Thu, 2003-01-09 at 22:23, Jean-Christian Imbeault wrote:

Re: [PHP] PostgreSQL/PHP: transactions: how-to abstract out?

2003-01-09 Thread Ray Hunter
You could try leaving off the ;... Try $sql = BEGIN Try $sql = COMMIT That should work... On Thu, 2003-01-09 at 22:23, Jean-Christian Imbeault wrote: Jason Sheets wrote: Manual Excerpt: If a second call is made to pg_connect() with the same connection_string, no new connection will

Re: [PHP] DSO or static Module?

2003-01-15 Thread Ray Hunter
-15 at 11:08, Lic. Carlos A. Triana Torres wrote: Hi all, Here is a question that might be too simple to be asked, but I need to know the answer: Is there a way to find out if PHP is compiled as a DSO or as a static module? Thanx -- Ray Hunter email: [EMAIL PROTECTED] www:http

Re: [PHP] please help

2003-01-19 Thread Ray Hunter
, you are probably having a problem with the the webserver (php) writing to the file. Make sure that the webserver has permission to write to the file. -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Re: Job Opportunity

2003-01-20 Thread Ray Hunter
I apologize everyone...evolution is going crazy... Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] AD authentication

2003-01-23 Thread Ray Hunter
Yes, I have used php-ldap to connect to exchange for authentication... -- Ray On Thu, 2003-01-23 at 17:52, Michael Hall wrote: -- I was wondering if anyone had any experience, suggestions, advice or pointers regarding the use of Win 2000 Active Directory servers to authenticate users in

[PHP] PHP vs. Perl/Mason

2003-01-23 Thread Ray Hunter
Everyone, I was wondering if there are any perl/php programmers that have used mason. I am trying to get the advantages/disadvantages of each? I am pro PHP, but my does is pro perl. What does everyone think about the benefits of one over the other? Thanks, Ray signature.asc Description:

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Ray Hunter
U might want to do a type cast to integer from string... http://www.php.net/manual/en/language.types.type-juggling.php On Mon, 2003-01-27 at 13:47, Scott Fletcher wrote: I would need to use intval() to solve this problem Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] Link acting as a submit button

2003-07-25 Thread Ray Hunter
(this is in a file called index.html) A href=javascript:go_where_my_variable_says('this.php');this page/a try this a href=javascript: go_where_my_variable_says('?php echo $PHP_SELF;?');this page/a -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] cms design xml-php ?

2003-07-25 Thread Ray Hunter
Is there any php book that discusses general design issues for cms's and webservices in php? I have not seen one dedicated to general design issues for cms' as web services in php. However, there are many great books on general design issues. Relating to various languages that can be done

RE: [PHP] Link acting as a submit button

2003-07-25 Thread Ray Hunter
On Fri, 2003-07-25 at 05:30, Matt Palermo wrote: I just remembered (I'm not sure if it makes a difference) that I am using frames on this page. Does this matter at all? Thanks. Yes it matters tons with the javascript call. Here is some info on it...however, these questions are now

Re: [PHP] Freeze Pane

2003-07-25 Thread Ray Hunter
You could use frames for it and then set the scrolling on specific frames. -- BigDog On Fri, 2003-07-25 at 09:49, Jason Martyn wrote: This is probably under the category of javascript, however I would like ot know if it is possible to be done with php. Let's say I have a table that is 30

RE: [PHP] Link acting as a submit button

2003-07-25 Thread Ray Hunter
Why do you have a submit button and a link to submit the form. Dont u want them to use the submit button for the form? -- BigDog On Fri, 2003-07-25 at 09:02, Jay Blanchard wrote: [snip] I found out that it works fine without the submit button that I had in there. When I take the submit

Re: [PHP] Link acting as a submit button

2003-07-25 Thread Ray Hunter
Good point...thanks for catching that I usually link into forms from other frames if I dont have a submit button in that form. -- BigDog On Fri, 2003-07-25 at 15:49, Comex wrote: [EMAIL PROTECTED] Ray Hunter: On Fri, 2003-07-25 at 05:30, Matt Palermo wrote: I just remembered (I'm not sure

Re: [PHP] The return of mysql_fetch_assoc()

2003-07-29 Thread Ray Hunter
$fooVar = mysql_fetch_assoc($result)[barColumn]; No bug here...mysql_fetch_assoc($result) is a function that takes a result set as an argument and returns only one row as an associated array...that is why you need to do $record = mysql_fetch_assoc($result); $fooVar = $record[barColumn];

Re: [PHP] xml and php

2003-07-31 Thread Ray Hunter
Make sure that you have all the dlls that are needed for php+dom. these dlls need to be in your windows path as well. Uncomment the dll in your php.ini file and restart the webserver. View a php page with phpinfo() as the only function in that page: ?php phpinfo(); ? See if you have dom in

Re: [PHP] standardize @throws for phpdocumentor 2.0?

2003-07-31 Thread Ray Hunter
@throws constant|classname [description] I like that and the ability to link. -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 waits

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,

Re: [PHP] global scope issue

2003-08-14 Thread Ray Hunter
/dir1/script1.php ?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';

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

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 drop

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 have the functions

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,

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

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: ?php // file1.php $var1 = test1\n; $var2 = test2\n; ? ?php // file2.php include( 'file1.php' ); function test() { echo $GLOBALS['var1']; echo $GLOBALS['var2']; echo Test\n

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

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

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

Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Ray Hunter
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 versions of MySQL. I have search the computer but it looks like the mysql files are all over the place

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 to

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 call

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 a

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

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 and

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, BigDog On Fri, 2003-09-26

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 21); 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

  1   2   3   >