SELECT DISTINCT(gallery.design) FROM gallery
:
>
>I want to limit to 1 the same names returned from the query like:
[CUT]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
re UPDATE to free the resources. odbc_free_result doesn't
seem to work..
Thank you all
Nicola Delbono
///
Il notiziario dei notiziari
http://www.notiziarioweb.it/
///
www.smscitta.com
Yes, I supposed there could be that eventuality...
I supposed or hoped that wasn't a valid path.
> /usr/local/apache/htdocs/../../../../etc/passwd as path..
I'm not very practice of paths... actually
> On Wed, 4 Jul 2001, Steve Werby wrote:
>
> > "Jon Haworth" <[EMAIL PROTECTED]> wrote
maybe one could be
$allowed_path )
{
die("not allowed!");
}
else
{
show_source($file);
}
?>
- Original Message -
From: "Hankley, Chip" <[EMAIL PROTECTED]>
To: "PHP Mailingliste" <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 5:45 PM
Subject: RE: [PHP] Security of PHP code
> O
would be really silly if
http://www.php.net/source.php?url=/index.php
- Original Message -
From: "Tim Taubert" <[EMAIL PROTECTED]>
To: "PHP Mailingliste" <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 5:27 PM
Subject: RE: [PHP] Security of PHP code
> found 2 other servers
I had the same problem whenever retrieving data from MSSQL using ODBC from a
NULL field.
To "solve" the problem I had to add a character asd default to that field.
I added a dot.
descr nvarchar default '.' .
(the sql sintax here is not the correct one.)
- Original Message -
Fr
Try this:
$r = trim($rowData[3]);
if ( !empty( $r ) )
{
$tdStr.= trim($rowData[3]);
}
I tokk a look at the manual:
1. Note: empty() is a language construct.
so:
!empty is like to say !if or !while : so it's wrong-
2.
Note that this is meaningless when used on anything which isn't a varia
You can use Date_Calc class
http://www.phpinsider.com/php/code/Date_Calc/
- Original Message -
From: "Don Read" <[EMAIL PROTECTED]>
To: "Matt "TrollBoy" Wiseman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, June 29, 2001 10:19 PM
Subject: RE: [PHP] Week Number
>
> On 2
you can use array_walk
array_walk
(PHP 3>= 3.0.3, PHP 4 >= 4.0b1)
array_walk -- Apply a user function to every member of an array
Description
int array_walk (array arr, string func, mixed userdata)
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc:
you can use
auto_prepend
- Original Message -
From: "Brandon Orther" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 9:51 PM
Subject: [PHP] Adding a line of text to every page PHP spits out
Hello,
I want to have a DOC Type ate the top of ev
Hello,
I had the same problem:
So I tried stripslashes..
But Queries do break if unslashed ' or " are present.
and furthermore, there are many other problems ..
So I created a function called "entities"..
Let's imagine a user
made an input of
name: Simon "The Snake"
surname:O'Con
Hello,
I tried to use BCC in may mail() but it
doesn't work.
Server is Win2k
Also CC has problems ...
If I send to:
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Then
if I download my mails, I can see:
CC: [EMAIL PROTECTED]
but the CC is not delivered (also on valid ema
Is there any?
I need to create a tool for creating administering users like this.
user1, user2, user3, etc..
Under user1 there are
subuserA, subuserB, subuserC, etc..
Under subuserA there are
many other users...
it's like a piramyd.
Does anyone know any link about such a tool?
Thanks
Ni
hh, no, maybe the samplecode I posted it's not your case, sorry...
> I have a question about sorting multidimensional arrays. Here is my
problem:
>
> I have an 2-d array:
> $joke[1][rating]=10;
> $joke[2][rating]=20;
> $joke[3][rating]=15;
>
>
> I would like to sort the jokes into an
Try this (it should work):
while(list($k, $v) = each($myarray)){
$myarray[$k] = (int) $v;
}
arsort($myarray);
reset($myarray);
while(list($k, $v) = each($myarray)){
echo $k, ' == ', $v, "\n;
}
For better comprehension look at this post:
>Hey guys..
>
>I have this array that looks like thi
I think the function parse_str does exactly what you want.
http://www.php.net/manual/en/function.parse-str.php
- Original Message -
From: "Knut H. Hassel Nielsen" <[EMAIL PROTECTED]>
To: "Mike Gifford" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 04, 2001 6:12
To me, the SMTP in php.ini is wrongly configured.
Secondo me è settato male l'SMTP nel php ini.
Ciao
> Hi, I am new of php
>
> I have a file: send.php3
>
> c:\type f:/http/php/send.php3
> mail("[EMAIL PROTECTED]", "Subject test", "test text");
> ?>
> c:\
>
> when I get the page from my web serv
put this line
set_time_limit(500) ;
at the beginning of your script if you want to enlarge execution time for
500 seconds.
- Original Message -
From: "Liam Gibbs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 23, 2001 4:48 PM
Subject: [PHP] Maximum execution time
It depends on your MAIL SERVER (and on your OS.)
For Linux I think SendMail can forward mails to an external program
For WinNT I know POSTOFFICE allows this. But PostOffice is commercially
released not for free.
In this case the mails are redirected to the program via STDIN
Bye
N.
-Messa
19 matches
Mail list logo