[PHP] Re: help register domain name

2006-01-09 Thread n.g.
Yeah! its realy realy realy "great", nothing greater.:-D

On 1/9/06, Jim Moseby <[EMAIL PROTECTED]> wrote:
> >
> >
> > Want to know why i call for help?
> > for in this god damned country , anything and everything you want to
> > do, you find you are facing the wall.
> >
>
> Would that be the "great" wall?
>
> JM
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: help register domain name

2006-01-09 Thread n.g.
haha! never mind. im joking.
thanks for you all, i'll find the way out.

On 1/9/06, n.g. <[EMAIL PROTECTED]> wrote:
> Want to know why i call for help?
> for in this god damned country , anything and everything you want to
> do, you find you are facing the wall.
>
>
> On 1/9/06, Barry <[EMAIL PROTECTED]> wrote:
> > n.g. wrote:
> > > hi,
> > > i want to register a domain name through NetworkSolutions.com,
> > > but it require a credit card which i dont have to pay the bill.
> > >
> > > if you have a credit card, i can transfer to your account, and then
> > > you please regiter the domain using my info.
> > >
> > > or if you have any other ways to do so.
> > >
> > > p.s. i live in P.R.China. please make sure i can send money to you.
> > >
> > > anybody would like to help me ?
> >
> > Use paypal
> > www.paypal.com
> >
> > Regards
> > Barry
> >
> > Btw. yes surely best offtopic
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> Tomorrow will be a good day :-)
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: help register domain name

2006-01-09 Thread n.g.
Want to know why i call for help?
for in this god damned country , anything and everything you want to
do, you find you are facing the wall.


On 1/9/06, Barry <[EMAIL PROTECTED]> wrote:
> n.g. wrote:
> > hi,
> > i want to register a domain name through NetworkSolutions.com,
> > but it require a credit card which i dont have to pay the bill.
> >
> > if you have a credit card, i can transfer to your account, and then
> > you please regiter the domain using my info.
> >
> > or if you have any other ways to do so.
> >
> > p.s. i live in P.R.China. please make sure i can send money to you.
> >
> > anybody would like to help me ?
>
> Use paypal
> www.paypal.com
>
> Regards
>   Barry
>
> Btw. yes surely best offtopic
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] help register domain name

2006-01-05 Thread n.g.
hi,
i want to register a domain name through NetworkSolutions.com,
but it require a credit card which i dont have to pay the bill.

if you have a credit card, i can transfer to your account, and then
you please regiter the domain using my info.

or if you have any other ways to do so.

p.s. i live in P.R.China. please make sure i can send money to you.

anybody would like to help me ?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Can't execute external program

2005-11-25 Thread n.g.
or `sample1.new' was created in some other directory, for exampe, the
cwd of apache server process.
do a search to find it , or use full path in your commandh line.

On 11/25/05, n.g. <[EMAIL PROTECTED]> wrote:
> sorry , i have made mistake.
>
> `option +exec' is not required, and there is no such apache option.
>
> maybe you're running php in safe_mode ?
>
>
> On 11/24/05, n.g. <[EMAIL PROTECTED]> wrote:
> > put the executable into another directory rather than DOC_ROOT,
> > maybe you have reached apache security settings.
> > or try add `option +exec' to your apache conf, but be aware this maybe
> > a security problem to your site to do so.
> >
> > On 11/24/05, Henry Castillo <[EMAIL PROTECTED]> wrote:
> > > Hi
> > > Still desperate
> > > DOCUMENT_ROOT is /var/www/html
> > > Check all settings at http://provi.voicenetworx.net:8080/t.php
> > > From the command line it runs perfectly:
> > > [EMAIL PROTECTED] html]# /var/www/html/myprog -E 123456789098.dat 
> > > sample1.txt
> > > sample1.new
> > > (no output, it just creates the file .new)
> > >
> > > Here is the php I've created, fairly simple:
> > >  > > exec("/var/www/html/myprog -E 123456789098.dat sample1.txt
> > > sample1.new");
> > > phpinfo();
> > > ?>
> > >
> > >
> > >
> > > On 11/22/05, n.g. <[EMAIL PROTECTED]> wrote:
> > > >
> > > > is /var/www/html your web root dir ?
> > > > maybe its the plobrem.
> > > >
> > > > On 11/23/05, Henry Castillo <[EMAIL PROTECTED]> wrote:
> > > > > That was on of the first things I checked:
> > > > > safe mode is set to off
> > > > >  Any ideas...
> > > > > Henry
> > > > >   Voip tech said the following on 11/20/2005 10:31 PM:
> > > > > > Hello,
> > > > > > I cannot get exec(), system() or passthru() to run an extenal
> > > program.
> > > > > > From the command line it runs perfectly:
> > > > >
> > > > > 
> > > > >
> > > > > > I'm getting frustrated, Any help will be deeply appreciated
> > > > > > Henry
> > > > >
> > > > > The answer is probably in your php.ini. Look into whether you are
> > > > > running in safe mode or not, and if you are whether you have your
> > > > > program in the safe_mode_exec_dir or not. Also check
> > disable_functions
> > > > > to see if any of the ones you are having trouble with are listed.
> > > > >
> > > > > - Ben
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Tomorrow will be a good day :-)
> > > >
> > >
> > >
> >
> >
> > --
> > Tomorrow will be a good day :-)
> >
>
>
> --
> Tomorrow will be a good day :-)
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Can't execute external program

2005-11-25 Thread n.g.
sorry , i have made mistake.

`option +exec' is not required, and there is no such apache option.

