Re: [PHP] Sending Pictures to Cell Phones

2007-11-15 Thread neil
On Wednesday 14 November 2007 18:47, Daniel Brown wrote: | On Nov 14, 2007 1:27 PM, [EMAIL PROTECTED] wrote: | Hey list, | | I'm doing some RD for a project at my job and my boss wants the | ability to send pictures to cell phones. I was wondering if | anyone had any experience with

Re: [PHP] How does the PHP website colorize the code snippets?

2007-11-15 Thread T . Lensselink
On Wed, 14 Nov 2007 23:45:40 -0800, Daevid Vincent [EMAIL PROTECTED] wrote: I want to put a code snippet section on my site and want to colorize them like the user comments on any PHP site page. http://www.php.net/manual/en/language.operators.arithmetic.php What's the easiest way to do

RE: [PHP] CLI spinner processing

2007-11-15 Thread Per Jessen
Daevid Vincent wrote: Plus it looks freakin' slick as hell and gives the appearance that I am smarter than I am. *grin* Definitely a point worth making :-) besides, modulus 8 is done by one single instruction - of which a modern processor does some three billion per second. Perhaps. But

[PHP] I need help handling form posting

2007-11-15 Thread Jon Westcot
Hi all: In my quest to make things seem easier for the user to understand, I'm trying to retrieve the time that I start posting a very large file via a form post. The form action sends it back to itself, which is fine. It took me some time to figure out that NOTHING happens on the client

Re: [PHP] I need help handling form posting

2007-11-15 Thread Per Jessen
Jon Westcot wrote: Is there a way that I can intercept the click of the Upload button, have it update a field (probably a hidden one) with a date/time stamp, and then have that value included in the $_POSTed values? Sure, javascript is the answer. /Per Jessen, Zürich -- PHP

Re: [PHP] I need help handling form posting

2007-11-15 Thread Per Jessen
Per Jessen wrote: Jon Westcot wrote: Is there a way that I can intercept the click of the Upload button, have it update a field (probably a hidden one) with a date/time stamp, and then have that value included in the $_POSTed values? Sure, javascript is the answer. pseudocode:

Re: [PHP] I need help handling form posting

2007-11-15 Thread Per Jessen
[EMAIL PROTECTED] wrote: But don't forget to send a server timestamp within the form. Just for the case that server time and client time may differ in some minutes (or even timezone). The OP said I'd like to be able to notify the user of when the file upload actually began., so the timestamp

[PHP] Re: file_exists

2007-11-15 Thread Colin Guthrie
Instruct ICC wrote: Date: Thu, 15 Nov 2007 00:20:52 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] file_exists Philip Thompson wrote: I've run into similar problems where I *thought* I was looking in the correct location... but I

RE: [PHP] How does the PHP website colorize the code snippets?

