Re: [PHP] Using two XSLT stylesheets

2003-10-18 Thread Ray Hunter
xslt_process($xh, 'library.xml', 'simple-search-get-results.xsl', -- 'results.xml', NULL, $params); $data = xslt_process($xh, 'results.xml', -- 'simple-search-display-results.xsl', NULL, NULL, NULL); What happens when you do the above...what is the var_dump of data? -- BigDog -- PHP

Re: [PHP] Re: Using two XSLT stylesheets

2003-10-19 Thread Ray Hunter
process. Then create a new xslt process and do the second transformation, then close the 2nd xslt process. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] second time: problem with LDAP support

2003-10-20 Thread Ray Hunter
I have a problem of installation of php. I'm using Linux 7.3. I have installed openldap2.1.22 successfully. Now I'm compiling php with the following command: ./configure --with-apache2=/usr/local/apache2 \ --with-mysql=/usr/local/mysql \

Re: [PHP] need help w a for loop

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

RE: [PHP] need help w a for loop

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

Re: [PHP] php framework

2003-10-21 Thread Ray Hunter
couple of months... -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tab index

2003-10-22 Thread Ray Hunter
list. Better results if you ask this question on a HTML/DHTML/JavaScript list. Also check out groups on google, there is tons of great information there on these types of groups. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] command line arguments

2003-10-22 Thread Ray Hunter
no good. $argv is an array that will give you the values and $argc will give you the total number (count) of arguments. Also, make sure that you have your php.ini file set up to populate those variables. Check this tutorial out: http://www.phpb.com/columns/ray/cli/ To get you started. -- Ray

Re: [PHP] Screwing up my results...please help

2003-10-22 Thread Ray Hunter
You can always query the database and store the results as arrays in the session and sort the arrays...this would limit how many times that you are querying the database (if you are just sorting the results). -- ray On Wed, 2003-10-22 at 15:02, Ryan A wrote: Hi, I have a search form

Re: [PHP] XML Parser

2003-10-24 Thread Ray Hunter
then the DOM XML parser might be a better alternative. Expat will be faster and less memory intensive than DOM. HTH... -- Ray On Fri, 2003-10-24 at 07:03, Scott Fletcher wrote: I wonder about overwritting the same tag twice, like 'FirstName' and end up with one result when using hte XML parse

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Ray Hunter
alternative is to have php run as soap and have your java access the php soap service and get xml data. Then you java app can parse the xml and then display it to the user. HTH... -- Ray On Fri, 2003-10-24 at 08:10, Matt Palermo wrote: I have been searching the web for ways to execute remote PHP

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Ray Hunter
Sorry, i forgot to mention the package that you might really want to review... java.net is the java package that provides all these classes, like URLConnection and Sockets as mentioned by another person. -- Ray On Fri, 2003-10-24 at 08:24, Ray Hunter wrote: You have various options

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Ray Hunter
the required files. Might be worth looking into since it is php based. -- Ray On Fri, 2003-10-24 at 12:20, Raditha Dissanayake wrote: hi, Great to hear that PHP is your language of choice. There are several SOAP libraries available and they come with good docs. However if you are building

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Ray Hunter
Yeah, http://gtk.php.net Also they have a mailing list that you can join and get help from those experienced users. HTH -- Ray On Fri, 2003-10-24 at 13:26, Matt Palermo wrote: I don't know much about that, but it definitely sounds better, escpecially since it's still PHP based. Do you

Re: [PHP] Web Service in PHP/XML

2003-10-26 Thread Ray Hunter
if you want to use xml and php you can use soap and then you can incorporate other languages as well...making soap the common protocol via http. most languages support soap implementations of one sort. should be worth your time to look into soap. -- Ray On Sun, 2003-10-26 at 12:44, Dan

Re: [PHP] XML/MySQL

2003-10-26 Thread Ray Hunter
the array functions to merge, sort or whatever you like... That should get you started... HTH -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Randomizing 3 different numbers.

2003-10-27 Thread Ray Hunter
One: $one\n; echo Two: $two\n; echo Three: $three\n; HTH -- Ray On Mon, 2003-10-27 at 05:26, Ian Gray wrote: I am tring to output 3 different random numbers between 1 and 20 into 3 different strings. Using Rand() for each string isn't sufficient as I may get the same number repeated for one

RE: [PHP] Files question

