Re: [PHP] XML

2003-07-17 Thread Ray Hunter
On Thu, 2003-07-17 at 01:28, Curt Zirzow wrote: > Ray Hunter <[EMAIL PROTECTED]> wrote: > > > > > 1. How efficient is to use XML+XSLT solution? Does it > > > add processing overhead to the system? > > > > The efficientcy is relative to many fact

Re: [PHP] PHP/HTML Question

2003-07-17 Thread Ray Hunter
> I have a quick question about PHP and HTML. I have a page that is > supposed to update the "status" of hosts by pinging each host and > displaying the result. I would like to get the page to the point that I > can have something (either PHP or JavaScript or the like) ping every 10 > second

Re: [PHP] Redirection Question

2003-07-22 Thread Ray Hunter
Use sessions or cookies to store the first page they are trying to access. Then if not logged in redirect them to the login.php page. After login is successful then they can be redirected to the values that was specified in the cookie or seesion variable. -- BigDog On Wed, 2003-07-23 at 13:44,

Re: [PHP] Link acting as a submit button

2003-07-25 Thread Ray Hunter
> (this is in a file called index.html) > this > page try this this page -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 al

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 javascri

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 3

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 subm

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

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] Probs with Vars in shop cart app

2003-07-30 Thread Mignon Hunter
Here's one to scratch your head. I wrote a function to call an external program from my shopping cart app: get_new_tax($state, $zip, $new_city, $amt); This function does a calculation and returns the results. In the main function function tep_get_tax_rate(){ the code returns $tax_multiplier. Wh

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: See if you have dom in there. If not then fol

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

[PHP] PHP- accessing session var

2003-08-14 Thread Mignon Hunter
Hi This will be real simple for you guys. When I print_r my session vars part of what get is: [_SESSION] => Array ( [cart] => shoppingcart Object ( [contents] => Array ( [37] => Array

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] PHP- accessing session var

2003-08-14 Thread Mignon Hunter
Thanks Mike and Michael Smith. It works ! On Thu, 2003-08-14 at 05:57, Ford, Mike [LSS] wrote: > On 13 August 2003 23:00, Mignon Hunter wrote: > > > Hi > > > > This will be real simple for you guys. When I print_r my session > > vars part of what get is:

RE: [PHP] PHP- accessing session var

2003-08-14 Thread Mignon Hunter
Ps i'm a girl On Thu, 2003-08-14 at 08:53, Mignon Hunter wrote: > Thanks Mike and Michael Smith. > > It works ! > > On Thu, 2003-08-14 at 05:57, Ford, Mike [LSS] wrote: > > On 13 August 2003 23:00, Mignon Hunter wrote: > > > > > Hi > > > &g

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,

[PHP] Getting Results for a month from a date field

2003-03-26 Thread Hunter, Jess
I have a field named "hiredate" and it is in the typical MySQL format (-MM-DD) what I am trying to do it be able to create a query that when I put in a particular month it will give me the results regardless of the year the person was hired. This is so I can generate a "anniversary" report to

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

2003-04-03 Thread Hunter, Jess
Well as a relative newbie with little to no programming experience here is my 2 cents worth. I have found that I myself have asked some of the "simple" questions, while some people respond with "RTFM" I have had the good fortune of having an understanding sole shoot me back a snippet of code with

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

[PHP] Calling c function from php

2003-06-18 Thread Mignon Hunter
- get the variable - and use it again in my php app. I've been told there's an api or module on the php site with documentation that I am trying to research. Has anybody ever done this ? Thx -- M Hunter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] exec(), passthru()

2003-06-19 Thread Mignon Hunter
hello all, I am trying to use either of the functions above to execute a compiled c program on linux. The command line works with ./a.out (a.out being the filename). Both my test.php and the exe are in the same directory. I've tried combinations of all the following. Thx Mignon http://www.php.

[PHP] exec() and passthru()

2003-06-19 Thread Mignon Hunter
mplex function in c, and bring variables back to my php shopping cart. Here's my test.php: -- Mignon Hunter Web Master and Developer Toshiba International 713.466.0277 x 3461 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] error handling

2003-06-19 Thread Mignon Hunter
On my dev server the php.ini is set to log all errors and notices. Isnt there a way to over ride this on a per script basis to output to stdout (or my browser) ? Thx -- Mignon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: error handling

2003-06-19 Thread Mignon Hunter
Yes, manual > Error Handling and Logging Functions On Friday 20 June 2003 02:11, Mignon Hunter wrote: > On my dev server the php.ini is set to log all errors and notices. > > Isnt there a way to over ride this on a per script basis to output to > stdout (or my browser) ? --

[PHP] Re: exec() and passthru()

2003-06-19 Thread Mignon Hunter
tried $output = shell_exec("./a.out"); * In that case what you want is shell_exec(): $output = shell_exec('/path/to/a.out'); // note the whole command line has // to be enclosed in '' or "". echo $output;

[PHP] Re: exec() and passthru()

2003-06-19 Thread Mignon Hunter
('/path/to/a.out'); -- -- Alberto Ferrer [EMAIL PROTECTED] http://www.barrahome.org On Thu, 2003-06-19 at 13:55, Mignon Hunter wrote: > Still no out put here's my script test.php: > $output = shell_exec(&qu

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

<    1   2   3   4   >