maybe you're running php in safe_mode ?


On 11/24/05, n.g. <[EMAIL PROTECTED]> wrote:
> put the executable into another directory rather than DOC_ROOT,
> maybe you have reached apache security settings.
> or try add `option +exec' to your apache conf, but be aware this maybe
> a security problem to your site to do so.
>
> On 11/24/05, Henry Castillo <[EMAIL PROTECTED]> wrote:
> > Hi
> > Still desperate
> > DOCUMENT_ROOT is /var/www/html
> > Check all settings at http://provi.voicenetworx.net:8080/t.php
> > From the command line it runs perfectly:
> > [EMAIL PROTECTED] html]# /var/www/html/myprog -E 123456789098.dat 
> > sample1.txt
> > sample1.new
> > (no output, it just creates the file .new)
> >
> > Here is the php I've created, fairly simple:
> >  > exec("/var/www/html/myprog -E 123456789098.dat sample1.txt
> > sample1.new");
> > phpinfo();
> > ?>
> >
> >
> >
> > On 11/22/05, n.g. <[EMAIL PROTECTED]> wrote:
> > >
> > > is /var/www/html your web root dir ?
> > > maybe its the plobrem.
> > >
> > > On 11/23/05, Henry Castillo <[EMAIL PROTECTED]> wrote:
> > > > That was on of the first things I checked:
> > > > safe mode is set to off
> > > >  Any ideas...
> > > > Henry
> > > >   Voip tech said the following on 11/20/2005 10:31 PM:
> > > > > Hello,
> > > > > I cannot get exec(), system() or passthru() to run an extenal
> > program.
> > > > > From the command line it runs perfectly:
> > > >
> > > > 
> > > >
> > > > > I'm getting frustrated, Any help will be deeply appreciated
> > > > > Henry
> > > >
> > > > The answer is probably in your php.ini. Look into whether you are
> > > > running in safe mode or not, and if you are whether you have your
> > > > program in the safe_mode_exec_dir or not. Also check
> disable_functions
> > > > to see if any of the ones you are having trouble with are listed.
> > > >
> > > > - Ben
> > > >
> > > >
> > >
> > >
> > > --
> > > Tomorrow will be a good day :-)
> > >
> >
> >
>
>
> --
> Tomorrow will be a good day :-)
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: preg_match_all for dummies

2005-11-24 Thread n.g.
lookbehind assertion require fixed length string as its parameter.
but you intend to put arbitary length string between `)/U'
>
> Which matches
>
> [!keyword::crazy bbcode!]
>
> and not
>
> 
>
> That's a step in the right direction.  But it includes in the match
> keywords within phrases like this:
>
> 
>
> I want to ignore all bbcode within HTML quotes.  How do I do this?
>
>
> thanks
>
> kgt
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Can't execute external program

