Re: [PHP] Fork PHP script X at a time.

2004-09-21 Thread John Wards
the same problem. John On Mon, 2004-09-20 at 16:36, John Wards wrote: Hi, I have a bit of a cold today so I probably would have figured this out for myself eventually but hey ;-) Right I have a script that I need to run around 90 times thru a cron job but passing a different i.d. to it each time

Re: [PHP] Fork PHP script X at a time.

2004-09-21 Thread John Wards
On Tue, 2004-09-21 at 13:58, John Wards wrote: Not sure if anyone is interested in what I have come up with, its busy running just now but it seems to be performing ok. Again adding to this thread for future reference. Its just compleated all 90 threads in 1 hour 50 minutes

[PHP] Fork PHP script X at a time.

2004-09-20 Thread John Wards
fork.php .$_data[id]. /dev/null ); } Cheers John Wards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fork PHP script X at a time.

2004-09-20 Thread John Wards
On Mon, 2004-09-20 at 16:45, Wouter van Vliet wrote: What I would like to do is fork off say 5-10 at a time and when one is done start another one in its place, as they all take different length of times to compleate. Any clues at where to start? Here is my fork all 90+ code...

Re: [PHP] Fork PHP script X at a time.

2004-09-20 Thread John Wards
On Mon, 2004-09-20 at 16:56, Marek Kilimajer wrote: play around with popen() and stream_select() Oooh that looks handy. More night time reading I think! Any further ideas to save a man with a cold from using his brain would be great! Cheers John -- PHP General Mailing List

Re: [PHP] Best open source banner advertising application

2003-06-05 Thread John Wards
site. Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best open source banner advertising application

2003-06-05 Thread John Wards
it, we are now on linux and are busy installing it again) 120+ page manual HTH Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best open source banner advertising application

2003-06-05 Thread John Wards
On Wednesday 04 Jun 2003 4:21 pm, esctoday.com | wouter van vliet wrote: Does any of both (or any other) banner advertising applications support langauge specific banners.. So that Greek visitors would get only the banners you have said to be Greek? And for example maybe even if you don't have

Re: [PHP] Protecting Code source.

2003-03-27 Thread John Wards
basis and is much cheaper for small jobs Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] BBS software in PHP?

2003-02-19 Thread John Wards
On Wednesday 19 Feb 2003 9:25 am, Jean-Christian Imbeault wrote: Can anyone recommend a simple (and free) BBS module/software written in PHP. preferably something that writes to a DB and preferably PoserSQL. If you want a simple and non bloated forum software you could do worse than use

[PHP] ImageJPEG?

2003-02-07 Thread John Wards
tried this: $uploadpath = /images/1000/; $temp = t_.$imagefilename; $imagefilename = $temp; $dest = $uploadpath.$imagefilename; ImageJPEG($image_thum,$dest); but that did nothing. What am I doing wrong? Cheers John Wards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] ImageJPEG?

2003-02-07 Thread John Wards
On Friday 07 Feb 2003 9:26 pm, you wrote: Other than that you're code looks good to me. Arrrgh! Bl*0dy cacheing in my ftp programgr Cheers for looking though! John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Framework

2003-02-03 Thread John Wards
On Monday 03 Feb 2003 2:01 pm, karthikeyan.balasubramanian wrote: Hi All, I finally decided to upgrade my PHP. Just want to know your thoughts on which Framework is the best with a clear seperation of content from presentation. Please let me know which do you think is the best and why?

Re: [PHP] forum?