2003-10-30 Thread Ray Hunter
: $lines = file( somefile.txt ); foreach( $lines as $line = $value ) { echo $line = $valuebr; } HTH -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP with Java extension

2003-11-24 Thread Ray Hunter
Any ideas and recommendations are more than welcome. Try going the other waytry utilizing PHP in your servlet or j2ee server environment. I have had greater success with this then trying to get java integrated into PHP. HTH -- Ray -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP Java extension--hopeless?

2003-11-27 Thread Ray Hunter
to the auth-website if cookie is not set or redirects to the associated php page. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP-Mysql problem

2003-12-11 Thread Ray Hunter
included?? I am a EXTREME newbie when it comes to compiling anything in Linux. Did you install apache/php/mysql as rpms? If you did then all you need to do is install the php-mysql rpm. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] rss/rdf feed classes

2003-12-11 Thread Ray Hunter
Check this out: http://builder.com.com/5100-6374-5109834.html?tag=sc -- Ray On Thu, 2003-12-11 at 11:41, Rolf Brusletto wrote: Hey all - I'm looking for a class that returns a rss/rdf feed with each of the items as an array, or suggestions on how to items into an array... Tia, Rolf

Re: [PHP] Re: can tomcat server run PHP??

2003-12-12 Thread Ray Hunter
probably be least optimum way of doing it. Basically, here is what you do: 1. Install php and apache (whether php is DSO or compiled in). 2. Install tomcat. 3. Install jk2 connector so that apache and tomcat work together. 4. Set up your mounts for jsp files. HTH, Ray -- PHP General Mailing List

Re: [PHP] Re: PHP5 XML functions

2003-12-30 Thread Ray Hunter
, I am not sure if the php installer contains all the extensions. I usually download the zip file and it contains all the extensions. -- Ray On Tue, 2003-12-30 at 21:38, Aidan Lister wrote: I wish, I'm interested as well :/ [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've just

Re: [PHP] Display syslog file?

2004-01-09 Thread Ray Hunter
. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML?

2004-01-09 Thread Ray Hunter
of what I'm getting into. Is it easy to implement? Does it make things easier on me in the future? Etc.etc. What do you want to do with xml? There is expat and DOM that you can use to parse and create xml docs. What are you looking to achieve? -- Ray -- PHP General Mailing List (http://www.php.net

RE: [PHP] Display syslog file?

2004-01-09 Thread Ray Hunter
On Fri, 2004-01-09 at 08:05, Carlton L. Whitmore wrote: Ray, I'm using the root user to access the file so rights aren't an issue. I want to display the file thru a webserver. I'd like the page to refresh so I can watch the activity coming in from my SonicWall router. I don't mind watching

RE: [PHP] XML?

2004-01-09 Thread Ray Hunter
documents. Mainly it is a way to describe and organize your data into a logical representation. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML/HTML encoding?

2004-01-09 Thread Ray Hunter
titledotted e (ë) works/title /head body Etc. This is what I want But my browser displays dotted e () works Because I don't want yes or no: Please tell me what (maybe obvious thing) I'm doing wrong What browser and version are you using? -- Ray -- PHP General Mailing List

RE: [PHP] XML/HTML encoding?

2004-01-09 Thread Ray Hunter
On Fri, 2004-01-09 at 08:44, Vincent Jansen wrote: I see this using MSIE 6 But in Mozilla 1.5 I get ë for ë I'm hoping this is fixable without changing browser settings Do you have this page accessible via the web that i can take a look at it. -- Ray -- PHP General Mailing List (http

Re: [PHP] Form validation: client- or server-side?

2004-01-09 Thread Ray Hunter
do both server and client side...javascript helps with the really basic and server-side helps with the complicated stuff. My theory is do as much on the client and then do server-side. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] pass output of php scripts through command line program or cgi

2004-01-16 Thread Ray Hunter
on the commandline you need to have the php executable on your path...then run php -f [filename] so php -f index.php that will do it for you. -- Ray On Sat, 2004-01-17 at 05:44, Paul William wrote: Hi, I want to run the output of all the php scripts running on my apache server through

Re: [PHP] Design Patterns PHP5

2004-01-22 Thread Ray Hunter
://www.phppatterns.com That should give you tons of great information. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] what PHP really needs

2004-01-23 Thread Ray Hunter
You can use shared memory too...only on *nix flavors though. -- Ray On Fri, 2004-01-23 at 12:42, PHP general wrote: There's 1 really important thing missing in PHP as I see it, and it's the ability to keep variables in memory for as long as the programmer choose. If this was possible

