Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
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? Negative. It's client-side error E304, resulting from a null-pointer

Re: [PHP] Foreach question

2007-11-15 Thread Michael McGlothlin
$x = 0; foreach ( $blah as $bleh ) { $x = $x + 1; print "$x: $bleh"; } 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

Re: [PHP] recommendation for a article manager

2007-11-15 Thread Jammer
Joker7 wrote: I did look at Wordpress but was thinking it may be a bit complex for the people that will be using it-May install and have a play around with it. have you looked at the postie plugin for wordpress ... ? you can even set it up to perform cronless (non cronjob) postings. using t

Re: [PHP] Foreach question

2007-11-15 Thread Stut
Juan Marcelo Rodríguez wrote: 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

Re: [PHP] PHP access of FileMaker data

2007-11-15 Thread Brian Dunning
Paul - a PHP API is built into the current version of FileMaker Server. You do not need any third party classes or anything else. Some info: http://www.filemaker.com/support/technologies/php.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] Open Source BTS??

2007-11-15 Thread mike
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 development. Thanks for any suggestions. http://www.mantisb

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
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! -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 9:46 AM To: Brad Cc: 'Daniel Brown'; p

Re: [PHP] Sending to Blackberry PIN's

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 12:51 PM, Alexis <[EMAIL PROTECTED]> wrote: > 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 > > I don

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

2007-11-15 Thread Casey
They obviously forgot to remove it :P On Nov 15, 2007 1:53 PM, Stephen Wong <[EMAIL PROTECTED]> wrote: > 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. > >

Re: [PHP] Foreach question

2007-11-15 Thread Philip Thompson
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 ""; > echo "1" . ""; // I would like to add the counter here > reeplacing > "1" echo "".($key+1)."

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

2007-11-15 Thread Paul Scott
On Thu, 2007-11-15 at 16:45 -0500, Daniel Brown wrote: > > 3. There is a searchable archive of the mailing list discussion at > > http://phparch.com/mailinglists. or at http://fsiu.uwc.ac.za/index.php?module=blog&action=randblog&userid=9914070612 if the above is down, as it is for me right now.

Re: [PHP] Foreach question (solved)

2007-11-15 Thread Juan Marcelo Rodríguez
Thanks. I solved it using this : $x = 0; foreach ($equipos as $key => $val){ $x = $x + 1; echo ""; echo $x . ""; 2007/11/15, Michael McGlothlin <[EMAIL PROTECTED]>: > > $x = 0; > foreach ( $blah as $bleh ) { > $x = $x + 1; > print "$x: $bleh"; > } > > > HI, > > I'm working with an associative

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

2007-11-15 Thread Instruct ICC
> Date: Thu, 15 Nov 2007 10:17:29 -0500 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Is there a 'Beginner's' PHP List > CC: php-general@lists.php.net > > On Nov 14, 2007 10:29 PM, Instruct ICC <[EMAIL PROTECTED]> wrote: > > I'm going to have to move this to gmail to ke

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Instruct ICC
> 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. [sarcastic]Rough install.[/sarcastic] If you can write a php script, y

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread admin
Understand your syntax issue has nothing to do with the mail function its self. That was an Operator headspace Issue. Including links in email is not hard your entire email structure was BLOWN UP... For you to even submit that to php.net is useless. A. No one is going to post that. Because it has

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 consi

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 s

Re: [PHP] IDE

2007-11-15 Thread David Giragosian
On 11/15/07, Jammer <[EMAIL PROTECTED]> wrote: > > Børge Holen wrote: > > 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 > >>

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

[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 http://www.gmail.co

[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] 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 ""; > > echo "1" . ""; //

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 stat

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 ""; echo "1" . ""; // I would like to add the counter here reeplacing "1" print "" . ""; echo $key . ""; print "" . ""; echo $val . ""; print "" . ""; } ?> I use the array to generate the

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

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 retu

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é. S

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: php-general@lists

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. include('templates

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: 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

[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 wit

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

[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 List

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

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 wo

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

[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] 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 a

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

[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] 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

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 1

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 alread

[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 http://www.php.ne

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 ID

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] 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 > > sti

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' ar

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 y

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

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
> 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] 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 se

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

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, o

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.= 'http://www.zoneofsuccessclub.com'">link '; Try

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 -

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

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-88

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 se

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] 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 fi

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 00

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: bcompil

[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] 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, >

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. Afte

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-88

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 subje

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.

RE: [PHP] I need help handling form posting

2007-11-15 Thread admin
I do this Example: "; break; case "upload": //Upload function here $dispay_time = date('is') - $_POST['$click_stamp']; Echo "File took $dispay_time to upload"; //Time stamp it anyway you want EXAMPLE ONLY!! break; } ?> FOR GODS SAKE DON'T comment on syntax or design. I DO NOT CARE this i

[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 100

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! > > B

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 probl

[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] 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

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 script

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! > > http://www.zoneofsuccessclub.com";>link > //http://www.zoneofsuccessclub.com";>link > > $email = $_REQUEST['email'] ; > $fromaddress .= '[EMAIL PROTECTED]'; > $fromname .= 'Zone of su

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 betwe

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 I

[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] 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 righ

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] 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

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 fashi

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'v

[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 bit-

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'

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

[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 s

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

RE: [PHP] Cannot send a hyperlink

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

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 firs

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 help

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";

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: ".$f

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: ".$fromname."<".$f

[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 Mai

  1   2   >