Re: [PHP] Efficient mass mailings

2008-02-04 Thread Per Jessen
Richard Heyes wrote: >> Whether you BCC or not does not affect the actual mail-server >> traffic. A Bcc'ed address is only one that isn't listed in To: >> header. > > But it does affect how much data gets transferred to the mail server. > If you Bcc: addresses the email will only be sent over the

Re: [PHP] Doctrine vs. Propel

2008-02-04 Thread Zoltán Németh
2008. 02. 4, hétfő keltezéssel 14.03-kor Nathan Nobbe ezt írta: > On Feb 4, 2008 1:44 PM, AmirBehzad Eslami <[EMAIL PROTECTED]> wrote: > > > Dear List, > > > > I've just heard of ORM (Object Relational Mapping) frameworks written for > > PHP. > > It seems that there are two major frameworks here:

Re: [PHP] Doctrine vs. Propel

2008-02-04 Thread Zoltán Németh
2008. 02. 4, hétfő keltezéssel 22.14-kor AmirBehzad Eslami ezt írta: > Dear List, > > I've just heard of ORM (Object Relational Mapping) frameworks written for > PHP. > It seems that there are two major frameworks here: Doctrine and Propel: > > http://www.phpdoctrine.org/ > http://propel.phpdb.or

RE: [PHP] php competion

2008-02-04 Thread Robert Cummings
On Mon, 2008-02-04 at 17:43 -0800, Warren Vail wrote: > There's probably even a tee-shirt. As in; been there, done that, got the > tee-shirt. Live and learn! :) Cheers, Rob. > > -Original Message- > > From: Shawn McKenzie [mailto:[EMAIL PROTECTED] > > Sent: Monday, February 04, 2008

Re: [PHP] text messages

2008-02-04 Thread clive
blackwater dev wrote: I know this isn't specific to php but I need to add some code to my php pages to start sending out text messages. If anyone does this, how do you do it? Do you simply use a free service like teleflip or do you use a paid aggregator company? I use a paid service, called

Re: [PHP] How to download a file (with browser) using fsockopen() ?

2008-02-04 Thread venkatk
Try this, it should work. //Get the file from the remote location function getFile($host, $resource, $port) { ??? $hdr = ''; ??? $file_cont = ''; ??? $fh = fsockopen($host, $port, $errno, $errstr, 300); ??? ??? if(! $fh) ??? { ??? ??? return "error"; ??? } else { ??? ??? $hdr .= "GET /$resour

Re: [PHP] How to download a file (with browser) using fsockopen() ?

2008-02-04 Thread Wolf
Wow, did you have to post this 6 times barney?? szalinski wrote: Hi I have been working on this download script for quite a while, and I just can't find how to download a remote file via a user's browser using fsockopen. Basically I am wondering if anyone can just give me a simple working

Re: [PHP] How to download a file (with browser) using fsockopen() ?

2008-02-04 Thread Wolf
Wow, did you have to post this 6 times barney?? szalinski wrote: Hi I have been working on this download script for quite a while, and I just can't find how to download a remote file via a user's browser using fsockopen. Basically I am wondering if anyone can just give me a simple working exam

Re: [PHP] How to download a file (with browser) using fsockopen() ?

2008-02-04 Thread Wolf
Wow, did you have to post this 6 times barney?? szalinski wrote: Hi I have been working on this download script for quite a while, and I just can't find how to download a remote file via a user's browser using fsockopen. Basically I am wondering if anyone can just give me a simple working

Re: [PHP] How to download a file (with browser) using fsockopen() ?

2008-02-04 Thread Wolf
Wow, did you have to post this 6 times barney?? szalinski wrote: Hi I have been working on this download script for quite a while, and I just can't find how to download a remote file via a user's browser using fsockopen. Basically I am wondering if anyone can just give me a simple working exam

Re: [PHP] How to download a file (with browser) using fsockopen() ?

2008-02-04 Thread Wolf
Wow, did you have to post this 6 times barney?? szalinski wrote: Hi I have been working on this download script for quite a while, and I just can't find how to download a remote file via a user's browser using fsockopen. Basically I am wondering if anyone can just give me a simple working exam

Re: [PHP] How to download a file (with browser) using fsockopen() ?

