Re: [PHP] question
is_string() Le jeu 25/03/2004 à 15:08, Lourenzo Dias a écrit : > Hey, there. > I'm a new php student from Brazil, and sorry about my ignorance writing > in English. > I'd like to know if exists any function in php that identifies a string > as a-z, like is_num() to the numbers. > > Thanks, > > Lourenzo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPSESSID in passthru
Sorry, but I tried this : session.use_cookies = 0 in php.ini and I have always the bug. And if I use htmldoc on command line with same args it works fine. Could php forbidden using of PHPSESSID ? Nicolas Le mar 23/03/2004 à 16:37, Raditha Dissanayake a écrit : > Guillouet Nicolas wrote: > > >Hi, > >I discover a surprising thing with PHPSESSID, I try something like this > >: > > > >$var="htmldoc -t html --quiet '' > >'https://login:[EMAIL > >PROTECTED]/file.php?documentIdent=157&typeAffiche=3&PHPSESSID=068dd351a106bb6ead80e11a27f75100'"; > >echo 'var='.$var; > >passthru($var); > > > > > >passthru is waiting for and don't give the result. > > > >In the other hand, if I use an other word than PHPSESSID it works. It > >seems to be a security constraint, how can I do to forcing PHP to use it > >? > > > > > > > Could be that your sessions are set up to work with cookies, this > mechanism that you are using will not send the cookie to the browser and > thus it causes the wait state. > > > > > > -- > Raditha Dissanayake. > - > http://www.radinks.com/print/upload.php > SFTP, FTP and HTTP File Upload solutions -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHPSESSID in passthru
Hi, I discover a surprising thing with PHPSESSID, I try something like this : $var="htmldoc -t html --quiet '' 'https://login:[EMAIL PROTECTED]/file.php?documentIdent=157&typeAffiche=3&PHPSESSID=068dd351a106bb6ead80e11a27f75100'"; echo 'var='.$var; passthru($var); passthru is waiting for and don't give the result. In the other hand, if I use an other word than PHPSESSID it works. It seems to be a security constraint, how can I do to forcing PHP to use it ? Thanks Nicolas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] passthru and GET parameters
Hi all, I am trying to use htmldoc with passthru function : passthru("htmldoc -t html --quiet --jpeg --webpage --footer --bottom 0.2cm --left 1.78cm --right 1cm --top 0.2cm '' $options $filename"); where $filename is urls, it works fine but not with GET pamameters : if $filename is like 'http://host/file.php?PHPSESSID=**&value=1', passthru is waiting for the command. I think the trouble comes from the char '&', I have the same result on command line except if I use quote for the filename. And when I watch the process created by apache, the command is send without quote or quotation mark even if I put some in the filename. How can I do ? Thanks Nicolas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php