Re: [PHP] two buffers??

2003-03-05 Thread Ray Hunter
Review the file functions and you will find what you need: http://www.php.net/manual/en/ref.filesystem.php Like the functions: 1) file_get_contents() and 2) file() -- Ray On Wed, 2003-03-05 at 07:40, Mattia wrote: > i need to put in a var all the processed contents of a .php file in

Re: [PHP] Still having a problem with IF/ELSE Statement

2003-03-06 Thread Ray Hunter
echo "active line\n"; } else { echo "inactive line\n"; } One of those should work based on the code. However, based on the variables $Row and $status that might not be the case. -- Ray On Thu, 2003-03-06 at 05:31, Hunter, Jess wrote: > I want to tahnk those t

Re: [PHP] PEAR problems

2003-03-06 Thread Ray Hunter
You might want to jump on the horde mailing list seeing that it is an issue with horde and not fully with PEAR. Horde uses PEAR for error and logging capabilities. And there are some really good people on the horde list. -- Ray On Thu, 2003-03-06 at 05:41, José Manuel Valente wrote: >

Re: [PHP] stripslashes()

2003-03-08 Thread Ray Hunter
You could write a function like strippostslashes() that is called on everypage that access the $_POST or $_GET variables... -- Ray On Sat, 2003-03-08 at 23:29, John Taylor-Johnston wrote: > I need to stripslashes() practically every $value as I pass data from one submit to > a

Re: [PHP] Is the problem a server setting?

2003-03-10 Thread Ray Hunter
You should contact the web hosting system administrator and verify that they upgraded php. From what i can tell it seems that they did upgrade php. -- Ray On Mon, 2003-03-10 at 10:58, Chad Henderson wrote: > I have a number of websites that are on a hosting company, that I have been > usi

Re: [PHP] Force refresh of graphic - how?

2003-03-12 Thread Ray Hunter
You can use the meta tags to do a refresh of the browser page... example: after content you add the seconds of delay before refresh... More info on the meta tag: http://www.xs4all.nl/~dimaroan/htl/index.html -- Ray On Wed, 2003-03-12 at 09:49, Mark Wilson wrote: > I have a PHP page which

Re: [PHP] Another questions about usning session.

2003-03-12 Thread Ray Hunter
But also note that session data can be stolen by other users too... -- Ray On Wed, 2003-03-12 at 10:10, Marek Kilimajer wrote: > Advantage of session is that you can trust the variables you keep in > your session. cookies can be spoofed > > André Cupini wrote: > > >*

Re: [PHP] really simple problem with GET

2003-03-12 Thread Ray Hunter
You form tag should be passing the get request to the php script. example: ... In test.php all should work now... -- Ray On Wed, 2003-03-12 at 11:04, Poon, Kelvin (Infomart) wrote: > Hi, > > I am sorry if the level of this question is too simple but I can't figure > out

Re: [PHP] authorization

2003-03-13 Thread Ray Hunter
The problem here is that most people work and do not have the time to "help" out. The best thing would to contract this portion out to the lowest bid. -- Ray On Wed, 2003-03-12 at 23:41, [EMAIL PROTECTED] wrote: > Hello, > > I'm wonding if someone can please assi

Re: [PHP] install php

2003-03-13 Thread Ray Hunter
make sure you config line has the location of you mysql install.. example: /.configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.14 --enable-track-var -- Ray On Thu, 2003-03-13 at 00:14, sonjaya wrote: > dear milist > i want' instal php with mysql , itry

[PHP] time() question

2003-03-13 Thread Tom Ray
Is there an easy way to display the epoch time given by time() in a human readable format? Basically, if I do $time = time(); and the insert that data into my mysql database and then pull that information out again how do I make it look like 2003-03-13 or a variant of that? TIA -- PHP General M

Re: [PHP] Re user Identifying

2003-03-13 Thread Ray Hunter
Yes you can set up both in parallel...however, that is going to be tons of work for your system to manage. You can set up both that allows either sessions or cookies. -- Ray On Thu, 2003-03-13 at 01:55, Peter Goggin wrote: > My site uses shopping baskets to record what the user wants to

