[PHP] php, fastcgi, mpm-worker and apache bottlenecks

2006-03-12 Thread Dan Rossi
Hi there, im am planning to spec the software install for one of our machines that gets an insane ammount of hits and traffic from referring sites. Im looking into if running the php for this server under fastcgi instead of as a php apache module will help reduce and apache bottlenecks ? Most

Re: [PHP] php, fastcgi, mpm-worker and apache bottlenecks

2006-03-12 Thread Dan Rossi
Source is fine, i never install php with binaries, lets see how i go. On 13/03/2006, at 1:12 PM, Chris wrote: Dan Rossi wrote: Hi there, im am planning to spec the software install for one of our machines that gets an insane ammount of hits and traffic from referring sites. Im looking

Re: [PHP] encrypted urls, mcrypt and mod_rewrite

2006-02-23 Thread Dan Rossi
is a problem, it has underscores, but there is probably other things in this. _%E5%D4%13%82%C9%DFN%5EFs%5E47%B2v%2F%D7%A4%0C%C6%9EnJ I'd base64 encode that first then urlencode :) On 23/02/2006, at 6:01 PM, Dan Rossi wrote: Hi ive been trying to find answers with no luck. I am sending a urlencoded

[PHP] base64_encode, forward slashes and mod_rewrite

2006-02-23 Thread Dan Rossi
Continueing on my prior problem, Ive discovered that base64_encode adds forward slashes in its encoded string, when its urlencoded it becomes something like /feeds/UmFuZG9tSVZd%2FMChU7sMQqdUi%2FrgYHD7 mod_rewrite doesnt seem to like the %2F in the string and fails with a 404 as it doesnt

Re: [PHP] base64_encode, forward slashes and mod_rewrite

2006-02-23 Thread Dan Rossi
characters. On 24/02/2006, at 10:31 AM, Dan Rossi wrote: Continueing on my prior problem, Ive discovered that base64_encode adds forward slashes in its encoded string, when its urlencoded it becomes something like /feeds/UmFuZG9tSVZd%2FMChU7sMQqdUi%2FrgYHD7 mod_rewrite doesnt seem to like

Re: [PHP] parse_url not parsing hosts with www properly in php 5.1.2

2006-02-23 Thread Dan Rossi
On 23/02/2006, at 8:45 PM, Jochem Maas wrote: Dan Rossi wrote: Ok it looks like when i exploded the urls by a comma, one has space exploding the urls??? - this list is not called 'php-psychics' for a reason. i.e. don't assume we know that you happen to have a string which contains 'urls

Re: [PHP] encrypted urls, mcrypt and mod_rewrite

2006-02-23 Thread Dan Rossi
and mod_rewrite Somehow this part of the string is a problem, it has underscores, but there is probably other things in this. _%E5%D4%13%82%C9%DFN%5EFs%5E47%B2v%2F%D7%A4%0C%C6%9EnJ I'd base64 encode that first then urlencode :) On 23/02/2006, at 6:01 PM, Dan Rossi wrote: Hi ive been trying to find

[PHP] Issue with encrypted string created with Crypt_CBC and urls and mod_rewrite

2006-02-22 Thread Dan Rossi
hi there im having issue decoding an encoded string created with a pear package Crypt_CBC which i am encoding a uri into the string and sending to a rewrite url. The query string is not returning the encoded part of the url properly for some reason and not decoding properly. I have already

[PHP] parse_url not parsing hosts with www properly in php 5.1.2

2006-02-22 Thread Dan Rossi
Ive just discovered a strange issue where parse_url is not splitting up the url properly. in the host key its returning like //www.php.net where the url is http://www.php.net. any ideas ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parse_url not parsing hosts with www properly in php 5.1.2

2006-02-22 Thread Dan Rossi
Ok it looks like when i exploded the urls by a comma, one has space padding, i had to trim it first, the array was coming out like host=__http path=//www.thedomain.com :\ On 23/02/2006, at 1:05 PM, Chris wrote: Dan Rossi wrote: Ive just discovered a strange issue where parse_url

Re: [PHP] Issue with encrypted string created with Crypt_CBC and urls and mod_rewrite

2006-02-22 Thread Dan Rossi
It also seems that any forward slash being encoded if it encodes, mod_rewrite doesnt like, therefore I have to split up the urls using parse_url, but it seems it still doesnt like the query part and some special characters like ampersands and equals ? On 23/02/2006, at 12:30 PM, Dan Rossi