2007-11-15 Thread Per Jessen
Daevid Vincent wrote: Worked pretty good. It seems to have trouble with the \ and \\ chars for some reason, but close enough for jazz as they say... (notice the array has \\ when it should only be a single one, What do you actually have in the code - a double (an escaped backslash) or a

RE: [PHP] How does the PHP website colorize the code snippets?

2007-11-15 Thread Daevid Vincent
-Original Message- From: T.Lensselink [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 12:05 AM On Wed, 14 Nov 2007 23:45:40 -0800, Daevid Vincent [EMAIL PROTECTED] wrote: I want to put a code snippet section on my site and want to colorize them like the user

Re: [PHP] I need help handling form posting

2007-11-15 Thread Robert . Degen
Jon Westcot wrote: Is there a way that I can intercept the click of the Upload button, have it update a field (probably a hidden one) with a date/time stamp, and then have that value included in the $_POSTed values? Sure, javascript is the answer. But don't forget to send a

Re: [PHP] file_exists

2007-11-15 Thread Stut
Instruct ICC wrote: Date: Thu, 15 Nov 2007 00:20:52 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] file_exists Philip Thompson wrote: I've run into similar problems where I *thought* I was looking in the correct location... but I wasn't.

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
Hm, Still no hyperlink? $email = $_REQUEST['email'] ; $fromaddress .= '[EMAIL PROTECTED]'; $fromname .= 'Zone of success Club'; $eol=\r\n; $headers = From: .$fromname..$fromaddress..$eol; $headers .= Reply-To: .$fromname..$fromaddress..$eol; $headers .= Return-Path:

RE: [PHP] Generating sequence of AlphaNumber

2007-11-15 Thread Ford, Mike
On 15 November 2007 00:32, Jeffery Fernandez wrote: How can I get a sequence of values like: AX0001 AX0002 AX0003 AX0004 . AX0099 AX0100 and so on ? Actually, the ++ operator will do this for you: $seq = AX; ++$seq; // AX0001 ++$seq; // AX0002 Cheers! Mike

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
We are sending email now, But we are back to the original problem, No hyperlink! $email = $_REQUEST['email'] ; $fromaddress .= '[EMAIL PROTECTED]'; $fromname .= 'Zone of success Club'; $eol=\r\n; $headers .= From: .$fromname..$fromaddress..$eol; $headers .= Reply-To:

RE: [PHP] How does the PHP website colorize the code snippets?

2007-11-15 Thread T . Lensselink
On Thu, 15 Nov 2007 03:40:32 -0800, Daevid Vincent [EMAIL PROTECTED] wrote: -Original Message- From: T.Lensselink [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 12:05 AM On Wed, 14 Nov 2007 23:45:40 -0800, Daevid Vincent [EMAIL PROTECTED] wrote: I want to put a code

[PHP] recommendation for a article manager

2007-11-15 Thread Joker7
Hi, I'm looking for a recommendation for a small easy to use free article manager.It must be able to fit in with existing site and be able to include a picture.It does not need an all singing editor a simple form system will do I can control the look by css. Cheers Chris -- PHP General

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
Still parsing as text and not html! a href=http://www.zoneofsuccessclub.com;link /a //a href=http://www.zoneofsuccessclub.com;link /a $email = $_REQUEST['email'] ; $fromaddress .= '[EMAIL PROTECTED]'; $fromname .= 'Zone of success Club'; $eol=\r\n; $headers = From:

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
No access to the server command line to install it! And, I am into this guy too deep to switch technologies. For the next time around, no problem, this time I am just trying to get php to do what it is supposed to do. The suggestion of mime was presented to me from another kind sole trying to

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Per Jessen
Brad wrote: Beginning with $headers .= --.$htmlalt_mime_boundary.$eol; It starts to read it as text and not html?? Could this be a server side problem? Nope. $email = $_REQUEST['email'] ; $fromaddress .= '[EMAIL PROTECTED]'; $fromname .= 'Zone of success Club'; $eol=\r\n; $headers =

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
Beginning with $headers .= --.$htmlalt_mime_boundary.$eol; It starts to read it as text and not html?? Could this be a server side problem? $email = $_REQUEST['email'] ; $fromaddress .= '[EMAIL PROTECTED]'; $fromname .= 'Zone of success Club'; $eol=\r\n; $headers = From:

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
Brad wrote: Beginning with $headers .= --.$htmlalt_mime_boundary.$eol; It starts to read it as text and not html?? Could this be a server side problem? $email = $_REQUEST['email'] ; $fromaddress .= '[EMAIL PROTECTED]'; $fromname .= 'Zone of success Club'; $eol=\r\n; $headers = From:

Re: [PHP] Newbie question - current date - time

2007-11-15 Thread Daniel Brown
On Nov 14, 2007 10:00 PM, Instruct ICC [EMAIL PROTECTED] wrote: Enough about me. I never thought I'd say this in earnest... RTFM Have I become like who I've despised? We all do eventually -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 If at first you

RE: [PHP] How does the PHP website colorize the code snippets?

2007-11-15 Thread tedd
On Wed, 14 Nov 2007 23:45:40 -0800, Daevid Vincent [EMAIL PROTECTED] wrote: I want to put a code snippet section on my site and want to colorize them like the user comments on any PHP site page. Hi: It was suggested to use php's highlight_string -- I wouldn't do that. Why don't you use css

[PHP] Semi-newbie Question .... streams ...

2007-11-15 Thread Paul Farr
I'm working on one my first PHP projects, and I have extensive experience with coding, so I know what I want to do is not outrageous. The short version is: I need to master the download stream for a file, while delivering it to the enduser, I need to change some bytes in the file data. A simple

Re: [PHP] Re: file_exists

2007-11-15 Thread Casey
I think file_exists returns false for remote files ;) On Nov 15, 2007, at 2:33 AM, Colin Guthrie [EMAIL PROTECTED] wrote: Instruct ICC wrote: Date: Thu, 15 Nov 2007 00:20:52 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] file_exists