2008-02-04 Thread Wolf
Wow, did you have to post this 6 times barney?? szalinski wrote: Hi I have been working on this download script for quite a while, and I just can't find how to download a remote file via a user's browser using fsockopen. Basically I am wondering if anyone can just give me a simple working exam

[PHP] How to download a file (with browser) using fsockopen() ?

2008-02-04 Thread szalinski
Hi I have been working on this download script for quite a while, and I just can't find how to download a remote file via a user's browser using fsockopen. Basically I am wondering if anyone can just give me a simple working example on how to use fsockopen() to fetch a file on a remote server, a

[PHP] How to download a file (with browser) using fsockopen() ?

2008-02-04 Thread szalinski
Hi I have been working on this download script for quite a while, and I just can't find how to download a remote file via a user's browser using fsockopen. Basically I am wondering if anyone can just give me a simple working example on how to use fsockopen() to fetch a file on a remote server, a

[PHP] How to download a file (with browser) using fsockopen() ?

2008-02-04 Thread szalinski
Hi I have been working on this download script for quite a while, and I just can't find how to download a remote file via a user's browser using fsockopen. Basically I am wondering if anyone can just give me a simple working example on how to use fsockopen() to fetch a file on a remote se

[PHP] text messages

2008-02-04 Thread blackwater dev
I know this isn't specific to php but I need to add some code to my php pages to start sending out text messages. If anyone does this, how do you do it? Do you simply use a free service like teleflip or do you use a paid aggregator company? Thanks!

RE: [PHP] php competion

2008-02-04 Thread Warren Vail
There's probably even a tee-shirt. As in; been there, done that, got the tee-shirt. Warren > -Original Message- > From: Shawn McKenzie [mailto:[EMAIL PROTECTED] > Sent: Monday, February 04, 2008 5:32 PM > To: php-general@lists.php.net > Subject: Re: [PHP] php competion > > And a newer a

Re: [PHP] php competion

2008-02-04 Thread Shawn McKenzie
And a newer adage, maybe from grade school, "takes one to know one". :-) Robert Cummings wrote: > On Mon, 2008-02-04 at 15:26 -0600, Shawn McKenzie wrote: >> I hardly think this one is a scam, I mean all you have to do is write a >> PHP app that converts between PHP, Python, C and Perl and you ge

Re: [PHP] Pass Variable Names to a Function

2008-02-04 Thread Richard Lynch
function silly($var){ return isset($_SESSION[$var]) ? $_SESSION[$var] : ''; } silly('foo'); On Fri, February 1, 2008 10:49 am, Bill Guion wrote: > I would like to use a function to check to see if a session variable > is set and return the session variable if it is set, and return blank > if no

Re: [PHP] New search related question

2008-02-04 Thread Jim Lucas
Daniel Brown wrote: On Feb 4, 2008 2:48 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: Hi Everyone! :) Just a quick question, I've done some googling but haven't been able to find what I need... I am looking at doing a search function for someone's website, the website is just static HTML files, an

Re: [PHP] php competion

2008-02-04 Thread Robert Cummings
On Mon, 2008-02-04 at 15:26 -0600, Shawn McKenzie wrote: > I hardly think this one is a scam, I mean all you have to do is write a > PHP app that converts between PHP, Python, C and Perl and you get: > "not only bragging rights will come your way, but it will sure look good > on your resume"! > >

Re: [PHP] In Your Arms

2008-02-04 Thread Jochem Maas
Eric Butera schreef: On Feb 4, 2008 5:13 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: Destiny http://86.31.249.90/ I love FF + NoScript :) -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twel

Re: [PHP] New search related question

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 2:48 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > Hi Everyone! :) > > Just a quick question, I've done some googling but haven't been able > to find what I need... I am looking at doing a search function for > someone's website, the website is just static HTML files, and she > doesn'

Re: [PHP] php competion

2008-02-04 Thread Eric Butera
On Feb 4, 2008 5:23 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Feb 4, 2008 4:26 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > > > I hardly think this one is a scam, I mean all you have to do is write a > > PHP app that converts between PHP, Python, C and Perl and you get: > > "not only brag

Re: [PHP] In Your Arms