[PHP] encrypted urls, mcrypt and mod_rewrite

2006-02-22 Thread Dan Rossi
Hi ive been trying to find answers with no luck. I am sending a urlencoded encrypted string made with mcrypt. what is happening is there is somehow special characters that mod_rewrite doesnt like so it wont find a regex match properly with this rule RewriteRule ^feeds/(.*)$ refer.php?$1

Re: [PHP] encrypted urls, mcrypt and mod_rewrite

2006-02-22 Thread Dan Rossi
Somehow this part of the string is a problem, it has underscores, but there is probably other things in this. _%E5%D4%13%82%C9%DFN%5EFs%5E47%B2v%2F%D7%A4%0C%C6%9EnJ On 23/02/2006, at 6:01 PM, Dan Rossi wrote: Hi ive been trying to find answers with no luck. I am sending a urlencoded

[PHP] Hardened patch and Zend optimizer

2006-02-14 Thread Dan Rossi
hi there i was wondering if anyone has an update to if the zend optimizer will work with the hardened patch installed ? From my understanding closed source extensions arent possible, but maybe they fix this ? Let me know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Suggested product for ticket support and project management

2006-02-07 Thread Dan Rossi
Hi there, please dont bite, but we are looking for an open source or commercial php product for ticket support and another for project managent. I have already googled a bit and what ive seen isnt so good. For our ticketing we mostly require a hosting style ticket system for server support and

Re: [PHP] Preparing site content for RSS XML feed

2006-02-02 Thread Dan Rossi
would enclosing in the cdata work ? On 02/02/2006, at 7:11 PM, Murray @ PlanetThoughtful wrote: Hi All, I currently generate a simple rss.xml file for syndication from my site, containing nothing more than the subject of the post and a link to the article on my site. I'd like to syndicate

[PHP] PHP5 Soap extension and generate wsdl

2005-12-06 Thread Dan Rossi
Hi there, im just wondering if its possible to setup your web service and let it generate a wsdl file for clients when u request the script with a wsdl flag like with nusoap ? Im rather not having to code an entire wsdl document for the web service if possible :\ -- PHP General Mailing List

[PHP] memory leaks with 5.1 and osx

2005-12-05 Thread Dan Rossi
Ive discovered these errors in the apache error logs, is this anything serious ? Is there hardlinks to the source ? /usr/share/sources/php/php-5.1.1/Zend/zend_compile.c(1862) : Freeing 0x021B4E78 (140 bytes), script=thescript.php /usr/share/sources/php/php-5.1.1/Zend/zend_hash.c(248) : Actual

[PHP] Zend + Eclipse + Standized Framework

2005-11-13 Thread Dan Rossi
Just found this article via phpeclipse.de stating Zend will be including Eclipse framework in their development schedules :) http://www.zend.com/news/zendpr.php?id=109 Id like to know more about this standardized application framework. I wonder if it includes the pear framework, or compiled

Re: [PHP] mod_rewrite, apache2, php5RC1 and osx bsd

2005-11-10 Thread Dan Rossi
On 11/11/2005, at 8:36 AM, Richard Lynch wrote: On Wed, November 9, 2005 10:36 pm, Dan Rossi wrote: Hi there, ive been having issues with mod_rewrite and apache2 with PHP 5.1RC1. I have googled the php bugs and people have been experiencing the same issue however the php people cant see

Re: [PHP] mod_rewrite, apache2, php5RC1 and osx bsd

2005-11-10 Thread Dan Rossi
On 11/11/2005, at 8:53 AM, Max Belushkin wrote: I've been having a problem with PHP 4.4.1 and mod_rewrite, which, as Geert Booster kindly pointed out, has been reported on http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/ 027038.html, which also has a link to the PHP bug

Re: [PHP] mod_rewrite, apache2, php5RC1 and osx bsd

2005-11-10 Thread Dan Rossi
On 11/11/2005, at 1:21 PM, Curt Zirzow wrote: Of course i dont get what your trying to do, the rewriterule doesn't match your description of what you said. Ok i am vague at most times, i wasnt going to give an exact example as it will give away some of the systems secret and not so good

[PHP] mod_rewrite, apache2, php5RC1 and osx bsd

2005-11-09 Thread Dan Rossi
Hi there, ive been having issues with mod_rewrite and apache2 with PHP 5.1RC1. I have googled the php bugs and people have been experiencing the same issue however the php people cant see to reproduce the bug. Its most definately doing it for me, here is a rewrite rule i have setup, if i [L]