2005-11-24 Thread n.g.
put the executable into another directory rather than DOC_ROOT,
maybe you have reached apache security settings.
or try add `option +exec' to your apache conf, but be aware this maybe
a security problem to your site to do so.

On 11/24/05, Henry Castillo <[EMAIL PROTECTED]> wrote:
> Hi
> Still desperate
> DOCUMENT_ROOT is /var/www/html
> Check all settings at http://provi.voicenetworx.net:8080/t.php
> From the command line it runs perfectly:
> [EMAIL PROTECTED] html]# /var/www/html/myprog -E 123456789098.dat sample1.txt
> sample1.new
> (no output, it just creates the file .new)
>
> Here is the php I've created, fairly simple:
>  exec("/var/www/html/myprog -E 123456789098.dat sample1.txt
> sample1.new");
> phpinfo();
> ?>
>
>
>
> On 11/22/05, n.g. <[EMAIL PROTECTED]> wrote:
> >
> > is /var/www/html your web root dir ?
> > maybe its the plobrem.
> >
> > On 11/23/05, Henry Castillo <[EMAIL PROTECTED]> wrote:
> > > That was on of the first things I checked:
> > > safe mode is set to off
> > >  Any ideas...
> > > Henry
> > >   Voip tech said the following on 11/20/2005 10:31 PM:
> > > > Hello,
> > > > I cannot get exec(), system() or passthru() to run an extenal
> program.
> > > > From the command line it runs perfectly:
> > >
> > > 
> > >
> > > > I'm getting frustrated, Any help will be deeply appreciated
> > > > Henry
> > >
> > > The answer is probably in your php.ini. Look into whether you are
> > > running in safe mode or not, and if you are whether you have your
> > > program in the safe_mode_exec_dir or not. Also check disable_functions
> > > to see if any of the ones you are having trouble with are listed.
> > >
> > > - Ben
> > >
> > >
> >
> >
> > --
> > Tomorrow will be a good day :-)
> >
>
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Can't execute external program

2005-11-22 Thread n.g.
is /var/www/html your web root dir ?
maybe its the plobrem.

On 11/23/05, Henry Castillo <[EMAIL PROTECTED]> wrote:
> That was on of the first things I checked:
> safe mode is set to off
>  Any ideas...
> Henry
>   Voip tech said the following on 11/20/2005 10:31 PM:
> > Hello,
> > I cannot get exec(), system() or passthru() to run an extenal program.
> > From the command line it runs perfectly:
>
> 
>
> > I'm getting frustrated, Any help will be deeply appreciated
> > Henry
>
> The answer is probably in your php.ini. Look into whether you are
> running in safe mode or not, and if you are whether you have your
> program in the safe_mode_exec_dir or not. Also check disable_functions
> to see if any of the ones you are having trouble with are listed.
>
> - Ben
>
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Execute a program from PHP CLI and allow user interaction

2005-11-22 Thread n.g.
use proc_open , connect stdin/out of php cli to nano, i guess

On 11/23/05, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote:
> Hi all
>
> This one's got me stumped. I'm working on a PHP CLI interface, and I
> need to allow the user to input a bit of HTML.
>
> Rather than bandy around with readline() and the like, I thought it
> would be nice to just create a temporary file, pop nano up, and read and
> then delete the file once it's been edited. That way I get nano's syntax
> highlighting and other useful features.
>
> However, I can't for the life of me figure out how to allow the user to
> interact with nano once the process has been launched. The usual culprits:
>
> {exec,system,shell_exec}( "nano tmpfile.txt" );
>
> all just hang (top shows nano is running, but it doesn't seem to be
> attached to the terminal).
>
> How can I launch a process and attach it to the terminal PHP CLI was
> launched from so that the user can interact with it?
>
> TIA
> --
> Jasper Bryant-Greene
> General Manager
> Album Limited
>
> +64 21 708 334
> [EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Cookie problem with IE

2005-11-22 Thread n.g.
did i say it? sorry, i mean load the page in your customer browser.

the code you give simple test stored cookie, which might be blocked by
browser. however browser blocks stored cookie might allow session
cookie, they are not stored so are less insecurity.

bad thing is your customer have some antivirus/firewall software
installed you even cant rely on http referer header, as well as
cookies.

and you have to do something before you can find out what is
happening, isn't it ?

On 11/22/05, n.g. <[EMAIL PROTECTED]> wrote:
> save below as testcookie.php, request it from your browser twice, what
> do you get at 2nd time?
>   setcookie('sessioncookie', 1);
>setcookie('storedcookie',1,time()+3600);
>
>var_dump($_COOKIE);
>   ?>
>
> On 11/22/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote:
> > Anyone have any suggestions?  I'm still stuck.
> >
> >
> > thanks,
> > kgt
> >
> >
> >
> > Kristen G. Thorson wrote:
> >
> > > I'm having problems with a customer who can't login to a wholesaler
> > > application.  To ensure the problem was that the cookie was not being
> > > set, I sent him to this script:
> > >
> > > if( !isset( $_REQUEST['page'] ) ) {
> > >  setcookie('VATtest','Cookie has been set.',time()+5, "/");
> > >  echo 'Test cookie.';
> > > } else if( $_REQUEST['page'] == '1' ) {
> > >  if( isset( $_COOKIE['VATtest'] ) ) {
> > >echo $_COOKIE['VATtest'];
> > >  } else {
> > >echo 'Cookie NOT set.';
> > >  }
> > > }
> > > ?>
> > >
> > >
> > > He got "Cookie NOT set." which means exactly what it says.  He's using
> > > IE 6.0, and swears up and down that he's set it to always allow
> > > cookies from this domain.  I can't verify that he's set it correctly,
> > > but he has been told twice how to do it.  I also know his browser must
> > > be saving some cookies, as he is able to login to other sites.  Has
> > > anyone run into other sources of cookie-blockage in the past?  I
> > > cannot manage to duplicate this when I have IE set to always allow
> > > cookies from this domain.
> > >
> > > Thanks for any tips,
> > >
> > > kgt
> > >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> Tomorrow will be a good day :-)
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Cookie problem with IE

2005-11-22 Thread n.g.
save below as testcookie.php, request it from your browser twice, what
do you get at 2nd time?
  

On 11/22/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote:
> Anyone have any suggestions?  I'm still stuck.
>
>
> thanks,
> kgt
>
>
>
> Kristen G. Thorson wrote:
>
> > I'm having problems with a customer who can't login to a wholesaler
> > application.  To ensure the problem was that the cookie was not being
> > set, I sent him to this script:
> >
> > if( !isset( $_REQUEST['page'] ) ) {
> >  setcookie('VATtest','Cookie has been set.',time()+5, "/");
> >  echo 'Test cookie.';
> > } else if( $_REQUEST['page'] == '1' ) {
> >  if( isset( $_COOKIE['VATtest'] ) ) {
> >echo $_COOKIE['VATtest'];
> >  } else {
> >echo 'Cookie NOT set.';
> >  }
> > }
> > ?>
> >
> >
> > He got "Cookie NOT set." which means exactly what it says.  He's using
> > IE 6.0, and swears up and down that he's set it to always allow
> > cookies from this domain.  I can't verify that he's set it correctly,
> > but he has been told twice how to do it.  I also know his browser must
> > be saving some cookies, as he is able to login to other sites.  Has
> > anyone run into other sources of cookie-blockage in the past?  I
> > cannot manage to duplicate this when I have IE set to always allow
> > cookies from this domain.
> >
> > Thanks for any tips,
> >
> > kgt
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Convert fake Unicode to real UTF-8

2005-11-03 Thread n.g.
> UTF-8. In the MySQL-Table the text gets
> converted to something like "Га" as an ASCII text.
>
where did you see this, phpmyadmin or mysql cli ?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: ampersand in dom with utf-8

2005-11-03 Thread n.g.
seems that `DomDocument->createTextNode()' accepts only utf-8 string,
try encode the text before pass it to that function.