2008-02-04 Thread Eric Butera
On Feb 4, 2008 5:13 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Destiny http://86.31.249.90/ > > > > I love FF + NoScript :) > > -- > Jim Lucas > > "Some men are born to greatness, some achieve greatness, > and some have greatness thrust upon them." > > Twel

Re: [PHP] php competion

2008-02-04 Thread Nathan Nobbe
On Feb 4, 2008 4:26 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > I hardly think this one is a scam, I mean all you have to do is write a > PHP app that converts between PHP, Python, C and Perl and you get: > "not only bragging rights will come your way, but it will sure look good > on your resu

Re: [PHP] In Your Arms

2008-02-04 Thread Jim Lucas
[EMAIL PROTECTED] wrote: Destiny http://86.31.249.90/ I love FF + NoScript :) -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (h

Re: [PHP] In Your Arms

2008-02-04 Thread Eric Butera
On Feb 4, 2008 3:50 PM, <[EMAIL PROTECTED]> wrote: > Destiny http://86.31.249.90/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I've decoded the secret message '%3C%61%20%68%72%65%66%3D%22%77%69%74%68%5F%6C%6F%76%65%2E%65%78%65%

Re: [PHP] New search related question

2008-02-04 Thread tedd
At 2:48 PM -0500 2/4/08, Jason Pruim wrote: Hi Everyone! :) Just a quick question, I've done some googling but haven't been able to find what I need... I am looking at doing a search function for someone's website, the website is just static HTML files, and she doesn't want to redo the entire

Re: [PHP] Timeout while waiting for a server->client transfer to start (large files)

2008-02-04 Thread szalinski
Well thanks again, but I already know what the problem is, it is the response headers being added to the ouput file. I just tried with a different code and it seems to output the file ok, so i must be going wrong somewhere in the order in which i output headers and so on. i'm gonna keep w

Re: [PHP] php competion

2008-02-04 Thread Shawn McKenzie
I hardly think this one is a scam, I mean all you have to do is write a PHP app that converts between PHP, Python, C and Perl and you get: "not only bragging rights will come your way, but it will sure look good on your resume"! I'm in. Nathan Nobbe wrote: > i ashamed to say i was the subject of

Re: [PHP] php competion

2008-02-04 Thread Andrew Ballard
On Feb 4, 2008 4:10 PM, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Mon, February 4, 2008 2:36 am, Jochem Maas wrote: > > Richard Lynch schreef: > >> > >> On Sun, February 3, 2008 11:51 am, Robert Cummings wrote: > >>> On Sun, 2008-02-03 at 18:15 +0200, Paul Scott wrote: > On Sun, 2008-02-03

Re: [PHP] php competion

2008-02-04 Thread Nathan Nobbe
i ashamed to say i was the subject of a scam whereby i wrote a solid weekends worth of code only to find out these assholes decided not to pay up. http://www.cartoondollemporium.com/ i can only imagine theyve done this to many other developers and plan on doing it to more. though ive not read thro

Re: [PHP] Re: New search related question

2008-02-04 Thread Andrew Ballard
On Feb 4, 2008 3:40 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > strip_tags() perhaps? Perhaps; I've never been thrilled with strip_tags(), but it should work well enough here. But combined with grep? I guess for most searches grep would narrow things down reasonably well before you have to sta

Re: [PHP] Timeout while waiting for a server->client transfer to start (large files)

2008-02-04 Thread Richard Lynch
On Fri, February 1, 2008 7:45 pm, szalinski wrote: > On Thu, 31 Jan 2008 07:13:55 -, Per Jessen <[EMAIL PROTECTED]> > wrote: > Well I got it to work, much thanks to Richard Lynch, but now everytime > I > download a file, it is corrupt. For example, when I download small > .rar > file, just to t

Re: [PHP] Re: New search related question

2008-02-04 Thread Shawn McKenzie
OP didn't ask for the "best search tool". Back to the horror of cron jobs to updatedb (or were you being sarcastic?) :-) I am familiar with using (s)locate to find files by name etc... But I haven't seen how to index and search file contents. man is no help and I didn't get any google love eith

Re: [PHP] php competion