Re: [PHP] mod_rewrite, apache2, php5RC1 and osx bsd

2005-11-09 Thread Dan Rossi
On 10/11/2005, at 4:18 PM, Curt Zirzow wrote: On Thu, Nov 10, 2005 at 03:36:07PM +1100, Dan Rossi wrote: Hi there, ive been having issues with mod_rewrite and apache2 with PHP 5.1RC1. I have googled the php bugs and people have been experiencing the same issue however the php people cant see

[PHP] PHP 5.1 release ?

2005-11-06 Thread Dan Rossi
Hi there just wondering when there may be a php 5.1 release ? I just went into the downloads on the php site and the link to RC1 has been removed ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Issue with curl and ssl

2005-11-03 Thread Dan Rossi
Just a standard php 4.3.11 and apache 1.3 ?? It works via php cli wierdly enough but not the apache module ? On 03/11/2005, at 7:17 PM, Jochem Maas wrote: Dan Rossi wrote: Hi there, I am trying to test out the new installed curl extension to connect to a site via ssl and auth basic. However

Re: [PHP] Issue with curl and ssl

2005-11-03 Thread Dan Rossi
'); curl_setopt($ch, CURLOPT_USERPWD, 'user:pass'); ob_start(); curl_exec($ch); ob_end_flush(); if(curl_error($ch)) { printf(error: [%s] %s, curl_errno($ch), curl_error($ch)); } curl_close($ch);   ? On 03/11/2005, at 7:31 PM, Dan Rossi wrote: Just a standard php 4.3.11 and apache 1.3

Re: [PHP] Issue with curl and ssl

2005-11-03 Thread Dan Rossi
Yes there somehow seems to be an issue with ssl. Does the curl extension rely on any ssl module in apache to work ? On 04/11/2005, at 12:34 AM, Jochem Maas wrote: can you get it to work without SSL? Dan Rossi wrote: Here is my code i am using, ive tried and tried, im still getting a no data

[PHP] Issue with curl and ssl

2005-11-02 Thread Dan Rossi
Hi there, I am trying to test out the new installed curl extension to connect to a site via ssl and auth basic. However everytime i try to connect with the browser , in ie it says cannot find server and in mac safari is says could not load any data etc. If i run the same script via php cli it

[PHP] session_destroy(): Session object destruction failed

2005-10-05 Thread Dan Rossi
hi there, i had asked this one a while ago but no replies. I am having this issue calling session_destroy on a non cookie session before creating a cookie based one. Here is the code @session_destroy(); ini_set('session.use_cookies', 1); session_name('thename');

Re: [PHP] session_destroy(): Session object destruction failed

2005-10-05 Thread Dan Rossi
:| The php compile error was the subject thats what keeps being triggered and i get emails from my system about. Session object destruction failed. I have googled about this yes it was something to do with the session_set_cookie after session destroy which triggers this but no fix. On

Re: [PHP] session_destroy(): Session object destruction failed

2005-10-05 Thread Dan Rossi
All standard apache/php4 stuff. The first session is a non cookie session ini_set('session.use_cookies', 0); session_name('sID'); session_start(); ini_set('session.gc_maxlifetime', 14440); ill attempt the sleep(1) i guess On 05/10/2005, at 6:36 PM, [EMAIL PROTECTED] wrote: Hi there! Are

[PHP] Session object destruction failed

2005-09-07 Thread Dan Rossi
Hi there, I am using a pear session package to handle my sessions. However I am trying to destroy a url based non cookie session and then start a cookie based session however i am trying to set the session cookie with an expiry date, as ive been having complications with sessions expiring to

[PHP] Sessions , expiry times and different time zones

2005-09-06 Thread Dan Rossi
hi there I have run into problems with sessions , cookies and expiryt times with different time zones. Ie our server is in the States however I am browsing from Koala land downunder. I have been trying to get the session to expire in a day, however for ppl in the states this is ok, but for me

Re: [PHP] Sessions , expiry times and different time zones

