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
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
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 \
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
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;
couple of months...
--
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
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
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
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
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
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
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
:
$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
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
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
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
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
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
, 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
.
--
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
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
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
://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
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
file from another xml file?
--
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
started.
--
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
would recommend using lucene.
--
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
?
--
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
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
$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
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
on it.
--
Ray Hauge
Primate Applications
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
$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
--
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
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.
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
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
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
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
}
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
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
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
!
Ray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
- 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
/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
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
--
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
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
,
---
Ray Paseur - www.non-aol.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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,
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
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
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
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
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
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
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
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
701 - 800 of 874 matches
Mail list logo