2008-02-04 Thread Richard Lynch
On Mon, February 4, 2008 2:36 am, Jochem Maas wrote: > Richard Lynch schreef: >> >> On Sun, February 3, 2008 11:51 am, Robert Cummings wrote: >>> On Sun, 2008-02-03 at 18:15 +0200, Paul Scott wrote: On Sun, 2008-02-03 at 20:10 +1100, doc wrote: > come on people try you skills at >

Re: [PHP] Effecient mass mailings

2008-02-04 Thread Richard Lynch
On Mon, February 4, 2008 10:22 am, Robert Fitzpatrick wrote: > Can someone give some pointers at how I may want to approach such mass > mailings? Thanks in advance! Get rid of the attachments? :-) -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie ar

Re: [PHP] Re: New search related question

2008-02-04 Thread Greg Donald
On 2/4/08, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > I agree that htdig may be a better solution, however his current > solution requires upkeep if the static HTML is changed and requires that > the person populating the database pick all relevant words from the page > and if new ones are added t

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Richard Lynch
On Mon, February 4, 2008 8:30 am, Pieter du Toit wrote: > Is there a way that i can schedule tasks on my webserver that will > automatically fire on a certain time and date, without anyone visiting > the > website? > > This domain is hosted by a ISP and not by me. There is a low-level utility in W

Re: [PHP] New search related question

2008-02-04 Thread Eric Butera
On Feb 4, 2008 2:48 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > Hi Everyone! :) > > Just a quick question, I've done some googling but haven't been able > to find what I need... I am looking at doing a search function for > someone's website, the website is just static HTML files, and she > doesn'

Re: [PHP] Re: New search related question

2008-02-04 Thread Robert Cummings
I thought he was extracting the words form the content... maybe just using strip_tags(). Doing that and pushing to a fulltext field would cover most of his bases. Cheers, Rob. On Mon, 2008-02-04 at 14:37 -0600, Shawn McKenzie wrote: > Inefficient, maybe. Lazy, most likely yes. > > I agree tha

Re: [PHP] Re: New search related question

2008-02-04 Thread Shawn McKenzie
strip_tags() perhaps? Andrew Ballard wrote: > On Feb 4, 2008 3:13 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: >> If there aren't many files and you don't intend to grow this site much >> larger and intend to always have static HTML, any easy implementation >> would be to read each file and searc

Re: [PHP] Re: New search related question

2008-02-04 Thread Shawn McKenzie
Inefficient, maybe. Lazy, most likely yes. I agree that htdig may be a better solution, however his current solution requires upkeep if the static HTML is changed and requires that the person populating the database pick all relevant words from the page and if new ones are added to update the db.

Re: [PHP] Re: New search related question

2008-02-04 Thread Andrew Ballard
On Feb 4, 2008 3:13 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > If there aren't many files and you don't intend to grow this site much > larger and intend to always have static HTML, any easy implementation > would be to read each file and search for the terms either in the > keywords tag or in

Re: [PHP] Re: New search related question

2008-02-04 Thread Robert Cummings
On Mon, 2008-02-04 at 14:13 -0600, Shawn McKenzie wrote: > If there aren't many files and you don't intend to grow this site much > larger and intend to always have static HTML, any easy implementation > would be to read each file and search for the terms either in the > keywords tag or in the ent

[PHP] Re: New search related question

2008-02-04 Thread Shawn McKenzie
If there aren't many files and you don't intend to grow this site much larger and intend to always have static HTML, any easy implementation would be to read each file and search for the terms either in the keywords tag or in the entire file. Optionally, if you're on a *nix host you could exec() a

Re: [PHP] New search related question

2008-02-04 Thread Greg Donald
On 2/4/08, Jason Pruim <[EMAIL PROTECTED]> wrote: > Is there anything wrong with the way I'm thinking? Or is it that there > is a better way to search through a static HTML site? http://www.htdig.org/ -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To uns

RE: [PHP] flash with PHP

2008-02-04 Thread Bastien Koert
try asking on www.flashkit.com bastien> Date: Mon, 4 Feb 2008 07:45:25 +0200> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: php-general@lists.php.net> Subject: Re: [PHP] flash with PHP> > FlashKnowledge = 0;> phpKnowledge = 1;> > I remember some time back finding a class for php and a c