Re: [PHP] Document generation from XML

2004-02-03 Thread Ray Hunter
file from another xml file? -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CVS style project system

2004-02-05 Thread Ray Hunter
be to gather all the requirements of the project and go from there. Start a game plan on what needs to be done when. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Novell and PHP

2004-02-05 Thread Ray Hunter
easier intergration with php on unix with novell products like ldap intergration, great :D. I think from what we know groupwise ldap is not a standard system which will work with openldap :\ This is a project that allows for PHP integration on Novell NetWare systems. -- Ray -- PHP General

Re: [PHP] Novell and PHP

2004-02-05 Thread Ray Hunter
system with the databased one ? Like i could personlise a session by their windows login ? Not sure about that, i have only got the windows to login by using php ldap functions and active directory. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Novell and PHP

2004-02-05 Thread Ray Hunter
started. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] boolean search class

2004-02-05 Thread Ray Hunter
are not in a database, so I won't be passing SQL code off to a real searcher.] How are you doing the search if not with a database? What is your logic for implementing the search? I have used lucene (Jakarta-Apache) for doing searchs that is outstanding. -- Ray -- PHP General Mailing List

Re: [PHP] Japanese Language

2004-02-05 Thread Ray Hunter
are something like a garbage character. any suggestions would highly appreciated thanks and best regards Is your database set up to handle the lang type? Is excel set up with the lang type as well? -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] recursive direcotry listing

2004-02-05 Thread Ray Hunter
recursive and put it all into an array. You can use the exec function and do a recursive ls and see what that does for you if you are on *nix. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] boolean search class

2004-02-05 Thread Ray Hunter
document types like html, xml, pdf, and text. With lucene you create indexes from your documents. Then you have a search page that interfaces to your lucene indexing engine. There was an article in PHP Arch mag that talked about this. -- Ray -- PHP General Mailing List (http://www.php.net

Re: [PHP] boolean search class

2004-02-05 Thread Ray Hunter
would recommend using lucene. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] boolean search class

2004-02-06 Thread Ray Hunter
in it. However, not sure if lucene is the way to go. It will work for what you are doing. However, it might be an overkill depending on how many files you are searching on. You might be able to write a regexep using preg_match that will return what you are looking for. -- Ray -- PHP General Mailing

Re: [PHP] Testing Pear install

2004-03-03 Thread Ray Hunter
On Wed, 2004-03-03 at 12:21, DAvid Jackson wrote: How can I test to see if and what portions of Pear are installed on a vhosted website? If you have access to the command line pear you can also check with a simple command: $ pear list -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] XML architecture question

2004-03-14 Thread Ray Hunter
-in features for xml that are fantastic. There are some php classes that probably have been created for dealing with xml to get you started. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] installing with XSLT

2004-03-18 Thread Ray Hunter
if you would like to use libxslt. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Interbase with PHP in Mandrake 9.1 help !

2004-03-18 Thread Ray Hunter
this instead?: ./configure --with-interbase=/opt/interbase -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SNMP PLEASE HELPP!!!!!!!!!!

2004-03-30 Thread Ray Hunter
you please help me Thanks What are you trying to do? -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ncurses

2004-04-02 Thread Ray Hunter
ncurses into PHP. This will allow you to do some cool things with shell scripting in php. Try searching google for some tutorials. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP + XSL-FO

2004-04-02 Thread Ray Hunter
On Fri, 2004-04-02 at 06:57, Juan Torres wrote: can PHP parser a XML file with a XSL-FO file to generate a PDF file? sure if you set it up properly! /ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php t1lib windows

2004-04-21 Thread Ray Hunter
dll folder where your other php dlls are. Uncomment that dll name in your php.ini file, restart server and verify that the library is getting loaded. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ADS authentication

2004-05-13 Thread Ray Hunter
first I used my credential to bind to directory server and then doing search in subtree. Good to hear...glad you got it working! -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ADS authentication

2004-05-11 Thread Ray Hunter
around was to all user to authenticate against exchange ldap, which in turn sends it to ads. Just a note if the ldap can bind with the supplied username and password then they were authenticated for their information. -- Ray Example: ?php // LDAP variables $ldap[user] = uname; $ldap[pass

Re: [PHP] ADS authentication

