Re: [php-list] Indenting code

2008-10-13 Thread Bob
l, 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.

Re: [php-list] Log files

2008-10-02 Thread Bob
- 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. >>

Re: [php-list] Log files

2008-10-02 Thread Bob
interest. I guess you've probably looked at the user notes: http://uk.php.net/flock It seems no-one can agree on anything to do with flock(). 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.

Re: [php-list] Log files

2008-10-01 Thread Bob
- 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 h

Re: [php-list] Log files

2008-09-30 Thread Bob
- Original Message - From: <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2008 1:58 AM Subject: Re: [php-list] Log files > - Original Message - > From: "Bob" > > > $logdata = file_get_contents($logfile); > $nline = strpos($logdata, "\

[php-list] Log files

2008-09-30 Thread Bob
am_set_write_buffer($fp, 0) 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 t

Re: [php-list] Rolling Road Log

2008-09-27 Thread Bob
- 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 mor

Re: [php-list] Rolling Road Log

2008-09-26 Thread Bob
- 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 <

Re: [php-list] Rolling Road Log

2008-09-25 Thread Bob
can move everything to a single directory (easy / quick) - & let the > cron job do it for me - instead of waiting & waiting to delete via > FTP)... Hi Gordon, Thanks for your reply. Some great ideas that I'll keep as reference. Thanks, Bob E.

Re: [php-list] Rolling Road Log

2008-09-25 Thread Bob
- Original Message - From: <[EMAIL PROTECTED]> > - Original Message - > From: "Bob" > > I used to use the following to log specific errors: > > But, this meant that sometimes there would only be a few errors shown, if > the file had reache

Re: [php-list] Assigning Variables from preg_match arrays

2008-09-24 Thread Bob
- 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.

Re: [php-list] Rolling Road Log

2008-09-24 Thread Bob
- Original Message - From: "Patrick Bierans" > Bob schrieb: >> I used to use the following to log specific errors: >> > $log = 'rejected'; >> if (filesize($log) > 2) unlink($log); >> $data = date('d-m-Y H:i:s')." [$fa

[php-list] Rolling Road Log

2008-09-24 Thread Bob
fclose($fp); } else { $fp = fopen($log,'w'); fwrite($fp,$data); fclose($fp); } ?> Has anyone got a better method, or can improve it? Regards, Bob E. Please remember to write your response BELOW the previous text. Community email address

Re: [php-list] O/T automated [EMAIL PROTECTED]

2008-09-23 Thread Bob
- Original Message - From: "Greg" > --- In php-list@yahoogroups.com, "Bob" <[EMAIL PROTECTED]> wrote: >> >> Add a random $_GET number to your contact-me website link, and > compare it with a session that is also sent. > > Can you ex

[php-list] O/T automated [EMAIL PROTECTED]

2008-09-17 Thread Bob
utomated 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 remember to write your response BELOW the previous text. Community email addresses: Post

Re: [php-list] Session not working properly

2008-09-17 Thread Bob
- Original Message - From: "Tomás Herink" > Hi leds! > > I am trying to use sessions for the first time. Logging in and starting > session is not a problem, but when I click an URL to some other page, > session_id() variable is empty. How to keep the session active within all of > my page

[php-list] Error 403 redirects

2008-08-17 Thread Bob
ertainly be automated, so most 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.c

Re: [php-list] Matching links in a message

2008-08-15 Thread Bob
- Original Message - From: "James Keeline" > --- Bob <[EMAIL PROTECTED]> wrote: > >> Hi, >> I'm trying to match 2 or more links. >> >> > $raw = "visit http://site.com and http://www.site.com for gifts!"; >> >&

[php-list] Matching links in a message

2008-08-15 Thread Bob
Hi, I'm trying to match 2 or more links. 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.

[php-list] PHP v ASP

2008-07-08 Thread Bob Sharp
I use Classic ASp on my website - www.ProBowlUK.co.uk - to provide msAccess databases. I will be re-writing the layout of the website in CSS instead of tables. I'm thinking of using PHP to "include" files of the menu and links. What are the merits of PHP and ASP for datbases and Includes ? tha