Re: [PHP] New search related question

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 2:48 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > Hi Everyone! :) > > Just a quick question, I've done some googling but haven't been able > to find what I need... I am looking at doing a search function for > someone's website, the website is just static HTML files, and she > doesn'

[PHP] Re: Doctrine vs. Propel

2008-02-04 Thread Manuel Lemos
Hello, on 02/04/2008 04:44 PM AmirBehzad Eslami said the following: > Dear List, > > I've just heard of ORM (Object Relational Mapping) frameworks written for > PHP. > It seems that there are two major frameworks here: Doctrine and Propel: > > http://www.phpdoctrine.org/ > http://propel.phpdb.or

[PHP] New search related question

2008-02-04 Thread Jason Pruim
Hi Everyone! :) Just a quick question, I've done some googling but haven't been able to find what I need... I am looking at doing a search function for someone's website, the website is just static HTML files, and she doesn't want to redo the entire website to make it dynamic. What I am t

Re: [PHP] Doctrine vs. Propel

2008-02-04 Thread Nathan Nobbe
On Feb 4, 2008 1:44 PM, AmirBehzad Eslami <[EMAIL PROTECTED]> wrote: > Dear List, > > I've just heard of ORM (Object Relational Mapping) frameworks written for > PHP. > It seems that there are two major frameworks here: Doctrine and Propel: > > http://www.phpdoctrine.org/ > http://propel.phpdb.org

[PHP] Doctrine vs. Propel

2008-02-04 Thread AmirBehzad Eslami
Dear List, I've just heard of ORM (Object Relational Mapping) frameworks written for PHP. It seems that there are two major frameworks here: Doctrine and Propel: http://www.phpdoctrine.org/ http://propel.phpdb.org/trac/ I wonder which one is better? What is the difference between these? I'm talk

[PHP] Re: Effecient mass mailings

2008-02-04 Thread Manuel Lemos
Hello, on 02/04/2008 02:22 PM Robert Fitzpatrick said the following: > I a currently re-writing a web app from ASP to PHP and have come to the > part where the app sends mass mailings to their customer base. This has > always been problematic for them with the existing setup and I am > looking for

Re: [PHP] Efficient mass mailings

2008-02-04 Thread Per Jessen
Richard Heyes wrote: >> Whether you BCC or not does not affect the actual mail-server >> traffic. A Bcc'ed address is only one that isn't listed in To: >> header. > > But it does affect how much data gets transferred to the mail server. > If you Bcc: addresses the email will only be sent over the

Re: [PHP] Efficient mass mailings

2008-02-04 Thread Richard Heyes
Whether you BCC or not does not affect the actual mail-server traffic. A Bcc'ed address is only one that isn't listed in To: header. But it does affect how much data gets transferred to the mail server. If you Bcc: addresses the email will only be sent over the wire to the mail server once.

Re: [PHP] Efficient mass mailings

2008-02-04 Thread Per Jessen
Robert Fitzpatrick wrote: > I a currently re-writing a web app from ASP to PHP and have come to > the part where the app sends mass mailings to their customer base. > This has always been problematic for them with the existing setup and > I am looking for the best approach. While I've setup mailin

Re: [PHP] Efficient mass mailings

2008-02-04 Thread Per Jessen
Richard Heyes wrote: > If you have attachments, you could use one or more cheap remote > servers and Bcc: the recipients. Or use the local mail gateway. > Bcc:ing will cut down on the amount of the amount of actual data > transferred to the mail server; you can send to say 100 recipients at > once

Re: [PHP] Effecient mass mailings

2008-02-04 Thread Robert Fitzpatrick
On Mon, 2008-02-04 at 08:53 -0800, Jim Lucas wrote: > If you were sending HTML formatted emails and included images for the layout, > that would be fine. But a 2-5MB attachment? Why would want to send that as > an > attachment. Give them a link back to your website. If it is a private > thi

Re: [PHP] Effecient mass mailings

2008-02-04 Thread Jason Pruim
) On Feb 4, 2008, at 11:22 AM, Robert Fitzpatrick wrote: I a currently re-writing a web app from ASP to PHP and have come to the part where the app sends mass mailings to their customer base. This has always been problematic for them with the existing setup and I am looking for the best ap

Re: [PHP] Schedule tasks from server

