using "click me
in your php you can get its value by use of the $_GET variable.
hth,
john
On 11/13/06, Thomas Bonham <[EMAIL PROTECTED]> wrote:
Thank you for that, it was a big help.
Can I also call function that way?
Again thank you for your help.
Thomas
Tom Chubb wrote:
> On 12/11/06, T
Thank you for that, it was a big help.
Can I also call function that way?
Again thank you for your help.
Thomas
Tom Chubb wrote:
On 12/11/06, Thomas Bonham <[EMAIL PROTECTED]> wrote:
Hi All,
I keep seeing the ? mark after many file names index.php?id=234.
So what I would like to know is ho
Dotan Cohen wrote:
If I have to perform 30 LIKE searches for different keywords in a
varchar field, which strategy would be recommended:
1) 30 searches, one for each keyword
No. Horribly inefficient.
2) To select the varchar field from all the rows, and search through
them with php's array fu
If I have to perform 30 LIKE searches for different keywords in a
varchar field, which strategy would be recommended:
1) 30 searches, one for each keyword
2) To select the varchar field from all the rows, and search through
them with php's array functions?
There are about 500 rows in the table, a
On 13/11/06, Chris <[EMAIL PROTECTED]> wrote:
" . $matches[1] . "";
return $returnString;
}
$articleText="This is a very [long] string.";
$articleText=preg_replace_callback('/\[([a-z]+)\]/i' , "makeLink",
$articleText);
print $articleText . "\n";
?>
The callback takes whatever the reg
Dotan Cohen wrote:
On 13/11/06, Chris <[EMAIL PROTECTED]> wrote:
Dotan Cohen wrote:
> On 12/11/06, Chris <[EMAIL PROTECTED]> wrote:
>> Dotan Cohen wrote:
>> > I need to replace text enclosed in brackets with links. How can I
get
>> > that text, though? I've tried numerous variations of the fol
Dotan Cohen wrote:
On 12/11/06, Chris <[EMAIL PROTECTED]> wrote:
Dotan Cohen wrote:
> I need to replace text enclosed in brackets with links. How can I get
> that text, though? I've tried numerous variations of the following,
> with no success:
> $articleText=preg_replace('/\[[a-z]]/i' , makeLin
On 13/11/06, Chris <[EMAIL PROTECTED]> wrote:
Dotan Cohen wrote:
> On 12/11/06, Chris <[EMAIL PROTECTED]> wrote:
>> Dotan Cohen wrote:
>> > I need to replace text enclosed in brackets with links. How can I get
>> > that text, though? I've tried numerous variations of the following,
>> > with no s
On 12/11/06, Chris <[EMAIL PROTECTED]> wrote:
Dotan Cohen wrote:
> I need to replace text enclosed in brackets with links. How can I get
> that text, though? I've tried numerous variations of the following,
> with no success:
> $articleText=preg_replace('/\[[a-z]]/i' , makeLink($1), $articleText)
Dotan Cohen wrote:
I need to replace text enclosed in brackets with links. How can I get
that text, though? I've tried numerous variations of the following,
with no success:
$articleText=preg_replace('/\[[a-z]]/i' , makeLink($1), $articleText);
I cannot get the text between the brackets send to
I need to replace text enclosed in brackets with links. How can I get
that text, though? I've tried numerous variations of the following,
with no success:
$articleText=preg_replace('/\[[a-z]]/i' , makeLink($1), $articleText);
I cannot get the text between the brackets send to the makeLink
functio
On Sun, 2006-11-12 at 11:36 -0800, Curt Zirzow wrote:
> On 11/12/06, Ross <[EMAIL PROTECTED]> wrote:
> >
> > echo (' > onclick="window.open(\'news/old_news_list.php?month=$j&year='.$i.'\',\'\',\'width=700,height=500\');
> > return false \" >$thisMonth');
>
> Just remove any question on what is wro
On 11/12/06, Ross <[EMAIL PROTECTED]> wrote:
echo ('$thisMonth');
Just remove any question on what is wrong:
$thisUrl = "news/old_news_list.php?month=$j&year=$i";
?>
$thisMonth
I am trying to get this to open in a popup however it doess not open and I
cannot work out why. Must be a syntax a
On Sun, 2006-11-12 at 15:21 +, Ross wrote:
> echo (' onclick="window.open(\'news/old_news_list.php?month=$j&year='.$i.'\',\'\',\'width=700,height=500\');
> return false \" >$thisMonth');
>
>
> I am trying to get this to open in a popup however it doess not open and I
> cannot work out why. M
I'm still debugging the MDB2 issue that i have.
in fact, my problem comes from :
if (!PEAR::loadExtension($this->phptype)) {
return $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
'extension '.$this->phptype.' is not compiled into PHP',
__FUNCTION__);
}
from c
Sancar Saran wrote:
> Hi,
>
> What is Zend Encoder efficency.
dunno, ask Zend. ;-)
> After encoding shall we assume our code was
> safe...
well safety != efficiency for one, secondly it depends on
you definition of safe.
it's fairly safe from people trying to read/understand the source
code
Google for ASP Loophole.
On 11/12/06, Jon Anderson <[EMAIL PROTECTED]> wrote:
I'll get right to the point, then explain after... I'm looking to
release some PHP code as partially open-source. Basically a GPL-like
license for non-commercial use, and proprietary license for anyone else.
I'm won
Ahmad Al-Twaijiry wrote:
> Hi everyone
>
> I have a site with around 1000 new users everyday, and when every user
> register my scripts will send a random password to his email.
that many users everyday? might be time to invest in a programmer or 2?
even if your site generates no income there mus
Ross wrote:
> echo (' onclick="window.open(\'news/old_news_list.php?month=$j&year='.$i.'\',\'\',\'width=700,height=500\');
> return false \" >$thisMonth');
>
t my first guess is that you've back-slashed something you
shouldn't have - try breaking it down (and/or looking at the html source) ...
$
I'll get right to the point, then explain after... I'm looking to
release some PHP code as partially open-source. Basically a GPL-like
license for non-commercial use, and proprietary license for anyone else.
I'm wondering about people's experience with various licenses
(open-source or not). I'
it does not matter, query or exec produce the same error message :
Error connection : MDB2 Error: not found connect: [Error message:
extension pgsql is not compiled into PHP]
:-(
On 11/12/06, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
# [EMAIL PROTECTED] / 2006-11-12 09:46:34 +0100:
>
but the problem is before:
$mdb2 =& MDB2::connect($dsn);
if (PEAR::isError($mdb2))
{
die($mdb2->getMessage()."".$db2->getUserinfo());
}
generate a :
MDB2 Error: not found connect: [Error message: extension pgsql is not
compiled
# [EMAIL PROTECTED] / 2006-11-11 16:59:19 +0100:
> Hi,
>
> in my database PosgreSQL i have stored some date in the following format :
> -MM-DD HH:MM:SS
>
> this is a real TimeStamp without time zone field format.
>
> Under PHP i would like to display this field as text with the following
> f
echo ('$thisMonth');
I am trying to get this to open in a popup however it doess not open and I
cannot work out why. Must be a syntax arror as the page displays ok.
Ross
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
# [EMAIL PROTECTED] / 2006-11-12 09:46:34 +0100:
> so when i have this code :
> $options = array('debug' => 2,
>'portability' =>
> MDB2_PORTABILITY_ALL,
>);
>
>$query = 'SELECT * from sp_u_001(\'all\')';
Have a look on this page for all the ini settings..
It will also say if it is changeable
http://nl2.php.net/manual/en/ini.php#ini.list
Tom Chubb wrote:
> This is a really stupid question, but I've not been able to find an
> answer for it.
> I have always thought that your max upload size is limi
This is a really stupid question, but I've not been able to find an
answer for it.
I have always thought that your max upload size is limited to the
value in the php.ini file.
However I recently changed a site to a new server which had problems
with memory on one of the image resizing scripts.
I m
Hi,
I'm still wondering how are linked MDB2 class and MDB2_Driver_pgsql class.
when i analyze the code of DB.php and pgsql.php, it's clear that
DB.phpcheck a class based on phptype and therefore include the
pgsql.php file.
But i did not find something similar in MDB2.php.
i would like to underst
Hello, everybody,
I read about the staff log-in interestingly.
> I need a little php script. Staff log in by entering username and
password
> and then the next time they enter their username and password they log
out.
> The script has to take down the time they log in and log out. Then I
should
>
so when i have this code :
$options = array('debug' => 2,
'portability' =>
MDB2_PORTABILITY_ALL,
);
$query = 'SELECT * from sp_u_001(\'all\')';
$db2 = & new MDB2_Driver_pgsql();
$db2->connect($dsn);
30 matches
Mail list logo