Re: [PHP] file_exists

2007-11-15 Thread Philip Thompson
On Nov 15, 2007 7:16 AM, Stut [EMAIL PROTECTED] wrote: Instruct ICC wrote: Date: Thu, 15 Nov 2007 00:20:52 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] file_exists Philip Thompson wrote: I've run into similar problems

[PHP] How does the PHP website colorize the code snippets?

2007-11-15 Thread Daevid Vincent
I want to put a code snippet section on my site and want to colorize them like the user comments on any PHP site page. http://www.php.net/manual/en/language.operators.arithmetic.php What's the easiest way to do that? I've used Geshi, but that seems a lot of overhead just to colorize a wee

Re: [PHP] Semi-newbie Question .... streams ...

2007-11-15 Thread Per Jessen
Paul Farr wrote: The short version is: I need to master the download stream for a file, while delivering it to the enduser, I need to change some bytes in the file data. A simple search and replace. I want to do it in the stream, don't want to create a new file each time. Assuming you've a

Re: [PHP] Bcompiler errors

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 10:31 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file format at in Unknown on line 0 This tells me it has to be PHP in some fashion. Only

RE: [PHP] recommendation for a article manager

2007-11-15 Thread Edward Kay
Hi, I'm looking for a recommendation for a small easy to use free article manager.It must be able to fit in with existing site and be able to include a picture.It does not need an all singing editor a simple form system will do I can control the look by css. I'm currently doing the same

Re: [PHP] Is there a 'Beginner's' PHP List

2007-11-15 Thread Daniel Brown
On Nov 14, 2007 10:29 PM, Instruct ICC [EMAIL PROTECTED] wrote: I'm going to have to move this to gmail to keep it threaded better. As long as the subject doesn't change, it works great. Unfortunately, I don't think Gmail uses message IDs for threading. -- Daniel P. Brown [office] (570-)

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
Brad wrote: My bad, You do not need command line access! I should have read more. I just need to get this puppy working is all. Php should be able to do this by it's self! It can, *if* you create the email correctly. PHPMailer will be quicker to put in than this merry-go-round you're on

[PHP] installing PHP 5.3 on MAC with mysqlnd support

2007-11-15 Thread Hodicska Gergely
Hi! Can somebody give me some guideline how to install PHP 5.3 to a Mac (intel based) with mysqlnd support? TIA! Best Regards, Felhő -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there a ' Beginner's ' PHP List

2007-11-15 Thread Jason Pruim
On Nov 15, 2007, at 10:17 AM, Daniel Brown wrote: On Nov 14, 2007 10:29 PM, Instruct ICC [EMAIL PROTECTED] wrote: I'm going to have to move this to gmail to keep it threaded better. As long as the subject doesn't change, it works great. Unfortunately, I don't think Gmail uses message

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 9:41 AM, Brad [EMAIL PROTECTED] wrote: Beginning with $headers .= --.$htmlalt_mime_boundary.$eol; It starts to read it as text and not html?? Could this be a server side problem? Negative. It's client-side error E304, resulting from a null-pointer exception between the

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread T . Lensselink
On Thu, 15 Nov 2007 09:58:59 -0500, Brad [EMAIL PROTECTED] wrote: Still parsing as text and not html! a href=http://www.zoneofsuccessclub.com;link /a //a href=http://www.zoneofsuccessclub.com;link /a $email = $_REQUEST['email'] ; $fromaddress .= '[EMAIL PROTECTED]'; $fromname .= 'Zone of