2005-09-06 Thread Dan Rossi
, update the expiration time in this variable to +24hr from the current time (all times relative to the server's time). Then, it shouldn't matter from which time zone the user is browsing. Jordan On Sep 6, 2005, at 10:37 AM, Dan Rossi wrote: hi there I have run into problems with sessions

[PHP] Allowing access to only one host/referer

2005-09-01 Thread Dan Rossi
Hi there, i was wondering how I could allow access to a script from another server/host only ? Its prob a silly question but i guess get their host ip ? The thing with that is one server which is a webpage has a javascript popup to load the script on the other server, and i believe that in

[PHP] Issue with generating asx playlist with php

2005-08-29 Thread Dan Rossi
Hi there I am trying to use php to output an asx playlist but depends on a special hash in the url to prevent hotlinking. I am using a session to store a generated token when generating the url to display in an embedded player. The token is added in the filename and I am using rewrite rules

Re: [PHP] Issue with generating asx playlist with php

2005-08-29 Thread Dan Rossi
I have just discovered on closer debugging, the windows media plugin is loading the file twice, i can see the stop button flicker twice and i made an error log and the word loaded shows up twice, would this be causing an issue with the session ? On 29/08/2005, at 5:20 PM, Dan Rossi wrote: Hi

Re: [PHP] Issue with generating asx playlist with php

2005-08-29 Thread Dan Rossi
On 29/08/2005, at 10:00 PM, Dan Rossi wrote: I have just discovered on closer debugging, the windows media plugin is loading the file twice, i can see the stop button flicker twice and i made an error log and the word loaded shows up twice, would this be causing an issue with the session

Re: [PHP] Issue with generating asx playlist with php

2005-08-29 Thread Dan Rossi
the session variable is there, then on the 4th time a new session is created but the session variable is empty :| On 30/08/2005, at 2:43 AM, Andy Pieters wrote: On Monday 29 August 2005 16:09, Dan Rossi wrote: ? I logged two different sess id's being created. Hi I have seen this behaviour

Re: [PHP] Issue with generating asx playlist with php

2005-08-29 Thread Dan Rossi
Just an update i've changed to use non cookie based sessions using pear's HTTP_Session so sending it in the filename string which loads in the query string of the php script within the plugin's file source. However the session isnt expiring now lol. On 30/08/2005, at 10:32 AM, Dan Rossi wrote

Re: [PHP] alternative to empty

2005-07-06 Thread Dan Rossi
On 06/07/2005, at 7:55 PM, Ross wrote: I have been using empty in forms for some time now. but have just discovered that PHP 4 As of PHP 4, The string value 0 is considered empty. If ($string == '') ?? or if (isset($string)) ?? -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] alternative to empty

2005-07-06 Thread Dan Rossi
On 06/07/2005, at 10:47 PM, André Medeiros wrote: If ($string == '') ?? or if (isset($string)) ?? $string may be defined and still be empty ;) Hence my first example :P -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP 5.1 vm

2005-07-06 Thread Dan Rossi
On 07/07/2005, at 10:26 AM, Richard Lynch wrote: slow switch You're a funny man Richard. So how is there overhead using callbacks if you dont mind me asking ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compiling the example hello world extension on OSX with PHP 5.1

2005-07-06 Thread Dan Rossi
Hi there I am trying to compile the demo example hello world extension on OSX with no luck I keep getting errors when trying to compile. iElectro:/usr/share/php-5.1.0b2/ext/hello electroteque$ make gcc -dynamic -flat_namespace -bundle -undefined suppress -DPHP_ATOM_INC

Re: [PHP] Compiling the example hello world extension on OSX with PHP 5.1

2005-07-06 Thread Dan Rossi
On 07/07/2005, at 11:43 AM, Rasmus Lerdorf wrote: Yeah, the OSX build is a bit messed up right now. You can fix it manually by doing a copy-paste of the final link line and replace hello.lo with hello.o -Rasmus thanks mate however I get file cannot be found, i even tried to symlink

Re: [PHP] Compiling the example hello world extension on OSX with PHP 5.1

2005-07-06 Thread Dan Rossi
On 07/07/2005, at 12:29 PM, Rasmus Lerdorf wrote: Well, where is it? Probably in a libs or .libs directory. -Rasmus You aint the Demigod for nothing you know :P iElectro:/usr/share/php-5.1.0b2/ext/hello root# gcc -dynamic -flat_namespace -bundle -undefined suppress -DPHP_ATOM_INC

[PHP] Aspect PHP

2005-07-05 Thread Dan Rossi
In my research in finding ways to load classes automatically, I have stumbled across Aspect PHP. Does anyone know what it does and why it was developed ? http://frassle.rura.org/Directory/index?cat=11169 It looks like the guy here has done what I am looking for, using __autoload to do

[PHP] PHP 5.1 vm