[php-list] O/T multiple question marks after the request?

2008-05-01 Thread Bob
have 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 writ

Re: [php-list] Strange problem : Cannot display images

2008-04-15 Thread Bob
y own site's visitors. The site you're trying to hotlink to is probably using an .htaccess file to ban you from 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.

Re: [php-list] Comparing values

2008-04-07 Thread Bob
les are blank. You still need to check that both variables have a value, and the values 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.

Re: [php-list] Comparing values

2008-04-06 Thread Bob
- 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,

[php-list] Comparing values

2008-04-06 Thread Bob
x27;blue') // Do something } example 2 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. ---

Re: [php-list] Re: Image Watermarking with PHP

2008-03-24 Thread Bob
- Original Message - From: "Wade Smart" > Thanks for the post Bob but you didnt answer the correct question. > I have the image overlay with the time and date in a gray box working > great. Im working on SAVING it now to a file. > > The second parameter for the

Re: [php-list] Re: Image Watermarking with PHP

2008-03-23 Thread Bob
he text may overlap certain things in the images. Left, center, right, upper, lower (you have to calculate them yourself) and maybe different light and dark colours. You can use getimagesize($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.

[php-list] Stopping automated spam

2008-03-13 Thread Bob
out 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 pre

Re: [php-list] Using sessions in include files

2008-03-11 Thread Bob
ow why I didn't see it. Code blindness? I stupid mistake on my half. echo headers_sent()?'bad':'ok'; Nice tip, I'll remember that when I'm pulling my hair out again. Regards, Bob.

Re: [php-list] Using sessions in include files

2008-03-11 Thread Bob
- 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,

[php-list] Using sessions in include files

2008-03-11 Thread Bob
luded pages, or is my server setup differently? $_POST and $_GET work in included files, so why shouldn't $_SESSION Thanks, Bob. Please remember to write your response BELOW the previous text. Community email addresses: Post message: php-list@yahoogroups.com Subscribe:[EMAIL PRO

Re: [php-list] Format date in left join

2008-03-04 Thread Bob
- Original Message - From: <[EMAIL PROTECTED]> >> Bob wrote: > > >> 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: >> >>

Re: [php-list] Format date in left join

2008-03-04 Thread Bob
- Original Message - From: "William Piper" > Bob wrote: >> 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. >> >&

Re: [php-list] Format date in left join

2008-03-04 Thread Bob
- Original Message - From: "James Keeline" > --- Bob <[EMAIL PROTECTED]> wrote: > >> The following is working, but it's the first time I've used a table join, so >> I may have it all wrong. >> >> CREATE TABLE `familyhistory`

[php-list] Format date in left join

2008-03-04 Thread Bob
JOIN? I read that it's more efficient to let MySql do the work, and not to pull the data and format it yourself. Thanks, Bob. Community email addresses: Post message: php-list@yahoogroups.com Subscribe:[EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROT

[php-list] Jeopardy style replies

2008-02-26 Thread Bob
adly as it's not a flame or anything, but the young programmers don't see the old tradition as we do. I think we have to except it, though it may be hard for some. Best regards, Bob. p.s. And what's all this Plain Text all about? I've never heard of it? (joke). Commun

Re: [php-list] File - List Etiquette

2008-02-25 Thread Bob
-- >>List Etiquette >>=== >> >>- First quote, 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

Re: [php-list] Using full-text searching

2008-01-31 Thread Bob
- 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

[php-list] Using full-text searching

2008-01-30 Thread 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 is: what does it actually do when I add FULLTEXT to a column? Just c

Re: [php-list] Calulate 2nd Sun in Nov

2007-11-21 Thread Bob
get_day("Second", "Saturday", "12-2007"); > $date2 = get_day("Last", "Friday", "11-2007"); > $date3 = get_day("Second", "Sunday", "11-2007"); > > echo "Last Friday of November, 2007: ".date("m-d-Y", $date2).""; > echo "Second Sunday of November, 2007: ".date("m-d-Y", $date3).""; > > ?> Hi Subba, Just had to make the "Second", "Last" in get_day(); to lowercase, and it works a treat. I was thinking of building up my own function, but you've done it all for me. Now, what I'm I going to do for the rest of the week? (I'm joking of course). Many thanks, Bob.

Re: [php-list] Re: Calulate 2nd Sun in Nov

2007-11-21 Thread Bob
e moment, and just thought it would be nice to automate it for the coming years. It's just for seasonal and religious dates that show common title images etc. Thanks, Bob.

[php-list] Calulate 2nd Sun in Nov

2007-11-20 Thread Bob
oing something wrong. 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]

Re: [php-list] Regex for valid link

2007-11-07 Thread Bob
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

Re: [php-list] Regex for valid link

2007-11-07 Thread Bob
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

[php-list] Regex for valid link

2007-11-07 Thread Bob
g the rest. I know some 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] S

