Re: [PHP] most reliable way to test if using https

2006-01-13 Thread Ray Hauge
if( !preg_match(/HTTPS/, $_SERVER['SERVER_PROTOCOL']) ){ } That's what I have been using. HTH -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com 1.800.575.1099 On Friday 13 January 2006 04:05 pm, James Benson wrote

Re: [PHP] Best way to do this: www.domain.com?page=var

2006-01-16 Thread Ray Hauge
for security, but that should at least get you going. Also, that assumes that all your pages use the GET query to specify which page they are on. If that's just for the initial page, then you'd have to do some more qualification. HTH -- Ray Hauge Programmer/Systems Administrator American Student

Re: [PHP] Str to Int

2006-01-20 Thread Ray Hauge
://www.php.net/manual/en/function.settype.php HTH -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com 1.800.575.1099 On Friday 20 January 2006 03:53 pm, Ron Eggler (Paykiosks) wrote: Hi, I need to do a type cast from string to int in folllowing

[PHP] Testing

2006-01-23 Thread Ray Hauge
Sorry to kind of spam the list, but I recently switched email programs and my posts haven't been making it to the list. This is just a test... please ignore it :) Thanks, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache is not parsing .php files

2006-01-26 Thread Ray Hauge
files. Since you have apache2, check the /etc/httpd/conf.d/php.conf file to make sure that LoadModule, AddHandler, AddType, and DirectoryIndex are all in there. HTH -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com 1.800.575.1099

Re: [PHP] Isolating a php directory on a main server

2006-01-26 Thread Ray Hauge
the user/pass authentication in there. -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session loss

2006-01-31 Thread Ray Hauge
. -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com 1.800.575.1099 On Tuesday 31 January 2006 04:12 pm, Richard Correia wrote: Which php version and platform? Thanks Rich On 2/1/06, Dave Goodchild [EMAIL PROTECTED] wrote: Hi all

[PHP] Excell to CSV Date Calculations

2006-02-02 Thread Ray Hauge
this in the spreadsheet, but the users will ask questions even if I show them time and time again how to do it. =CONCATENATE(MONTH(D2); /; DAY(D2); /; YEAR(D2)) Just trying to find an easier solution :) Thanks! -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http

Re: [PHP] Excell to CSV Date Calculations

2006-02-02 Thread Ray Hauge
On Thursday 02 February 2006 01:38 pm, Ray Hauge wrote: Hello all, I have a script that takes a CSV file in as data and does some updates to the DB accordingly. Some of those values are dates. When I save the spreadsheet in Open Office to a CSV file, the dates are saved as the internal

[PHP] PHP4 VS PHP5 Performance

2006-02-06 Thread Ray Hauge
facts. I don't have the time to set up php4 and php5 on identical machines :( Thanks! -- Ray Hauge Programmer/Systems Administrator American Student Loan Services 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Locking Up