2005-07-05 Thread Dan Rossi
Continouing from my previous email I have been reading further on Seb's blogs regarding bechmarks with PHP5.1 and the different vm's that it compiles with. I dont particularly understand what the virtual machine is for, but he does meantion threading. Does this mean PHP5.1 will be able to run

Re: [PHP] PHP 5.1 vm

2005-07-05 Thread Dan Rossi
On 06/07/2005, at 12:08 AM, Rasmus Lerdorf wrote: Dan Rossi wrote: Continouing from my previous email I have been reading further on Seb's blogs regarding bechmarks with PHP5.1 and the different vm's that it compiles with. I dont particularly understand what the virtual machine

Re: [PHP] PHP 5.1 vm

2005-07-05 Thread Dan Rossi
On 06/07/2005, at 5:05 AM, Jochem Maas wrote: well I hadn't got a clue about this vm stuff but I read that there are CALL, GOTO and SWITCH [vm?] models implemented. according to 'Seb' CALL goes fastest. But I would assume that offering different vm models meant that raw speed is not the

Re: [PHP] PHP 5.1 vm

2005-07-05 Thread Dan Rossi
On 06/07/2005, at 3:43 PM, Rasmus Lerdorf wrote: The GOTO mechanism uses a bit of a compiler trick known as computed gotos to try to make each one a very simple branch at the assembly level. It looks like this in C: That is, we can dynamically create a list of labels and then use a GOTO to

[PHP] Dynamic pspell module, and adding new words to the list

2005-06-27 Thread Dan Rossi
Hi there, an internal client of ours requires spell checking in their textarea forms on names of people for searching thousands of records properly. What it needs to be able to do is add new names to the dictionary. The server its on is a few years old, it already has the pspell and aspell

Re: [PHP] Re: Persistant Connections and max_connections on mysql

2005-06-21 Thread Dan Rossi
On 21/06/2005, at 6:06 PM, Catalin Trifu wrote: Hi, This is a database issue and has to do with the following mysql variables: interactive_timeout wait_timeout By default these variables are set to 28800 and they represent the time for which the server waits on

Re: [PHP] Re: Persistant Connections and max_connections on mysql

2005-06-21 Thread Dan Rossi
On 21/06/2005, at 7:47 PM, Catalin Trifu wrote: I presume you mean whether it's interactive_timeout or wait_timeout, or ? Actually they both are important. Read the mysql at dev.mysql.com C. We should be sweet now, still use persistant connections on a high traffice server,

[PHP] Persistant Connections and max_connections on mysql

2005-06-20 Thread Dan Rossi
Hi there, I have run into issues on a public production server where I keep running into max connection issues on mysql if I am using peristant connections. Sometimes the machine gets high traffic and I was wondering if there are good reasons to leave them on or off. After turning them off its

[PHP] Apple software updater kills php cli ?

2005-06-15 Thread Dan Rossi
Hi, I had made a feedback complaint to Apple without any reply, I was wondering if anyone has had any issues with their php cli crapping out whenever an apple update occurs under OSX ? It seems to revert back to php 4.3 or whatever is the default in the base system. I run a php5 system. Here

Re: [PHP] Flexy help

2005-06-10 Thread Dan Rossi
On 10/06/2005, at 7:46 PM, Thomas wrote: Hi there, I would like to find out about the usage of custom tags in Flexy. I would like to do something like flexy:calendar/flexy:calendar, or similar. The documentation is very scarce about this. It would be great if you could help me, otherwise

[PHP] Advise needed on moderated threaded chat

2005-06-01 Thread Dan Rossi
I've been given the bombed task of coming up with a pre-moderated threaded chat solution. I had implemented a moderated flash chat however with 100 users all making bulky comments to the chat guests, it became unbearable for the moderator to check them all off in time to make them cohesive to

[PHP] Voting Polls and preventing multiple votes

2005-05-27 Thread Dan Rossi
Hi there I am mocking up a quick voting poll system, however I would like to put hooks in place to prevent users posting more than once, voting bots etc. Is there a way to prevent them, obviously sessions, cookies, host ips cant be used as they can be removed, and especially with host ips ,

[PHP] Generating a php file

2005-05-11 Thread Dan Rossi
Hi there I am trying to generate a php file, which has variables that i need to have in it ie $_SERVER but not actually be parsed as they need to be in the actual script. I also need to send some variables to assign values to other variables in the script. How is this possible ? I have tried

Re: [PHP] include remote class

