On Sat, 2007-08-25 at 00:28 -0500, Larry Garfield wrote:
> On Friday 24 August 2007, Lester Caine wrote:
> > > What would be interesting is if a group picked up PHP4 and kept going
> > > with it in spite of the end of life announcement a few weeks back. I
> > > wonder if the PHP license would allo
On Friday 24 August 2007, Lester Caine wrote:
> > What would be interesting is if a group picked up PHP4 and kept going
> > with it in spite of the end of life announcement a few weeks back. I
> > wonder if the PHP license would allow such a thing. How open is it
> > exactly?
>
> The PROBLEM is t
I don't know what I was thinking when I wrote that actually, that is so
blatantly obvious :)
Thanks Brian.
Hamza.
"brian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Marcelo de Moraes Serpa wrote:
>> How could I iterate over the files in a directory and build a list of
>>
Well, I suppose I should say "Doh!" but even when I get rid of the
"@", I still get a blank page - no errors, and no database, either!
A followup - I'm taking this over to PHP-DB since it's now
database-centric, I think.
This still fails:
$db = new mysqli(
But this works
$conn
Linux NG/Lists wrote:
get rid of the @, it will squelch your error output
if (mysqli_connect_errno())
{echo 'Error could not connect to database.';
exit;
}
?>
put something at the end like [DONE] or something so you can see if it is getting past that if
statement.
--
Jim Lucas
"Some
On 8/24/07, Borokov Smith <[EMAIL PROTECTED]> wrote:
> Daniel Brown schreef:
> > On 8/24/07, Borokov Smith <[EMAIL PROTECTED]> wrote:
> > [snip]
> >
> >> A warrant about your example not being validated, will most likely not
> >> stop the OP from using this code as is, thereby subjecting himself to
Daniel Brown schreef:
On 8/24/07, Borokov Smith <[EMAIL PROTECTED]> wrote:
[snip]
A warrant about your example not being validated, will most likely not
stop the OP from using this code as is, thereby subjecting himself to
SQL injection.
And all it needed was mysql_real_escape_string() in the
comex wrote:
On 8/24/07, Linux NG/Lists <[EMAIL PROTECTED]> wrote:
b) Why does the error reporting NOT work as soon as I jam a $db new
mysql call into the code?
Because you disabled it with an '@'.
Well, I suppose I should say "Doh!" but even when I get rid of the
"@", I still get a b
On 8/24/07, Linux NG/Lists <[EMAIL PROTECTED]> wrote:
> b) Why does the error reporting NOT work as soon as I jam a $db new
> mysql call into the code?
Because you disabled it with an '@'.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I swear, it was just working last week! Well, a while ago, on another
machine. You get the idea. Here's the deal...
PHP 5.1.6 and MySQL 5.x on FC6 fully patched.
1. A simple page with a call to phpinfo() works fine.
2. A barely more complicated page also works fine, in that it throws an
expec
Greg Donald wrote:
On 8/24/07, Steve Brown <[EMAIL PROTECTED]> wrote:
The only difference I can figure is that PHP5 was the packaged version
that comes with Ubuntu and I had to compile PHP4 from source since
there is no package for it in Feisty. But I wouldn't expect a 50%
increase as a result o
AHA.. Thanx :-)
/Gustav
- Original Message -
From: "John Mertic" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "Aaron Kenney" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, August 24, 2007 9:47 PM
Subject: Re: [PHP-WIN] Confused
Just grab the windows instal
On 8/24/07 9:21 AM, Edward Kay wrote:
> http://www.planet-php.org/rss/
> http://www.php-mag.net/magphpde/psecom,id,26,noeid,26,.html
> http://www.phpdeveloper.org/phpdev.rss
And also try http://devzone.zend.com/. They have regular PHP community
news, articles, and weekly summaries of activity with
On Fri, 2007-08-24 at 12:24 -0500, Greg Donald wrote:
> On 8/24/07, Steve Brown <[EMAIL PROTECTED]> wrote:
> > The only difference I can figure is that PHP5 was the packaged version
> > that comes with Ubuntu and I had to compile PHP4 from source since
> > there is no package for it in Feisty. But
On 8/24/07, Borokov Smith <[EMAIL PROTECTED]> wrote:
[snip]
> A warrant about your example not being validated, will most likely not
> stop the OP from using this code as is, thereby subjecting himself to
> SQL injection.
> And all it needed was mysql_real_escape_string() in there.
>
>
Kinda' like
Daniel Brown schreef:
Keep in mind that, as always, this hasn't been bug-checked,
re-read, or otherwise validated.
A warrant about your example not being validated, will most likely not
stop the OP from using this code as is, thereby subjecting himself to
SQL injection.
And all it nee
On 8/24/07, Steve Brown <[EMAIL PROTECTED]> wrote:
> The only difference I can figure is that PHP5 was the packaged version
> that comes with Ubuntu and I had to compile PHP4 from source since
> there is no package for it in Feisty. But I wouldn't expect a 50%
> increase as a result of that. Any t
On 8/24/07, Suamya Srivastava <[EMAIL PROTECTED]> wrote:
> Hi..
>
> in the settings, session.use_cookies is turned ON but session.trans_sid is
> turned OFF. do i need to enable this as well?
> by doing this can i disable the register_globals?
> - suamya
You need to make sure session_start() is ca
Angelo Zanetti wrote:
>
>
> Thijs Lensselink wrote:
>> On Fri, 24 Aug 2007 07:57:48 +0200, Angelo Zanetti
>> <[EMAIL PROTECTED]> wrote:
>>
>>> Dear all
>>>
>>> Im using nusoap to create a cleint and I am having a small issue but
>>> its a
>>> fairly large one because I cant get the correct XML t
On 8/24/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
> I'm attempting to figure out the proper way to use sessions to log
> someone into my system. The idea being, if they arn't logged in all
> they can see is the login form, and if they are logged in, they and
> have access to a dat
Hi Everyone,
I'm attempting to figure out the proper way to use sessions to log
someone into my system. The idea being, if they arn't logged in all
they can see is the login form, and if they are logged in, they and
have access to a database of addresses.
I think I understand how to start
PHP5 being faster than PHP4 is greatly dependent on what features you
use. I've consistently found PHP4 to be faster for my purposes also.
Cheers,
Rob.
On Fri, 2007-08-24 at 11:38 -0400, Nathan Nobbe wrote:
> what are the changes that supposedly make php5 faster than php4?
>
> when java went fr
what are the changes that supposedly make php5 faster than php4?
when java went from the 1.4 series to the 5 series it became much faster.
this is because of enhancements to the jitter mechanism for sure. i dont
know what else they changed, but i know that had a great impact on the
performance.
Recently, I've been doing a lot of benchmarking with Apache to compare
different OSes and platforms. I did a stock install of Ubuntu 7.04
Server w/ Apache2 and PHP5. To do the test, I used ab to fetch the
following document:
PHP Web Server Test
I ran ab in a loop 12 times with 10,000 con
Read them all into an array and do an array-unique on it
bastien> Date: Thu, 23 Aug 2007 23:54:40 -0300> From: [EMAIL PROTECTED]> To:
php-general@lists.php.net> Subject: [PHP] SQL Distinct-like behaviour> > How
could I iterate over the files in a directory and build a list of unique>
filename
> Well, I'm already subscribed to this one :)
>
> Too much noise, newbie questions and stuff that I already know about.
> There's lots of valuable info but it needs to be plowed through. Also
> too many individual emails, I was looking for a daily / weekly digest.
>
> But thanx for the answer anyw
Edward Kay wrote:
I was wandering if anyone knows a good php newsletter, one where you
would get a digest of interesting news & libraries etc in your mailbox.
You know, to keep you up-to-date and spark a few ideas without actively
searching the net for it.
This list is the best resource I've
On Fri, 24 Aug 2007 13:55:29 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
>
>
> Thijs Lensselink wrote:
>> On Fri, 24 Aug 2007 12:39:06 +0200, Angelo Zanetti <[EMAIL PROTECTED]>
> wrote:
>>
>>> Thijs Lensselink wrote:
>>>
On Fri, 24 Aug 2007 11:53:12 +0200, Angelo Zanetti
> <[EMAIL PRO
>I was wandering if anyone knows a good php newsletter, one where you
> would get a digest of interesting news & libraries etc in your mailbox.
> You know, to keep you up-to-date and spark a few ideas without actively
> searching the net for it.
This list is the best resource I've found for th
Hi all,
I was wandering if anyone knows a good php newsletter, one where you
would get a digest of interesting news & libraries etc in your mailbox.
You know, to keep you up-to-date and spark a few ideas without actively
searching the net for it.
Boban.
--
PHP General Mailing List (http:/
Hi
I have sessions working like a charm, i use it for my user login vars and so
on, here is the settings i used.
register_globals = Off
session.use_cookies = 1
and switch on session.trans_sid if you know that not all your users will
have cookies turned on
This worked for me
Johan
""Suamya Sriva
Thijs Lensselink wrote:
On Fri, 24 Aug 2007 12:39:06 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
Thijs Lensselink wrote:
On Fri, 24 Aug 2007 11:53:12 +0200, Angelo Zanetti <[EMAIL PROTECTED]>
wrote:
It's probably better to ask on a NuSOAP list.
The call method need
Hi..
in the settings, session.use_cookies is turned ON but session.trans_sid is
turned OFF. do i need to enable this as well?
by doing this can i disable the register_globals?
- suamya
> Hi
> Me again
> Check on Your setting -> ; Whether to use cookies.
>
Thijs Lensselink wrote:
On Fri, 24 Aug 2007 11:53:12 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
It's probably better to ask on a NuSOAP list.
The call method needs an array with parameters as far as i remember.
But i never use the call method anyway. I always go for the send method.
Hi
Me again
Check on Your setting -> ; Whether to use cookies.
session.use_cookies = 1
session variable is saved here if the user have cookies turned off it will
still work if your have trans-sid turn on.
BTW you don't have to use a dropdown radio buttons or
On Fri, 24 Aug 2007 12:39:06 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
>
>
> Thijs Lensselink wrote:
>> On Fri, 24 Aug 2007 11:53:12 +0200, Angelo Zanetti <[EMAIL PROTECTED]>
> wrote:
>>
It's probably better to ask on a NuSOAP list.
The call method needs an array with parame
On Fri, 24 Aug 2007 11:53:12 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
>
>> It's probably better to ask on a NuSOAP list.
>>
>> The call method needs an array with parameters as far as i remember.
>> But i never use the call method anyway. I always go for the send method.
>>
>> First create
Thijs Lensselink wrote:
On Fri, 24 Aug 2007 07:57:48 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
Dear all
Im using nusoap to create a cleint and I am having a small issue but its a
fairly large one because I cant get the correct XML to send.
I have a scenario as follows:
My client:
Thank you all for the help.
I did not want to use dropdown box..that was the very reason i was
wondering if I can pass the variables through a hyperlink. I used $_GET
and it worked fine. However, as mentioned in the posts its not advisable
to use $_REQUEST. Could you please elaborate on the reason?
Bruce, I tried using curl to just get the feed and it worked ok:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,
'http://api.beta.blogs.aol.com/bsteinback0224/service.xml');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
print curl_exec($ch);
My guess would
In this case $_POST would be the appropriate array, since your form is
using the POST method:
Goltsios Theodore wrote:
>
> I thought I just did a comment and suggested that it is a lame solution
> to use $_REQUEST plus I did not know witch of the two method (POST or
> GET) would be appropriat
It's probably better to ask on a NuSOAP list.
The call method needs an array with parameters as far as i remember.
But i never use the call method anyway. I always go for the send method.
First create your request XML.
$request = '
xx
yy
Angelo1
';
Then serialize the
Thijs Lensselink wrote:
On Fri, 24 Aug 2007 07:57:48 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
Dear all
Im using nusoap to create a cleint and I am having a small issue but its a
fairly large one because I cant get the correct XML to send.
I have a scenario as follows:
My client:
Instruct ICC wrote:
Because that means messing with the recipient list - that's donkey
work your client should do, hence my use of reply-to-all.
Wouldn't gmail thread it but still have 2 copies?
I could send email TO/CC/BCC the list to a specific folder, but I'd
still get the copy to me directl
I thought I just did a comment and suggested that it is a lame solution
to use $_REQUEST plus I did not know witch of the two method (POST or
GET) would be appropriate so I picked up the lame way :-) .
mike wrote:
On 8/24/07, Goltsios Theodore <[EMAIL PROTECTED]> wrote:
the posted or go
On 8/24/07, Goltsios Theodore <[EMAIL PROTECTED]> wrote:
> the posted or got option buy using the $_REQUEST array ($_GET and $_POST are
> included in that like a less lame solution). Let's say you have a
Please do not encourage the use of $_REQUEST.
You might as well just tell people to enable re
I think that you can also do that buy making a drop down list with the
available databases and pass the chosen database to another (or perhaps
the same) script and make the queries and output results there. You can
catch the posted or got option buy using the $_REQUEST array ($_GET and
$_POST
On 8/23/07, Suamya Srivastava <[EMAIL PROTECTED]> wrote:
> Hello,
>
> How can I pass variables on clicking a hyperlink to a PHP script? I have 5
> hyperlinks, all pointing to the same PHP script. However, on clicking each
> hyperlink a different value of the variable needs to be passed to the PHP
>
On Fri, 24 Aug 2007 07:57:48 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> Dear all
>
> Im using nusoap to create a cleint and I am having a small issue but its a
> fairly large one because I cant get the correct XML to send.
>
> I have a scenario as follows:
>
> My client:
>
> $wsdlfile="
49 matches
Mail list logo