2008-02-04 Thread clive
Pieter du Toit wrote: 98% of the pages is PHP, and i dont know if all my code is *nix compatable, it should be, but i dont want to take the risk by moving, i already have to much to do still. As Richard said ,theirs the task scheduler in windows, but I would go with Paul's suggestion and mov

Re: [PHP] Effecient mass mailings

2008-02-04 Thread Richard Heyes
I've always personally hated receiving email with large attachments, preferring instead to get links to the content on the web. Plus, that cuts down on the bandwidth the server (as well as mailservers, gateways, et cetera) are responsible for handling, because the PDFs or other attachments wo

Re: [PHP] Effecient mass mailings

2008-02-04 Thread Jim Lucas
Robert Fitzpatrick wrote: I a currently re-writing a web app from ASP to PHP and have come to the part where the app sends mass mailings to their customer base. This has always been problematic for them with the existing setup and I am looking for the best approach. While I've setup mailings with

Re: [PHP] Effecient mass mailings

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 11:34 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: > If you have attachments, you could use one or more cheap remote servers > and Bcc: the recipients. Or use the local mail gateway. Bcc:ing will cut > down on the amount of the amount of actual data transferred to the mail > server;

Re: [PHP] Effecient mass mailings

2008-02-04 Thread Richard Heyes
I a currently re-writing a web app from ASP to PHP and have come to the part where the app sends mass mailings to their customer base. This has always been problematic for them with the existing setup and I am looking for the best approach. While I've setup mailings with PHP, never such mass maili

[PHP] Effecient mass mailings

2008-02-04 Thread Robert Fitzpatrick
I a currently re-writing a web app from ASP to PHP and have come to the part where the app sends mass mailings to their customer base. This has always been problematic for them with the existing setup and I am looking for the best approach. While I've setup mailings with PHP, never such mass mailin

Re: [PHP] Fileinfo

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 4:06 AM, Mad Unix <[EMAIL PROTECTED]> wrote: > I can not install FileInfo... any help [snip] Note this line: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to Update the php.ini to use more than 8MB. (See `memory_limit`) While you're at it

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 11:05 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: > >> > your code should be portable > >> > >> Except in reality, it probably isn't. Off the top of my head, think file > >> paths. > > > > Which is why I mentioned the exec() family. Otherwise, relative > > paths for includes w

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Richard Heyes
> your code should be portable Except in reality, it probably isn't. Off the top of my head, think file paths. Which is why I mentioned the exec() family. Otherwise, relative paths for includes will work regardless of the slash style (*nix / vs Windows \) preferred by the OS. Or is my as

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 10:41 AM, Richard Heyes <[EMAIL PROTECTED]> wrote: > > your code should be portable > > Except in reality, it probably isn't. Off the top of my head, think file > paths. Which is why I mentioned the exec() family. Otherwise, relative paths for includes will work regardless of