2005-05-11 Thread Dan Rossi
im doing include('http://www.mysite.com/class.php'); and then i create new instance but i get error - cannot instantiate non-existant class how can i get this remotely hosted class file to be defined? If you surf to that URL, do you see PHP source, or do you see HTML/nothing? You may want to

Re: [PHP] Generating a php file

2005-05-11 Thread Dan Rossi
On 12/05/2005, at 6:03 AM, Rory Browne wrote: You can start by clarifying. I had to read your message three times before I got a vague understanding. What I'm hearing is that you want to put something like ?php $msg = get_message(); ? into a string? You are having difficulty doing this because you

Re: [PHP] Generating a php file

2005-05-11 Thread Dan Rossi
On 12/05/2005, at 8:01 AM, Rory Browne wrote: I'm still not sure I understand, although I'm getting there. This might be useful. $dynamicly_generated_script = ?php \$buffer = \$_SERVER['QUERY_STRING']; \$somevar = '{$this-somevalue}'; ?; As might this: $dyn_gen_script = sprintf( '?php $buffer =

Re: [PHP] PHP 5.0. Save classes in a session. Need help now

2005-05-11 Thread Dan Rossi
I've done this by serializing and unserializing the the object. Its been discussed however using shared memory, shm is a better way to do it ? Sadly sh doesnt compile as default. On 12/05/2005, at 10:19 AM, Oscar Andersson wrote: Is it possibele to save a class in a session ex. $cl = new

Re: [PHP] compiling dynamic extensions without root access

2005-05-07 Thread Dan Rossi
On 07/05/2005, at 3:16 AM, Rory Browne wrote: It depends: What webserver are you using? PHP/Apache will let you load extensions using .htaccess, which can be your own extensions, located in a directory that you have write access to. I've never tried it but something like php_extension_dir

[PHP] Java in PHP5

2005-05-07 Thread Dan Rossi
Ok So I am looking at two possibilities of java integration, one via command line and one using the extension. I dont particularly want the experimental pecl extensions in my php therefore I want it dynamically loaded. I cant for the life of me find the Java extension, would anyone know where

Re: [PHP] compiling dynamic extensions without root access

2005-05-07 Thread Dan Rossi
On 08/05/2005, at 1:03 AM, Rory Browne wrote: I believe(although I stand to be corrected, that there is a threading MLM on apache 2 - this would rule out dl() AFAIK We're not using Apache2 yet coz of the thread issue with php however i am setting up a prefork setup for development. -- PHP

[PHP] using sockets to load a streaming windows media file

2005-05-07 Thread Dan Rossi
Hi there, is there anyway possible to load a streaming windows media file via a socket connecting to output its contents to the browser or a windows media object. My issue is I am spitting out an asx playlist file however for some freak reason, whenever i put control logic around where i am

Re: [PHP] XSL:FO + PHP

2005-05-06 Thread Dan Rossi
Have you tried this? It seems HTMLDoc is still free... I've used that tool also... pretty satisfied. http://www.htmldoc.org/software.php I have used htmldoc in the past for this, but feel its a workaround, htmldoc is purely for generating manuals, which is what it does best, i wonder if it

[PHP] compiling dynamic extensions without root access

2005-05-06 Thread Dan Rossi
I was going to ask, without the need of requesting our admins to recompile php all the time is there a way in the meantime to compile extensions and load them dynamically without the need for root access to some of the php libraries ? I have always compiled in personally so have never tried

[PHP] FPDF, HTML and PDML

2005-05-04 Thread Dan Rossi
Hi there I am trying out the PDML class which interfaces the FPDF code for generating PDF's with markup language. The issue its I cant put straight html tables into it. Is there such an interface to FPDF that can be used to convert html to pdf. I have tried alot of them and none worked out of

[PHP] XSL:FO + PHP

2005-05-04 Thread Dan Rossi
Hi there, I am looking at integrating XSL:FO and PHP to convert html templated data into pdf's using xml and xsl. I was wondering if anyone has had success with this ? I have seen the pear package which does this but requires the experimental java extension. Let me know, it looks easy

Re: [PHP] XSL:FO + PHP

2005-05-04 Thread Dan Rossi
On 05/05/2005, at 5:57 AM, Kristen G. Thorson wrote: especially since this wasn't to be our final approach. I'd be interested if you find out more information on the subject. What did you decide on ? On using passthru: I do not think FOP has the option to passthru the PDF output from the

Re: [PHP] XSL:FO + PHP

2005-05-04 Thread Dan Rossi
On 05/05/2005, at 7:14 AM, Kristen G. Thorson wrote: Dan Rossi wrote: On 05/05/2005, at 5:57 AM, Kristen G. Thorson wrote: especially since this wasn't to be our final approach. I'd be interested if you find out more information on the subject. What did you decide on ? LOL. That part got

Re: [PHP] XSL:FO + PHP

2005-05-04 Thread Dan Rossi
On 05/05/2005, at 8:28 AM, Dan Rossi wrote: For any interested parties, there is a tool called html2fo which will convert html to a formatted object file which can then be sent to FOP. I also found another example where any xhtml file can be transformed with a global xsl stylesheet

Re: [PHP] XSL:FO + PHP

2005-05-04 Thread Dan Rossi
On 05/05/2005, at 1:47 AM, Kristen G. Thorson wrote: Dan, I have done this before, but it was only a proof-of concept excercise for me, so my procedure may not work for you. My test was against an Amazon web service and generating a PDF from the XML returned to me. This method used Apache's

Re: [PHP] PHP and Ajax?

2005-04-29 Thread Dan Rossi
its using the standard toolkit available in most browsers, what i find a pain in the ass is having to build the post data into a string before it can be sent, it should do it for u On 29/04/2005, at 4:40 PM, Hidayet Dogan wrote: Try SAJAX at http://www.modernmethod.com/sajax

Re: [PHP] PHP and Ajax?

2005-04-29 Thread Dan Rossi
hmm isnt the intention of httprequest is that u can send post data without leaving the page ? It has worked for me, except u have to build the post data yourself to send. On other similar circumstances i've had to post certain data from a post to the current database but also executr a script

Re: [PHP] __autoLoad php5 callback is being triggered for every class ?

2005-04-29 Thread Dan Rossi
Its DB_Error which is the error callback for the PEAR DB. I dont know where its being references but its triggering my php error handler and i cant supress the errors for require. There is no such file DB/Error.php however i may have to create one just to make it go away :) On 29/04/2005, at

Re: [PHP] Global Variables

2005-04-28 Thread Dan Rossi
session_start(); $_SESSION['somevar'] = foo; u could also check out pear's HTTP_Session package. On 28/04/2005, at 7:06 PM, Dan wrote: Hi all. I taught myself PHP before the frenzy over register_globals. After a reasonable break from the language, I'm back for more. I'm building a site where I'll

Re: [PHP] PHP Athentication with defined users in linux

2005-04-28 Thread Dan Rossi
On 28/04/2005, at 7:16 PM, Hesam Montazeri wrote: Dear Friends, I am just subscribe to this interesting list. I have a question about authenticating mechanisms. I want to implement login page which authenticate users against defined users on Linux Redhat 9.0 on the server machine. I don't want to

Re: [PHP] Flash integration with PHP

2005-04-25 Thread Dan Rossi
From my knowledge amfphp is now vapourware, I am assuming lawsuits etc . PHPObject is the alternative, it however doesnt use the flash remoting component but has its own, it streams serialized data as an array from php classes. the sucky thing is you cant use the remoting monitor in

Re: [PHP] Flash integration with PHP

2005-04-25 Thread Dan Rossi
Dan Rossi wrote: From my knowledge amfphp is now vapourware, I am assuming lawsuits etc . PHPObject is the alternative, it however doesnt use the flash remoting component but has its own, it streams serialized data as an array from php classes. the sucky thing is you cant use the remoting

Re: [PHP] Dynamic Generating reports to print

2005-04-23 Thread Dan Rossi
On 24/04/2005, at 12:43 AM, Steve Brown wrote: I used to encounter the same problems with reporting in our business software. You can generate reports and spit out HTML in a new window and have the user print the report from the browser, but that has many drawbacks. It only works with simple

Re: [PHP] Re: reverse MD5 ???

2005-04-22 Thread Dan Rossi
I don't think that's right. Collisions allow certain kinds of cryptographic attacks against things like MD5-based signatures but that is not at all the same as being able to simply determine the original message content from the digest. Rather, they allow you to substitute the original message

Re: [PHP] Re: dynamic class loaders

2005-04-20 Thread Dan Rossi
Thanks this seemed to work except say you had a class Packagename_Classname its trying to load the file like that Packagename_Classname.php On 20/04/2005, at 4:23 PM, Markus Fischer wrote: [EMAIL PROTECTED] wrote: Hi there i was wondering if there is such an extension available or possbility to

Re: [PHP] dynamic class loaders

2005-04-19 Thread Dan Rossi
On 20/04/2005, at 2:52 PM, Richard Lynch wrote: I don't quite see how: ?php require bloated_class.inc; ? can be sped up much... The problem isn't in the require function, but in the Class source bloat... But maybe I'm just being stoopid. First thing first, I am sure you are not new to the

Re: [PHP] How to ignore E_STRICT and E_NOTICE with error_handler callback

2005-04-18 Thread Dan Rossi
already have i was hoping to avoid the if's. E_STRICT was throwing a heap of suggestions for pear packages code ;) On 18/04/2005, at 6:44 PM, Marek Kilimajer wrote: [EMAIL PROTECTED] wrote: Hi there i have an error handler callback within an error class which is also being used for pear errors.

Re: [PHP] Tomcat and php in Suse 9.2

2005-04-15 Thread Dan Rossi
I noticed you never had a reply for this, its probably because this is non standard, or totally not heard of. What I would do, (even though I have yet to try this), is run php standard as a module in apache, but then run the tomcat connector jk or jk2 into apache, so it will run seamlessly.

[PHP] Alternative control structure syntax

2005-04-06 Thread Dan Rossi
Does anyone use it, is it more efficient on the compiler and coding to do this switch($i): case 0: break; endswitch; instead of this ? switch($i) { case 0: break; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] How to call a static class and method dynamically

2005-04-03 Thread Dan Rossi
I was wonderiing how I would go about something like this $class = 'classname'; return $class::staticMethod(); , not happy isnt working. Any ideas lemme know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Connection to Two databases simultaneously

2005-04-02 Thread Dan Rossi
both db's on the same host ? I would try select * from second_db2.theothertable :) On 02/04/2005, at 6:53 PM, Jochem Maas wrote: HarryG wrote: Hi, I am connecting to two database in my index.php. Here is how: @ $db = mysql_connect(localhost, USERLOGIN, USERDBPASS); if (!$db) { print Error:

Re: [PHP] Recommendation for a MySql wrapper class

2005-04-01 Thread Dan Rossi
I have nothing to do with these but I would check out PEAR DB, MDB,MDB2 and ADODB. On 02/04/2005, at 10:41 PM, Ryan A wrote: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Cli gets screwed after OSX update :)