Re: [PHP] Bcompiler errors

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 11:05 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: on 11/15/07 10:55 AM, Daniel Brown at [EMAIL PROTECTED] wrote: On Nov 15, 2007 10:31 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: Hello, I am getting these errors all the time now, on multiple scripts at random times.

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
Daniel Brown wrote: On Nov 15, 2007 11:10 AM, Stut [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Nov 15, 2007 9:41 AM, Brad [EMAIL PROTECTED] wrote: Beginning with $headers .= --.$htmlalt_mime_boundary.$eol; It starts to read it as text and not html?? Could this be a server side problem?

[PHP] Re: file_exists

2007-11-15 Thread Colin Guthrie
Casey wrote: I think file_exists returns false for remote files ;) Even if it did (it doesn't: http://uk3.php.net/manual/en/wrappers.ftp.php), I'd still rather not let someone steal my /etc/passwd or /etc/shadow etc. files. As I said before. Some form of regexp or similar restriction is

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Dimiter Ivanov
On Nov 15, 2007 5:34 PM, Brad [EMAIL PROTECTED] wrote: Thank you so much! It worked like a champ first try! I would have never seen that and have been looking everywhere on the net for a working example! Funny thing is, right after is work perfectly twice, my database crashed! But, this

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
Thank you so much! It worked like a champ first try! I would have never seen that and have been looking everywhere on the net for a working example! Funny thing is, right after is work perfectly twice, my database crashed! But, this is the technology we play with! Problem solved and I am going

[PHP] Re: Bcompiler errors

2007-11-15 Thread Colin Guthrie
Mike Yrabedra wrote: Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file format at in Unknown on line 0 This tells me it has to be PHP in some fashion. Only thing I have found is this...

RE: [PHP] I need help handling form posting

2007-11-15 Thread admin
I do this Example: ? switch($_REQUEST['req']) { default: $click_stamp =date('is'); echo form action=? method=postinput type=hidden name=clicks value=$click_stamp input type=file name=upfile tabindex=1 size=35 input type=submit value=upload name=req/form; break; case upload: //Upload function

Re: [PHP] installing PHP 5.3 on MAC with mysqlnd support

2007-11-15 Thread Philip Thompson
On Nov 15, 2007 10:00 AM, Hodicska Gergely [EMAIL PROTECTED] wrote: Hi! Can somebody give me some guideline how to install PHP 5.3 to a Mac (intel based) with mysqlnd support? TIA! Best Regards, Felhő Consider using Macports (http://www.macports.org/) to install it. After installing

Re: [PHP] Is there a ' Beginner's ' PHP List

2007-11-15 Thread Philip Thompson
On Nov 15, 2007 9:16 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Nov 15, 2007, at 10:17 AM, Daniel Brown wrote: On Nov 14, 2007 10:29 PM, Instruct ICC [EMAIL PROTECTED] wrote: I'm going to have to move this to gmail to keep it threaded better. As long as the subject doesn't

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 11:20 AM, Stut [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Nov 15, 2007 11:10 AM, Stut [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Nov 15, 2007 9:41 AM, Brad [EMAIL PROTECTED] wrote: Beginning with $headers .= --.$htmlalt_mime_boundary.$eol; It starts to read

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Per Jessen
Brad wrote: Why is php refusing to parse as html? Here your code cut down to what you need: $headers = From: \.$fromname.\ .$fromaddress..$eol; $headers .= X-Mailer: PHP .phpversion().$eol; $headers .= MIME-Version: 1.0\r\n; $headers .= Content-Type: text/html; charset=\iso-8859-1\\r\n;

Re: [PHP] Bcompiler errors

2007-11-15 Thread Mike Yrabedra
on 11/15/07 11:07 AM, Daniel Brown at [EMAIL PROTECTED] wrote: On Nov 15, 2007 11:05 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: on 11/15/07 10:55 AM, Daniel Brown at [EMAIL PROTECTED] wrote: On Nov 15, 2007 10:31 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: Hello, I am getting these

[PHP] Sending to Blackberry PIN's

2007-11-15 Thread Alexis
Hi, I was wondering, is there any way to send an email to a Blackberry PIN, using PHP? Thanks Alexis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Bcompiler errors

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 12:36 PM, Mike Yrabedra [EMAIL PROTECTED] wrote: on 11/15/07 11:17 AM, Colin Guthrie at [EMAIL PROTECTED] wrote: Mike Yrabedra wrote: Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file

Re: [PHP] Bcompiler errors

2007-11-15 Thread Mike Yrabedra
on 11/15/07 10:55 AM, Daniel Brown at [EMAIL PROTECTED] wrote: On Nov 15, 2007 10:31 AM, Mike Yrabedra [EMAIL PROTECTED] wrote: Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file format at in Unknown

RE: [PHP] Cannot send a hyperlink (resent)

2007-11-15 Thread Per Jessen
Brad wrote: Why is php refusing to parse as html? Here your code cut down to what you need: $headers = From: \.$fromname.\ .$fromaddress..$eol; $headers .= X-Mailer: PHP .phpversion().$eol; $headers .= MIME-Version: 1.0\r\n; $headers .= Content-Type: text/html; charset=\iso-8859-1\\r\n;

Re: [PHP] Semi-newbie Question .... streams ...

2007-11-15 Thread Jim Lucas
Paul Farr wrote: I'm working on one my first PHP projects, and I have extensive experience with coding, so I know what I want to do is not outrageous. The short version is: I need to master the download stream for a file, while delivering it to the enduser, I need to change some bytes in the

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
Not a single reference to sending a hyperlink on that page! -Original Message- From: Dimiter Ivanov [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 11:27 AM To: Brad Cc: Stut; php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink On Nov 15, 2007 5:34 PM, Brad

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
No problem! -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 10:37 AM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: Thank you so much! It worked like a champ first try! I would have never seen

Re: [PHP] Generating sequence of AlphaNumber

2007-11-15 Thread Richard Heyes
I am having trouble generating a sequence of numbers from the following start value: AX0001 what I have done so far is loop through each character and check if its a alphabet and separating the characters and digits. But when I increment the digits, its strips of the leading zeros. How can I

Re: [PHP] How does the PHP website colorize the code snippets?

2007-11-15 Thread Per Jessen
Daevid Vincent wrote: I want to put a code snippet section on my site and want to colorize them like the user comments on any PHP site page. http://www.php.net/manual/en/language.operators.arithmetic.php What's the easiest way to do that? php -s yourcode.php /Per Jessen, Zürich -- PHP

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Instruct ICC
We are sending email now, But we are back to the original problem, No hyperlink! $email = $_REQUEST['email'] ; $fromaddress .= '[EMAIL PROTECTED]'; $fromname .= 'Zone of success Club'; $eol=\r\n; $headers .= From: .$fromname..$fromaddress..$eol; $headers .= Reply-To:

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 11:10 AM, Stut [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Nov 15, 2007 9:41 AM, Brad [EMAIL PROTECTED] wrote: Beginning with $headers .= --.$htmlalt_mime_boundary.$eol; It starts to read it as text and not html?? Could this be a server side problem?

Re: [PHP] Newbie question - current date - time

2007-11-15 Thread Jeremy Mcentire
On Nov 14, 2007, at 4:21 PM, Jürgen Wind wrote: better use Date() in js ... tedd-2 wrote: Current date/time for whom? For your server, use php's date(). For the user, use javascript's date(). It's so cool to be multilingual. :-) Cheers, tedd I don't know that that's better. Then, suddenly,

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread M. Sokolewicz
Brad, please, try solving these kinds of things yourself. Especially seen as the parse error which you posted here was already found and shown to you in one of your earlier posts to this list (if I'm not mistaken). So, your problem is: $body.= 'a href='http://www.zoneofsuccessclub.com'link

Re: [PHP] Semi-newbie Question .... streams ...

2007-11-15 Thread Jim Lucas
Per Jessen wrote: Jim Lucas wrote: If this is an EXE, I assume it is in binary format? If so, would not your serial number have been compiled into the software? Wouldn't a simple search/replace fail in this case? If the string (the serial number) is unique, and all in one place, a simple

Re: [PHP] Re: Bcompiler errors

2007-11-15 Thread Mike Yrabedra
on 11/15/07 11:17 AM, Colin Guthrie at [EMAIL PROTECTED] wrote: Mike Yrabedra wrote: Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file format at in Unknown on line 0 This tells me it has to be PHP

Re: [PHP] IDE

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 3:35 PM, Jammer [EMAIL PROTECTED] wrote: Hi All, This is my first post here ... I'm very much a newbie to php but work during the day using SQL Server, VS2005 and Foxpro. Looking to gen up on my PHP. Are there any IDE's for PHP worth checking out. Particularly free ones!

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Instruct ICC
Still parsing as text and not html! You should be able to do this in both PHPmailer and Example 1127. Sending HTML email before I finish reading the 60 emails I have remaining to catch up on this list. Including any download. _

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Instruct ICC
Next time Brad, please try to take a look yourself at the line the error indicates (and the lines around it aswell) and TRY to figure out what MIGHT be wrong. - Tul If it's not on the line it reported, it may be immediately above that line. The only unhelpful error I've seen (once you

Re: [PHP] IDE

2007-11-15 Thread Stut
Jammer wrote: Hi All, This is my first post here ... I'm very much a newbie to php but work during the day using SQL Server, VS2005 and Foxpro. Looking to gen up on my PHP. Are there any IDE's for PHP worth checking out. Particularly free ones! TIA, Will you please check the freakin'

Re: [PHP] Open Source BTS??

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 4:14 PM, mike [EMAIL PROTECTED] wrote: On 11/15/07, Randy Patterson [EMAIL PROTECTED] wrote: Hey, I am needing to install a bug tracking system on a web server and looking for a good PHP open source solution. Looking for a pretty mature system that still has active

Re: [PHP] [NEWBIE GUIDE] For the benefit of new members

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 4:07 PM, Jay Blanchard [EMAIL PROTECTED] wrote: = Please feel free to add more points and send to the list. 20050322jb - Note the new location of PHP Editors list. =

Re: [PHP] IDE

2007-11-15 Thread William Betts
I like Zend Studio. www.zend.com. William Betts On Nov 15, 2007 2:35 PM, Jammer [EMAIL PROTECTED] wrote: Hi All, This is my first post here ... I'm very much a newbie to php but work during the day using SQL Server, VS2005 and Foxpro. Looking to gen up on my PHP. Are there any IDE's for

[PHP] [NEWBIE GUIDE] For the benefit of new members

2007-11-15 Thread Jay Blanchard
= Please feel free to add more points and send to the list. 20050322jb - Note the new location of PHP Editors list. = 1. If you have any queries/problems about PHP try

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-15 Thread Stephen Wong
Yeah, not sure why the invite a friend option is still there On Nov 15, 2007 4:48 PM, William Betts [EMAIL PROTECTED] wrote: Great with the times. :P It's not invite anymore. On Nov 15, 2007 3:40 PM, Daniel Brown [EMAIL PROTECTED] wrote: I know a good deal of us here are already using

RE: [PHP] Re: file_exists

2007-11-15 Thread Instruct ICC
I think file_exists returns false for remote files ;) Even if it did (it doesn't: http://uk3.php.net/manual/en/wrappers.ftp.php), I'd still rather not let someone steal my /etc/passwd or /etc/shadow etc. files. As I said before. Some form of regexp or similar restriction is 100%

[PHP] CURL efficiency?

2007-11-15 Thread Michael McGlothlin
I make use of CURL to talk to a back-end system and I'm calling it several times per requested page and there are several page requests a second. Is there anything I can do to make this process more efficient? Does keep alive work? Do I need to keep the same connection handler and not close it

Re: [PHP] Semi-newbie Question .... streams ...

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 10:13 AM, Per Jessen [EMAIL PROTECTED] wrote: Paul Farr wrote: The short version is: I need to master the download stream for a file, while delivering it to the enduser, I need to change some bytes in the file data. A simple search and replace. I want to do it in the

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
Brad wrote: Thank you so much! It worked like a champ first try! I would have never seen that and have been looking everywhere on the net for a working example! Funny thing is, right after is work perfectly twice, my database crashed! But, this is the technology we play with! Problem solved

[PHP] Bcompiler errors

2007-11-15 Thread Mike Yrabedra
Hello, I am getting these errors all the time now, on multiple scripts at random times. Warning: bcompiler: Bad bytecode file format at in Unknown on line 0 This tells me it has to be PHP in some fashion. Only thing I have found is this... http://pecl.php.net/bugs/bug.php?id=10742

RE: [PHP] file_exists

2007-11-15 Thread Instruct ICC
Date: Thu, 15 Nov 2007 13:16:46 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] file_exists Instruct ICC wrote: Date: Thu, 15 Nov 2007 00:20:52 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC:

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-15 Thread William Betts
Great with the times. :P It's not invite anymore. On Nov 15, 2007 3:40 PM, Daniel Brown [EMAIL PROTECTED] wrote: I know a good deal of us here are already using Gmail accounts, but if you're not one of us and would like to be, let me know. I still have 95 invites left, and whomever would

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-15 Thread Casey
You can get it for free. Go to mail.google.com and click Get Gmail or something like that. On Nov 15, 2007 1:48 PM, William Betts [EMAIL PROTECTED] wrote: Great with the times. :P It's not invite anymore. On Nov 15, 2007 3:40 PM, Daniel Brown [EMAIL PROTECTED] wrote: I know a good deal

RE: [PHP] Open Source BTS??

2007-11-15 Thread Bastien Koert
bugzilla or mantis bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 15 Nov 2007 15:06:08 -0600 Subject: [PHP] Open Source BTS?? Hey, I am needing to install a bug tracking system on a web server and looking for a good PHP open source solution. Looking for a pretty

[PHP] IDE

2007-11-15 Thread Jammer
Hi All, This is my first post here ... I'm very much a newbie to php but work during the day using SQL Server, VS2005 and Foxpro. Looking to gen up on my PHP. Are there any IDE's for PHP worth checking out. Particularly free ones! TIA, -- jammer www.jammer.biz -- PHP General Mailing

RE: [PHP] file_exists

2007-11-15 Thread Instruct ICC
No, you've missed the point. $expecteddir is a fixed variable that you, the script author, specify. It does not contain anything coming from external veriables. You then compare the full path you build from the external variables to $expecteddir to verify that the file is in the

[PHP] Foreach question

2007-11-15 Thread Juan Marcelo Rodríguez
HI, I'm working with an associative array, and generating its data a form. I use foreach to loops the contents of the array and echo to print the table and the data. Everything goes well, however I would like to add a counter to print the row's number. The question : Am I able to add a counter

Re: [PHP] file_exists

2007-11-15 Thread Stut
Instruct ICC wrote: No, you've missed the point. $expecteddir is a fixed variable that you, the script author, specify. It does not contain anything coming from external veriables. You then compare the full path you build from the external variables to $expecteddir to verify that the file is

Re: [PHP] IDE

2007-11-15 Thread Børge Holen
On Thursday 15 November 2007 21:35:04 Jammer wrote: Hi All, This is my first post here ... I'm very much a newbie to php but work during the day using SQL Server, VS2005 and Foxpro. Looking to gen up on my PHP. Are there any IDE's for PHP worth checking out. Particularly free ones!

Re: [PHP] file_exists

2007-11-15 Thread Stut
Instruct ICC wrote: Date: Thu, 15 Nov 2007 13:16:46 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] file_exists Instruct ICC wrote: Date: Thu, 15 Nov 2007 00:20:52 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC:

RE: [PHP] file_exists

2007-11-15 Thread Instruct ICC
My server is down right now so I can't do my usual example script. A likely story. Just kidding. Stut, YOU WERE RIGHT, AND I WAS WRONG. Your code is golden. _ Help yourself to FREE treats served up daily at the Messenger Café.

RE: [PHP] file_exists

2007-11-15 Thread Instruct ICC
Something like the following would be much better (untested)... $page = realpath(dirname(__FILE__).'/inc/'.$_GET['page'].'.php'); $expecteddir = realpath(dirname(__FILE__).'/inc'); if (substr($page, 0, strlen($expecteddir)) != $expecteddir) { // Ideally return a 403 status here

Re: [PHP] Re: file_exists

2007-11-15 Thread William Betts
It could present a problem depending on how the permissions are setup on the shared hosting and if open_base is in effect. If they can get the /etc/shadow file from a php being ran by apache then you have an issue, because apache would be running as root. Take the below example.

Re: [PHP] Foreach question

2007-11-15 Thread Juan Marcelo Rodríguez
Yes, I made a mistake in the first sentence. The code is : [...] foreach ($equipos as $key = $val){ echo trtd; echo 1 . /tdtd; // I would like to add the counter here reeplacing 1 print input type=\radio\ name=$key value=\l\ / . /tdtd; echo $key . /tdtd; print input type=\radio\ name=$key

Re: [PHP] recommendation for a article manager

2007-11-15 Thread Joker7
In news: [EMAIL PROTECTED] - Edward Kay wrote : Hi, I'm looking for a recommendation for a small easy to use free article manager.It must be able to fit in with existing site and be able to include a picture.It does not need an all singing editor a simple form system will do I can control

Re: [PHP] file_exists

2007-11-15 Thread Stut
Instruct ICC wrote: Something like the following would be much better (untested)... $page = realpath(dirname(__FILE__).'/inc/'.$_GET['page'].'.php'); $expecteddir = realpath(dirname(__FILE__).'/inc'); if (substr($page, 0, strlen($expecteddir)) != $expecteddir) { // Ideally return a 403

Re: [PHP] Foreach question

2007-11-15 Thread Juan Marcelo Rodríguez
2007/11/15, Philip Thompson [EMAIL PROTECTED]: On Nov 15, 2007 5:12 PM, Juan Marcelo Rodríguez [EMAIL PROTECTED] wrote: Yes, I made a mistake in the first sentence. The code is : [...] foreach ($equipos as $key = $val){ echo trtd; echo 1 . /tdtd; // I would like to add the

[PHP] Gmail Account Invites (Want One?)

2007-11-15 Thread Daniel Brown
I know a good deal of us here are already using Gmail accounts, but if you're not one of us and would like to be, let me know. I still have 95 invites left, and whomever would like one is more than welcome to it. If you're not familiar with Gmail, check out the site at

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 4:54 PM, Casey [EMAIL PROTECTED] wrote: You can get it for free. Go to mail.google.com and click Get Gmail or something like that. On Nov 15, 2007 1:48 PM, William Betts [EMAIL PROTECTED] wrote: Great with the times. :P It's not invite anymore. On Nov 15, 2007 3:40 PM,

[PHP] Open Source BTS??

2007-11-15 Thread Randy Patterson
Hey, I am needing to install a bug tracking system on a web server and looking for a good PHP open source solution. Looking for a pretty mature system that still has active development. Thanks for any suggestions. Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] I need help handling form posting

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 12:14 PM, [EMAIL PROTECTED] wrote: FOR GODS SAKE DON'T comment on syntax or design. I DO NOT CARE this is a example ONLY!!! OF COURSE I LEFT OUT CODE. OF COURSE THIS IS NOT A COPY PASTE AND IT WILL RUN!! There should be an apostrophe in GODS and your sentence should

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
Brad wrote: No access to the server command line to install it! And, I am into this guy too deep to switch technologies. For the next time around, no problem, this time I am just trying to get php to do what it is supposed to do. You don't need command line access to install it. PHPMailer

  1   2   >