2004-05-11 Thread Ray Hunter
On Tue, 2004-05-11 at 10:14, Kuldeep Singh Tomar wrote: Hi Ray, Thanks for your response. I was trying this script also but no success. I was using following values: $ldap[user] = tomar; $ldap[pass] = passwd; $ldap[host] = dc02-del3.vc-del.vcustomer.com; $ldap[port] = 389; $ldap[dn

Re: [PHP] Gd library not found

2004-05-08 Thread Ray Hunter
and put it where php can load it up. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Apache Version

2004-05-04 Thread Ray Hunter
it in production; however, it is not 100%. There are some issues with the multi-thread (not 100%). -- ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] WHERE clause...getting closer

2004-05-04 Thread Ray Hunter
in the datePublished record. got this error: Fatal error: Call to undefined function: year() You sure you did not mean $dataPublished? -- ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] xslt_process

2004-05-15 Thread Ray Hunter
On Sat, 2004-05-15 at 10:20, eoghan wrote: hi, im using the xslt_process() function, but want to use a php file with generated xml content as the xml file i feed the function but it seems to complain that its a php file *Warning*: Sablotron error on line 22: XML parser error 4: not

Re: [PHP] Carrying Variables

2004-05-15 Thread Ray Hunter
On Sat, 2004-05-15 at 02:53, Ronald The Newbie Allen wrote: How would I carry a variable from one page to another Here is what I mean I have a send.php page and this is sent to insert_into_database.php where the values of the previous page are inserted into the database. I then use a

Re: [PHP] xml - xslt - xsl:fo - pdf

2004-05-24 Thread Ray Hunter
found where java, jade or .net based solutions. Not sure if there is a php functionality for the fo transform...you might need to run it through like java and call a fop object on it. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error building PHP with PostgreSQL support

2004-05-25 Thread Ray Hunter
? -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading from XML file

2004-05-25 Thread Ray Hunter
On Tue, 2004-05-25 at 05:03, Ago wrote: I have a PHP script who reads data from a XML file uploaded via http form. This file is about 15 MB. The script builds a query of thousands inserts as many as the products the XML file contains (more or less 4 inserts). After 4 minutes the httpd

Re: [PHP] Simplistic PHP tutorial

2004-05-25 Thread Ray Hunter
On Tue, 2004-05-25 at 09:17, Stephen Allen wrote: On Tue, May 25, 2004 at 10:47:01AM -0400 or thereabouts, Neal wrote: Hi, I've looked at the php.net tutorial, and though I'm learning some things from it, it's still a bit over my head. It seems to presuppose a comfort level with

Re: [PHP] xslt_create

2004-06-30 Thread Ray Hunter
On Wed, 2004-06-30 at 14:30, Pierre wrote: Hi all Please when i'm trying to use the xslt_create() function php says indefined function but this is in my phpinfo() XML Support active XML Namespace Support active EXPAT Version 1.95.6 Any idea please ? You need xslt support enabled

RE: [PHP] xslt_create

2004-06-30 Thread Ray Hunter
On Wed, 2004-06-30 at 14:36, Pierre wrote: Ok so I must recompile php with this option but I can't is there any php class easy to use that can do this ? If you are on a linux box and have php installed via rpm you might be able to get a php-xslt rpm that you can use. If on windows you can

Re: [PHP] PHPEclipse?

2004-07-12 Thread Ray Hunter
tried it, however, i had no success getting it to work. I tried Trustudio php plugin and got the editor to work. The editor was okay, yet the preferences did not work all that great. The debugger did not work and i did not try and figure out what was wrong with it. This is linux eclipse too. -- Ray

[PHP] Test Results

2004-07-21 Thread Ray Hayes
My test results from my build on a Cobalt RAQ550 seem to be in line with other test results postings. Any ideas where these open items affect processing? = FAILED TEST SUMMARY

Re: [PHP] convert date to reversed date

2007-01-30 Thread Arpad Ray
$filename = implode(array_reverse(explode('/', $value))); Arpad Reinhart Viane wrote: Is this a good way to convert 01/02/2007 to 20070201 $value='01/02/2007'; list($day, $month, $year) = split('[/.-]', $value); $filename=$year.''.$month.''.$day; It does work but i would like to

Re: [PHP] Jabber conection manager

2007-02-04 Thread Ray Hauge
if you wanted. It's GPL. -- Ray Hauge Primate Applications -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Amortization calculator