2005-03-31 Thread Dan Rossi
I think I have meantioned this before, but now I have noticed it. Whenever OSX runs an update it screws the PHP5 cli sidewways i got this error again pear install HTTP_Session dyld: /usr/bin/php Undefined symbols: _OnUpdateLong _OnUpdateString _compiler_globals _executor_globals _sapi_globals

[PHP] PHP logo is freaked in phpinfo();

2005-03-31 Thread Dan Rossi
Is someone playing games with me I have a rabbit photo which has taken over the php logo in my phpinfo(), I also saw a dog in a logo on a mirror for the php manual :) Its kinda cute, interested how its done. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Nusoap , wsdl and class methods

2005-03-28 Thread Dan Rossi
Hi there, I am trying to work out how to use the Nusoap package, its pretty cool but a tedious one to configure. What I am attempting to achieve is executing a class method either via standard soap or wsdl and return it as an array or xml. I have attempted to setup a service as

Re: [PHP] PHPXref is awesome!

2005-03-28 Thread Dan Rossi
There is no end user docs for this, its a bit bollox. I do like the idea of @table tags though. Sorry have no time to start reading perl source code. On 29/03/2005, at 12:31 PM, Daevid Vincent wrote: I just have to call out mad props to this project that one of our new hires pointed me at...

Re: [PHP] PHPXref is awesome!

2005-03-28 Thread Dan Rossi
Shit this looks intense, i'll definately be having a go at this. Does it support phpdoc tags ? On 29/03/2005, at 12:31 PM, Daevid Vincent wrote: I just have to call out mad props to this project that one of our new hires pointed me at... http://phpxref.sourceforge.net/ This project is sooo

Re: [PHP] Referer checking is able to be referer spoofed

2005-03-25 Thread Dan Rossi
On 20/03/2005, at 5:40 AM, Marek Kilimajer wrote: If you need only hotlink protection then the current referer checking is just enough. Most users will not install referer spoofing software. But if you need to be 100% sure the videos are streamed through affiliate server, you can use tokens - a

  1   2   >