RE: [PHP] Want to exclude first 10 records from table

2002-10-16 Thread Smith, Benjamin
select * from forum order by postdate desc LIMIT 10, -1 Assuming you are using MySQL of course. See the official documentation for further assistance: http://www.mysql.com/doc/en/SELECT.html -Original Message- From: Manisha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 16 October 2002

RE: [PHP] why can't i do this?

2002-10-16 Thread Smith, Benjamin
Because the first example is not correct syntax? I wasn't aware that the first element in a comparison could ever be left out, is it that way in other languages? -Original Message- From: Peter Houchin [mailto:[EMAIL PROTECTED]] Sent: Thursday, 17 October 2002 2:15 PM To: php_gen

RE: [PHP] MySQL GMT -- Local time

2002-10-16 Thread Smith, Benjamin
Local to the client or local to the server? -Original Message- From: Jason [mailto:[EMAIL PROTECTED]] Sent: Thursday, 17 October 2002 3:26 PM To: php_gen Subject: [PHP] MySQL GMT -- Local time My logging application is feeding a MySQL database with data records that are time stamped

RE: [PHP] Odd request

2002-10-12 Thread Smith, Benjamin
No, there isn't, and no, there probably shouldn't be, since the height in pixels that the page will render in is dependent on client-side attributes like font size, resolution, browser type, etc. This might be an appropriate function in javascript, but not php. Any way in php to determine

RE: [PHP] Extract HTML tags

2002-10-09 Thread Smith, Benjamin
There are a couple of ways you could do it, the proper way with a regular expression, or you could just kludge it using explode() and chucking out the stuff you did not need. -Original Message- From: Shawn McKenzie [mailto:[EMAIL PROTECTED]] Sent: Thursday, 10 October 2002 7:43 AM To:

RE: [PHP] Access denied to php files in Netscape 6

2002-10-02 Thread Smith, Benjamin
It's not impossible if the site is not opened up to full public access, and he is using different proxy settings on each browser. Check those. -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 4:23 PM To: Chris Nielsen Cc: [EMAIL

RE: [PHP] Cookie

2002-10-02 Thread Smith, Benjamin
The register globals function must be turned ON in your php.ini for the first method to work. -Original Message- From: Max Buvry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 2:38 AM To: [EMAIL PROTECTED] Subject: [PHP] Cookie Hi, I use : apache 1.3.26, php 4.2.3,

RE: [PHP] remote desktop control

2002-10-01 Thread Smith, Benjamin
Not really, no. It goes well beyond the capabilities of a server-side scripting language. There is a java implementation in VNC that allows this capability, though. -Original Message- From: Rahul [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 4:53 PM To: [EMAIL PROTECTED]

RE: [PHP] Can I pass the ftp transfer mode in a string?

2002-09-30 Thread Smith, Benjamin
What if you enclose it in single quotes? -Original Message- From: John Kelly [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 12:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Can I pass the ftp transfer mode in a string? Can I pass the ftp transfer mode in a string like ...

RE: [PHP] image wrapper - graphs

2002-09-30 Thread Smith, Benjamin
Try gnuplot: -Original Message- From: Mike Mannakee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 October 2002 2:31 PM To: [EMAIL PROTECTED] Subject: [PHP] image wrapper - graphs Hi, Does anyone know of image creation libraries that will generate graphs? Mike -- PHP General

RE: [PHP] syntax question

2002-09-29 Thread Smith, Benjamin
Check out this tutorial on the MySQL website: http://www.mysql.com/articles/mysql_intro.html It contains links to the basics of SQL and its syntax, as well as giving you a good grounding in MySQL specifically. As others have stated, most of the functionality you really need should be built

RE: [PHP] Keeping your published script safe?

2002-09-26 Thread Smith, Benjamin
There's no real foolproof free way of doing this, it's a fact of life that there will always be people who do this. I wouldn't lose sleep over it. Console yourself with the fact that for every person who does not acknowledge your effort, there are probably 10 people who do. -Original

RE: [PHP] length function

2002-09-26 Thread Smith, Benjamin
http://www.php.net/manual/en/function.strlen.php -Original Message- From: Jeff Bluemel [mailto:[EMAIL PROTECTED]] Sent: Friday, 27 September 2002 1:35 PM To: [EMAIL PROTECTED] Subject: [PHP] length function I am looking for a function that will give me the number of characters of a

RE: [PHP] Store locator / postcode proximity

2001-12-09 Thread Smith, Benjamin
I wouldn't trust a 10-above or 10-below rule, personally, unless you weren't too concerned about the accuracy of your information. Why don't you give Australia Post a call? -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Monday, 10 December 2001 10:22 AM To:

RE: [PHP] very urgent assistance

2001-12-05 Thread Smith, Benjamin
This would have to be the most bizarre spam I have ever read. -Original Message- From: Adewale.Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 6 March 2001 6:18 PM To: [EMAIL PROTECTED] Subject: [PHP] very urgent assistance Dr.Adewale.Johnson. 16 Kingsway Road Ikoyi, Lagos

RE: [PHP] odrer by alphabet

2001-12-03 Thread Smith, Benjamin
You can simply order by that field in your SQL string...ie: SELECT * FROM TABLENAME ORDER BY FIELDNAME; And to switch the order: SELECT * FROM TABLENAME ORDER BY FIELDNAME DESC; -Original Message- From: Rambo Amadeus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 December 2001 1:15 PM