Re: [PHP] safe mode question

2006-01-08 Thread Robin
Doh - I figured it out (for those who were interested). The permissions on /etc/php.ini was set to 600 (owner == root). Changing this it other read, fixes the issue. Any idea why Suse would do this? Thanks -robin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP] safe mode question

2006-01-08 Thread Robin
Hi: I am running PHP 4.3.10 (cli) (built: Dec 11 2005 17:38:29) on SuSe 9.3 - and am having some problems getting some scripts running. php was compiled (by Suse) with: Configure Command => './configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '

[PHP] Question generateing xml on v4.3

2006-01-08 Thread Ted Zeng
Hi, I use OS X tiger which has a PHP v4.3.12 installed. I would like to be able to generate xml files. But when I copied a php script from a tutorial and tried it, Php complaints that domxml_new_doc is undefined function How could that be? Ted zeng -- PHP General Mailing List (http://www.php

[PHP] Re: strip leading zeros

2006-01-08 Thread M. Sokolewicz
Ross wrote: Is there a PHP function to strip the leading zeros from a number/string. R. try casting it to an (int) (if it's a number) and you'll have stripped the 0's (or to a (float)/(double) if it's not an integer) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] Power

2006-01-08 Thread Dotan Cohen
On 1/8/06, Khorosh Irani <[EMAIL PROTECTED]> wrote: > Hello > How I can get the power of an integer number (for example 8 power 2=64) only > with loops (without pow() function)? > Thanks > > Is this for your homework? Untested: Dotan Cohen http://technology-sleuth.com/short_answer/what_is_hdtv.

Re: [PHP] Remove atribute from links

2006-01-08 Thread Dotan Cohen
On 1/8/06, Jared Williams <[EMAIL PROTECTED]> wrote: > > > I have an HTML document at home (the Firefox bookmarks > > output) that I was trying to parse this morning, with many > > links as such: > > http://www.aximsite.com/articles/link.php?id=22"; > > add_date="1130275531" last_charset="windows-1

[PHP] No POST-Data available in Script when Handling ErrorDocument 404

2006-01-08 Thread Oliver Hofer
I wrote a scritpt for testing SOAP-Services. It generates and sends requests to other machines but also receives such requests from other machines in the net.As there are many 'senders' and muc more URL's they are sending their requests to, I intended to write a general SOAP-Request handler, th

[PHP] Power

2006-01-08 Thread Khorosh Irani
Hello How I can get the power of an integer number (for example 8 power 2=64) only with loops (without pow() function)? Thanks

Re: [PHP] strip leading zeros

2006-01-08 Thread Chris
Ross wrote: Is there a PHP function to strip the leading zeros from a number/string. R. You can use ltrim() $sString = '0043680450'; $sString = ltrim($sString,'0'); http://www.php.net/ltrim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

[PHP] strip leading zeros

2006-01-08 Thread Ross
Is there a PHP function to strip the leading zeros from a number/string. R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Image editing?

2006-01-08 Thread Weber Sites LTD
Check out these code examples to start with : http://www.weberdev.com/search.php3?IsSub=1&searchtype=category&category=GD+ image+library&secondary=PHP&PHPFunctions=on Sincerely berber Visit the Weber Sites Today, To see where PHP might take you tomorrow. PHP code examples : http://www.we

RE: [PHP] Remove atribute from links

2006-01-08 Thread Jared Williams
> I have an HTML document at home (the Firefox bookmarks > output) that I was trying to parse this morning, with many > links as such: > http://www.aximsite.com/articles/link.php?id=22"; > add_date="1130275531" last_charset="windows-1252" > id="rdf:#$FOQot">Knowledge Base: What Can I Do With My

[PHP] Remove atribute from links

2006-01-08 Thread Dotan Cohen
I have an HTML document at home (the Firefox bookmarks output) that I was trying to parse this morning, with many links as such: http://www.aximsite.com/articles/link.php?id=22"; add_date="1130275531" last_charset="windows-1252" id="rdf:#$FOQot">Knowledge Base: What Can I Do With My Axim? I want t

[PHP] Re: thought stdin was supposed to default open

2006-01-08 Thread M. Sokolewicz
matt V wrote: hello, I read that in the cli version of php, the 3 files, sterror, stdout and stdin are already open thus saving having to open them and close them each time. Well, I decided to test that idea and it appears that stdin infact is not pre-opened, but my code may be wrong too, who