2009/8/26 Paul Gardiner :
> Paul Gardiner wrote:
>>
>> I want to write a simple indexing script to display a
>> directory full of photos as a gallery of thumbnails.
>> (There are various solutions out there for this, but
>> they're all a bit more complicated than I need).
>>
>> I've added a file in
On Aug 26, 2009, at 1:23 PM, Tom Worster wrote:
On 8/26/09 10:08 AM, "tedd" wrote:
I had a client say to me once "If you're so smart, then why aren't
you rich?"
how about: "i'm smart enough that i know not to waste my allotted
time on
this planet amassing riches."
i know plenty of rich
On Aug 26, 2009, at 12:31 PM, "David Stoltz" wrote:
I'm using COM because I don't know what else to use ;-)
Like I said, I'm new to PHP. Here is another way I communicate with
the database, let me know if this is a better way (it requires a
stored procedure):
//Assign the server conn
> $fName = $_REQUEST['fName'] ;
> $emailid = $_REQUEST['emailid'] ;
> $number = $_REQUEST['number'] ;
> $message = $_REQUEST['message'] ;
>
> mail( "ch...@gmail.com", $number, $message, "From: $emailid" );
> header( "Location: http://www.thankyou.com/thankYouContact.php"; );
> ?>
This is
Richard H Lee wrote:
> Hi all,
>
> I think I'm having a problem with parse_ini_file in php. I am using wamp
> on two machines. I'm installing a Digishop e-commerce package.
>
> The blah.ini.php file starts with
>
>
>
>
>
> [SOMETITLE]
> some_setting="Ok, I Have Completed This
2009/8/26 tedd :
> At 2:12 PM +0100 8/26/09, Stuart wrote:
>>
>> 2009/8/26 tedd :
>>
>> > And, we all need a holiday...
>>
>> Apparently a holiday is out of the question, so I've decided to change
>> jobs instead. A new environment, that's all I need.
>>
>> Loving your view of this list as a hiera
On Aug 26, 2009, at 2:47 PM, Bob McConnell wrote:
From: Philip Thompson
On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes
not
get sent? For example, I request 1000 bytes:
This is actually in a loop,
From: Philip Thompson
> On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
>> From: Philip Thompson
>>>
>>> During a socket read, why would all the requested number of bytes
not
>>> get sent? For example, I request 1000 bytes:
>>>
>>> >> $data = @socket_read ($socket, 2048, PHP_BINARY_READ);
>>> ?>
Hi all,
I think I'm having a problem with parse_ini_file in php. I am using wamp
on two machines. I'm installing a Digishop e-commerce package.
The blah.ini.php file starts with
[SOMETITLE]
some_setting="Ok, I Have Completed This Step"
another_setting="Next"
..
..
..
-
From: Shawn McKenzie
> Bob McConnell wrote:
>> From: Philip Thompson
>>> During a socket read, why would all the requested number of bytes
not
>>
>>> get sent? For example, I request 1000 bytes:
>>>
>>> >> $data = @socket_read ($socket, 2048, PHP_BINARY_READ);
>>> ?>
>>>
>>> This is actually in a
On Thu, Aug 27, 2009 at 02:27:32AM +0800, hack988 hack988 wrote:
> this post is away from the point :),but everyone's reply is interesting
>
> 2009/8/27 Paul M Foster :
> > On Wed, Aug 26, 2009 at 09:52:49AM -0700, sono...@fannullone.us wrote:
> >
> >>
> >> On Aug 26, 2009, at 9:28 AM, Paul M Fos
Bob McConnell wrote:
> From: Philip Thompson
>> During a socket read, why would all the requested number of bytes not
>
>> get sent? For example, I request 1000 bytes:
>>
>> > $data = @socket_read ($socket, 2048, PHP_BINARY_READ);
>> ?>
>>
>> This is actually in a loop, so I can get all the data i
this post is away from the point :),but everyone's reply is interesting
2009/8/27 Paul M Foster :
> On Wed, Aug 26, 2009 at 09:52:49AM -0700, sono...@fannullone.us wrote:
>
>>
>> On Aug 26, 2009, at 9:28 AM, Paul M Foster wrote:
>>
>>> and having a great marriage to a woman I can spend hours talki
On Wed, Aug 26, 2009 at 09:52:49AM -0700, sono...@fannullone.us wrote:
>
> On Aug 26, 2009, at 9:28 AM, Paul M Foster wrote:
>
>> and having a great marriage to a woman I can spend hours talking about
>> nothing to.
>
> I'm jealous. Does she have a sister who's not spoken for? =;)
She and
On Wed, Aug 26, 2009 at 12:48:12PM -0400, David Stoltz wrote:
> Looking on Amazon and other book sites, I can't even find a book for
> "PHP and MS SQL"...
>
> It's all "PHP and MySQL"...
>
> Should I avoid developing PHP application with MS SQL databases?
My *opinion* is that you should avoid M
On Wed, Aug 26, 2009 at 12:06 PM, Andrew Ballard wrote:
> On Tue, Aug 25, 2009 at 3:22 PM, Shawn McKenzie wrote:
>> First off, if the value is NULL in the database then in PHP it will be
>> the string "NULL" and not a null value as far as I remember.
>
> I've not seen this happen. I've found, depen
On Wed, Aug 26, 2009 at 12:35 PM, Warren Vail wrote:
> I have two processes running on the same server, one is creating a file,
> loading it with data, and this process runs real slow.
>
>
>
> The second process processes a directory, finds the new file and begins
> reading the file contents.
>
>
>
I'm try php6-dev recently.I found it had so many diffrent with older
versions.I'll discuss with everybody in later:)
now i have a problem in php6-dev
codes follow:(warning:this code include some no-english characters and
it hex string is B2E2 In GBK char-set)
==
Hi,
>>> time is really what i want more of.
>>
>> Personally I'd settle for a Ferrari. Or two. It would be hard, but I
>> think I could just about manage.
>
> Might look nice in your driveway...
> But without the time to drive it... :|
>
> ;)
I actually don't have a driving license either... :-/
Richard Heyes wrote:
Hi,
time is really what i want more of.
Personally I'd settle for a Ferrari. Or two. It would be hard, but I
think I could just about manage.
Might look nice in your driveway...
But without the time to drive it... :|
;)
--
http://www.interjinn.com
Application and Temp
Hi,
> time is really what i want more of.
Personally I'd settle for a Ferrari. Or two. It would be hard, but I
think I could just about manage.
--
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 8th August)
Lots of PHP and Javascript code - http://www.phpguru.org
50% reseller dis
On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
This is actually in a loop, so I can get all the data if split up.
So,
for example, here's how the d
I'm try php6-dev recently.I found it had so many diffrent with older
versions.I'll discuss with everybody in later:)
now i have a problem in php6-dev
codes follow:(warning:this code include some no-english characters and
it hex string is B2E2 In GBK char-set)
==
On 8/26/09 10:08 AM, "tedd" wrote:
> I had a client say to me once "If you're so smart, then why aren't
> you rich?"
how about: "i'm smart enough that i know not to waste my allotted time on
this planet amassing riches."
i know plenty of rich people, many of whom earned their wealth. i envy the
On 8/25/09 5:01 AM, "Stuart" wrote:
> 2009/8/25 Ralph Deffke :
>> causes an error
>> Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in
>> C:\wamp\www\TinyCreator\testCrapp6.php on line 42
>
> This is a syntax error, not a runtime error. You've clearly done
> something wr
From: Philip Thompson
>
> During a socket read, why would all the requested number of bytes not
> get sent? For example, I request 1000 bytes:
>
> $data = @socket_read ($socket, 2048, PHP_BINARY_READ);
> ?>
>
> This is actually in a loop, so I can get all the data if split up. So,
> for examp
On Aug 26, 2009, at 9:28 AM, Paul M Foster wrote:
and having a great marriage to a woman I can spend hours talking about
nothing to.
I'm jealous. Does she have a sister who's not spoken for? =;)
Frank
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
On Wed, 2009-08-26 at 12:48 -0400, David Stoltz wrote:
> Looking on Amazon and other book sites, I can't even find a book for
> "PHP and MS SQL"...
>
> It's all "PHP and MySQL"...
>
> Should I avoid developing PHP application with MS SQL databases?
>
>
> -Original Message-
> From: Paul
Looking on Amazon and other book sites, I can't even find a book for
"PHP and MS SQL"...
It's all "PHP and MySQL"...
Should I avoid developing PHP application with MS SQL databases?
-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com]
Sent: Wednesday, August 26, 2009
Wow, I would never have even thought of that! Thanks!
Take care,
Floyd
On Aug 26, 2009, at 12:08 PM, Ashley Sheridan wrote:
On Wed, 2009-08-26 at 12:03 -0400, Floyd Resler wrote:
How can I take a mathematical formula that is in a string and have
the
result, product, sum, etc. returned? I
On Thu, Aug 27, 2009 at 12:25:35AM +0800, hack988 hack988 wrote:
> I'm sorry for my poor English,what is OP? I don't kown what is OP mean.
OP = "Original Poster". That's usually the person who first started
(posted) a thread on a list.
Paul
--
Paul M. Foster
--
PHP General Mailing List (http
I have two processes running on the same server, one is creating a file,
loading it with data, and this process runs real slow.
The second process processes a directory, finds the new file and begins
reading the file contents.
How do I make the reading process detect that the file is still
I'm using COM because I don't know what else to use ;-)
Like I said, I'm new to PHP. Here is another way I communicate with the
database, let me know if this is a better way (it requires a stored procedure):
//Assign the server connection to a variable
$connect = mssql_connect(SERVER,1433', USER
On Wed, Aug 26, 2009 at 10:08:35AM -0400, tedd wrote:
>> 2009/8/26 tedd :
> I had a client say to me once "If you're so smart, then why aren't
> you rich?" I answered quickly "What makes you think I'm not?" But
> privately his comment cut me to the quick. There was no question that
> much dumbe
On Thu, 2009-08-27 at 00:25 +0800, hack988 hack988 wrote:
> I'm sorry for my poor English,what is OP? I don't kown what is OP mean.
>
It's basically the original person who asked the question.
Thanks,
Ash
http://www.ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To u
I'm sorry for my poor English,what is OP? I don't kown what is OP mean.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Aug 26, 2009 at 12:06 PM, hack988 hack988 wrote:
> Mysql,mssql has its own feature,you can't say Mysql is better than
> Mssql or Mssql it better than Mysql,Is'nt is?
> My the Way ,Mssql support Top n,m form mssql 2005 :)
>
Perhaps, but the OP said he's using SQL Server 2000.
Andrew
--
P
On Wed, Aug 26, 2009 at 12:13 PM, Andrew Ballard wrote:
> On Wed, Aug 26, 2009 at 9:51 AM, David Stoltz wrote:
>> Sorry - I don't know what you mean by DB class?
>>
>> I'm using Microsoft SQL 2000with this code:
>>
>> > //create an instance of the ADO connection object
>> $conn = new COM ("ADO
Com function is just for Windows,I don't kown why some body like use it.:(
2009/8/27 Andrew Ballard :
> On Wed, Aug 26, 2009 at 9:51 AM, David Stoltz wrote:
>> Sorry - I don't know what you mean by DB class?
>>
>> I'm using Microsoft SQL 2000with this code:
>>
>> > //create an instance of the
On Wed, Aug 26, 2009 at 9:51 AM, David Stoltz wrote:
> Sorry - I don't know what you mean by DB class?
>
> I'm using Microsoft SQL 2000with this code:
>
> //create an instance of the ADO connection object
> $conn = new COM ("ADODB.Connection")
> or die("Cannot start ADO");
> //define connect
On Wed, 2009-08-26 at 12:03 -0400, Floyd Resler wrote:
> How can I take a mathematical formula that is in a string and have the
> result, product, sum, etc. returned? I did a search on the Web and
> couldn't find any suitable solutions.
>
> Thanks!
> Floyd
>
>
eval()
Thanks,
Ash
http://www
Mysql,mssql has its own feature,you can't say Mysql is better than
Mssql or Mssql it better than Mysql,Is'nt is?
My the Way ,Mssql support Top n,m form mssql 2005 :)
2009/8/27 Andrew Ballard :
> On Wed, Aug 26, 2009 at 10:52 AM, Ashley
> Sheridan wrote:
>> You should try and see if you can get it
On Tue, Aug 25, 2009 at 3:22 PM, Shawn McKenzie wrote:
> First off, if the value is NULL in the database then in PHP it will be
> the string "NULL" and not a null value as far as I remember.
I've not seen this happen. I've found, depending on the database and
the data access library used to interf
2009/8/26 Steve :
> Ashley Sheridan wrote:
>>
>> On Wed, 2009-08-26 at 09:50 +0100, Tom Chubb wrote:
>>
>>>
>>> 2009/8/26 Ashley Sheridan :
>>>
On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote:
>
> I've been playing about more and now I have the following code:
>
>
How can I take a mathematical formula that is in a string and have the
result, product, sum, etc. returned? I did a search on the Web and
couldn't find any suitable solutions.
Thanks!
Floyd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
On Wed, Aug 26, 2009 at 10:52 AM, Ashley
Sheridan wrote:
> You should try and see if you can get it installed there, as it will
> work on Windows servers. I've found it generally to be faster than MS
> SQL, and the choice of different database engines for each table gives
> you a LOT of flexibility
use realpath is better that i think
2009/8/26 Steve :
> Ashley Sheridan wrote:
>>
>> On Wed, 2009-08-26 at 09:50 +0100, Tom Chubb wrote:
>>
>>>
>>> 2009/8/26 Ashley Sheridan :
>>>
On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote:
>
> I've been playing about more and now I
Philip Thompson wrote:
> Hi.
>
> During a socket read, why would all the requested number of bytes not
> get sent? For example, I request 1000 bytes:
>
> $data = @socket_read ($socket, 2048, PHP_BINARY_READ);
> ?>
>
> This is actually in a loop, so I can get all the data if split up. So,
> for
Ashley Sheridan wrote:
On Wed, 2009-08-26 at 09:50 +0100, Tom Chubb wrote:
2009/8/26 Ashley Sheridan :
On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote:
I've been playing about more and now I have the following code:
$folder ){
echo "\n"; //Don't need folders as they're s
All IE has a bug for download file so.:)
see this http://support.microsoft.com/default.aspx?scid=kb;en-us;308090
some unkown mime type also display in IE no popup a download window
2009/8/26 Ryan Cavicchioni :
> On Wed, Aug 26, 2009 at 03:38:27PM +0200, Grega Leskov??ek wrote:
>> I tried to downlo
On Wed, Aug 26, 2009 at 03:38:27PM +0200, Grega Leskov??ek wrote:
> I tried to download the file from another server the fancy way in PHP, but
> it just display blank screen. Can You please look at my code:
If it helps, here is some code that I dug up from an old project:
I would also verify th
Grega Leskovšek wrote:
> I tried to download the file from another server the fancy way in PHP, but
> it just display blank screen. Can You please look at my code:
>
> $filepath = "http://aa.yolasite.com/resources/happytears.doc";;
> // $filepath = "http://users.skavt.net/~gleskovs/else/h
On Wed, 2009-08-26 at 10:50 -0400, David Stoltz wrote:
> Wow - thanks for the code, but it's over my head at this point.
>
> I'm a PHP newbieI typically use ASP Classic, but I realize I need to
> learn PHP for ongoing development. Problem is, we don't have MySQL here, so I
> have to fumble m
Hi all,
I'm trying to follow the instructions for getting a GDB backtrace from
the PECL site ( http://bugs.php.net/bugs-generating-backtrace.php ).
For some reason, I'm not getting any symbol output when I try to
generate the backtrace, it simply gives me the memory address and '??'.
I'm us
Wow - thanks for the code, but it's over my head at this point.
I'm a PHP newbieI typically use ASP Classic, but I realize I need to learn
PHP for ongoing development. Problem is, we don't have MySQL here, so I have to
fumble my way through with MS SQL.
Thanks!
-Original Message-
On Wed, 2009-08-26 at 22:00 +0800, hack988 hack988 wrote:
> my god you use ado connect sorry I'm use php_mysql extentions for all
> mssql function.
> I'm never use ado connect before.
>
> 2009/8/26 David Stoltz :
> > Sorry - I don't know what you mean by DB class?
> >
> > I'm using Microsoft SQL 2
Hi.
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
This is actually in a loop, so I can get all the data if split up. So,
for example, here's how the data split up in 3 iterations (for 1000
bytes):
650 bytes
200 bytes
my god you use ado connect sorry I'm use php_mysql extentions for all
mssql function.
I'm never use ado connect before.
2009/8/26 David Stoltz :
> Sorry - I don't know what you mean by DB class?
>
> I'm using Microsoft SQL 2000with this code:
>
> //create an instance of the ADO connection ob
some code copy from my old codes for truncatedir function,it for
backend compatibility.
see this
PHP_EOL (string)
Available since PHP 4.3.10 and PHP 5.0.2
http://cn.php.net/manual/en/reserved.constants.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
-Original Message-
From: Angelo Zanetti [mailto:ang...@zlogic.co.za]
Sent: 24 August 2009 04:30 PM
To: 'Nitebirdz'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
-Original Message-
From: Nitebirdz [mailto:nitebi...@sacredchaos.com]
Sent: 20 August 2009
My code for mssql
please enable the php's mssql extentions.
it used like so many mysql class that you can find by google
--
4.2.0 disable php's automatic
datetime convert
Class DB {
On 8/25/09 11:42 PM, "hack988 hack988" wrote:
i like durpal or e107
2009/8/26 Lars Nielsen :
> tir, 25 08 2009 kl. 17:05 -0400, skrev Bastien Koert:
>> On Tue, Aug 25, 2009 at 4:35 PM, Lars Nielsen wrote:
>> > Hey list,
>> >
>> > I am going to use a cms for some sites and I have looked a litt
On Wed, Aug 26, 2009 at 03:38:27PM +0200, Grega Leskov??ek wrote:
> I tried to download the file from another server the fancy way in PHP, but
> it just display blank screen. Can You please look at my code:
>
> $filepath = "http://aa.yolasite.com/resources/happytears.doc";;
Try using a lo
At 2:12 PM +0100 8/26/09, Stuart wrote:
2009/8/26 tedd :
> And, we all need a holiday...
Apparently a holiday is out of the question, so I've decided to change
jobs instead. A new environment, that's all I need.
Loving your view of this list as a hierarchy of idiots btw, I think
that works as
Sorry - I don't know what you mean by DB class?
I'm using Microsoft SQL 2000with this code:
open($connStr); //Open the connection to the database
$query = "SELECT * FROM eval_evaluations WHERE id = ".$_POST["eval"];
$rs = $conn->execute($query);
echo $rs->Fields(22); //this is where that p
On Wed, Aug 26, 2009 at 9:45 AM, hack988 hack988 wrote:
> I'm write a php file for you
> =
> define('Line_End', (PHP_OS == 'WINNT')?"\r\n":"\n");
> clearstatcache();
>
> $mylist=array();
> listdir("F:\\Programming\\Web\\php",$mylist);
> function listdir($dir,
This:
$var = $rs->Fields(22);
var_dump($var);
Produces this:
object(variant)#3 (0) { }
-Original Message-
From: Stuart [mailto:stut...@gmail.com]
Sent: Wednesday, August 26, 2009 8:47 AM
To: David Stoltz
Cc: Paul M Foster; php-general@lists.php.net
Subject: Re: [PHP] How to output a NULL
I'm write a php file for you
=
define('Line_End', (PHP_OS == 'WINNT')?"\r\n":"\n");
clearstatcache();
$mylist=array();
listdir("F:\\Programming\\Web\\php",$mylist);
function listdir($dir,&$list){
if ($handle = opendir( $dir )){
while ( false !== ( $item
I tried to download the file from another server the fancy way in PHP, but
it just display blank screen. Can You please look at my code:
http://aa.yolasite.com/resources/happytears.doc";;
// $filepath = "http://users.skavt.net/~gleskovs/else/happytears.doc";;
if (file_exists($filepath)) {
2009/8/26 tedd :
> At 11:34 PM +0100 8/25/09, Stuart wrote:
>>
>> 2009/8/25 tedd :
>>
>> > I can't believe that you are wasting time on this. This guy is beyond
>>>
>>> clueless.
>>
>> To be fair tedd English is clearly not his main language and I can see
>> how you could misunderstand the origin
2009/8/26 Ralph Deffke :
> sorry I mixed 'set' with 'given' and if my mistake did prevent all the
> smarter guys to give u an answer I'm sorry too.
>
> I hope not to be too limited to give u an answer
>
> well, think about how PHP >5 works.
> $a e.g. is a REFENCE to some memory where the variable r
At 11:34 PM +0100 8/25/09, Stuart wrote:
2009/8/25 tedd :
> I can't believe that you are wasting time on this. This guy is beyond
clueless.
To be fair tedd English is clearly not his main language and I can see
how you could misunderstand the original question as he did. What I
objected to
2009/8/26 David Stoltz :
> Paul,
>
> This all started because when I try this:
>
> Fields(22);?>
>
> It work fine, as long as there is a non-null value there, otherwise it
> produces an error.
>
> Also, I'm working with a Microsoft SQL 2000 database, not MySQLnot
> sure if that matters
>
>
On Wed, 2009-08-26 at 08:27 -0400, Bob McConnell wrote:
> I recommend you start by replacing Vista. There are so many problems
> with it that Microsoft is rushing to ship a replacement as soon as
> possible. It remains to be seen whether Windows 7 is a real fix or
> merely more of the same problems
Andrioli Darvin wrote:
> Hi all
>
> PHP manual state "We do not recommend using a threaded MPM in production
> with Apache 2. Use the prefork MPM instead, or use Apache 1. For information
> on why, read the related FAQ entry on using Apache2 with a threaded MPM" (
> http://www.php.net/manual/en/in
I recommend you start by replacing Vista. There are so many problems
with it that Microsoft is rushing to ship a replacement as soon as
possible. It remains to be seen whether Windows 7 is a real fix or
merely more of the same problems.
I am not aware of any serious developers writing code specifi
2009/8/26 hack988 hack988 :
> your means "Health and Safety Questionnaire"is directory?
> so you want it display like this
> full dir path <> filename<>date
>
Yes.
I did try using if(is_dir($file)) { insert tab } but couldn't get it to work.
Also tried counting the length of the $file value and an
Sorry, didn't follow this whole thread but have you tried print_r() or
var_dump() to see what it looks like when it's type "variant"? I'd be
curious to see what you'd find in it.
Also, I forget about SQL Server, but MySQL has a function ifnull() which
can make sure you never return a null valu
your means "Health and Safety Questionnaire"is directory?
so you want it display like this
full dir path <> filename<>date
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Could you post your database's class to here?
I'm use mssql with php for several years and read NULL Fields is never
appear your case.
2009/8/26 David Stoltz :
> I tried that -it's in the first part of my message
>
>
> -Original Message-
> From: hack988 hack988 [mailto:hack...@dev.htwap.co
I tried that -it's in the first part of my message
-Original Message-
From: hack988 hack988 [mailto:hack...@dev.htwap.com]
Sent: Wednesday, August 26, 2009 7:39 AM
To: David Stoltz
Cc: Paul M Foster; php-general@lists.php.net
Subject: Re: [PHP] How to output a NULL field?
use is_null()
use is_null() check it
2009/8/26 David Stoltz :
> Paul,
>
> This all started because when I try this:
>
> Fields(22);?>
>
> It work fine, as long as there is a non-null value there, otherwise it
> produces an error.
>
> Also, I'm working with a Microsoft SQL 2000 database, not MySQLnot
> sure
Paul,
This all started because when I try this:
Fields(22);?>
It work fine, as long as there is a non-null value there, otherwise it
produces an error.
Also, I'm working with a Microsoft SQL 2000 database, not MySQLnot
sure if that matters
But "echo $rs->Fields(22)" works perfectly for
Paul Gardiner wrote:
I want to write a simple indexing script to display a
directory full of photos as a gallery of thumbnails.
(There are various solutions out there for this, but
they're all a bit more complicated than I need).
I've added a file in /etc/apache2/conf.d that
looks like this:
Al
2009/8/26 Ashley Sheridan :
> On Wed, 2009-08-26 at 18:21 +0800, hack988 hack988 wrote:
>> "have a tab inserted in the middle of the path" ??? What it mean,I
>> can't find any diffrent between last one with other rows.
>>
> It might be because of the way that the mailing list software converts
> th
2009/8/26 hack988 hack988 :
> "have a tab inserted in the middle of the path" ??? What it mean,I
> can't find any diffrent between last one with other rows.
>
To clarify - this is what I was getting:
/<<>>9216_100_REV_V1.0_bound.dwg<<>>05/08/2009
/Tender Docs/<<>>BAA Works Terms v1.1 (22.05.08).p
On Wed, 2009-08-26 at 18:21 +0800, hack988 hack988 wrote:
> "have a tab inserted in the middle of the path" ??? What it mean,I
> can't find any diffrent between last one with other rows.
>
It might be because of the way that the mailing list software converts
the content?
I tend to always make CS
"have a tab inserted in the middle of the path" ??? What it mean,I
can't find any diffrent between last one with other rows.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2009/8/26 Ashley Sheridan :
> On Wed, 2009-08-26 at 09:50 +0100, Tom Chubb wrote:
>> 2009/8/26 Ashley Sheridan :
>> > On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote:
>> >> I've been playing about more and now I have the following code:
>> >>
>> >> > >> error_reporting(E_ALL);
>> >> ini_set('dis
> I really can't see why you'd want to use references in the posted
> loop anyway -- it's not likely to gain you any performance, and, as
> I understand it, may actually run more slowly than the
> non-reference version.
The why is irrelevant. It is perfectly legal PHP, and while it might be
illeg
On Wed, 2009-08-26 at 09:50 +0100, Tom Chubb wrote:
> 2009/8/26 Ashley Sheridan :
> > On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote:
> >> I've been playing about more and now I have the following code:
> >>
> >> >> error_reporting(E_ALL);
> >> ini_set('display_errors', true);
> >>
> >> functi
> -Original Message-
> From: Szczepan Hołyszewski [mailto:webmas...@strefarytmu.pl]
> Sent: 26 August 2009 08:48
>
> Martin Scotta wrote:
>
> > Fatal error: Call to a member function getAttribute() on a non-
> object in
> > testme.php on line *121*
>
> Yes, this is _how_ the unmodified s
2009/8/26 Ashley Sheridan :
> On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote:
>> I've been playing about more and now I have the following code:
>>
>> > error_reporting(E_ALL);
>> ini_set('display_errors', true);
>>
>> function getDirectory($path = '.', $ignore = '') {
>> $dirTree = array (
Hi all
PHP manual state "We do not recommend using a threaded MPM in production
with Apache 2. Use the prefork MPM instead, or use Apache 1. For information
on why, read the related FAQ entry on using Apache2 with a threaded MPM" (
http://www.php.net/manual/en/install.windows.apache2.php )
>From a
On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote:
> I've been playing about more and now I have the following code:
>
> error_reporting(E_ALL);
> ini_set('display_errors', true);
>
> function getDirectory($path = '.', $ignore = '') {
> $dirTree = array ();
> $dirTreeTemp = array ();
>
Martin Scotta wrote:
> Fatal error: Call to a member function getAttribute() on a non-object in
> testme.php on line *121*
Yes, this is _how_ the unmodified script errors out. It is not shown in the
output I attached in my previous message because display_errors is Off in my
php.ini, and the li
96 matches
Mail list logo