Re: [PHP] PHP and MySQL Full Text Search Problem

2003-03-13 Thread Ray Hunter
/Fulltext_Search.html (bottom of page). -- Ray On Thu, 2003-03-13 at 23:39, Charles Kline wrote: > Hi all, > > My first try at MySQL Full Text Search and it is not behaving ;) > > Here is what I have for my query string: > > $sql = "SELECT id, concat(fname, '

Re: [PHP] Can't relocate to a specified URL after submit.

2003-03-13 Thread Ray Hunter
Where is the js code in the mix. Try putting an exit; after the header function and see if that works. -- ray On Thu, 2003-03-13 at 23:02, [EMAIL PROTECTED] wrote: > The code looks like: > if( $actionflag == "delete" ) > { > //Delete Table ip_enrollment >

Re: [PHP] setup connection to sybase

2003-03-13 Thread Ray Hunter
With the installation of sybase on the windows 2000 server (client installation) you will get an interfaces file that contains all the information for connecting to a sybase database. Make sure that you have the sybase client installed on the windows 2000 box that is running PHP. -- ray On Wed

Re: [PHP] Validating XML strings

2003-07-01 Thread Ray Hunter
As of now i dont think that DOMXML functions support the validation of dtds or schemas...I have been looking for the past couple of days and did not find anything... I have not verified the xml extension for it but i doubt that that option is there either... -- BigDog On Tue, 2003-07-01 at 14:

Re: [PHP] Minimizing Database Hits

2003-07-01 Thread Ray Hunter
Only if your code is calling the database...if $cart_contents is set on the page and you call the var $car_contents over and over then no...the initialization of the var is the only time if it is called in get_cart_contents()... -- BigDog On Tue, 2003-07-01 at 16:41, Ralph wrote: > I wrote class

Re: [PHP] outputting xml declaration

2003-07-02 Thread Ray Hunter
you can always print like so... print ''; Then the parser does not try to parse inside the line. However, I dont know what will happen when you have short_open_tags in your php.ini file turned on...i usually turn it all of.. -- BigDog On Wed, 2003-07-02 at 07:33, Steven Apostolou wrote: > Hel

RE: [PHP] Java Applet to PHP Communication

2003-07-02 Thread Ray Hunter
you want to use either dom or saxon to parse the xml within java. So your applet can call some class that loads, parses and then does something with the xml. Usually you want to use a sax parser for the speed, however you can use a dom parser to manipulate the dom tree... -- BigDog On Wed, 2003

Re: [PHP] states

2003-07-02 Thread Ray Hunter
On Tue, 2003-07-01 at 16:55, Matt Palermo wrote: > Does anyone know of any built in functions or options for the US states? Nope no built in function for this... > I want to make a drop down menu and some other things which have the 50 > states in it. Is there any shortcut for this with PHP, or d

Re: [PHP] Connect Active Directory using LDAP... please help :)

2003-07-02 Thread Ray Hunter
The big issue that you will face will be with getting the dn correct for it to work.. I have connected to ldap exchange to do authentication and pull user data and it was a real hassle to get the dn correct.. -- BigDog On Tue, 2003-07-01 at 15:41, Vince C wrote: > Hi everyone, > > I tried to c

Re: [PHP] Re: PHP user group

2003-07-02 Thread Ray Hunter
there use to be phpusergroups.org but not sure if that is still going on... i know of 2 for utah and colorado... 1. Colorado = http://coloradophp.org 2. Utah = http://phpslc.com Perhaps others will add to the list. -- BigDog On Wed, 2003-07-02 at 12:06, erythros wrote: > th

Re: [PHP] Sending a PDF page

2003-07-03 Thread Ray Hunter
Try using the a shutdown function: http://us2.php.net/manual/en/function.register-shutdown-function.php and put all your logic that needs to run after the exit function. -- BigDog On Thu, 2003-07-03 at 13:18, Todd Cary wrote: > [Sent this the first time to the wrong list] > > In this code: >