2007-02-05 Thread Ray Hauge
on it. -- Ray Hauge Primate Applications -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OT - Regular Expression

2007-02-09 Thread Arpad Ray
Roman Neuhauser wrote: This shouldn't do too much backtracking, try it out: *8* = /^(?:\d*8\d*){4}$/ The {4} in there repeats the subpattern 4 times, rather than limiting it to 4 characters. I really can't think of an elegant to do what you ask with regex - why limit yourself to regex

Re: [PHP] how to get original post data?

2007-02-12 Thread Arpad Ray
$post = file_get_contents('php://input'); Or for older versions of PHP, just use $HTTP_RAW_POST_DATA. Arpad Nicholas Yim wrote: Hello EveryOne, like parse the soap request body not through $_POST nor $_FILE Best regards, Nicholas Yim [EMAIL PROTECTED] 2007-02-12 --

Re: [PHP] Re: How to upload files up to 40MB with a html post form?

2007-02-14 Thread Arpad Ray
Sergiu Voicu wrote: In the second case, and if PHP isn't in safe mode, at the beggining of your script place this line ini_set(upload_max_filesize,41M); ini_set() will have no effect there because by the time the script is executed, the upload has finished. You can probably use php_value to

Re: [PHP] Retrieve value of newly inserted row.

2007-02-14 Thread Arpad Ray
Dan Shirah wrote: On my second insert statement, please note credit_card_id. This is an auto_increment column in table1. What I need to do is pull the value of credit_card_id from the newly inserted row from insert1 and put that value in a variable to assign it to credit_card_id in insert2.

Re: [PHP] LOL, preg_match still not working.

2007-02-17 Thread Ray Hauge
are getting? Ray Hauge Primate Applications Beauford wrote: Hi, I previously had some issues with preg_match and many of you tried to help, but the same problem still exists. Here it is again, if anyone can explain to me how to get this to work it would be great - otherwise I'll just remove it as I just

Re: [PHP] Problems processing UNIX timestamps in events directory

2007-02-20 Thread Arpad Ray
Dave Goodchild wrote: I have converted the user-friendly date output to timestamps to check and sure enough, when the user selects a start date before March 26 2007, March 26 2007 is output as: 1174863600 ...after that it becomes: 117486 ...a difference of 3600 Is this anything to do

Re: [PHP] Populating array with function

2007-02-27 Thread Arpad Ray
Brad Bonkoski wrote: $files[] = $entry; perhaps look into the array_push() function http://www.php.net/array_push $files[] = $entry; is perfectly fine. $thumbnailFiles=listFiles($thumbnailsDirectory); printpre; print_r($thumbnailsFiles); print/pre; The code is fine, spot the

Re: [PHP] Form Handler Script Security Discussion

2007-03-29 Thread Arpad Ray
Many legitimate users will have their referrer blocked by proxies or by browser preference so you'll also have false negatives. Arpad cajbecu wrote: ? if($_POST eregi(getenv(SERVER_NAME),getenv(HTTP_REFERER))) { // This is a safe POST }

Re: [PHP] Duplicate dates in array

2007-04-02 Thread Arpad Ray
Dave Goodchild wrote: Any ideas on the most efficient way to do it? I am working on using combinations of array_search, in_array and so on and want to avoid regular expressions if I can. Many thanks in advance for any suggestions! If you mean that you only want one date for each month (you'll

Re: [PHP] Separating words based on capital letter

2007-04-24 Thread Arpad Ray
Roman Neuhauser wrote: implode(' ', preg_split('~(?=[[:upper:]])~', 'FooBarBaz', -1, PREG_SPLIT_NO_EMPTY)); Or just.. preg_replace('/\B[A-Z]/', ' $0', 'FooBarBaz') Arpad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: self:: vs this

2007-05-11 Thread Arpad Ray
M.Sokolewicz wrote: Basically what you can remember here is: :: calls a property or method in a STATIC context (ie. without access to the object's (if any) actual properties) - calls a propert or method in a DYNAMIC context (ie. WITH access to that specific object's collection of methods and

[PHP] Remote MySQL Connecton Problems

2009-05-06 Thread Ray Hauge
! Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Remote MySQL Connecton Problems

2009-05-07 Thread Ray Hauge
Nathan Rixham wrote: Ray Hauge wrote: Hello everyone, I've run into a bit of a sticky situation trying to connect to a remote MySQL database. Here's the background: Connecting from the command line on the web server works. Connecting from a different vhost works. There's no information

Re: [PHP] Sanitizing potential MySQL strings with no database connection

2009-10-20 Thread Ray Solomon
- Original Message - From: Ashley Sheridan a...@ashleysheridan.co.uk To: Dotan Cohen dotanco...@gmail.com Cc: Jim Lucas li...@cmsws.com; php-general. php-general@lists.php.net Sent: Tuesday, October 20, 2009 4:02 AM Subject: Re: [PHP] Sanitizing potential MySQL strings with no database

Re: [PHP] session variables and SVG documents

2010-02-01 Thread Ray Solomon
/tmp/image.png); echo file_get_contents('/tmp/image.png'); ? -Ray Solomon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] length of string

