[PHP] PHP5 Bug with DOMDocument-xinclude

2004-07-21 Thread Siddharth Hegde
Hi, Can anyone tell me if they faced a similar problem. When I manually save the following line into an file, it works xi:include href=xml_file.xml parse=xml/ But if I remove this line, and add it dynamically using the following code, and only after that call $xml_file-xinclude(); it does not

Re: [PHP] PHP5 Bug with DOMDocument-xinclude

2004-07-21 Thread Siddharth Hegde
Cool that worked :-) Thanks. BTW your presentation on your site was very useful. - Sid On Wed, 21 Jul 2004 13:25:11 +0200, Christian Stocker [EMAIL PROTECTED] wrote: On Wed, 21 Jul 2004 16:02:54 +0530, Siddharth Hegde [EMAIL PROTECTED] wrote: Hi, Can anyone tell me if they faced

[PHP] (PHP5) Getting parent node from a DOMnode object

2004-07-18 Thread Siddharth Hegde
Hello everyone, I am usinng the following code to convert an xpath to a node. I was wondering if there is any way I can get the parent node of $node from the code below. Is there any other way that I can convert the xpath to the corresponding parent node? ? // Code for loading $dom_doc comes

Re: [PHP] PHP Bug ?

2004-07-03 Thread Siddharth Hegde
While we are on this topic, I have noticed that for only some keys, the following does not work $arr[KEY_NAME] but when I change this to $arr['KEY_NAME'] it works. I seriosuly doubt that KEY_NAME is a restricted keyword as dreamweawer highlights these in different colors and this happens very

Re: [PHP] Password encyption

2004-07-03 Thread Siddharth Hegde
You could use Turck to convert the file to byte code. Not exactly state of the art security as Turck does not have any encryption itself, but definately a better option than plain text. - Sid On Fri, 2 Jul 2004 22:32:24 -0400 (EDT), Michal Migurski [EMAIL PROTECTED] wrote: I realize the key

Re: [PHP] Protecting database passwords

2004-07-01 Thread Siddharth Hegde
Not really a direct solution, but anyways...You could use Turck MMCache to convert the code into bytecode. That way nobody can see the password, atleast not too easily. - Sid On Thu, 01 Jul 2004 16:28:57 +0100, Peter Risdon [EMAIL PROTECTED] wrote: Bob Hockney wrote: Gerben wrote: I

[PHP] PHP5 contest

2004-07-01 Thread Siddharth Hegde
Hi, Does anyone know who to contact if they have any Qs regarding the PHP5 contest. One of the Qs I had - Are we allowed to use Pear library and classes. Thanks, - Sid -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP5 contest

2004-07-01 Thread Siddharth Hegde
Do you mean the Zend PHP5 contest? Yes, Thank you On Thu, 1 Jul 2004 19:28:02 +0100, Richard Davey [EMAIL PROTECTED] wrote: Hello Siddharth, Thursday, July 1, 2004, 7:17:52 PM, you wrote: SH Does anyone know who to contact if they have any Qs regarding the PHP5 SH contest. One of the

[PHP] CSR file

2003-07-03 Thread Siddharth Hegde
Hello, Does any one know how to decode a CSR ( Certificate Signing Request) file in PHP and get the ifo out from the server? - Sid

[PHP] Securing PHP code

2003-06-25 Thread Siddharth Hegde
Hello everyone, I am getting started on a project on PHP that requires very very high levels of security. I cannot give you exact details but the basics is that it deals with credit cards. I want some advice and tips from experts on the following The server will be Red Hat Linux 7.3 1) The

Re: [PHP] newbie: installing gd in php4

2003-02-26 Thread Siddharth Hegde
I think you have installed GD properly. This is actually due to bad documentation. The function is actually imagecreate() not ImageCreate() C the difference? Let me know if this helps - Original Message - From: Anthony Ritter [EMAIL PROTECTED] Date: Wednesday, February 26, 2003 9:45 pm

RE: [PHP] reminder mail when date is within a month of today.

2003-02-25 Thread Siddharth Hegde
-Original Message- From: Petre Agenbag [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 2:38 PM To: [EMAIL PROTECTED] Subject: [PHP] reminder mail when date is within a month of today. HI I'm having a bad thinking day. I know it's going to be a very easy solution, but

RE: [PHP] Re: rewrite rule help anyone?

2003-02-25 Thread Siddharth Hegde
Sorry did not get you there specifically this part ---This: index.php?file=testcmd=displaywhat=all ---Becomes: index-get-file-is-test+cmd-is-display+what-is-all.html Anyway, I have written a rewrite rule to rewrite www.subdomain.some-domain.com to

[PHP] Creating my own super global variables

2003-02-24 Thread Siddharth Hegde
Hello, Is there any way I can creat my very own super global variables? - Sid -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Creating my own super global variables

2003-02-24 Thread Siddharth Hegde
and said: [snip] On Tuesday 25 February 2003 00:07, Siddharth Hegde wrote: Is there any way I can creat my very own super global variables? All variables defined in the global scope can be accessed via $GLOBALS. So: $my_very_own_variable = 'whatnot

[PHP] Retrieving data via a proxy server

2003-02-22 Thread Siddharth Hegde
Hello, I am a bit new to the concept of a proxy server. Could someone tell me how to a) Connect to a Web Server and retrieve data from it b) Connect to an mail server and send an e-mail (via a proxy) I know how to do these tasks without a proxy server, but not behing one. Thanks - Sid --

RE: [PHP] dynamic website screenshot/screen capture

2003-02-22 Thread Siddharth Hegde
My company researched on the topic sometime back. We even did a test run (on our local machines where there are no user restrictions set). The machine running this will need IE 5.x or above and another software (um... forgot its name) that uses this IE engine to capture whatever IE see into an

RE: [PHP] Displaying images

2003-02-22 Thread Siddharth Hegde
I had the same problem. This is due to bad documentation I think. Just ImageCreateFromxxx to imagecreatefromxxx and DW MX will show it as a valid func AND more importantly, it will work. Let me know if this helps - Sid -Original Message- From: Robert Stermer-Cox [mailto:[EMAIL

RE: [PHP] timer problem

2003-02-22 Thread Siddharth Hegde
Just a little curious. Is there any other way other than cron to do this. Is it possible to run a PHP script in an endless loop and when the clock strikes, run another script? - Sid -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Saturday, February 22, 2003