Re: [PHP] PHP+MySQL on Apache running on WinXP

2003-07-07 Thread Ray Hunter
If i am not mistaken your phpinfo is picking up the bundled mysql package that comes with php. You should still be able to connect to mysql. However, if you downloaded the zip file instead of the installer then you should have a php_mysql.dll file that you can put in your path that php should pick

Re: [PHP] New to PHP

2003-07-07 Thread Ray Hunter
here is what you can do: 1. buy a php book and go throw the basics. 2. read the php manual because it has tons of information. 3. write any type of program that you can to get familiar w/ language. 4. get a fundamental understanding of programming, object oriented programming Just my $0.02 for ya

Re: [PHP] I am receiving the same posting TWICE

2003-07-07 Thread Ray Hunter
Submit code that we can review. there is not enough info here for you to recieve a complete response to your question. -- BigDog On Mon, 2003-07-07 at 15:11, Noah Solodky wrote: > Help! > I am receiving the same posting TWICE > how do I configure things to just get one copy of postings?? > -

Re: [PHP] New to PHP

2003-07-07 Thread Ray Hunter
If you are on developing on linux then that would be good. however, i strongly encourage gaining knowledge of programming concepts if that is what you are doing with php. Having a solid foundation of programming concepts will help you in php and any other language. -- BigDog On Mon, 2003-07-07

Re: [PHP] XML

2003-07-08 Thread Ray Hunter
XML is a way to store data in a structure format that is correct and is platform independent; meaning u can share data with anything that understands xml format. For web applications xml allows you to send data to the client and have the browser do the parsing for you. (I would suggest ie5.5 and n

RE: [PHP] XML

2003-07-08 Thread Ray Hunter
I see that not many sites require the use of xml/xsl(t). Many sites can just use html and database to accomplish 99.9% of the work. I always suggest that when you have tons of data that you need to send to the user that it is a good idea. Especially now that xslt is growing up :) I like to use xm

Re: [PHP] accesing php script in a different port

2003-07-09 Thread Ray Hunter
Try using sockets in php to set up the port and listen there... -- BigDog On Wed, 2003-07-09 at 00:22, Michael P. Carel wrote: > hi to all, > > I want to develop a system that can be access in a different port of the web > (such as in Port 11000). But i dont know how to do this without affecti

Re: [PHP] Using PHP with windows logon

2003-07-09 Thread Ray Hunter
On Wed, 2003-07-09 at 03:32, Brenton Dobell wrote: > can you use your windows logon as set it as a variable in php? U should probably look at how activex does it. I know that asp scripts do it all the time and possibly some com objects can set that for you. I have connected to exchange and use

RE: [PHP] XML

2003-07-09 Thread Ray Hunter
actually parse and display the contents > correctly, I should have enough to keep me busy for a while, and > hopefully help me to increase my knowledge and understanding so I won't > ask stupid questions on this list ;) > > > Thanks again for the input. > > > &

Re: [PHP] Where do I post loadable extensions questions?(semi-multi-part)

2003-07-09 Thread Ray Hunter
There is the internals mailing list that is for the developers of php, they can answer most questions about the internal workings of php. I would suggest reviewing the code in cvs to see how they are doing the c programming for modules. I figure that if you review those extensions then u should ge

Re: [PHP] nested for loops