2001-12-31 Thread Ray Todd Stevens
I can't seem to find this anywhere in the manuals. What is the maximum length of a string? Ray Todd Stevens Specialists in Network and Security Consulting Senior ConsultantSoftware audit service available Stevens

RE: [PHP] Cookies not expiring

2002-03-14 Thread Ray Todd Stevens
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ray Todd Stevens Specialists in Network and Security Consulting Senior ConsultantSoftware audit service

RE: [PHP] Images don't save

2002-04-19 Thread Ray Paseur 703.346.0600
just capture the screen image. Some technology lawyers have recommended putting a copyright watermark into any high-resolution images that we display. Nothing to do with PHP, sorry. Ray Paseur - www.non-aol.com -Original Message- From: Fifield, Mike [mailto:[EMAIL PROTECTED]] Sent

[PHP] Producing images in different sizes

2002-04-27 Thread Ray Paseur 703.346.0600
, --- Ray Paseur - www.non-aol.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: snmp_set_quick_print or snmpwalkoid issue ?

2002-05-02 Thread Ray \BigDog\ Hunter
Basically you are not going to get the value type of the snmp, ie OID, timeticks, integers, etc.. Ray Hunter Razvan Cosma [EMAIL PROTECTED] wrote in message Pine.LNX.4.44.0205011203110.32753-10@mach2">news:Pine.LNX.4.44.0205011203110.32753-10@mach2... First of all,

[PHP] CURL Users

2002-05-02 Thread Ray \BigDog\ Hunter
Has anyone every used curl to do something similar to wget on linux? BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Logging out with authentication

2002-07-28 Thread Ray Todd Stevens
to quit all browser sessions. Anyone doing this? Care to share code that makes it work? -- Ray Todd Stevens Specialists in Network and Security Consulting Senior ConsultantSoftware audit service available Stevens

Re: [PHP] Logging out with authentication

2002-07-28 Thread Ray Todd Stevens
again until the browser exits. Ray Todd Stevens wrote: I am working on a web site that is using php controled www- authenticate authentication. User ids are specific to users and different pages and different levels of information for a given page will be displayed based on the user id used

[PHP] running php as owner

2001-10-05 Thread Ray Todd Stevens
for) Ray Todd Stevens Specialists in Network and Security Consulting Senior ConsultantSoftware audit service available Stevens Services Suite 21 3754 Old State Rd 37 N Bedford, IN 47421 (812) 279-9394 [EMAIL PROTECTED] Thought

[PHP] editor for working with php

2001-10-25 Thread Ray Todd Stevens
I ahve been using go-live (4.0) to edit pages containing php scripts. this is not really working well. Is there a better way or a better editor to use for this? Ray Todd Stevens Specialists in Network and Security

[PHP] feature sugestion

2001-10-28 Thread Ray Todd Stevens
these to. That is any string like !-- or //-- is treated as white space. Ray Todd Stevens Specialists in Network and Security Consulting Senior ConsultantSoftware audit service available Stevens Services Suite 21 3754 Old State

[PHP] now I can compile

2001-10-28 Thread Ray Todd Stevens
not been added some how or rather. Got the proper link and everything is going great guns. Thanks to all. Ray Todd Stevens Specialists in Network and Security Consulting Senior ConsultantSoftware audit service available

[PHP] Why doesn't this work?

2001-09-14 Thread Ray Van Dolson
that it should return an Array... why can't I operate on it as I would a normal array? Anyways, thanks for any help. I guess I'm just too used to Python. :-D Ray Van Dolson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

<    3   4   5   6   7   8   9   >