Re: [php-list] Problem with image+MySql+php

2007-10-04 Thread Bob
- 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_na

Re: [php-list] Problem with image+MySql+php

2007-10-03 Thread Bob
lled "image" but it doesn't matter for the moment). Run the "create_table.php" I just sent, which will recreate the table, them upload a new image to the database and try it. If it doesn't work, I'll email a zipped folder with the files in it to you. Regards, Bob.

Re: [php-list] Problem with image+MySql+php

2007-10-03 Thread Bob
} } else { $items = mysql_query("SELECT COUNT(*) FROM $tbl_name"); $total = mysql_result($items, 0); echo "Table '$tbl_name' already exists (with $total items)"; } mysql_close(); ?> Regards, Bob.

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread Bob
Hi Raquibul, - Original Message - From: "raquibul islam" > Hey bob thanks for ur help > But still stuck in it > > and HTML file name show.htm > > "http://www.w3. org/TR/xhtml1/ DTD/xhtml1- transitional. dtd"> > http://www.w3. org/199

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread Bob
Hi Raquibul, - Original Message - From: "raquibul islam" > Bob here is the 1st file i change. > > > > > $dbhost='localhost'; > $dbuser='root'; > $dbpass='123456'; > $dbname='image'; > $tbl_name='im

Re: [php-list] Problem with image+MySql+php

2007-10-02 Thread Bob
're going to allow joe public to upload images to your server, you'll need to check 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 . Regards, Bob.

Re: [php-list] Problem with image+MySql+php

2007-10-01 Thread Bob
xplained previously. # Display image in an html page: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> Test Hope this helps you? Regards, Bob.

Re: [php-list] permutations

2007-09-11 Thread Bob
gh, as you'll see if you run it. Not sure how to get rid of the array holes, as it didn't matter when I used it. Maybe someone else can comment? I gleaned all this from the downloadable manual, which is excellent, but haven't tried all the array functions yet. Regards, Bob Exton.

[php-list] Plain text email

2007-08-04 Thread Bob
se: $raw = htmlentities($raw, ENT_NOQUOTES); The email address would 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 PROTECT

Re: [php-list] Re: Proofing contact forms

2007-04-17 Thread Bob
search engines. As you don't want a search engine to index a Contact Me link, this seems fine. Can anyone confirm that this is correct? Regards, Bob Exton. Community email addresses: Post message: php-list@yahoogroups.com Subscribe:[EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED

Re: [php-list] Re: Proofing contact forms

2007-04-14 Thread Bob
easy to read. http://circlecity.co.uk/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. Commun

Re: [php-list] Re: Proofing contact forms

2007-04-13 Thread Bob
e thought a CAPTCHA would have done the job, except those with Optical Character 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

Re: [php-list] Re: Proofing contact forms

2007-04-12 Thread Bob
es, so I could see if it was locking genuine posts out. The log deletes itself when it gets to large. The rejected message they get is lightweight to keep bandwidth usage low. I deliberately didn't give a link to return. You could use something similar to suit your needs. As someone said

Re: [php-list] Re: Writing to a .htpasswd file

2007-04-05 Thread Bob
Hi Marian, After doing some checking on the password, couldn't you just use: But, putting the pw file above root. Regards, Bob Exton. - Original Message - From: "Marian Briones" > Yes, I know what goes in it...I used to have a perl script that did > what I am try

