php-general Digest 2 Jul 2008 14:04:44 -0000 Issue 5546
Topics (messages 276206 through 276223):
Re: V4 Vs V5 Issue
276206 by: Neil
276212 by: Neil
PHP-CLI and the "less" command (kubuntu)
276207 by: Mattias Thorslund
276218 by: Stut
276223 by: Mattias Thorslund
Re: Strategy to protect images
276208 by: Bastien Koert
276213 by: Børge Holen
Re: CURL de-bugging: So why am I not getting the results page on the target
site?
276209 by: Chris
276210 by: Chris
276211 by: Andrew Ballard
276221 by: ioannes
Re: Splitting up long URLs
276214 by: Jason Norwood-Young
276215 by: Jason Norwood-Young
Session variables disappear (some of them only)
276216 by: karma
Re: [SPAM] [PHP] FIFO files on PHP?
276217 by: Chris Scott
URL Rewrite
276219 by: Subhranil
276220 by: Per Jessen
276222 by: Bastien Koert
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Thanks Jim
Two things come to mind.
1) Is their any PHP inside you javascript file that needs to be
parsed? And if so, is the new V5 install configured in such a way
that it parses/processes javascript files? where the old install was
processing javascript files. This would be a configuration issue
from the actual web server POV. i.e. Apache, lighttpd,
etc... Once reconfigured, make sure you restart your web server.
Yes there is PHP inside the javascript that is being passed. As an
exorcise I was just looking at deleting it all out of the code and
seeing what happens, however it is everywhere.
The Webserver with the V5 PHP is Apache 2.2.4, but I can not really
see where I would make the changes you are suggesting.
The older server with V4 is Apache 1.34.4
2) Is your code using short tags in php? This allows the programmer
to use <? instead of <?php . In this case you might want to
enable short tags in the new version of PHP. I think php 5 comes
with short tags disabled and version 4 had it enabled by
default. This setting would be found in your php.ini file on the
server. If you need to change the setting, make sure you restart
your httpd server before testing.
Short tags is enabled and working.... most of the application is short tagged.
Cheers
Neil
Just a couple of thoughts
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--- End Message ---
--- Begin Message ---
Thanks Jim
Will add some more to this.
The PHP that is parsed inside this file and the JS is I think working
correctly because the values are populated in the JavaScript output
that is being displayed in the IE source viewer.
For instance there is a stack of variable that are defined up front,
these get information from PHP, these have the same information as
the V4 server and I can therefore only presume the correct information.
Cheers N
Two things come to mind.
1) Is their any PHP inside you javascript file that needs to be
parsed? And if so, is the new V5 install configured in such a way
that it parses/processes javascript files? where the old install was
processing javascript files. This would be a configuration issue
from the actual web server POV. i.e. Apache, lighttpd,
etc... Once reconfigured, make sure you restart your web server.
Yes there is PHP inside the javascript that is being passed. As an
exorcise I was just looking at deleting it all out of the code and
seeing what happens, however it is everywhere.
The Webserver with the V5 PHP is Apache 2.2.4, but I can not really
see where I would make the changes you are suggesting.
The older server with V4 is Apache 1.34.4
2) Is your code using short tags in php? This allows the programmer
to use <? instead of <?php . In this case you might want to
enable short tags in the new version of PHP. I think php 5 comes
with short tags disabled and version 4 had it enabled by
default. This setting would be found in your php.ini file on the
server. If you need to change the setting, make sure you restart
your httpd server before testing.
Short tags is enabled and working.... most of the application is short tagged.
Cheers
Neil
Just a couple of thoughts
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi everyone,
I have a CLI application that produces lots of output to the terminal,
so I like to send the output along to the "less" command. This has
always worked very nicely. Moving to the top or bottom of the output
used to require just hitting the "home" or "end" key, and the up and
down arrows as well as page up and page down worked nicely.
After upgrading to Hardy on Kubuntu, the behavior changed. Now, it seems
to preempt the navigation and instead print ugly codes for each press on
a "navigational key" (one of those mentioned above), such as ^[OF. When
I press "enter", the desired scroll is executed. Scrolling up and down
is one thing, but it's particularly a pain when trying to search through
the output, as it would no longer look up previous search arguments.
I thought at first it's a problem with Konsole, my terminal program, or
with "less" itself. But I've now tried in different terminal programs,
and reading output other than output from PHP, and the ONLY time it
happens is when I pipe output from PHP to "less". I have added a small
test script that exhibits the problem on my system. It may work well the
first time, but when repeating the same command a second time, the
"weird" behavior starts.
It could very well be some kind of problem with "less", but since I can
only reproduce the problem with output from PHP CLI, I thought it's
worth asking here.
Did something about PHP CLI output change lately?
My test script:
<?php
$count = 0;
while ($count < 100){
echo "This is line number $count\n";
$count++;
}
?>
Execute like so:
$ php test.php | less
First time might work without problem, but subsequent times not.
Thanks for any feedback and observations.
Mattias
--- End Message ---
--- Begin Message ---
On 2 Jul 2008, at 02:58, Mattias Thorslund wrote:
Hi everyone,
I have a CLI application that produces lots of output to the
terminal, so I like to send the output along to the "less" command.
This has always worked very nicely. Moving to the top or bottom of
the output used to require just hitting the "home" or "end" key, and
the up and down arrows as well as page up and page down worked nicely.
After upgrading to Hardy on Kubuntu, the behavior changed. Now, it
seems to preempt the navigation and instead print ugly codes for
each press on a "navigational key" (one of those mentioned above),
such as ^[OF. When I press "enter", the desired scroll is executed.
Scrolling up and down is one thing, but it's particularly a pain
when trying to search through the output, as it would no longer look
up previous search arguments.
I thought at first it's a problem with Konsole, my terminal program,
or with "less" itself. But I've now tried in different terminal
programs, and reading output other than output from PHP, and the
ONLY time it happens is when I pipe output from PHP to "less". I
have added a small test script that exhibits the problem on my
system. It may work well the first time, but when repeating the same
command a second time, the "weird" behavior starts.
It could very well be some kind of problem with "less", but since I
can only reproduce the problem with output from PHP CLI, I thought
it's worth asking here.
Did something about PHP CLI output change lately?
This has nothing to do with PHP. The keystrokes are processed by less
so your problem lies there or more likely with the terminal emulation
you're using. Please try a more relevant list.
-Stut
--
http://stut.net/
--- End Message ---
--- Begin Message ---
Stut wrote:
On 2 Jul 2008, at 02:58, Mattias Thorslund wrote:
Hi everyone,
I have a CLI application that produces lots of output to the
terminal, so I like to send the output along to the "less" command.
This has always worked very nicely. Moving to the top or bottom of
the output used to require just hitting the "home" or "end" key, and
the up and down arrows as well as page up and page down worked nicely.
After upgrading to Hardy on Kubuntu, the behavior changed. Now, it
seems to preempt the navigation and instead print ugly codes for each
press on a "navigational key" (one of those mentioned above), such as
^[OF. When I press "enter", the desired scroll is executed. Scrolling
up and down is one thing, but it's particularly a pain when trying to
search through the output, as it would no longer look up previous
search arguments.
I thought at first it's a problem with Konsole, my terminal program,
or with "less" itself. But I've now tried in different terminal
programs, and reading output other than output from PHP, and the ONLY
time it happens is when I pipe output from PHP to "less". I have
added a small test script that exhibits the problem on my system. It
may work well the first time, but when repeating the same command a
second time, the "weird" behavior starts.
It could very well be some kind of problem with "less", but since I
can only reproduce the problem with output from PHP CLI, I thought
it's worth asking here.
Did something about PHP CLI output change lately?
This has nothing to do with PHP. The keystrokes are processed by less
so your problem lies there or more likely with the terminal emulation
you're using. Please try a more relevant list.
-Stut
I agree the keystrokes are processed by less. This is probably more a
problem with "less". Yes I will ask on other lists as well.
I thought it was irrelevant to PHP until I tried to provoke the same
behavior by reading large files or other console input. Nope, only PHP
output does it, so I figured someone here might have encountered this
behavior too.
Mattias
Maybe you didn't
--- End Message ---
--- Begin Message ---
On Tue, Jul 1, 2008 at 2:16 PM, Stefano Esposito <[EMAIL PROTECTED]> wrote:
> On Tue, 01 Jul 2008 19:59:20 +0200
> Børge Holen <[EMAIL PROTECTED]> wrote:
>
> > On Tuesday 01 July 2008 13:34:28 Nitsan Bin-Nun wrote:
> > > Umm have you ever thought about watermark-ing it? (In case its not
> > > a part of your website or something..)
> >
> > heh, this dude got way to much time on his hands... ;D
> >
>
> This dude has commitments, and watermark is not an option.
>
>
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Vasco è tornato! Sul tuo cellulare Il mondo che vorrei
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?midw49&d1-7
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
since the image is sent to the client browser, anyone with enough brains to
look in the cache will be able to access the image. What about setting the
image to show only inside a flash viewer with ming?
--
Bastien
Cat, the other other white meat
--- End Message ---
--- Begin Message ---
On Wednesday 02 July 2008 04:39:57 Bastien Koert wrote:
> On Tue, Jul 1, 2008 at 2:16 PM, Stefano Esposito <[EMAIL PROTECTED]> wrote:
> > On Tue, 01 Jul 2008 19:59:20 +0200
> >
> > Børge Holen <[EMAIL PROTECTED]> wrote:
> > > On Tuesday 01 July 2008 13:34:28 Nitsan Bin-Nun wrote:
> > > > Umm have you ever thought about watermark-ing it? (In case its not
> > > > a part of your website or something..)
> > >
> > > heh, this dude got way to much time on his hands... ;D
> >
> > This dude has commitments, and watermark is not an option.
> >
> >
> > --
> > Email.it, the professional e-mail, gratis per te: http://www.email.it/f
> >
> > Sponsor:
> > Vasco è tornato! Sul tuo cellulare Il mondo che vorrei
> > Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?midw49&d1-7
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> since the image is sent to the client browser, anyone with enough brains to
> look in the cache will be able to access the image. What about setting the
> image to show only inside a flash viewer with ming?
I hope flash dies out in a silent bang. However, why he is going throught
every nonsecure option trying to keep some images safe instead of either
don't put them out at all or using flash as the easy way out is beyond me
--
---
Børge Holen
http://www.arivene.net
--- End Message ---
--- Begin Message ---
ioannes wrote:
> I didn't get any brave response on this, but given the other thread on
> 'encription' I was wondering could anyone decrypt the __VIEWSTATE string
> at the end of this message. It is part of the input page whose results
> page I am trying to retrieve back onto my server for further php work.
> I replicated the source from that input page onto a page on my server,
> and when I click the submit button it correctly goes to the target
> results page, on the other site though, however it did not work without
> the whole of the string below. The experiment proved though that
> without the __VIEWSTATE the results page will not return. So I am just
> wondering, as I have not been able to repeat this using curl, what the
> **** is included in that string. There's a challenge for anyone with
> whatever resources it takes.
echo base64_decode($view_state_string);
viewstate in asp.net is like sessions in php (I believe, I could be
completely wrong :P).
--
Postgresql & php tutorials
http://www.designmagick.com/
--- End Message ---
--- Begin Message ---
Chris wrote:
> ioannes wrote:
>> I didn't get any brave response on this, but given the other thread on
>> 'encription' I was wondering could anyone decrypt the __VIEWSTATE string
>> at the end of this message. It is part of the input page whose results
>> page I am trying to retrieve back onto my server for further php work.
>> I replicated the source from that input page onto a page on my server,
>> and when I click the submit button it correctly goes to the target
>> results page, on the other site though, however it did not work without
>> the whole of the string below. The experiment proved though that
>> without the __VIEWSTATE the results page will not return. So I am just
>> wondering, as I have not been able to repeat this using curl, what the
>> **** is included in that string. There's a challenge for anyone with
>> whatever resources it takes.
>
> echo base64_decode($view_state_string);
or maybe
print_r(base64_decode($view_state_string));
I don't know if it will return a string or an array or something else.
--
Postgresql & php tutorials
http://www.designmagick.com/
--- End Message ---
--- Begin Message ---
On Tue, Jul 1, 2008 at 5:23 PM, ioannes <[EMAIL PROTECTED]> wrote:
> I didn't get any brave response on this, but given the other thread on
> 'encription' I was wondering could anyone decrypt the __VIEWSTATE string at
> the end of this message. It is part of the input page whose results page I
> am trying to retrieve back onto my server for further php work. I
> replicated the source from that input page onto a page on my server, and
> when I click the submit button it correctly goes to the target results page,
> on the other site though, however it did not work without the whole of the
> string below. The experiment proved though that without the __VIEWSTATE the
> results page will not return. So I am just wondering, as I have not been
> able to repeat this using curl, what the **** is included in that string.
> There's a challenge for anyone with whatever resources it takes.
>
> John
>
>
> ioannes wrote:
>>
>> For those that like CURL and calendars.
>> ...........................................
>>
>> VIEWSTATE
>>
>> curl_setopt($ch,
>> CURLOPT_POSTFIELDS,"__VIEWSTATE=/wEPDwUKMTMyMjM3NTUzNw9kFgZmDxYCHgRUZXh0BYcMPHRhYmxlIGFsaWduPSJjZW50ZXIiIGNlbGxwYWRkaW5nPSIwIiBjZWxsc3BhY2luZz0iMCIgYm9yZGVyPSIwIj48dHI+PHRkPg0KPHVsIGlkPSJza2lwIj4NCiA8bGk+PGEgaHJlZj0iI21haW4iPlNraXAgdG8gbWFpbiBjb250ZW50PC9hPjwvbGk+DQo8L3VsPg0KPGRpdiBpZD0id3JhcHBlciIgY2xhc3M9ImNsZWFyIj4N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o8cCBpZD0iZm9vdGVyIj48YSBocmVmPSJodHRwOi8vd3d3LmRvbHBoaW5zcXVhcmUuY28udWsvaG91c2UvdGVybXMucGhwIiB0aXRsZT0iUmVhZCBvdXIgdGVybXMgYW5kIGNvbmRpdGlvbnMiPlRlcm1zIGFuZCBjb25kaXRpb25zPC9hPiB8IDxhIGhyZWY9Imh0dHA6Ly93d3cuZG9scGhpbnNxdWFyZS5jby51ay9ob3VzZS9zaXRlbWFwLnBocCIgdGl0bGU9IlZpZXcgdGhlIHNpdGVtYXAiPlNpdGVtYXA8L2E+PC9wPgo8L2Rpdj4NCjwvdGQ+PC90cj48L3RhYmxlPmRk3olXT9sK3/WmfcohYIY5fZQuFMQ=");
>>
That is ASP.NET's way of preserving the view state of a web form from
one request to another. I'm not positive, but I think it's just a
base64 encoded string. It isn't the equivalent of sessions in PHP, as
ASP.NET has its own session handler. I think it would be more
equivalent to storing a Zend_Form object in PHP sessions so that it
can handle events from page to page.
Andrew
--- End Message ---
--- Begin Message ---
Thanks Chris and Andrew,
An interesting article here on VIEWSTATE in asp:
http://www.dotnetjohn.com/articles.aspx?articleid=71 refers to MAC
encoding using SHA1 or MD5, alternatively Triple DES symmetric
algorithm. However, in either event, VIEWSTATE seems to be just what is
sent by the server which the server expects to receive back unmodified.
I tried the same input form as on the target server on a test page on my
site with the action on the form to the target server and that works OK
to get the results page on the target server. I have also tested on my
server that the CURL POST variables are giving sensible inputs like the
ones that the page would produce on GET. In the process, I also learned
that colons in the POST variable names don't need to be changed for HTML
encoding, spaces in the variable values do need to be, anyway the POST
variables seem to work OK as I said. Whatever is or is not being sent
by the script as opposed to the input form on a test page of my site is
the difference that I am looking for. I will try another site see can I
learn anything in the process.
Oh, and decoding the string as suggested
(print_r(base64_decode($view_state_string));) gives one value in the
array and a mixture of English and other characters plus most of the
page: eg d....2Ö8ÿÿÿÿ Version=0.0.0.0, and other
characters that do not copy to this email etc. As above, I don't see
that this is interfering with CURLing the results page if it is simply
sent back in the post.
John
--- End Message ---
--- Begin Message ---
On Tue, 2008-07-01 at 13:26 -0700, Brian Dunning wrote:
> I have a web page that lists "most recent comments" in a left margin.
> Sometimes people post long URLs, or even just really really long
> words, that force that margin to display way too wide, screwing up the
> page layout. Is there a way to make sure URLs or other text in a
> string gets split up so this doesn't happen?
>
> If there's a CSS solution that's better than a PHP solution I'll take
> that too. :-)
>
For URLs you can do a tinyurl-type solution. Quite easy in fact. Just
save the long url in a db table, along with a short url (say a
4-character random string). Then do a page that looks up the short url
and redirects to a long url (eg. http://www.myblog.com/r?id=Sve7
redirects to http://www.veryverylongurl.com/blahblahblah.php). For extra
points you can make the short url look like http://tiny.myblog.com/Sve7.
Just remember to put the short url creation in a loop that checks that
the short url isn't in the DB already and repeat if it is.
For long words, you could explode the words into an array, and if the
words are longer than a certain length, insert a hyphen and space for
your wrap. Then just implode back into your string and bob's your uncle.
Anyhow that's how I'd do it.
J
--- End Message ---
--- Begin Message ---
On Wed, 2008-07-02 at 08:23 +0200, Jason Norwood-Young wrote:
> For URLs you can do a tinyurl-type solution.
Dur, just realised it's only *display* that you're worried about so
shortening the url isn't really an issue. It's too early in the
morning...
--- End Message ---
--- Begin Message ---
Hi !
I have a very weird issue since the last Apache upgrade (-> 2.2.8-r3, a month ago), but I'm not sure it is related (well, I'm
pretty sure it's not).
Like many people, I've written an application that use PHP session variables, like
$_SESSION["my_variable"].
Sometimes (it doesn't happen all the time), _some_ of these variables are not written in the session file and they are lost
after a simple header("Location:...); (same domain). The session file is in the right directory (permissions are fine), but some
of my variables are missing.
The facts :
- Apache 2.2.9 + PHP 5.2.6_rc4 running on a Gentoo (up-to-date)
- all my scripts begin with session_start(). I've tried to add session_write_close() before every header(Location:...) call, it
doesn't help.
- I didn't change anything in my program (it has been running just fine for 2 years), it just began to fail from time to time (I
would say 10 times a day). There is no hidden unset() function : it would fail for everyone.
- these variables are all set correctly, and they don't have reserved names.
- only a few variables disappear, but they are always the same ones (could it
depend on their position in the session file ?!?)
- the session files are very small (max 100ko)
- it seems that it doesn't depend on the browser, but IE6 and IE7 seem to be the most affected ones (it may be because my users
mostly use these browsers).
- I can't reproduce this issue from my local network (any OS/browser - it would
be too easy :)
- reverting to the previous stable Apache and/or PHP versions doesn't help.
- I didn't change any php.ini directive.
Any idea ?
Thanks !
PS: if you need more details, just ask. The only thing I can't do is pasting
the code : the scripts are quite huge.
--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: Waynn Lue [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 01, 2008 11:06 PM
> To: [EMAIL PROTECTED]
> Subject: [SPAM] [PHP] FIFO files on PHP?
> Importance: Low
>
> I'm trying to build a queue out using FIFO files (someone on the MySQL
> list suggested checking them out instead of using the database), but
> I'm running into a problem because of the synchronous fwrite call.
> Here's the code:
>
> $fifoFile = '/tmp/fifo';
> if (!file_exists($fifoFile)) {
> posix_mkfifo($fifoFile, 0600);
> }
> $fp = fopen($fifoFile, "w");
> fwrite($fp, "content");
> fclose($fp);
>
> But this will block until something actually reads the pipe. Is there
> any way to write to the pipe, then go away as opposed to waiting until
> something consumes it? Otherwise, I may just go back to a database
> table.
>
> Thanks,
> Waynn
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
Fifo nodes are equivalent to a pipe (|) and have no size on the file
system and therefore the write won't finish until some process reads
from the node. See the man page http://linux.die.net/man/7/fifo .
--- End Message ---
--- Begin Message ---
Hi All,
I want to show one URL at browser and content of different URL.
Like user can see the URL at address bar like http://localhost/test/home/
or http://localhost/test/tech/php/ but content of page will be
http://localhost/test/index.php
The URL of the address bar will never change to
http://localhost/test/index.php
Still a newbie!
Thanks,
Subhranild.
--
View this message in context:
http://www.nabble.com/URL-Rewrite-tp18233803p18233803.html
Sent from the PHP - General mailing list archive at Nabble.com.
--- End Message ---
--- Begin Message ---
Subhranil wrote:
>
> Hi All,
>
> I want to show one URL at browser and content of different URL.
>
Take a look at apache url rewriting.
/Per Jessen, Zürich
--- End Message ---
--- Begin Message ---
On Wed, Jul 2, 2008 at 6:33 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> Subhranil wrote:
>
> >
> > Hi All,
> >
> > I want to show one URL at browser and content of different URL.
> >
>
>
> Take a look at apache url rewriting.
>
>
> /Per Jessen, Zürich
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
You could look at using an iframe or frames in general, or ajax call into a
div
--
Bastien
Cat, the other other white meat
--- End Message ---