2002-12-24 Thread John Wards
www.google.com www.hotscripts.com - Original Message - From: Fatih Üstündað [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Tuesday, December 24, 2002 2:51 PM Subject: [PHP] forum? do you know freeware forum in php I can easly use? thanks. fatih ustundag -- PHP General

[PHP] RegExpres Prob

2002-12-19 Thread John Wards
I thought this would do it: ereg_replace(src=\(^http),src=\http://www.domain.com/;, $string); but it didn't... Argh... Cheers John Wards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RegExpres Prob

2002-12-19 Thread John Wards
On Thursday 19 Dec 2002 11:25 am, Wico de Leeuw wrote: Preg_Replace('~src=(?!http://)~iS', 'src=http://www.domain.com/', $string); Ha! Ta I am all for quick fixes but I am new to RegExpresions...so could someone explain what its all doing for me. Cheers John -- PHP General

Re: [PHP] how to send an MSWORD email?

2002-12-13 Thread John Wards
3.some other better methods. Have a look on pear.php.net for the mime mail class. It has things for attaching images and including them in an html email Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Newline charactes causing problems

2002-12-05 Thread John Wards
On Thursday 05 Dec 2002 3:48 pm, Joshua E Minnie wrote: A load of stuff.. I just read the fist few paragraphs and got bored;-) but Have you tried doing a str_replace for \n which is new line? just replate it with a blank string John -- PHP General Mailing List

Re: [PHP] Newline charactes causing problems

2002-12-05 Thread John Wards
On Thursday 05 Dec 2002 3:54 pm, Joshua E Minnie wrote: Already tried that. Doesn't seem to change anything. how about \r John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] need advice on template engine

2002-12-03 Thread John Wards
On Tuesday 03 Dec 2002 2:28 pm, Daniel Masson wrote: Ive been working with smarty and for me its awsome ... My advice is SMARTY !!! I've just converted my 100,000 page views a day application to SMARTY and it is much quicker and it gives me much more control Go for smarty it rocks..

Re: [PHP] How do I run a command as root?

2002-12-02 Thread John Wards
On Monday 02 Dec 2002 10:47 am, Luke van Blerk wrote: Hi I'm trying to find out how to run a command on the server as root. Does anybody know how to do this? su root password: your_root_password then run your command This is a php list not a *nix list John -- PHP General Mailing List

[PHP] Re: [SMARTY] [Template - announce] Templeet 0.9.2 available

2002-11-07 Thread John Wards
Whats the point of this system? Someone explain this to me? is it a template language? It doesn't look like one? I am confuzed On Thursday 07 Nov 2002 1:36 pm, Fabien Penso wrote: Hi everyone. I thought you would be interested about a new template system called Templeet. The way it

Re: [PHP] publishing php mysql website on cd-rom

2002-11-06 Thread John Wards
I dunno if its an old wives tail but I have heard that you can get apache/mysql and php running from a CD. You would of course need to turn off all logging etc. Do a bit off google bashing. John On Wednesday 06 Nov 2002 9:50 am, .: B i g D o g :. wrote: That is going to be very hard to

Re: [PHP] publishing php mysql website on cd-rom

2002-11-06 Thread John Wards
Thinking about this more A U.K. based electronics company has a CD which is Databse driven. It is compleatly searchable etc I think its either RS or Maplin.or it might be someone else ;-) but its a company like them.. John - Original Message - From: ROBERT MCPEAK [EMAIL

Re: [PHP] Who can tell me where I can get the cracked Zend Encoder3.0 ?

2002-10-31 Thread John Wards
On Thursday 31 Oct 2002 3:00 pm, jianking wrote: Who can tell me where I can get the cracked Zend Encoder 3.0 ? Are you a muppet? This list is run by the people who make Zend Encoder! FOOL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Flash and PHP?

2002-10-29 Thread John Wards
On Tuesday 29 Oct 2002 2:06 pm, Neil wrote: Does anyone use this? Yes next question.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Umm... Uh-oh

2002-10-04 Thread John Wards
erm..would that alow hackers access? Say I have a database include file would hackers be able to get access to my database like this? (include('http://mysite.com/datainc.php');) I hope bloody not!!! if so how on earth do i get round that! John On Friday 04 Oct 2002 10:52 am, Marek

Re: [PHP] Umm... Uh-oh

2002-10-04 Thread John Wards
to serve those files directly thru http. Justin on 04/10/02 7:58 PM, John Wards ([EMAIL PROTECTED]) wrote: erm..would that alow hackers access? Say I have a database include file would hackers be able to get access to my database like this? (include('http://mysite.com/datainc.php

Re: [PHP] Umm... Uh-oh

2002-10-04 Thread John Wards
, but NOT accessible via http. HTH, Stas - Original Message - From: John Wards [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Friday, October 04, 2002 10:58 AM Subject: Re: [PHP] Umm... Uh-oh erm..would that alow hackers access? Say I have a database include file would hackers be able to get

Re: [PHP] Error disabling

2002-10-04 Thread John Wards
A quickie woudl be put an before every function that would report an error like mysql_query etc John On Friday 04 Oct 2002 11:51 am, Davíð Örn Jóhannsson wrote: I need to be able to disable error reporting on one page with php, I just don’t remember how to do this, if I remember correctly I

Re: [PHP] Call HTML from php

2002-10-01 Thread John Wards
header(location:http://yourstuff;); Do this before any output to the user. eg echos or displaying html John - Original Message - From: Anna Gyor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 01, 2002 8:40 PM Subject: [PHP] Call HTML from php Hi, how can I call a

Re: [PHP] Call HTML from php

2002-10-01 Thread John Wards
What can I do? Thanks! John Wards [EMAIL PROTECTED] az alábbiakat írta a következo hírüzenetben: [EMAIL PROTECTED] header(location:http://yourstuff;); Do this before any output to the user. eg echos or displaying html John - Original Message - From: Anna Gyor [EMAIL

Re: [PHP] mailing-list and forum combination?

2002-09-27 Thread John Wards
Well Phorum.org can sort of do it but its not very well documented. It has a script in the scripts dir called phroum mail. Which takes email in and posts it to the selected forum and you can then set the forum to email all posts to an address I have yet to get my head around it but I

Re: [PHP] editor php

2002-09-19 Thread John Wards
Zend Studio if you can afford it... www.zend.com My work paid for it aint I lucky. John Wards SportNetwork.net - Original Message - From: Gian Michele [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 19, 2002 4:57 PM Subject: [PHP] editor php Hi, does

Re: [PHP] Join - problem

2002-09-18 Thread John Wards
not having the time to look at your code I am not sure but do this to see if its mysql causeing the errors $result = mysql_query($query) or die(mysql_error()); - Original Message - From: Henning [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 5:12 PM Subject:

Re: [PHP] mail() question

2002-09-17 Thread John Wards
Meltem What is you system set up? OS etc? Cheers John Wards SportNetwork.net - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 2:35 PM Subject: [PHP] mail() question Hi, I am trying to send an email by using

Re: [PHP] mail() question

2002-09-17 Thread John Wards
Have you set up you php.ini file correctly? You need to set up your SMTP settings and your sendmail_from settings John - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: John Wards [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 2:43 PM Subject

Re: [PHP] mail() question

2002-09-17 Thread John Wards
SMTP setting would be what ever you send your mail with currently. Looking at you email address somthing like mail.momentum-dmt.com and your sendmail_from setting would just be your email address Cheers John - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: John Wards [EMAIL

Re: [PHP] mail() question

2002-09-17 Thread John Wards
this in your SMTP seting in php.ini. Also have you restarted apache(or what ever server u are using) since you changed the php.ini file - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: John Wards [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 3:14 PM NCOMP Subject: Re: [PHP

Re: [PHP] stopping repeated posts to a Bulletin Board

2002-09-17 Thread John Wards
Use some javascritp to blank out the submit button when its clicked. is a quick and easyway. Also try storing the sent data in sessions and compairing any new data sent to the previous data. John Wards SportNetwork.net - Original Message - From: Resarch and Development [EMAIL PROTECTED

[PHP] A mailing list

2002-09-13 Thread John Wards
on the mailman help list. This is pretty urgent please help! Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A mailing list

2002-09-13 Thread John Wards
] To: John Wards [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, September 13, 2002 10:50 AM Subject: Re: [PHP] A mailing list This is 100% OT, but very quickly said/written: Stick at Mailman. Or explore alternatives such as ezmlm or Majordomo. This is custom-written software and one couldn't

Re: [PHP] PHP mem leaks

2002-09-13 Thread John Wards
the problem but I have commented that out from http.conf but that made no difference Cheers John Wards Is the apache parent process ( the one running under root) getting larger too? John Wards wrote: After being told off on the dev list I have posted this on this list (I thought it was techie

[PHP] Re: Cry for help

2002-09-12 Thread John Wards
things that install apache,php, mysql and phpmyadmin at once which got me started but after a we while i uninstalled it all and did each thing individually. I just wanted to know where every thing went! Anyhooo good luck and have fun! John Wards SportNetwork.net - Original Message - From

[PHP] PHP mem leaks

2002-09-12 Thread John Wards
. Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A question about .php file extension

2002-09-12 Thread John Wards
for example sportnetwork.net/main/s85.php would just be sportnetwork.net/main.php?s=85 we use eregs to get the values out. Cheers John Wards - Original Message - From: LI DONG [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 12, 2002 3:23 PM Subject: [PHP] A question about

Re: [PHP] sessions nightmare

2002-09-11 Thread John Wards
I can't see anything sticking out...but why have you done this... $test2Url = test2.php?PHPSESSID= . session_id( ); You don't need to do this. Try doing this $test2Url = test2.php; Your server might be set up to use a different name for sessions John Wards SportNetwork.net - Original

Re: [PHP] question

2002-09-11 Thread John Wards
pass the message as a variable header:location.php?message=$message - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 2:31 PM Subject: [PHP] question Hi, I am working on a process which turn to the previous page

Re: [PHP] Re:[PHP]question

2002-09-11 Thread John Wards
? - Original Message - From: John Wards [EMAIL PROTECTED] To: Meltem Demirkus [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 5:09 PM Subject: Re: [PHP] Re:[PHP]question right... ? function your_form_html($var_1=null, $var_2=null){ global

Re: [PHP] Re:[PHP]question

2002-09-11 Thread John Wards
Meltem, Your english is very good but you have lost me :) could you explain more slowly John - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: John Wards [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 3:32 PM Subject: Re: [PHP] Re:[PHP]question

[PHP] Session problem

2002-09-09 Thread John Wards
); if(!session_is_registered(data)) session_register(data); } }//E-OF get_data($user_id) The $data array is definatly an array as I have done foreach echo tests and it dumps the information i am needing. but it won't put it in the session. Would it have anything to do with me testing it on my windoze box? Cheers John

Re: [PHP] Session problem

2002-09-09 Thread John Wards
an array as I have done foreach echo tests and it dumps the information i am needing. but it won't put it in the session. Would it have anything to do with me testing it on my windoze box? Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Drawing graphs

2002-09-02 Thread John Wards
erm jgraph is what i use but for the life of me I cannot remeber the url Try searching for it on hotscripts.com or http://php.resourceindex.com/ John - Original Message - From: Ivens Porto [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 02, 2002 2:35 PM Subject:

Re: [PHP] Newbie Parse error

2002-09-02 Thread John Wards
$subject = Message From MCV Contact Form you have missed out a ; on the above line use your eyes...:-) John - Original Message - From: Chase Knott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 02, 2002 4:18 PM Subject: [PHP] Newbie Parse error I am sure that

Re: [PHP] problem with include

2002-08-30 Thread John Wards
hmm. It should have nothing to do with cookies unless you are using cookies in the scripts. Try using require rather than include to see if that makes any difference Cheers John Wards SportNetwork.net p.s. your english is as good as mine and i am scottish.. - Original Message

Re: [PHP] problem with include

2002-08-30 Thread John Wards
Message - From: skitum [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 30, 2002 12:06 PM Subject: Re: [PHP] problem with include The same problem with require - Original Message - From: John Wards [EMAIL PROTECTED] To: skitum [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

Re: [PHP] Simple Security Clarification

2002-08-21 Thread John Wards
Andre Doc root = http://www.yoursite.com/ '/var/www/html/secure' = http://www.yoursite.com/secure/ So its not secure You could use .htaccess files but I am not that clued up on them John - Original Message - From: Andre Dubuc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday,

Re: [PHP] PHP IDEs

2002-08-21 Thread John Wards
I use Zend Studio 2.5 it is very time saveing as it prompts me for variables i have used before classws and function i have used before etc even if they are in an include file. The projects feature is very usefull as I have two major projects at the moment and I can easily switch between then and

[PHP] Apache 2.0 and PHP

2002-08-19 Thread John Wards
Guys and Girls got a question for you. Is Apache 2.0 any good and is there any advantages to installing it? Does it work fine enough with PHP and MySQL? Would I be able to install it along side 1.3 and run it on a separate port? Cheers John Wards SportNetwork.net -- PHP General

Re: [PHP] Passing a PHP variable to javascript

2002-08-19 Thread John Wards
alert(?echo $text?) - Original Message - From: Michael [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 19, 2002 1:54 PM Subject: [PHP] Passing a PHP variable to javascript Hello everyone, This may seem a newbie question... I have a PHP variable containing the text of

Re: [PHP] create header and redirecting

2002-08-15 Thread John Wards
Or maybe not whats line 16? John - Original Message - From: Reymond [EMAIL PROTECTED] To: 'John Wards' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 15, 2002 11:29 AM Subject: RE: [PHP] create header and redirecting That's my randSession Function function

[PHP] Persistant Connections

2002-08-14 Thread John Wards
message board system. Thanks in advance John Wards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php lib?

2002-08-13 Thread John Wards
Thanks for that rather handy! Does anyone know what the function set_var() does in template.inc in phplib? I persume it has something to do with the template system.but thats as much as I have figured out!! I am going to replace the phplib template system with Smarty there is not a

Re: [PHP] Php lib?

2002-08-13 Thread John Wards
Again ta! I had sort of figured it out while waiting for someone to get back to me. Mental note..must learn objects.no argh John Hi, sets the value of the var to be parsed later. HTH Andrey - Original Message - From: John Wards [EMAIL PROTECTED

[PHP] PHP lib again

2002-08-13 Thread John Wards
Sorry to bother folks again but I have a few phplib questions again. set_file() what does this do and would this be display() in smarty? set_block() this one is baffeling me...can't think what it woudl be in smarty! parse() now is this display in smarty...oh me head... p() argh is this

[PHP] Php lib?

2002-08-12 Thread John Wards
Anyone got any handy hints on how to convert scripts running on PHP3 and PHPlib? Its doing my head in! John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dates greater than 2002-01-18 create error

2002-08-12 Thread John Wards
right am i missing something or is that not just an other Y2K bug waiting to happen? Not that I plan to be coding php in 2038 but my kids might be.:-P John - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: Jay Blanchard [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday,

Re: [PHP] PHP form port

2002-08-10 Thread John Wards
don't need to use the html if you don't want to. John Wards SportNetwork.net - Original Message - From: Daniel Guerrier [EMAIL PROTECTED] To: php user group [EMAIL PROTECTED] Sent: Saturday, August 10, 2002 5:14 PM Subject: [PHP] PHP form port How do i execute a form post with php? I want

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread John Wards
Try Zend studio if you have the mulla it rocks! http://www.zend.com/store/products/zend-studio.php John Wards SportNetwork.net - Original Message - From: Negrea Mihai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 09, 2002 12:21 PM Subject: Re: [PHP] Re: Linux PHP editor