Re: [php-list] Writing to a .htpasswd file

2007-04-04 Thread Bob
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,

[php-list] Paypal and ukhost4u.com

2007-03-22 Thread Bob
27;ve 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,

Re: [php-list] Recommend a good hosting service

2007-03-03 Thread Bob
othing. I think my judgement is already clouded concerning www.UKHost4u.com. Regards, Bob Exton. - Original Message - From: "Mark Mckee" <[EMAIL PROTECTED]> To: Sent: Saturday, March 03, 2007 2:46 PM Subject: Re: [php-list] Recommend a good hosting service > Hi Bob &g

Re: [php-list] Recommend a good hosting service

2007-03-03 Thread Bob
out of my 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 M

Re: Re: [php-list] list test

2007-01-29 Thread Bob
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 becau

Re: [php-list] list test

2007-01-27 Thread Bob
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 Subs

Re: [php-list] Email query

2006-12-24 Thread Bob
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] ? > > @mail('[EMAIL PROTECTED]', $

Re: [php-list] Email query

2006-12-23 Thread Bob
- Original Message - From: [EMAIL PROTECTED] - Original Message - From: Bob Hi all, Is there any way that the following php line can be used to send an email to anyone other than [EMAIL PROTECTED] ? "); ?> This is just the mail line, and lots of other input checks

[php-list] Email query

2006-12-23 Thread Bob
nder 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]

Re: [php-list] MYSQL - Select XX Months

2006-11-25 Thread Bob
#x27; function will be used, but im not sure how to select XX months. Hi Gordon, Couldn't you just use DESC LIMIT 2 or where limit is a variable. Regards, Bob Exton.

[php-list] Re: Learn php

2006-10-24 Thread Bob Baker
here's a good place to start 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 P

RE: [php-list] Event Calendar

2006-09-26 Thread Bob Boisvert
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

Re: [php-list] Gender Benders

2006-09-21 Thread Bob Sawyer
I don't believe this is PHP... you probably want to post this in the Javascript group... ;o) -B --- [EMAIL PROTECTED] wrote: > if (house.wife.properties(bitch) == TRUE) > if (!evict(house.wife) >{ > if (father.children) > { > newlocation=city.createnode.rentalapartment >

Re: [php-list] AOL is blocking form submissinos

2006-09-19 Thread Bob
Microsoft Outlook Express 6.00\n"; Send an email to yourself from your site, 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 PROTECTE

Re: [php-list] similar to a blog post help

2006-09-13 Thread Bob
and probably different to yours: CREATE TABLE `info` ( `id` datetime NOT NULL default '0000-00-00 00:00:00', `class` text NOT NULL, `url` text NOT NULL, `title` text NOT NULL, `comment` text NOT NULL, KEY `id` (`id`) ) TYPE=MyISAM; Regards, Bob E. Community email addres

Re: [php-list] similar to a blog post help

2006-09-12 Thread Bob
. === Hi Mark, I don't think this is what you want but: $mth\n"; echo $day."\n"; echo 'Page 1 '.$comment1."\n"; echo 'Page 2 '.$comment2."\n"; // etc. ?> Are you reading data from a database? Are you wanting to forma

Re: [php-list] similar to a blog post help

2006-09-11 Thread Bob
you just writing to a writable 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

[php-list] Re: project

2006-09-11 Thread Bob Baker
try learning some PHP here: http://www.w3schools.com/php/default.asp --- In php-list@yahoogroups.com, "arwa_cute" <[EMAIL PROTECTED]> wrote: > > i m student of BS. I m developing my final project. i hve to defend y > php is better than vb.net or other lan

Re: [php-list] similar to a blog post help

2006-09-11 Thread Bob
ong place within the 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

Re: [php-list] similar to a blog post help