Re: [PHP] how to make multiple website on one host

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 1:12 AM, jeffry s <[EMAIL PROTECTED]> wrote: > can you tell me more about mod_rewrite? Apache can [NOTE: This is to the 1.3.x tree] http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html -- Daniel P. Brown Senior Unix Geek -- PHP General Mailing List (http://w

Re: [PHP] about preg_replace, please help !

2008-02-04 Thread Daniel Brown
On Feb 3, 2008 8:00 PM, LKSunny <[EMAIL PROTECTED]> wrote: > $txt = << a > a > a > > > > > > eof; > > //i just want replace "start to first \r\n\r\n" > //how can i do ? [snip] Note the optional \r and required \n. This is because, if the i

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Richard Heyes
> your code should be portable Except in reality, it probably isn't. Off the top of my head, think file paths. -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and Helpdesk software for £299 hosted for you - no installation, no maintenance, new features automatic and free

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 10:11 AM, Pieter du Toit <[EMAIL PROTECTED]> wrote: > 98% of the pages is PHP, and i dont know if all my code is *nix compatable, > it should be, but i dont want to take the risk by moving, i already have to > much to do still. As I and others have said, Windows has the schedule

Re: [PHP] Redirecting STDERR to a file?

2008-02-04 Thread Daniel Brown
On Feb 3, 2008 10:08 PM, Richard Lynch <[EMAIL PROTECTED]> wrote: > > > On Fri, February 1, 2008 10:58 pm, js wrote: > > Hi, > > > > I was trying to write a script in PHP that takes a program name > > as an argument and invoke it as a daemon. > > PHP provides fork(pcntl_fork), setsid(posix_setsid)

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Pieter du Toit
98% of the pages is PHP, and i dont know if all my code is *nix compatable, it should be, but i dont want to take the risk by moving, i already have to much to do still. "Paul Scott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Mon, 2008-02-04 at 16:46 +0200, Pieter du Toi

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Paul Scott
On Mon, 2008-02-04 at 16:46 +0200, Pieter du Toit wrote: > I am using paradigmsolutions.co.za. I read about cronjobs, but aparently it > is only available on unix or linux hosting, is this true? Well, why not just host on *nix then? I see your site is a MS Frontpage one, but most linux based ISP

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Richard Heyes
I am using paradigmsolutions.co.za. I read about cronjobs, but aparently it is only available on unix or linux hosting, is this true? Cron is a *nix thing yes. Though Windows has the task scheduler. You'll need to check with your ISP to see if it's available or if there's an alternative. --

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Per Jessen
Pieter du Toit wrote: > I am using paradigmsolutions.co.za. I read about cronjobs, but > aparently it is only available on unix or linux hosting, is this true? I'm sure a Windows hosting-setup will have something equivalent. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 9:30 AM, Pieter du Toit <[EMAIL PROTECTED]> wrote: > Hi people > > Is there a way that i can schedule tasks on my webserver that will > automatically fire on a certain time and date, without anyone visiting the > website? In any case, yes but the method depends on whether it

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Pieter du Toit
I am using paradigmsolutions.co.za. I read about cronjobs, but aparently it is only available on unix or linux hosting, is this true? "Paul Scott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Mon, 2008-02-04 at 16:30 +0200, Pieter du Toit wrote: >> Is there a way that i can

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Michael Fischer
On Mon, 2008-02-04 at 16:30 +0200, Pieter du Toit wrote: > Hi people > > Is there a way that i can schedule tasks on my webserver that will > automatically fire on a certain time and date, without anyone visiting the > website? > > This domain is hosted by a ISP and not by me. > > Thanks > a

Re: [PHP] Schedule tasks from server

2008-02-04 Thread Paul Scott
On Mon, 2008-02-04 at 16:30 +0200, Pieter du Toit wrote: > Is there a way that i can schedule tasks on my webserver that will > automatically fire on a certain time and date, without anyone visiting the > website? > > This domain is hosted by a ISP and not by me. Ask your ISP if they support c

[PHP] Schedule tasks from server

2008-02-04 Thread Pieter du Toit
Hi people Is there a way that i can schedule tasks on my webserver that will automatically fire on a certain time and date, without anyone visiting the website? This domain is hosted by a ISP and not by me. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] php competion

2008-02-04 Thread bruce
on the other hand... maybe they're looking for not only skilled developers to build the app, but also people that they can work with, as partners.. who knows, maybe these guys have a pool of real estate partners and the $$$ will flow if they can get things off the ground... but i'm sure that all

Re: [PHP] flash with PHP

2008-02-04 Thread Zoltán Németh
2008. 02. 3, vasárnap keltezéssel 09.23-kor Alain Roger ezt írta: > Hi, > > i would like to have a flash menu in my PHP website. > this is no problem. > > My problem is how to exchange data between PHP andFlash (in both direction). > i found a lot of posts on this theme, but nothing with really w

[PHP] Fileinfo

2008-02-04 Thread Mad Unix
I can not install FileInfo... any help [EMAIL PROTECTED] php.d]# pear config-show Configuration (channel pear.php.net): = Auto-discover new Channels auto_discover Default Channeldefault_channel pear.php.net HTTP Proxy Server Address

Re: [PHP] php competion

2008-02-04 Thread Jochem Maas
Richard Lynch schreef: On Sun, February 3, 2008 11:51 am, Robert Cummings wrote: On Sun, 2008-02-03 at 18:15 +0200, Paul Scott wrote: On Sun, 2008-02-03 at 20:10 +1100, doc wrote: come on people try you skills at http://www.rhwebhosting.com/comp/index.php Reworded as: Redesign our complete