2006-02-17 Thread Ray Hauge
by the session garbage collection (we use the default PHP sessions), and if it is, what would/could be done to better the situation? Thanks, -- Ray Hauge Programmer/Systems Administrator American Student Loan Services 1.800.575.1099 -- PHP General Mailing List (http://www.php.net

[PHP] Session Locking Up

2006-02-17 Thread Ray Hauge
by the session garbage collection (we use the default PHP sessions), and if it is, what would/could be done to better the situation? Thanks, -- Ray Hauge Programmer/Systems Administrator American Student Loan Services 1.800.575.1099 -- PHP General Mailing List (http://www.php.net

Re: [PHP] newbie problem

2006-02-20 Thread Ray Hauge
seen that happen from time to time) eg. file in /home/myhome/projects/file.php or file in /var/www/htdocs/file.php Also, was apache restarted after allowing PHP (if applicable) -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com

[PHP] Parse Error

2006-02-21 Thread Ray Cantwell
$host=localhost $user=ray $password=* mysql_connect($host,$user,$password) ; $sql=show status; $result = mysql_query($sql); if ($result == 0) echo bError . mysql_errno() . : . mysql_error() . /b; else { ? !-- Table That Displays the results -- table border=1 trtdbVariable_name/b

Re: [PHP] Parse Error

2006-02-21 Thread Ray Hauge
On Tuesday 21 February 2006 14:27, Ray Cantwell wrote: Hi all, I am a noob and super confused right now. I have some really simple code and i am getting an error that reads: *Parse error*: syntax error, unexpected T_VARIABLE in */var/www/mysql_up.php* on line here is the code: html

[PHP] CLI utility

2006-02-21 Thread Ray Cantwell
Hello again, I was wondering if any of you knew of a good command line utility for php5 on linux? The box i write on has no X-windows. Ray. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] (array)

2006-02-22 Thread Ray Hauge
, and an array is really a compound type. With that in mind it makes sense that you could typecast to an array. http://www.php.net/manual/en/language.types.php -- Ray Hauge Programmer/Systems Administrator American Student Loan Services http://www.americanstudentloan.com 1.800.575.1099 -- PHP

[PHP] displaying string combinations

2001-04-20 Thread Ray Iftikhar
doing this by: print "$banner".$RandBanner1; but that doesnt seem to work...Anyone got any other suggestions? Any help is greatly appricaited. Thanks in advance, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

[PHP] suggestions for binary data in database

2001-04-27 Thread Ray Hilton
of the database? compared to the file system? i assume its going to be quite a lot higher. DO you reckon it would be better to scrap that and store the images on the file system? Ray Hilton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

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

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

[PHP] PHP question

2002-12-17 Thread Tom Ray
Are PHP script supposed to run as the user or as the web server? Currently I'm running Red Hat 7.3 with apache 1.3.x and all my PHP scripts run as apache, not as the user. I'm wonder if I can run the scripts as the user and how do I fix this? Any help would be great! -- PHP General Mailing

Re: [PHP] How can I redirect to another php page

2003-01-08 Thread Tom Ray
You could use an include statement in one of two ways. 1) you can just include the page that you want to show, however the url doesn't change it will still be select.php 2) if you want to sent them to yellow.php or green.php you could include an html page that had a meta-refresh in it set for 0

Re: [PHP] Newbee observation

2003-01-09 Thread Tom Ray
Mail servers play a part in this too. Maybe the admins should pack up their servers and send them back too :) -Original Message- From: Hendrik van Niekerk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 9 Jan 2003 11:11:30 -0600 Subject: [PHP] Newbee observation Why does the

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

[PHP] mysql_connect error

2003-01-20 Thread Tom Ray
Can someone please tell me why I'm getting this error: *Fatal error*: Call to undefined function: mysql_connect() in */webs/tom/www.bohabcentral.com/www/bohabs/auth.php* on line *4 *mysql_connect was working a week or so ago, and I haven't made any changes to the servers configuration. If

[PHP] mysql_connect problem..update

2003-01-21 Thread Tom Ray
It turns out after some checking, the other admin on the machine ran a kernel update last week. I hadn't been testing any scripts over the last week myself so I didn't notice the issue until the other day. When I run a function_exists() for mysql_connect it comes back false. When I run phpinfo()

Re: [PHP] mysql_connect problem..update

2003-01-21 Thread Tom Ray
Thanks, we're going to give that a try. -Original Message- From: Tracy Finifter Rotton [EMAIL PROTECTED] To: Tom Ray [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Tue, 21 Jan 2003 10:25:55 -0800 Subject: Re: [PHP] mysql_connect problem..update Talk to the other admin. If you're using RPMs

Re: [PHP] Simple E-mail Question

2003-01-22 Thread Tom Ray
you would put that in the $mailheaders variable. Something like $mailheaders = From: Joe Bloe [EMAIL PROTECTED]\r\n; $mailheaders .= Cc: Some Dude [EMAIL PROTECTED]\r\n; $mailheaders .= Bcc: Some Other Guy [EMAIL PROTECTED]\r\n; That should work for you. Just do this for whatever other headers

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

[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
they know. Can these be utilized. Hope that gives you some more to think about. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP and Apache

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

Re: [PHP] Installing PHP with MySQL RPM version

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

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] apache mod_php memory leak, need help.

2003-06-23 Thread Ray Aspeitia
of 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. PS OUTPUT

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

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

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. ?php if ($biz = my_business and $id_num = 1){ echo stuff }

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

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 '?xml version=1.0?'; 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

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,

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 do

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

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

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

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

<    1   2   3   4   5   6   7   8   9   >