php-general Digest 21 Jun 2006 15:47:43 - Issue 4198
Topics (messages 238452 through 238473):
Re: comparing a string
238452 by: yangshiqi1089
helping people...
238453 by: Jochem Maas
238455 by: Barry
238456 by: Rob W.
238459 by: Matthew Pegg
helping some people will get you no end of trouble.
and so it seems as though I'm going to be DoSSed by someone who uses
Outlook Express as their mail client. I guess it's monday somewhere.
Original Message
From: - Wed Jun 21 01:47:39 2006
X-Mozilla-Status: 0001
weetat schrieb:
Hi all,
I have 2 php page , whenever i click the submit in 1st page , the
$_SESSION['LIST_OF_DATA'] display nothing in the 2nd page.
If i do echo print_r($_SESSION['LIST_OF_DATA']) in first page , it
displayed the data correctly.
Anybody have any ideas why php session
Jochem Maas schrieb:
helping some people will get you no end of trouble.
and so it seems as though I'm going to be DoSSed by someone who uses
Outlook Express as their mail client. I guess it's monday somewhere.
It's the email from Rob W.
See further down in this list.
Barry
--
Smileys
No that wasnt a ddos threat you idiot, i dont play them games.
And when you keep sending spam is when it starts to piss people off.
- Original Message -
From: Jochem Maas [EMAIL PROTECTED]
To: [php] PHP General List php-general@lists.php.net
Sent: Wednesday, June 21, 2006 1:55 AM
In my phpinfo() I get (under standard):
Dynamic Library support not available
I can't seem to get PHP to be configured to allow dynamic libraries. My
php.ini is:
enable_dl=1
extension_dir=/usr/local/lib/php/extensions/no-debug-zts-20050922/
extension=logmanager.so
And myconfigure line is:
yes i am
Thank for you help
Barry wrote:
weetat schrieb:
Hi all,
I have 2 php page , whenever i click the submit in 1st page , the
$_SESSION['LIST_OF_DATA'] display nothing in the 2nd page.
If i do echo print_r($_SESSION['LIST_OF_DATA']) in first page , it
displayed the data correctly.
Subject: Re: [PHP] helping people...
No that wasnt a ddos threat you idiot, i dont play them games.
And when you keep sending spam is when it starts to piss people off.
Rob W: Seriously mate, you are way... way outa line here.
I've only used this list once and all I can say is...thank god
weetat schrieb:
Let me take a guess:
Your FORM action is action=http://
Barry
yes i am
Thank for you help
Ookay ... no problem ... probably .
Barry
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General Mailing List (http://www.php.net/)
Michael Satterwhite wrote:
Prathaban Mookiah wrote:
Micheal,
I ran into this problem too. A easy workaround is to right click and
choose 'save as' which worked for me.
I wish that would work. The URL is along the lines of
a href=easy.php?download=streamdltype=full - and it's this that
On windows, allow Apache service to interact with the desktop... in
the services manager GUI
Rgds
Venkat
**
Greetings!
I was using popen and pclose on a previous version of PHP on Windows with an
older version of Apache (2.x). ( I think it was 4.4.1 but will need to check
as
(sorry for the duplicate response Parathaban, forgot to reply to the
list)
Look at example 4 from http://us3.php.net/function.mail
$headers = 'MIME-Version: 1.0' . \r\n;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . \r\n;
That should get you started.
On Jun 20, 2006, at
Hello all,
I am developing a script which converts the xhtml to pdf. Now the problem is
:
I am applying multiple fonts in this script according to HTML Font Tag
but when pdf is generated the pdf file gives error The Font Name of font
Contain a bad /BBox..
So please advice me what should i do
After trying to compile my custom extension as a dynamic extension, I
decided to try to compile it as a static one. I found out that I have to
copy the directory with the sources and the config.m4 to the ext
directory under the source dir and call ./buildconf --force to rebuild
the configure
sounds like you know more about this stuff than I do, but
I thought I might suggest to remove the threadsafe/pthreads/optimization
related configure options to see if the problem then goes away...
this suggestion is based on the fact that php and threadsafety stuff is
kind of 'bleedingedge' ...
Jochem Maas wrote:
Michael Satterwhite wrote:
Prathaban Mookiah wrote:
Micheal,
I ran into this problem too. A easy workaround is to right click and
choose 'save as' which worked for me.
I wish that would work. The URL is along the lines of
a href=easy.php?download=streamdltype=full - and
Rob W. wrote:
No that wasnt a ddos threat you idiot, i dont play them games.
So what was your threat then Robbie?
Here's an idea, do your own damn homework. And if all you're going to
do here is cry like a little girl*, do us a favor and STFU.
*sorry to give all the little girls a bad
On 6/21/06, Michael Satterwhite [EMAIL PROTECTED] wrote:
Jochem Maas wrote:
Michael Satterwhite wrote:
Prathaban Mookiah wrote:
Micheal,
I ran into this problem too. A easy workaround is to right click and
choose 'save as' which worked for me.
I wish that would work. The URL is along the
Michael Satterwhite wrote:
Jochem Maas wrote:
Michael Satterwhite wrote:
Prathaban Mookiah wrote:
Micheal,
I ran into this problem too. A easy workaround is to right click and
choose 'save as' which worked for me.
I wish that would work. The URL is along the lines of
a
this is a weird thread, so I thought I'd add another OT comment :-)...
MOKULEN_IMADICA wrote:
Dear Lyan and Tedd.
yes,it is exactly.We,the japanese,don't create one like PHP and Linux
sushi, samurai, walkman, ruby - +4 for the japanese :-)
oh and I saw the craziest japanese robots in a
Rob W. wrote:
No that wasnt a ddos threat you idiot, i dont play them games.
And when you keep sending spam is when it starts to piss people off.
- Original Message - From: Jochem Maas [EMAIL PROTECTED]
To: [php] PHP General List php-general@lists.php.net
Sent: Wednesday, June 21, 2006
Rafael wrote:
(inline)
Adam Zey wrote:
Rafael wrote:
A single = it's an assignment, not a comparison; and though it
sometimes work, you shouldn't compare strings with ==, but using
string functions, such as strcmp()... or similar_text(), etc.
This is PHP, not C. Operators such as ==
-Original Message-
From: Michael Satterwhite [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 20, 2006 8:32 PM
To: PHP Users
Subject: [PHP] Stream download problem
I have a site that generates a file to be streamed down. The relevant
code is:
[EMAIL PROTECTED] wrote:
Content Filter @ AIT Batam has detect violation of the PROFANITY rule, and
Quarantine entire message has been taken on 21-Jun-2006 22:49:25.
Message details:
Server:BTMAIL
Sender: [EMAIL PROTECTED];
Recipient:[EMAIL PROTECTED];php-general@lists.php.net;
Subject:Re:
-Original Message-
From: Michael Satterwhite [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 12:11 PM
To: Kristen G. Thorson
Subject: Re: [PHP] Stream download problem
Kristen G. Thorson wrote:
-Original Message-
From: Michael Satterwhite [mailto:[EMAIL
Hello,
First off, I admit this is not going to be as
interesting as the helping someone thread, and
hopefully there is not going to be any talk of DDOS or
flaming
:-p
Ok, here goes, I have never done anything _exactly_
like this but since typo 3 has this kind of
functionality (and i have never
Quoting Ryan A [EMAIL PROTECTED]:
Hello,
First off, I admit this is not going to be as
interesting as the helping someone thread, and
hopefully there is not going to be any talk of DDOS or
flaming
:-p
Ok, here goes, I have never done anything _exactly_
like this but since typo 3 has this
Hello,
There is an EXCELLENT article at MySQL.com that talks about storing
hierarchal data, which is exactly what you want to do. The theory is not
MySQL specific, so you can apply it to any database system. It covers two
techniques, one of which Philip Thompson covered, and another that I
Adam Zey wrote:
[EMAIL PROTECTED] wrote:
Content Filter @ AIT Batam has detect violation of the PROFANITY rule,
and Quarantine entire message has been taken on 21-Jun-2006 22:49:25.
Message details:
Server:BTMAIL
Sender: [EMAIL PROTECTED];
Recipient:[EMAIL
How can you use XML_Serializer to generate XML with multiple levels ?
XML_Serializer seems really useful for single level XML docs like:
parent
child/
child/
child/
/parent
How can I get XML_Serializer to do something like the below ?
parent
child
Ryan,
I have run into a similar problem with one of the
sites I'm designing.
Here's the approach I took. You can see if it fits
your needs.
Here's an example of
what I have:
MID NAMEPARENT_ID LOCATION
1Homenull index.php
2Productsnull
This is the output from ?php var_dump(gd_info()); ?. As far as I can tell,
jpeg support is enabled. It also says it is if I run phpinfo(). Yet is still
doesn't work.
Anyone know of a way I can test this further. A small script perhaps.
Thanks
array(11) { [GD Version]= string(27) bundled
You could use a recursive function and keep it all in one table.
My Table is similar to the one below:
ID NAMEPID DISPLAY_ORDER
Here's crude recursive function to display this in a list typical of what
you used to style a menu. The great thing about this is that you could have
my mail server just overheated John :-)
John Nichel wrote:
Adam Zey wrote:
[EMAIL PROTECTED] wrote:
Content Filter @ AIT Batam has detect violation of the PROFANITY
rule, and Quarantine entire message has been taken on 21-Jun-2006
22:49:25.
Message details:
Server:BTMAIL
Sender: [EMAIL
hi Ryan,
(btw: if this thread needs spicing up with DoS threats give me a shout
and I'll see if can come up with something ;-)
with regard to your original question/comments - do not go the route of
using 2 tables... you will very quickly find it unwieldy and limiting
(e.g. one table for each
Ryan A mailto:[EMAIL PROTECTED]
on Wednesday, June 21, 2006 10:51 AM said:
@K. Bear - Thanks for the link, I'll check it out as
soon as i get a little time.
Read that article. I personally like the Nested Set (also called
Modified Preorder Tree Traversal) method. It may at first be a
Hey Chris,
It may at
first be a little
daunting but once you understand how it works, it
all makes sense. Only
one table is needed and you can have as many
children, grand children,
etc. as want/need.
Sounds good, I will def have a look at the article, I
came here asking for help, will
If you are using PostgreSQL, there is a 'connectby' function (part of
contrib) which will recursively join hierarchical data where you have
PID -- ID recursive joins. Oracle also has CONNECT BY built into the
SQL language. I do not know if MySQL natively supports anything similar
but maybe
Hey,
If you are using PostgreSQL, there is a 'connectby'
function (part of
contrib) which will recursively join hierarchical
data where you have
PID -- ID recursive joins. Oracle also has CONNECT
BY built into the
SQL language. I do not know if MySQL natively
supports anything
Beauford wrote:
This is the output from ?php var_dump(gd_info()); ?. As far as I can tell,
jpeg support is enabled. It also says it is if I run phpinfo(). Yet is still
doesn't work.
Show us some code that doesn't work and you'll probably get some
suggestions.
--
Postgresql php tutorials
Artzi, Yoav (Yoav) wrote:
In my phpinfo() I get (under standard):
Dynamic Library support not available
I can't seem to get PHP to be configured to allow dynamic libraries. My
php.ini is:
enable_dl=1
extension_dir=/usr/local/lib/php/extensions/no-debug-zts-20050922/
extension=logmanager.so
Hi all,
I have multi-arrays as shown below:
I implemented usort() to sort the array by 'country' field in the array.
However there some empty string value in the array and i setup my
cmpcountry() function to sort array, however , some country empty string
value are sort first .
Any ideas
Examine your function for the case of cmpcountry(Thailand, );
if($country2 == '') is true
if($country1 $country2) is false
Then ($country1 $country2) is false again and 1 is returned.
This means that is less than Thailand, and should be sorted higher.
The easiest way to fix this is actually
From the dl page of the manual, Note: dl() is not supported in
multithreaded Web servers...
By passing the --enable-maintainer-zts flag you are forcing PHP into
running in multithreaded mode.
David
Artzi, Yoav (Yoav) wrote:
In my phpinfo() I get (under standard):
Dynamic Library support not
(inline --and last post on this thread)
Adam Zey wrote:
Rafael wrote:
(inline)
Adam Zey wrote:
Rafael wrote:
A single = it's an assignment, not a comparison; and though it
sometimes work, you shouldn't compare strings with ==, but using
string functions, such as strcmp()... or
Hi David ,
Thanks for your input, it solve my problem.
David Tulloh wrote:
Examine your function for the case of cmpcountry(Thailand, );
if($country2 == '') is true
if($country1 $country2) is false
Then ($country1 $country2) is false again and 1 is returned.
This means that is less
There is something wonky with gd. I completely reinstalled Slackware today,
including PHP, gd, and all the other stuff - and still nothing.
I downloaded 5 separate captcha scripts and only got one to work. The code
in all of them is very similar in that it creates a graphic with random
letters
47 matches
Mail list logo