2006-09-11 Thread Bob
, Do you just want to know how to UPDATE a record in your database? Regards, Bob E. [Non-text portions of this message have been removed] Community email addresses: Post message: php-list@yahoogroups.com Subscribe:[EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner

Re: [php-list] OT links generating errors

2006-09-09 Thread Bob
ines with these errors 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

[php-list] OT links generating errors

2006-09-09 Thread Bob
is 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 addresses:

Re: [php-list] Code Error!Parse.

2006-08-14 Thread Bob Sawyer
know that in my particular situation, magic_quotes_gpc is set to "off" so it's habitual for me to throw in add/strip slashes on text inputs. Thanks, -Bob __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

Re: [php-list] Preventing scripted form posts

2006-08-06 Thread Bob
- Original Message - From: Mike Brandonisio Hi Bob, How do you deal with "500 or more "X"s 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'

Re: [php-list] Preventing scripted form posts

2006-08-05 Thread Bob
- Original Message - From: Mike Brandonisio Hi Bob, How do you deal with "500 or more "X"s 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.

Re: [php-list] Preventing scripted form posts

2006-08-04 Thread Bob
more "X"s 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

Re: [php-list] Zend Optimizer errors

2006-08-02 Thread Bob
my site, it's 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 PROTECTE

[php-list] Zend Optimizer errors

2006-07-31 Thread Bob
s the identical message in each folder. Any ideas what might have caused these errors? Thanks, Bob E. Community email addresses: Post message: php-list@yahoogroups.com Subscribe:[EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to th

[php-list] Includes format

2006-07-29 Thread Bob
in case I move it from the root. I was just wondering why the extra "./" is added, as it doesn't seem to do anything. Is it just to make it more readable or maybe secure? Thanks, Bob E. Community email addresses: Post message: php-list@yahoogroups.com Subscribe:[EMAIL PROTECT

Re: [php-list] Empty values in MySql DBs

2006-07-23 Thread Bob
#x27;s encoded, ELSE "no" is stored, so it can't be empty or NULL. But a take your point that is not ideal, so I'll rewrite it. To be on the safe side, I'll use or something similar. Thanks, Bob E. Community email addresses: Post message: php-list@yahoogrou

Re: [php-list] Empty values in MySql DBs

2006-07-22 Thread Bob
'"; // send message stuff here I haven't used an IF statement in a SELECT yet, so I may be able to use that. The program is working, but I'm trying to rewrite it better in the process of learning. Tried encode and decode with an empty string to see what

[php-list] Inserting blank values

2006-07-22 Thread Bob
Hi Mike, Just twigged what you meant (I've slept since then). If my table 'test' had 3 fields: msg_id, name, email $sql = "INSERT INTO test (msg_id, name) VALUES (NOW(), 'Harry')"; The default value of 'email' is then used. Thanks, Bob E. Commun

Re: [php-list] Empty values in MySql DBs

2006-07-21 Thread Bob
mpty string into 'email', 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: [E

[php-list] Empty values in MySql DBs

2006-07-21 Thread Bob
throws an error, even if I set 'email' to NULL. If 'email' doesn't have a value, I can't get it to work, yet all the books I've got suggest that it should. Can anyone throw any light on why I can't read an empty DB value, or why I can't get default

Re: [php-list] grouping database results in pagination

2006-07-20 Thread Bob Sawyer
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

[php-list] grouping database results in pagination

2006-07-20 Thread Bob Sawyer
I'm dealing with a situation where I can potentially have over 3000 results to display from a database. I'm successfully paginating the results, 10 at a time, but don't want to display 300+ page links at the bottom. How can I group the pages to show, for example, the first 10 pages, followed by a

Re: [php-list] Freelance Work

2006-06-07 Thread Bob Sawyer
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

RE: [php-list] Looking for help ~ Interested?

2006-06-05 Thread Bob Boisvert
ce and charge 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

Re: [php-list] Saving a file from one server to another

2006-06-02 Thread Bob Sawyer
> 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 Comm

[php-list] Saving a file from one server to another

2006-06-02 Thread Bob Sawyer
ts, and closing. 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 __

Re: [php-list] this list on blog spot?

2006-05-24 Thread Bob Sawyer
am list, I'd suggest removing it from your sig. -Bob --- Brian Cummiskey <[EMAIL PROTECTED]> wrote: > Looks like it's some kind of automatic topic grabber from > yahoogroups. > > http://rss.groups.yahoo.com/group/php-list/rss > > probably using that stream,

  1   2   3   4   >