2003-07-09 Thread Ray Hunter
Also u can do nested foreach loops too... Example: while( $row = mysql_fetch_array( $result ) ) { $rows[] = $row; } foreach( $rows as $row ) { foreach( $row as $i => $value ) { // do stuff here echo "$i = $value\n"; } } I do this tons... -- bigdog On Wed, 2003-07

Re: [PHP] php - javascript together prob?

2003-07-09 Thread Ray Hunter
U need to quote it with double quotes and escape them with like so: \" that should work for you. If not then you will need to start separating the string out and joining it with the "." . -- BigDog On Wed, 2003-07-09 at 15:51, Micah Montoy wrote: > Anyone have an idea of how to get this to wo

Re: [PHP] Code and Good Design Methods

2003-07-12 Thread Ray Hunter
Also u could build your own system that is php xml and xslt based. That will really help you separate the logic from the presentation. Check out (dom)xml and (dom)xslt. Sometimes there is still logic in the presentation with template systemswith xslt however, it might be to much for the design

Re: [PHP] Code and Good Design Methods

2003-07-13 Thread Ray Hunter
-07-13 at 01:20, Robert Cummings wrote: > Let's be honest, XSL is is one big logic step itself -- moreover it's a > whole other language to learn. > > Cheers, > Rob. > > On Sun, 2003-07-13 at 02:07, Ray Hunter wrote: > > Also u could build your own system

Re: [PHP] How does PHP interact when using Java?

2003-07-13 Thread Ray Hunter
Not to sure how they work together in a php environment, however another alternative it so use php in a java (servlet,j2ee) environment. It is harder to set up, however, there are not as many errors. Sometimes there is a performance increase. -- BigDog On Sun, 2003-07-13 at 01:50, Jan Bro wrote:

Re: [PHP] Can PHP Build XML Pages?

2003-07-14 Thread Ray Hunter
There are 2 ways that i make xml files with php. 1. Use domxml to make the docs. (RTM this is somewhat complex.) 2. Just create it similar to html but use xml tags. The second way is really easy. 1. Make sure to send header content type as text/xml. header( "Content-Type: text/xml" ); 2

[PHP] php.ini directives question

2003-07-14 Thread Ray Hunter
Does anyone know if the local values for the php.ini directives have presidence over the master value? -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How To Ask Questions - Some List Guidelines

2003-07-14 Thread Ray Hunter
I would like to also say that if one follows some sort of guideline that person is likely to recieve more help (responses). I know that if there are subjects that are vague and emails that contain little information, i tend to delete them. Whereas, if someone takes the time to address the issue, g

Re: [PHP] Problem with 4.3.2 built as DSO

2003-07-14 Thread Ray Hunter
Here is how i trouble shoot it: 1. make sure that there is a libphp4.so file in libexec. 2. make sure that you have these lines in httpd.conf: LoadModule php4_module libexec/libphp4.so AddType application/x-httpd-php .php 3. restart apache That should work for you. Also make sure that when y

Re: [PHP] Problem with 4.3.2 built as DSO

2003-07-14 Thread Ray Hunter
n > think of. > > -Patrick > > > Ray Hunter wrote: > > Here is how i trouble shoot it: > > > > 1. make sure that there is a libphp4.so file in libexec. > > 2. make sure that you have these lines in httpd.conf: > > > > LoadModule php4_module libex

Re: [PHP] PHP & Perl information sharing

2003-07-14 Thread Ray Hunter
u could set up a perl script to read cookies and vice versa with php. That should not be a problem you could also create a form with php variables and post it to a perl script. u you also create a link to a perl script that passes varibles via the url. Very easy to do just a matter of how you wa

Re: [PHP] php4_module is already loaded

2003-07-14 Thread Ray Hunter
Most likely your php is a core module that does not require the load module in your httpd.conf file... you can verify if it is core (static not DSO) with httpd -l -- BigDog On Mon, 2003-07-14 at 21:01, CDitty wrote: > I just updated my 4.2.x to 4.3.2 and when I restart the apache, I get the

Re: [PHP] console script html tags?

2003-07-14 Thread Ray Hunter
Turn the html errors off in your php.ini file or write a function that handles all your errors for you and u dont echo out html tags. http://us3.php.net/manual/en/function.set-error-handler.php -- BigDog On Mon, 2003-07-14 at 21:32, Curt Zirzow wrote: > Larry Brown <[EMAIL PROTECTED]> wrote: >

Re: [PHP] Older Version problems

2003-07-14 Thread Ray Hunter
Have you checked that the files are indeed getting to the directory that is specified by the upload_dir setting in php.ini? Also check your tmp dirs to see if they are getting there too. If they are not getting to the tmp dir then there are some issues. -- BigDog On Mon, 2003-07-14 at 21:19, [

Re: [PHP] Code and Good Design Methods

2003-07-16 Thread Ray Hunter
Actually, MVC works really well with XML technologies, however, there needs alot of work in php's core to fully utilize the benefits of an mvc paradigm. -- BigDog On Wed, 2003-07-16 at 04:12, Joel Rees wrote: > > Hi Joel, > > > > Thanks for nice comments on the XML, XSL. > > > > I want to know

Re: [PHP] XML

2003-07-16 Thread Ray Hunter
> 1. How efficient is to use XML+XSLT solution? Does it > add processing overhead to the system? The efficientcy is relative to many factors, however I can stress this. The style sheets can be cached client side and then only xml data can be sent to the user. This reduces bandwidth and allows the

Re: [PHP] Display HTML/PHP code on a web page

2003-07-17 Thread Ray Hunter
> I've googled for it, but nothing came up. How do I display code on a page > without it being executed? If you want to show php source then you can use show_source function or highlight_file function. -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

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

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 differ

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 a

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

2003-03-26 Thread Ray Hunter
a serial connect to transmit the database. HTH -- Ray On Wed, 2003-03-26 at 01:40, Steve Jackson wrote: > > Haven't the faintest idea what you mean by "direct from the > > web" and "a secure > > Intranet mysql db" and "web DB". >

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

Re: [PHP] MySQL's connection information.

2003-03-26 Thread Ray Hunter
user/group apache is running under. -- Ray On Wed, 2003-03-26 at 09:46, Edmond Baroud wrote: > Hi all, > > I've been using php in a local Unix environement where I never had to worry about > read permissions of users/groups on my db connection's config file which contains &

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" <[EMA

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 w

Re: [PHP] How to debug XSLT Errors?

2003-03-28 Thread Ray Hunter
can review the xsl code. -- Ray On Fri, 2003-03-28 at 10:22, Benjamin Walling wrote: > I'm trying to use the xslt_* functions, but I can't get any decent error > messages out of them. I've used the XML and XSL I'm passing it in IE, and > it gets processed and transfor

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 ca

[PHP] apache mod_php memory leak, need help.

2003-06-23 Thread Ray Aspeitia
that could be draining this much resources. Is there any good way to find out what is eating up the memory. Anyone else run into this. I'm running apache 1.3.27 with php 4.3.2 (happened in version 4.3.1 also) on mac OSX SERVER 10.2.4 Thanks in advance, Ray A.

Re: [PHP] apache mod_php memory leak, need help.

2003-06-24 Thread Ray Aspeitia
Just another note, it seems that for every page access, there is exactly 680k of memory that accumulates. Any php developer know of any odbc function that takes up 680k of overhead that might not be getting cleaned up? Thanks, Ray A. Hello, I hope someone can help me or point me in a good

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] mail () will send to everyone except my own domain

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

Re: [PHP] File Question

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

2002-09-12 Thread Tom Ray
Yes, but how do you format the information that comes back out of the whois? I'm doing this: $whois"; ?> But all the information is shown as one big line, no breaks or anything. How would I do this so it showed properly formatted output? Adam Williams wrote: >Have a php page that runs exec(

Re: [PHP] whois query

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

Re: [PHP] Re: whois query

2002-09-12 Thread Tom Ray
A working solution to the whois question $whois"; ?> Notice those are back ticks, not single quotes. This will give youthe information you need, and the tag puts it out in the proper format for you. yasin inat wrote: >Thanx friends > > > > > > -- PHP General Mailing List (http:/

[PHP] COOKIE Question.

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

Re: [PHP] COOKIE Question.

2002-09-16 Thread Tom Ray
cess. This may not be the problem, but case in names > seems to generally cause problems. > > Tom Ray wrote: > >> I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't >> seem to retrieve data from them. >> >> First I set the cook

<    1   2   3   4   5   6   7   8   9   >