Michael Sims wrote:
I 'm not where I can test this right now, but if a session is older
than session.gc_maxlifetime, isn't it invalid anyway? I.E. if I
bookmark a page on your site and then come back 3 hours later passing
an old SID, shouldn't that session have expired on the server by that
time
Michael Sims wrote:
Then I suppose it's just an added feature of the session handler I am
using. Maybe the OP should give it a shot, as I use it and I
definitely don't have a problem with expired sessions
I'll think about writing my own session handler as it can be quite
useful. However I nee
I have always had the opinion that the more comments you put into php
scripts, the slower they will run because there is more data to be read...
Can someone tell me if there is any truth in this or whether commenting has
absolutely 'no' impact on the performance of a script?
Thanks,
Adam.
--
P
If I declared an element indexed array and put some values into it:
$a['element1'] = array('btime' => '19D', 'etime' => '22D', 'dayname' => 4);
$a['element2'] = array('btime' => '12D', 'etime' => '20D', 'dayname' => 2);
$a['element3'] = array('btime' => '15D', 'etime' => '17D', 'dayname' => 3);
I
php-general Digest 24 Nov 2002 09:23:29 - Issue 1723
Topics (messages 125739 through 125772):
Re: using cookies
125739 by: Paul Marinas
125742 by: Rich Gray
125754 by: Chris Shiflett
Re: Using Ping (was: using cookies)
125740 by: Marco Tabini
Passing Variabl
unset($a['element2']);
http://www.php.net/manual/en/function.unset.php
> I would like to ask that how can I completely delete the $a['element2'] in
> the array? That's mean I will get 'false' in 'isset($a['element2']) after
> the delete process is taken place.
--
Linux: Because rebooting is for
If I declared an element indexed array and put some values into it:
$a['element1'] = array('btime' => '19D', 'etime' => '22D', 'dayname' => 4);
$a['element2'] = array('btime' => '12D', 'etime' => '20D', 'dayname' => 2);
$a['element3'] = array('btime' => '15D', 'etime' => '17D', 'dayname' => 3);
I
I have always had the opinion that the more comments you put into php
scripts, the slower they will run because there is more data to be read...
Can someone tell me if there is any truth in this or whether commenting has
absolutely 'no' impact on the performance of a script?
The comments are igno
Hi all,
Need a little help here been at this for a while now...
I have a database holding a table which in turn holds a collection of fields
I need to search.
Ive set up search form that sends the variable $S_For and $S_From, these
variables represent the following:
$S_For = the search keywo
Cookra wrote:
Any help would be ideal
Some code would be nice. Youdidn't post any code so we have no idea what
your problem might be ... do you get an error message, or no results, or
the wrong results?
We don't even what what SQL query you are using ...
Jc
--
PHP General Mailing List
Hello,
What you need is :
1- parse your query and make it boolean
"apple orange" become "apple and orange" and so on
2- then you can generate a MySQL query based on that like this way
---
SELECT id, field1
match (field1) against (' apple orange ') as relevance
FROM hospitality
WHERE
At 08:47 24.11.2002, Jean-Christian Imbeault said:
[snip]
>Ernest E Vogelsinger wrote:
> >
>> if ($_COOKIE[$_SESSION['cookie_name']] == $_SESSION['cookie_token']) {
>
>Ok, please forgive my ignorance, but in PHP isn't $_COOKIES the same as
>$_SESSION?. I
At 08:56 24.11.2002, Jean-Christian Imbeault said:
[snip]
>session.gc_maxlifetime does set the lifetime of a session, but a session
>will not be cleaned by PHP until session.gc_probability has been hit.
>Again, if my understanding is correct, PHP doesn't au
Adam,
> I have always had the opinion that the more comments you put into php
> scripts, the slower they will run because there is more data to be read...
> Can someone tell me if there is any truth in this or whether commenting
has
> absolutely 'no' impact on the performance of a script?
An ans
Hi,
i wanted to know if given a certain dir it is possible to get all the
sub-directories and files in an XML document. There could be many ways to do
this, just wandering if anybody has already done this.
thx in advance
gamin.
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
At 09:42 24.11.2002, Adam said:
[snip]
>I have always had the opinion that the more comments you put into php
>scripts, the slower they will run because there is more data to be read...
>Can someone tell me if there is any truth in this or whether commenting
This is a forwarded message
From: Boris Kolev <[EMAIL PROTECTED]>
To: toby z <[EMAIL PROTECTED]>
Date: Sunday, November 24, 2002, 2:02:09 PM
Subject: [PHP-WIN] Unable to upload.. :(
===8<==Original message text===
Hello toby,
Sunday, November 24, 2002, 1:04:25 PM, you wrot
Ernest E Vogelsinger wrote:
No, that's a misunderstanding. Session var's are never passed to and from
the client, only the session _name_ is passed, either via a cookie
(PHPSESSIONID) or via trans-sid href encoding.
Thanks for clearing that up! I hadn't realized that only the session
name was
hi Rich,
yes think i need more info to the "mysqldump utility". i suppose you mean
there is in fact this utility?
-Original Message-
From: Rich Gray [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 24, 2002 8:14 PM
To: See Kok Boon; PHP
Subject: RE: [PHP] getting mysql dump using php
A
Hi all is it possible to stripslahes from this query?
$results = mysql_query("SELECT * FROM $DB_Table_A ORDER BY name ASC LIMIT
$page, $limit");
while ($data = (mysql_fetch_array($results)))
{
//-->< something here would be nice
}
Thanks..
Regards
R
--
PHP General Mailing List
I can think of no security reason why you would want to allow anyone to
display output from a command, but wouldnt want them to be able to assign
that output to a variable. Can someone explain a situation where that would
be useful? Arent any security concerns addressed by the safe_mode_exec_dir
thanks Morgan,
i am sure your script will do a great job... unfortunately, crontab returns
/bin/mail permission denied... and i cant chage system settings because i am
not the WSP (or ISP)
actually... i am thinking of something really silly.. but it will work
surely... and that is to use "SELECT
on 24/11/02 11:10 PM, Jean-Christian Imbeault ([EMAIL PROTECTED]) wrote:
> This now hands me a dilemma ... I was building my site conservatively,
> i.e. assuming the user would have cookies turned off. And so I am making
> heavy use of session variables. *But* I had thought that if the user had
>
Hey all
I'm looking to implement the huffman encoding in PHP, but i would like to
ask if it isn't already done ? (why reinventing the wheel)
Thx
Hatem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
...seems like Rich is not available yet so let me try :)
"See Kok Boon" <[EMAIL PROTECTED]> wrote:
> hi Rich,
>
> yes think i need more info to the "mysqldump utility". i suppose you mean
> there is in fact this utility?
Well, most probably you'll be able to find it inside your mysql/bin
Justin French wrote:
What sort of stuff are you storing in the session that your are worried
about with too many writes?
Oh, this site is just your regular, run-of-the-mill, amazon.com copy.
For each open session I store up to 20 variables. It's not a lot, but
each access to a script means a
Hatem Ben wrote:
I'm looking to implement the huffman encoding in PHP, but i would like to
ask if it isn't already done ? (why reinventing the wheel)
You have highjacked someone else's thread. Not very nice of you
Please repost and start your own message thread ... highjacked threads
rar
Hello,
"Steven Adams" <[EMAIL PROTECTED]> wrote:
> Hi,
> I am looking to secure my php install, like the settings in php.ini
etc.
>
> I am using apache 1.3.27 and running latest php.
>
> Is there like a tut or something that can take u thought the php.ini and
> explain ina little more detail?
At 12:58 24.11.2002, DL Neil said:
[snip]
>Why don't you run a microtime testbench to time a commented and an
>uncommented loop, settle your mind, and report back with REAL information!?
[snip]
Some time ago I've made
Hello,
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote:
> As PHP is an interpreter it needs to scan every line and every token of
> code as it runs it. Thus said, of course using comments takes more time to
> execute than having no comments.
>
> I have no profiling yet how much having comments o
Sorry for the last email (i wasn't looking to highjack any thread :( very sorry guys !)
- Original Message -
From: "Hatem Ben" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Sunday, November 24, 2002 2:06 PM
Subject: [PHP] Huffman encoding
> Hey all
>
> I'm looking to impleme
At 13:10 24.11.2002, Jean-Christian Imbeault said:
[snip]
>This now hands me a dilemma ... I was building my site conservatively,
>i.e. assuming the user would have cookies turned off. And so I am making
>heavy use of session variables. *But* I had thought
At 14:15 24.11.2002, Jean-Christian Imbeault said:
[snip]
>Oh, this site is just your regular, run-of-the-mill, amazon.com copy.
>
>For each open session I store up to 20 variables. It's not a lot, but
>each access to a script means a disk read/write so they
can somebody please help me? I cant figure it out.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
You must build a shared library by configuring php with --with-apxs2.
On Sun, 24 Nov 2002 09:42:40 -0500
[EMAIL PROTECTED] (Tweak2x) wrote:
> can somebody please help me? I cant figure it out.
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Neatly done Ernest!
Also in showing how these questions are best answered with five minutes on
the PC, than a msg to the list...
> At 12:58 24.11.2002, DL Neil said:
> [snip]
> >Why don't you run a microtime testbench to time a commented and an
> >uncomment
Howdy List,
I know this gets asked alot, but:
Does anyone have a recommendation for a *good* mailing list management script?
Requirements:
Multiple domain support
PHP 4
MySQL
Any thought are appreciated
Ernest,
> Some time ago I've made myself a framework for such tests and have run it
> against a commented loop. This test was run on a dual PIII/1000 Dell
server.
>
> $hpr = _fwx_profile_start('Loop with end-of-line comment', true);
> for ($i = 0; $i < 100; ++$i) {
> $a += 1;
Hi all,
I've been working with php for a while and whenever I
have the chance I give some tutorials/speeches about
it to other developers, specially those with no
experience with web development.
They all find easy but in one point or another start
asking about an IDE with a debugger, variable wa
> At 09:42 24.11.2002, Adam said:
> [snip]
> >I have always had the opinion that the more comments you put into php
> >scripts, the slower they will run because there is more data to be read...
> >Can someone tell me if there is any truth in this or whether c
how do i do that?
"Stephan Seidt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> You must build a shared library by configuring php with --with-apxs2.
>
> On Sun, 24 Nov 2002 09:42:40 -0500
> [EMAIL PROTECTED] (Tweak2x) wrote:
>
> > can somebody please
windows, unix ?
On Sun, 24 Nov 2002 10:26:21 -0500
[EMAIL PROTECTED] (Tweak2x) wrote:
> how do i do that?
>
> "Stephan Seidt" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi,
> >
> > You must build a shared library by configuring php with --with-apxs2.
At 16:10 24.11.2002, DL Neil said:
[snip]
>However, if the "Loop without
>comment" results make sense to you - you're a better man than I, Gunga Din!
[snip]
I'd rather have my scripts crawl than having no comments in
windows xp pro
"Stephan Seidt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> windows, unix ?
>
>
> On Sun, 24 Nov 2002 10:26:21 -0500
> [EMAIL PROTECTED] (Tweak2x) wrote:
>
> > how do i do that?
> >
> > "Stephan Seidt" <[EMAIL PROTECTED]> wrote in message
> >
Hi,
Running Red Hat 7.2, PHP 4.0.6. Is there any way of knowing if a certain
PHP script was run from the command line, shell script or through the
webserver (Apache). May be i could check the user calling the script and
find out but how would i do that ?
thx in advance
gamin
--
PHP Gener
On Sun, 24 Nov 2002 17:01:21 +0900, you wrote:
>Michael Sims wrote:
>>
>> Then I suppose it's just an added feature of the session handler I am
>> using. Maybe the OP should give it a shot, as I use it and I
>> definitely don't have a problem with expired sessions
>
>I'll think about writing my
You might solve this by providing different style sheet to on linux
running browsers:
if(ereg('Linux',$_SERVER['HTTP_USER_AGENT'])) {
echo '';
} else {
echo '';
}
conbud wrote:
Hey. This really isnt a PHP question. but what fonts do you reccomend using
so they look decent on linux. Mainly
Read the file, addslashes(), and then insert it
Naif Al-Otaibi wrote:
How can I insert a file into a binary field in sql server 2000. Do I
need some function in the query like upload or just read the file and
insert it.
Thanks,
--
PHP General Mailing List (http://www.php.net/)
To unsubs
> I have always had the opinion that the more comments you put into php
> scripts, the slower they will run because there is more data to be read...
> Can someone tell me if there is any truth in this or whether commenting
has
> absolutely 'no' impact on the performance of a script?
If the overhea
> Read the file, addslashes(), and then insert it
>
Rather, read the file, don't touch addslashes, then insert it.
AddSLashes is not for binary data...
-Sterling
> Naif Al-Otaibi wrote:
>
> >How can I insert a file into a binary field in sql server 2000. Do I
> >need some function in the que
--- Jean-Christian Imbeault <[EMAIL PROTECTED]> wrote:
> This now hands me a dilemma ... I was building my site
> conservatively, i.e. assuming the user would have
> cookies turned off. And so I am making heavy use of
> session variables. *But* I had thought that if the
> user had cookies enabled
Hi,
I have a few pages on my site that contains dynamical content that must be
"processed" each time the page is loaded. But I'd also want to allow the
users to be able to use the back button of their browser to go back to forms
and that these forms still contain the information they entered (inst
Thanks! Just one more question. I also want to replace emoticons, such as
:-), :), or ;-), that are stored in a table. The structure is this: id,
emote, replace. How could I check to see if the text the user typed in
contains any of the emotes in the table then replace them with the correct
replace
i guess i can use $remote_addr to see if the user has an IP.
But still out of curosity - any way of knowing the user that called the
script ?
gamin.
Gamin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
>Running Red Hat 7.2, PHP 4.0.6. Is there any
Just a little note. Don't use $remote_addr. I would strongly recomend using
$HTTP_SERVER_VARS["REMOTE_ADDR"].
- Original Message -
From: "gamin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 24, 2002 1:10 PM
Subject: [PHP] Re: security of stand alone script
> i gues
Maybe Pear's Cache class could help you..
But I'm not sure, never played around with it in detail.
On Sun, 24 Nov 2002 12:47:08 -0500
[EMAIL PROTECTED] (Alex) wrote:
> Hi,
>
> I have a few pages on my site that contains dynamical content that must be
> "processed" each time the page is loaded. B
Hi gamin,
>Running Red Hat 7.2, PHP 4.0.6. Is there any way of knowing if a
certain
> PHP script was run from the command line, shell script or through the
> webserver (Apache). May be i could check the user calling the script and
> find out but how would i do that ?
There is a difference in
Never heard of that, in fact, addslashes escapes also NUL, so it must be
binary,
and BLOB is like TEXT, except for comparison is case sensitive in BLOB.
And what if the file contains malicious code - it might come from remote
user's upload
Sterling Hughes wrote:
Read the file, addslashes(), and
You first need to separate the words and then build your query:
$words = explode(' ',$S_For);
$cond='';
foreach($word as $str) {
$cond .= " $S_From LIKE '%$str%' AND "; // replace AND with OR if
you want ANY word
}
// remove trailing AND(last 4 chars) or OR(last 3 chars)
$cond = substr($cond,
Provide a back_to_the_form link and pass all values, then on the form
assign them to the fields.
Alex wrote:
Hi,
I have a few pages on my site that contains dynamical content that must be
"processed" each time the page is loaded. But I'd also want to allow the
users to be able to use the back b
Hello,
I have PHP v4.2.3 on Windows 2000 Advanced Server with Microsoft SQL Server
v7.0, and a script for domain registration via OnlineNIC. That script uses
cookies to maintain session information, but it seems it can't store those
cookies on the hard disk so it always asks me to login in every
At 19:10 24.11.2002, gamin said:
[snip]
>i guess i can use $remote_addr to see if the user has an IP.
>
>But still out of curosity - any way of knowing the user that called the
>script ?
[snip]
If the script is called
thanks Edwin!!
oki... now that i can create the dump, i'll just use lynx from crontab to
send the dump as attachment to my email. thanks!
-Original Message-
From: @ Edwin [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 24, 2002 9:24 PM
To: See Kok Boon
Cc: [EMAIL PROTECTED]
Subject: Re:
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> BLOB is like TEXT
In what way? BLOB is binary large object. Text is ... text. One is
binary, and the other is ASCII. The only similarity I can think of is
that they both represent data. However, the format is completely
different.
Open up a binary
Caching is usually managed through a set of headers--for example:
You can use these in the pages that are dynamic and omit them in those
pages where you want to keep the information.
Cheers,
Marco
php|architect - The magazine for PHP Professionals
The monthly worldwide magazine d
At 20:34 24.11.2002, Marco Tabini said:
[snip]
>header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");// Date in the past
[snip]
You should avoid this since most modern search engines would throw the site
away because
In the purpose of getting access to mydomain.se/ha/ I will set a cookie:
setcookie ("login", "OK", time()+3600, "/ha/");
It looks like the cookie is set since I get the confirmation text (of course
placed inside the codeblock where the cookie is 'set' (?). Probably it just
confirm that it has found
In the purpose of getting access to mydomain.se/ha/ I will set a cookie:
setcookie ("login", "OK", time()+3600, "/ha/");
Not sure if this is the case, but try this instead:
setcookie ("login", "OK", time()+3600, "/ha/","mydomain.se");
--
Kyle Gibson
admin(at)frozenonline.com
http://www.frozenon
php-general Digest 24 Nov 2002 21:40:01 - Issue 1724
Topics (messages 125773 through 125836):
Re: Newbie: element index array
125773 by: Chase Urich
125774 by: Kyle Gibson
Re: does //commenting reduce performance?
125775 by: Kyle Gibson
125781 by: DL Neil
But my main page, for instance mail.php, includes top.php and bottom.php.
But top.php must be processed each time because it prints on every page on
my site if the user has new messages. But if all pages are cached, then it's
always the cached version that's printed to the user, so even if he has
At 22:38 24.11.2002, Alex said:
[snip]
>But my main page, for instance mail.php, includes top.php and bottom.php.
>But top.php must be processed each time because it prints on every page on
>my site if the user has new messages. But if all pages are cached,
At 22:14 24.11.2002, Øystein Håland said:
[snip]
>In the purpose of getting access to mydomain.se/ha/ I will set a cookie:
>setcookie ("login", "OK", time()+3600, "/ha/");
>It looks like the cookie is set since I get the confirmation text (of course
>placed i
I'm trying to write PHP code that will not only parse the XML but also
allow me to sort the parsed information by the values parsed.
Current code
==
class RSSParser {
var $insideitem = false;
var $tag = "";
var $ServerName = "";
var $ServerStatus = "";
var $ServerType = "";
var $Ser
Before asking, you should have done a search at google.com... I searched for
'emoticons replace php', and it returned HEAPS of results, including this
one, which seems close to what you're asking...
http://www.devarticles.com/art/1/161/2
Search the archives and google before posting please!
Jus
Ernest E Vogelsinger wrote:
>
> At 22:38 24.11.2002, Alex said:
> [snip]
> >But my main page, for instance mail.php, includes top.php and bottom.php.
> >But top.php must be processed each time because it prints on every page on
> >my site if the user has ne
At 00:27 25.11.2002, Robert Cummings said:
[snip]
>> You can't have all of both worlds - either allow the browser to cache, then
>> the form content will be still available from the button. Or you
>> disallow caching, then it won't.
>
>Actually you can. Try
Yes, I found that after posting my last message. Sorry and I'll use google
more...
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROTECTED]>
Sent: Sunday, November 24, 2002 6:42 PM
Subject: Re: [PHP] Parse URLs
> Bef
Ernest E Vogelsinger wrote:
>
> If you read my complete post you'll notice that I suggested using session
> variables. The issue why I first answered the question _without_ talking
> about session variables is the fact that Alex was talking about a search
> form. Search forms are often used on "no
If the page itself is never cached to force dynamic php pages to always be
"fresh", is there a way to cache only images to reduce bandwidth usage?
Thanks, (and thanks for all your good advices!)
"Alex" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I h
At 01:04 25.11.2002, Alex said:
[snip]
>If the page itself is never cached to force dynamic php pages to always be
>"fresh", is there a way to cache only images to reduce bandwidth usage?
[snip]
Alex,
images are a se
Howdy,
I'm doing a simple db check.. grabbing a db value, in this case $sec, based
on the user name registered in the session,
I've created a user called test with $sec equal to "2" but when i get to
the second echo of $sec the value has changed to "1" and I can't understand
why... can some one p
Ahem ...
$sec=1 means "set $sec to 1"
You want
$sec==1
:-)
M.
-Original Message-
From: Peter Houchin [mailto:[EMAIL PROTECTED]]
Sent: 25 November 2002 00:53
To: php_gen
Subject: [PHP] perplexed as to why this is happening...
Howdy,
I'm doing a simple db check.. grabbing a db value,
thanks for that .. I must be going blind :)
> -Original Message-
> From: Michael Hazelden [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 25 November 2002 11:44 AM
> To: 'Peter Houchin'; php_gen
> Subject: RE: [PHP] perplexed as to why this is happening...
>
>
> Ahem ...
>
> $sec=1 means "se
Howdy,
I'm doing a simple db check.. grabbing a db value, in this case $sec, based
on the user name registered in the session,
I've created a user called test with $sec equal to "2" but when i get to
the second echo of $sec the value has changed to "1" and I can't understand
why... can some one p
Hi to all,
Sorry for this post I know this is a mysql related question, i just wanna
have other comments.suggestions from this list.
I have a problem regarding date queries in mysql. Im creating inventory
reports in PHP. I want to query from the date field a weekly report for a
specific month, ye
Hi all,
I'm making a site which will reside in a remote server and had several
problems... most of them where solved once I saw that register_globals
are OFF, but now I dont know which other settings are affecting my
scripts. I have trouble with header("Location... because the browser is
NOT redi
Are you using a relative url for the redirection?
Cesar Aracena wrote:
Hi all,
I'm making a site which will reside in a remote server and had several
problems... most of them where solved once I saw that register_globals
are OFF, but now I dont know which other settings are affecting my
script
At 03:05 25.11.2002, Cesar Aracena said:
[snip]
>I'm making a site which will reside in a remote server and had several
>problems... most of them where solved once I saw that register_globals
>are OFF, but now I don't know which other settings are affecting m
I'm making a site which will reside in a remote server and had several
problems... most of them where solved once I saw that register_globals
are OFF, but now I dont know which other settings are affecting my
scripts. I have trouble with header("Location... because the browser is
NOT redirected.
--- Cesar Aracena <[EMAIL PROTECTED]> wrote:
> I have trouble with header("Location... because the
> browser is NOT redirected. If I set an echo statement
> after I detected that the username and password using
> $_POST[""], the echo goes OK but if I comment the echo
> and un-comment the
>
> hea
> Sorry for this post I know this is a mysql related question, i just
wanna
> have other comments.suggestions from this list.
> I have a problem regarding date queries in mysql. Im creating
inventory
> reports in PHP. I want to query from the date field a weekly report
for a
> specific month, year
Thank you Marek
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You first need to separate the words and then build your query:
>
> $words = explode(' ',$S_For);
> $cond='';
> foreach($word as $str) {
> $cond .= " $S_From LIKE '%$s
In response to all of you wonderful people:
Leif, yes and no... I've tried all kind of URLs
Ernest, I think you're on the right track here... I'll try that.
Kyle, no... I made those errors in the past, so now I make sure I don't
(again :)
Chris, I tend to forget to append the / after the URL so
Hi all,
I just need a quick sanity check. I was going through some old scripts,
cleaning them up, optimising them, etc etc... and then I opened my OLD
user/sessions management library...
For some reason (inexperience probably, or a bad article), it was set-up so
that both the uid and pwd were se
MySQL4.0.1 Question. HTOK
FULLTEXT index confusion.
Why does my SQL work?
SELECT YR,AU,ST,SD,SC,BT,BD,BC,AT,AD,AC,AUS
FROM ccl_main
WHERE MATCH (AUS)
AGAINST ('+margaret +atwood' IN BOOLEAN MODE)
ORDER BY id desc
AUS is not part of my FULLTEXT Index. So why does it work? How does FULLTEXT work
--- Justin French <[EMAIL PROTECTED]> wrote:
> I just need a quick sanity check.
I'm no doctor, but I think you're sane. :-)
> For some reason (inexperience probably, or a bad
> article), it was set-up so that both the uid and pwd
> were set as session variables, and EACH PAGE on the
> site chec
At 03:27 25.11.2002, Cesar Aracena said:
[snip]
>what you mean by "snoop the HTTP traffic" but if it has something to do
>with the server, then no I can't...
[snip]
Make a
telnet www.mydomain.com 80
and transmit s
At 03:33 25.11.2002, Justin French said:
[snip]
>I know the above should be fine, but I'm just checking if there's any reason
>why I choose to call the DB on every page... it was about 2 years ago, so my
>guess is "inexperience" :)
[snip]-
I'm having a weird problem. When I submit a form on my site, it often
sends twice. I'm not sure if this is a client-side or server-side
problem, but it doesn't happen on other sites. Is this a common
problem, or am I making some dumb mistake?
--
The above message is encrypted with double rot
Thanks all :)
> That's what all my apps do - they just check if the user is already logged in.
>
> When there's no "user record" in session space, the login box gets
> displayed, and as a response of user login the script checks the database.
> It then reads all necessary data, including last log
1 - 100 of 129 matches
Mail list logo