languages. It
will also search replace using regexs for 100+ pages if ever you needed to.
The free utility called phpCodeBeautifier is useful, which you can add to
your right click. This is handy for re-formatting old code or if you're using
some downloaded code.
Regards, Bob E.
?
I'm assuming these problems wouldn't occur with a DB.
Regards, Bob E.
Please remember to write your response BELOW the previous text.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe
- Original Message -
From: James Keeline
--- On Thu, 10/2/08, Bob [EMAIL PROTECTED] wrote:
Would it be suitable to use a mysql database for an error log?
I'm assuming these problems wouldn't occur with a DB.
Regards, Bob E.
From the very beginning of this thread I thought
- Original Message -
From: [EMAIL PROTECTED]
Hi Bob,
Too late lol, I had already installed php 4.4.4 onto Apache 2.0.63
I have a tested and working script below. I didn't know if you wanted oldest
first or newest first. It is not hard to reverse it.
flock has issues
) for the first time.
Is it needed? I've tried flock() before and it seemed to screw things up.
Clicking the refresh button repeatedly shows it works, but is it any good, or
should I start again?
Thanks, Bob E.
Please remember to write your response BELOW
- Original Message -
From: [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2008 1:58 AM
Subject: Re: [php-list] Log files
- Original Message -
From: Bob
snip
$logdata = file_get_contents($logfile);
$nline = strpos($logdata, \n, 500);
$newdata = substr($logdata, $nline
- Original Message -
From: [EMAIL PROTECTED]
Hi Bob,
Most of what I post is hand written code, often bugs and all!
But that last script for php 4.x.x was straight off the php.net web site.
I really don't spend any time with php 4.x.x any more. I looked to find one
of my
- Original Message -
From: [EMAIL PROTECTED]
Hi Bob,
Below is the additional code for php version 4.x.x compatibility.
The $_SERVER[REMOTE_PORT] was just a curiosity thing.
Thanks, Rob.
file_put_contnets for php 5.x.x
?php
if ( !function_exists('file_put_contents
- Original Message -
From: [EMAIL PROTECTED]
- Original Message -
From: Bob
I used to use the following to log specific errors:
snip
But, this meant that sometimes there would only be a few errors shown, if
the file had reached it's 2 limit and deleted itself.
So
that I'll keep as reference.
Thanks, Bob E.
it?
Regards, Bob E.
Please remember to write your response BELOW the previous text.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED
- Original Message -
From: Patrick Bierans
Bob schrieb:
I used to use the following to log specific errors:
?php
$log = 'rejected';
if (filesize($log) 2) unlink($log);
$data = date('d-m-Y H:i:s'). [$fault]\r\n;
error_log($data,3,$log);
?
But, this meant that sometimes
- Original Message -
From: James Keeline
What do all of those numbers mean in tire sizes anyways?
Hi James,
You don't drive or you have a company car?
The bigger the number, the more they cost.
Sorry James, I couldn't resist it.
No offence meant.
Best regards, Bob E.
your message../h2
/body
/html
30 min delay, then goto a non-existant site which will 404.
This hiccups their automated list and I think they've finally given up on
filling my error log with 100's per day.
Hope this helps someone.
Regards, Bob E.
Please
will never see the
error.
My thinking is to slow or snag the automated systems.
Thanks, Bob E.
Please remember to write your response BELOW the previous text.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED
Hi,
I'm trying to match 2 or more links.
?php
$raw = visit http://site.com and http://www.site.com for gifts!;
if (preg_match(/(http:){2,}/i, $raw)) echo SPAM;
else echo CLEAR;
?
The above doesn't work.
Where am I going wrong?
Thanks, Bob E.
Please
- Original Message -
From: James Keeline
--- Bob [EMAIL PROTECTED] wrote:
Hi,
I'm trying to match 2 or more links.
?php
$raw = visit http://site.com and http://www.site.com for gifts!;
if (preg_match(/(http:){2,}/i, $raw)) echo SPAM;
else echo CLEAR;
?
The above doesn't
one two or three question marks at the
very end.
What I don't understand is what are the 3 question marks for?
If I knew what it was, I'd have a better understanding of any additional
security needed.
Thanks, Bob E.
Please remember to write your response
doing this.
It isn't a 100% effective, and I now use other methods to stop it.
If the site owner has a daily visitors log, they will know where the hotlinking
is coming from, so expect some complaints.
Bob E.
are
what you would expect to receive.
If there's PHP and a variable involved, someone will try and do something they
shouldn't with it, you can guarantee on that :-)
Regards, Bob.
foreach($colr as $item) {
if ('blue' == $item)
// Do something
}
Obviously, example 1 is more readable. But I seem to remember reading that one
is more beneficial, but dismissed it at the time.
Thanks, Bob.
Please remember to write your response BELOW
- Original Message -
From: James Keeline
--- Bob [EMAIL PROTECTED] wrote:
Something I've always been meaning to ask.
If going thro a large amount of data, does it matter whether I compare the
value to the array item, or visa-versa?
$colr = array('red', 'blue', 'green', etc
($img); to get the mime type and $attr is really handy.
It's all in the downloadable PHP manual.
As mentioned previously, you'd need to check if the image exists.
Bob.
without the correct session variables.
Hopefully, this may help someone, or maybe improve it?
Can't remember were I got random session trick from, but just to say I didn't
think it up.
Regards, Bob.
Please remember to write your response BELOW the previous
- Original Message -
From: James Keeline
--- Bob [EMAIL PROTECTED] wrote:
Should a session variable work, if used in an include file?
i.e. I set session_start(); in the first line of the main page.
In the include file, I check if the session variable is set.
if (isset($_SESSION
out again.
Regards, Bob.
- Original Message -
From: William Piper
Bob wrote:
snipped some message here
The 1st DATE_FORMAT() is working fine.
My trouble is when I try to add the 2nd DATE_FORMAT():
No matter where I add it, the query fails. Tried it in different places etc.
$sql =
SELECT *,
DATE_FORMAT
- Original Message -
From: [EMAIL PROTECTED]
Bob wrote:
snipped some message here
You need to group your selects together, also it is a good idea to name
your tables in the join to keep from ambiguity issues though not
mandatory. See below:
SELECT *,
DATE_FORMAT(h.msg_id,'%W %D
, then answer below the quote. Jeopardy-style
quoting (answer before the question) is confusing and difficult to read.
You can even intersperse your answers between lines, but do so sparingly
Hi Richard,
I guess you didn't read the List Etiquette then big grin?
Regards, Bob.
p.s. I'm
- Original Message -
From: ahsan khairi
- Original Message
From: Bob
Hi,
I'm using mysql 4.1.21
Have just started using full-text searching on my home grown message board,
and it's working great.
I was previously using LIKE, but this seems so superior.
My question
Hi,
I'm using mysql 4.1.21
Have just started using full-text searching on my home grown message board,
and it's working great.
I was previously using LIKE, but this seems so superior.
My question is: what does it actually do when I add FULLTEXT to a column?
Just curious.
Thanks, Bob
images etc.
Thanks, Bob.
.
Speed is not too important, as it's only called one.
Any advice on how to tackle this?
Thanks, Bob.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page
may need escaping, and the dash is awkward,
but I just can't seem to get it correct.
Thanks, Bob.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page
Hi Rob,
- Original Message -
From: [EMAIL PROTECTED]
Hello Bob,
You didn't mention what you want to do with this url. There
are security issues that are diffferent on different platforms, different
configurations and different versions of PHP. What platform and version of
PHP
Hi Rob,
- Original Message -
From: [EMAIL PROTECTED]
Hi Bob,
It is much faster to do this sort of thing without REGEX -
if (strlen(strspn(strtolower($addr),
abcdefghijklmnopqrstuvwxyz0123456789/_.-)) != strlen($addr))
{
// exit; string not valid
}
You've shown me something
- Original Message -
From: raquibul islam
Thanks bob it work.but still 1 problem.
$query = SELECT image, image_type FROM $tbl_name WHERE image_id=.$_GE[i];
this line dosent work.
so i put $query = SELECT image, image_type FROM $tbl_name WHERE image_id=X;
line where X=1,2,3,4
exists (with $total items);
}
mysql_close();
?
Regards, Bob.
that it is an image that
is being uploaded, and not something nasty.
I don't know your level of experience in php, so these questions may be
irrelevate.
I'm still learning myself, and probably will be for some time yet grin.
Regards, Bob.
Hi Raquibul,
- Original Message -
From: raquibul islam
Bob here is the 1st file i change.
html
body
?php
$dbhost='localhost';
$dbuser='root';
$dbpass='123456';
$dbname='image';
$tbl_name='images';
$conn=mysql_connect($dbhost,$dbuser,$dbpass) or die ('Error in Connecting
Hi Raquibul,
- Original Message -
From: raquibul islam
Hey bob thanks for ur help
But still stuck in it
and HTML file name show.htm
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional/ /EN
http://www.w3. org/TR/xhtml1/ DTD/xhtml1- transitional. dtd
html xmlns=http
-8859-1 /
/head
body
divimg src=image.php?i=1 alt=Image description //div
/body
/html
Hope this helps you?
Regards, Bob.
dianne phillip
Not sure if this is what you need?
It will select 6 unique names, so you could maybe modify it to suit.
I used this in something similar.
?php
$names = array(bob, david, dianne, harry, john, harry, henry,
mary, phillip, phyllis);
$total = 6;
// Create array to store results
obviously be different.
This would cover just the name, subject and message.
I don't need newlines etc.
Thanks, Bob Exton.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED
confirm that this is correct?
Regards, Bob Exton.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo
/editor/
Feel free for anyone to try and break it, as it will help me make it more
secure.
A non-clickable link is allowed www.mysite.com though.
It saves the message to a DB, then emails me that a message has been left.
Regards, Bob Exton.
Community email addresses:
Post message: [EMAIL
Recognition, which I wouldn't think too many have?
I've just put one on, but mainly just to learn how to do it.
Hope you find a solution.
Regards, Bob Exton.
Community email addresses:
Post message: [EMAIL PROTECTED]
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner
could use something similar to suit your needs.
As someone said earlier, you wouldn't think it was worth their while targeting
one person, but they do seem to.
Regards, Bob Exton.
Community email addresses:
Post message: [EMAIL PROTECTED]
Subscribe:[EMAIL PROTECTED]
Unsubscribe
that the password is not good enough.
Have you created a password file, which would be located above root?
If these passwords are generated online, you would need a secure connection.
Depends on what you're protecting.
I'm presuming you know what to put in the .htaccess file.
Regards, Bob Exton
just lost my money.
UkHost4U have taken my money with nothing in return and got away with it.
Well, that's where Paypal make most of their money from, not the buyer.
It was only 12.90 UK pounds for a months trial, but it shows how this company
operates.
Sorry for my rant!
Disgusted, Bob Exton
account.
They are refusing to even reply to any emails I've sent to them and I have now
initiated a Paypal Dispute with them.
The've got my money and I have nothing.
Companies like this think they are a law unto themselves.
Regards, Bob Exton.
- Original Message -
From: Mark Mckee
Hi
think my judgement is already clouded concerning www.UKHost4u.com.
Regards, Bob Exton.
- Original Message -
From: Mark Mckee [EMAIL PROTECTED]
To: php-list@yahoogroups.com
Sent: Saturday, March 03, 2007 2:46 PM
Subject: Re: [php-list] Recommend a good hosting service
Hi Bob
Sorry
Hi Patrick,
- Original Message -
From: Patrick Bierans
Bob wrote:
Hi Patrick,
You helped me a lot in my early stages of learning php.
Regards, Bob Exton.
Ah, Hi Bob - I remember. ;)
That's because now I am working as a pro and nearly have no more time. ;)
But I still read
Hi Patrick,
- Original Message -
From: Patrick Bierans
works
Not often we hear from you lately.
You're just too verbose :-)
You helped me a lot in my early stages of learning php.
Regards, Bob Exton.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe
Hi James,
- Original Message -
From: James Keeline
--- Bob [EMAIL PROTECTED] wrote:
Hi all,
Is there any way that the following php line can be used to send an email to
anyone other than [EMAIL PROTECTED] ?
?php
@mail('[EMAIL PROTECTED]', $subject, $message, From: $name $email
that this line could be used to send spam to anyone!
I was under the impression that as '[EMAIL PROTECTED]' wasn't a variable and
it's in single quotes, that it couldn't be altered?
Thanks, Bob Exton.
[Non-text portions of this message have been removed]
to
select XX months.
Hi Gordon,
Couldn't you just use DESC LIMIT 2
or where limit is a variable.
Regards, Bob Exton.
here's a good place to start http://www.w3schools.com/php/default.asp
http://www.w3schools.com/php/default.asp
[Non-text portions of this message have been removed]
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL
Hi Mark,
I just found this doing a Google Search, hope it helps.
http://www.zend.com/zend/tut/calendar-ver7f.php
Bob
-Original Message-
From: php-list@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Mckee
Sent: 09/26/2006 4:09 PM
To: PHP-List
Subject: [php-list
, and check what the format is.
Hope this may help.
Regards, Bob E.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group
?
Are you wanting to format a full html page, and upload it?
Regards, Bob E.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com
file?
Regards, Bob E.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
* To visit
using rel=nofollow in the link, but this seems to be used to
stop visitors leaving links to get higher ranking results, and I don't allow
live links. I'm not sure what nofollow would do to my own site.
Thanks, Bob E.
[Non-text portions of this message have been removed]
Community email
when asking this sort of question.
Hi James,
Thanks very much for your reply.
I made an extremely large boob and I'm too embarrassed to say what is was!
So it's sorted. It wasn't the ampersand, but I've heeded what you said and
corrected that.
Thanks again James.
Best regards, Bob E
- Original Message -
From: Mike Brandonisio
Hi Bob,
How do you deal with 500 or more Xs with no spaces?
Hi Mike,
My last regex about this wouldn't have worked.
I thought I'd reproduce it just as an exercise. It's really overkill and took
it off
- Original Message -
From: Mike Brandonisio
Hi Bob,
How do you deal with 500 or more Xs with no spaces?
You could explode the posted message on [space] and do a strlen() on
each position in the array? Then test for strlen() greater than 60
characters. If you get a hit do str_replace
is 500 or more Xs with no spaces. The idea is to make
your page wider (if they put enough in) to spoil your page layout.
Bob E.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED
happened before), but then they would have the same version of PHP
that I have.
I'll contact the company about it.
Regards, Bob E.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL
rewrite
it.
To be on the safe side, I'll use if ($email == $valid) or something similar.
Thanks, Bob E.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL
with an empty string to see what it does (just returns
an empty string and doesn't cause an error) though I think this method might be
frowned on.
Regards, Bob E.
For anyone learning mysql like myself:-
?php
// short test prog for encode/decode
require ($_SERVER['DOCUMENT_ROOT'].'/cgi-bin
any light on why I can't read an empty DB value, or why I
can't get default 'no' working?
Thanks, Bob E.
Yahoo! Groups Sponsor ~--
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/HKFolB/TM
', it would use
the default value specified.
So, how do I make it use the default value?
I've tried using NULL.
Regards, Bob E.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED
Hey, Pete!
--- Pete [EMAIL PROTECTED] wrote:
so if we are on page 15,
10 11 12 13 14 [15] 16 17 18 19 20
I like that... however, running into some implementation problems. Let
me see if I'm getting this right:
for ($i = $current-page-5; $i= $current_page+5; $i++) {
$next_start = $start +
Please take this conversation off-list.
-Bob
--- Ahmad [EMAIL PROTECTED] wrote:
Hi!
What are your fields of expertise? And what are your terms and
conditions?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
a small fee depending upon
the number of subscribers you have to your newsletter. They take care of all
subscribe and unsubscribe issues. They also have many templates to choose
from for your newsletter or you can make your own.
Bob
--
No virus found in this outgoing message.
Checked by AVG Free
. However, it seems that I'm not getting the entire file
from the remote server.
Am I going about this wrong? Is there a better, easier way (that
doesn't involve CURL or any of those other acronyms) to get these
images?
Thanks,
-Bob
__
Do You Yahoo
I'm half-way there with this, but I need some assistance, please.
Disregard --- I found the problem and fixed it.
Thanks,
_Bob
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
12345 and 67890. When I
print_r, I get the following:
[MULTIPLE_ITEMS] = Array
(
[ITEM] = 67890
)
So, what happened to '12345'? How do I get it to also print?
Thanks for any assistance!
-Bob
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has
('192.168.2.59','root','XX') or die('Unable to
connect ' . mysql_error());
Are you running this locally on your computer or on your server?
Have you got the info correct to connect:-
mysql_connect(DB_HOSTNAME, DB_USERNAME, DB_PASSWORD);
Bob E.
Community email addresses:
Post message: php
would-be attackers.
Though I prefer error_reporting(0); to suppress all error messages (except my
own) once the code is fully tested.
Bob E.
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL
.*
So my question is a two-parter:
1) Can someone adequately explain the oracle CLOB field type to me
(Google was not my friend here), and
2) Assuming the SQL I'm using to access the data in the Oracle db looks
like MySQL SQL*, how would I access the CLOB data?
Thanks for the assist.
-Bob
and insert the
overflow into the overflow field.
Damn Oracle and it's stupid limits! :-)
-B
--- Bob Sawyer [EMAIL PROTECTED] wrote:
(I think the first time I tried this, I sent before I was done... if
so, I apologize for the truncated post...)
So, I'm not sure that I completely understand
way of blocking these insertions?
Thanks,
Bob
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe: [EMAIL
Hi Brian,
If it's not in the same directory as the file you're calling it from, you need
to work from the root, but not in the same way as you do with html.
?php include $_SERVER['DOCUMENT_ROOT'].'/Blog/Index.php'; ?
Brackets are optional.
Bob E.
- Original Message -
From: Brian E
=$sub
AND products.id=categorized_items.item_id
AAAHH!!! That would probably do the trick. Thanks for the
suggestion. I'll give that a shot tonight.
Cheers,
-Bob
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Hi Wretha,
That was just a test program.
You would need to alter:
echo trim($filename)..html;
To:
$filename = trim($filename)..html;
Bob E.
- Original Message -
From: W. Smith [EMAIL PROTECTED]
Hello, I tried both, they both work except now they don't
add .html on the end
purposes), without trotting through an array manually.
I did notice array_filter(); which sounds good, but didn't understand it :-(
Bob E.
- Original Message -
From: girish umanandan [EMAIL PROTECTED]
Use it with a slight change
?php
$title = Bob 123 #*%$£! to the Say's
($filename, smallWords);
$filename = implode(_, $filename);
$filename = trim($filename)..html;
echo $filename;
?
The downloadable php manual is great, but it takes a lot of wadding through.
Bob E.
p.s. Girish, you were right about implode(_, $filename);
- Original Message -
From: W. Smith
it slightly, if you want a default image.
Bob E.
- Original Message -
From: Mark Mckee [EMAIL PROTECTED]
I have had a search through google and the usual php sites and forums
over the last few days. I am looking for info to make a script that will
display a different logo on a pre
will work.
I normally put a space between array items to make them more readable (but
don't include them if I post) as they get all mashed up. That's where a colour
coded editor is helpful.
Bob E.
- Original Message -
From: W. Smith [EMAIL PROTECTED]
$remove = array
that?
Bob E.
- Original Message -
From: W. Smith [EMAIL PROTECTED]
$filename=strtolower($title);
$filename=substr(str_replace( ,_,$title),0,20)..html;
Community email addresses:
Post message: php-list@yahoogroups.com
Subscribe:[EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED
COLUMN1 or
COLUMN2 contains a number like '21' or '42', in which case the match
would occur, but the product would display where it shouldn't.
Is there any hope for this query?
Thanks,
-Bob
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best
.
I tried the in modifier, but kept getting an SQL error:
select * from products where cats = '1' and '2' in subcats
Any ideas?
Thanks,
-Bob
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
passing the SID it's recommended to use:
?php echo strip_tags(SID); ?
but this wouldn't cure your problem.
Bob E.
- Original Message -
From: new_wave_photo [EMAIL PROTECTED]
To: php-list@yahoogroups.com
Sent: Sunday, March 26, 2006 6:49 PM
Subject: [php-list] The Missing Session Variable
--- Bob Sawyer [EMAIL PROTECTED] wrote:
first pull all the products whose SUBCAT field contained \n's (since
that's the delimiter), use PHP to create an array of the field, and
match the link subcat using in_array() ... unless anyone here can
think of anything better?
Well, again, if anyone
--- Bob Sawyer [EMAIL PROTECTED] wrote:
Well, again, if anyone can think of anything better, I'm all ears,
but
for now, it seems that simply using ... LIKE '%$sub%' ... works OK.
My main concern about LIKE is that if the linked subcat is 1 and
the SUBCAT field contains '13,21' it'll pick
Apparently not. In addition, he cross-posted to about a dozen other
groups. Bye-Bye, Asif.
--- Michael Sullivan [EMAIL PROTECTED] wrote:
On Tue, 2006-03-14 at 22:57 -0800, Asif Ali wrote:
Note: forwarded message attached.
So there was no actual question with this
--- James Keeline [EMAIL PROTECTED] wrote:
Does the landing page for the group or the welcome message explicitly
discourage cross posting?
It does now. :-)
Good catch. Thanks for reminding me.
-Bob
__
Do You Yahoo!?
Tired of spam? Yahoo
= $addr . 'pal=' . $name . '%40' . $site . '.com';
header(Location: $goto);
?
Yep, I know it's pointless (only Paypal members can verify other members) but
it ain't for me.
If I was a verified Paypal member, I'd create a seperate email address to
:blackhole: and let them spam this.
Thanks, Bob
, and if it
does, delete it from the array.
if (in_array($bar, $foo)) {
// what goes here???
}
I've done this before, but for the life of me, I'm drawing a blank now.
Help a bruthah out?
Thanks,
-Bob
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has
1 - 100 of 215 matches
Mail list logo