in browser side, you can view document property,
browser generally allow you to specify any encoding used to view a
page, try get familar with you browser first.

On 11/3/05, jonathan <[EMAIL PROTECTED]> wrote:
> so I decided it would be best just to convert back to the original
> format so for this string:
> $string="braised beef shortribs with sautéed greens, pearl
> onions and horseradish cream"
>
> I do an html_entity_decode($string);
>
> but this still gives me an error when I add it via the DOM functions
> but render with the è in php. If I look at the xml in firefox on a
> mac, it looks like this:
>
> braised beef shortribs with saut?ed greens, pearl onions and
> horseradish cream
>
> I know that this is a basic question but how could I get this go
> through?
>
> Here is how I'm actually adding via the DOMDocument class:
>
>  $name->appendChild($dom->createTextNode
> (html_entity_decode($item_row[slot])));
>  $item->appendChild($name);
>
> Is there any way I could on the client side query the xml string for
> the encoding to be sure that that in fact is utf-8? The first line of
> the generated xml is:
> 
>
> thanks for any help.
>
> -jonathan
>
> On Oct 16, 2005, at 1:36 AM, ac wrote:
>
> > try this,
> > if you need more entities to be included,
> > just refer to
> > `http://www.w3.org/2003/entities/iso8879/isolat1.ent' or find out its
> > charcode by yourself.
> >
> > 
> >  >  
> >  
> > ]>
> > farm lettuces with reed avocado, crème
> >  fraîche, radish and cilantro
> >
> >
> > On 10/13/05, jonathan <[EMAIL PROTECTED]> wrote:
> >
> >> I'm now getting this error:
> >>
> >> XML Parsing Error: undefined entity
> >>
> >> with the following entity at the first ampersand:
> >> farm lettuces with reed avocado, crème
> >> fraîche, radish and cilantro
> >>
> >> Why is an ampersand considered an undefined entity? The xml version
> >> is: 
> >>
> >> Any thoughts please?
> >>
> >> -jonathan
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >>
> >
> >
> > --
> > all born, to be dying
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> >
>
>


--
all born, to be dying

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php