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 and th
27;t tell what sort of drain my loop is having on the system,
but hopefully it will be ok.
Just thought it might be an idea to post up this solution in-case
someone else has 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 probab
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 (http://www.php.n
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+ co
exec("/usr/local/bin/php 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
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
> h
w times so we
had to stop using 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
all site.
Cheers
John Wards
SportNetwork.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t you do on a per file 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
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 www.p
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
e begining.
I 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:
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 an
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
>
> --
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 Maili
ught 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
>
>
> 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://ww
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
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 (http://www.ph
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..
J
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
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
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 PR
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 do...
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
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
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 dont remember how to do this, if I remember correctly
, 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..
ache refuse 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?
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 Kilimaj
quot;Location: file://c:/Test/company.html"); }
> else { Header("Location: file://c:/Test/register.html"); }
> ?>
>
> And I become an error message:
>
> Warning: Cannot add header information - headers already sent by (output
> started at C:\Program Files\Apache Group\Apach
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
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 think
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: [
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
Subj
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&quo
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, 2
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]>
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]>
Sen
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 tryi
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
t;[EMAIL PROTECTED]>
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 Majordo
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
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 .php file extens
.
Cheers
John Wards
SportNetwork.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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:
wrong?
>
> - 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
>
&
gt; Thanks ...But I know this way about carrying data from one page to
> another..
> > I want this message to be seen on the page without my doing
> anythingand
> > I cant do that?..
> >
> > - Original Message -
> > From: "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
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 session
$count = mysql_num_rows($data_res);
> if($count != 1){
> setup_team_html($user_id);
> exit();
> }
> else{
> $data = mysql_fetch_row($data_res);
> if(!session_is_registered("data")) session_register("data");
> }
>
> }//E-OF get_
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, visit: http://www.php.net/unsub.php
$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
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
day, 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]>
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
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
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: Wednesda
alert()
- 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 the
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
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 an
the phorum 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
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 display
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: &qu
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
converter
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]>
Se
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
l that is
outputed. You 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
Subjec
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: R
70 matches
Mail list logo