RE: [PHP] OO parent/child relationship

2003-10-06 Thread Andy Crain
This all seems like a perfect case for the singleton pattern. See http://www.phppatterns.com/index.php/article/articleview/6/1/1/ and http://www.phppatterns.com/index.php/article/articleview/75/1/1/ Andy > -Original Message- > From: Evan Nemerson [mailto:[EMAIL PROTECTED] > Sen

RE: [PHP] Re: rich text editing

2003-08-22 Thread Andy Crain
gs will be converted to html, and the original html will be added back in, properly nested, etc. If you'd like to use it, I'd be happy to email it. I'm sure it could use a few extra sets of eyes. Andy > -Original Message- > From: Nelson Rodríguez-Peña Alarcón [mailto:[EMAIL PROT

RE: [PHP] OO function overloading?

2003-08-14 Thread Andy Crain
} function MyClass1($x){ } function MyClass2($x,$y){ } function MyClass3($x,$y,$z){ } //etc. } Andy > -Original Message- > From: Greg Beaver [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 1:09

Re: [PHP] Impossible bug! (fwd)

2003-06-26 Thread Andy Fiddaman
You never set *_color back to 0 at any point, so the first time through the loop it gets set to 1 and stays there. Replace you lines like: ; if($a_percent > $num) { $a_color = 1; } with: $a_color = $a_percent > $num; On Thu, 26 Jun 2003, John Wulff wrote: ; Where the heck is

Re: [PHP] ErrorDocument doesn't work for PHP scripts

2003-06-20 Thread Andy Fiddaman
P which is returning a set of 404 headers.. For some reason, apache isn't testing for the existence of the file first. I've no idea if this is a PHP or apache problem but hopefully there's a way to work around it Thanks for the very rapid response! Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Random Blank Output wit 4.3.2

2003-05-30 Thread Andy BIERLAIR
nk that I'm not the first one to have this problem. Btw: This problem did not occur in <= PHP-4.3.1 Thanks, **** * Andy BIERLAIR - root eSolutions sàrl - Management    * * 133, route de Diekirch

Re: [PHP] Warning Extract

2003-04-02 Thread Andy
$logname=$fusername; $today = date("Y-m-d h:m:s"); $sql = "INSERT INTO login (username,loginTime) VALUES ('$logname','$today')"; does that make any sense? Andy "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in mess

[PHP] Warning Extract

2003-04-02 Thread Andy
ct database."); $sql = "SELECT name FROM members WHERE username='$logname'"; $result = mysql_query($sql) or die("Couldn't execute query 1."); $row = mysql_fetch_array($result,MYSQL_ASSOC); extract($row); echo " N

[PHP] Re: Zip to postcode

2003-04-02 Thread Andy
mbers WHERE username='$logname'"; $result = mysql_query($sql) or die("Couldn't execute query 1."); $row = mysql_fetch_array($result,MYSQL_ASSOC); extract($row); echo " Thank you for your help i take my hat off to all of you, how yo

[PHP] Zip to postcode

2003-04-02 Thread Andy
Can someone please tell me how i change the following code: if (!ereg("^[0-9]{5,5}(\-[0-9]{4,4})?$",$postcode)) to a UK postcode QQ1 1QQ When i fill out the form it tells me that the postcode is not valid and i think it is because it is in zip code format. Thank you Andy -- P

[PHP] Re: Help needed

2003-04-01 Thread Andy
all this code. Maybe I should get someone to do my website and I should stick to solving windows problems instead. "Andy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all > > Can someone help? > I am new to PHP and need some help, i have tried to bu

Re: [PHP] Help needed

2003-04-01 Thread Andy
a valid phone number. Please try again."; include("login_form.inc"); exit(); Andy "Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 16:27 01.04.2003, Andy spoke out and said: >

Re: [PHP] Help needed

2003-04-01 Thread Andy
in the extra fields for my form, i think this is where the error is but i cannot see it! Andy "Clint Tredway" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Please post more of your code. It is difficult for us to help you without > seeing your code.

Re: [PHP] Help needed

2003-04-01 Thread Andy
Hi Clint OK hope this is not too much and there are likely to be more errors in it. Thank you Andy 0) // password is correct { $auth="yes"; $logname=$fusername; $today = date("Y-m-d h:m:s"); $sql = "IN

[PHP] Help needed

2003-04-01 Thread Andy
Hi all Can someone help? I am new to PHP and need some help, i have tried to build a members only section to my website but i am finding it very hard. I get this error when i go to the login page: Parse error: parse error in /home/.sites/112/site***/web/Members/Login.php on line 201 But the onl

Re: [PHP] Viewing PHP pages

2003-03-24 Thread Andy
Hi Thijs It would seem it was a problem with the server, and they have now corrected this. Even though they said it was my scripts. Thank you for your help all. Andy "Thijs Lensselink" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hey andy, I had this problem

Re: [PHP] Viewing PHP pages

2003-03-24 Thread Andy
Hi Ben They say that the server is set up for PHP4, and they say it is something to do with my scripts. Not sure I believe them. My pages have the extension .php Andy "Ben Edwards" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Server is probably set up wrong

[PHP] Viewing PHP pages

2003-03-24 Thread Andy
when I test them locally but not when they are uploaded. Thank you Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] question on preg_replace()

2003-02-26 Thread Andy Crain
alues in the $find array are not names but strings representing each unique combination of HTML tags in $string (such as '', '', '', so that the here would be left over unmatched). It seems to me that my only option is to write a function to sort $find in reverse order by length, so that the longer strings are replaced first. Or am I missing something obvious? Thanks in advance, Andy

RE: [PHP] preg_match question: locating unmatched HTML tags

2003-02-22 Thread Andy Crain
d to check the output of that to make sure there aren't any extraneous tags. Andy > -Original Message- > From: John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 22, 2003 5:04 PM > To: 'Andy Crain'; [EMAIL PROTECTED] > Subject: RE: [PHP] preg_matc

RE: [PHP] preg_match question: locating unmatched HTML tags

2003-02-22 Thread Andy Crain
n checking its first match, at . Andy > -Original Message- > From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 22, 2003 5:48 AM > To: Andy Crain > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] preg_match question: locating unmatched HTML tags >

RE: [PHP] preg_match question: locating unmatched HTML tags

2003-02-22 Thread Andy Crain
John, Thanks. I'm considering that, but the application I'm working on is for a small intranet that will be for only a small group of supervised users, so vulnerability isn't such a large concern. Andy > -Original Message- > From: John W. Holmes [mailto:[EMAIL PROTEC

[PHP] preg_match question: locating unmatched HTML tags

2003-02-21 Thread Andy Crain
s, and the one below is as far as I've gotten. If anyone has any suggestions, they'd be very much appreciated. Thanks, Andy $suspect_tags = "b|i|u|strong|em|font|a|ol|ul|blockquote "; $pattern = '/<(' . $suspect_tags . '[^>]*>)(.*)(?!<\/\1)/Ui&

[PHP] Help with file()--certain URLs causing error

2003-02-05 Thread Andy Crain
d store it in a database for later searching. Most URLs work fine, but really long ones with long query strings for some reason cause file() to throw up an error. This URL used in the code below, for example, causes the error below, but most any other URL works just fine. Any ideas? Thanks, Andy //T

Re: [PHP] I'm new in PHP

2003-01-26 Thread Andy Turegano
www.htmlgoodies.com - The best site for HTML On Mon, 27 Jan 2003, Philip Olson wrote: > On Sun, 26 Jan 2003, Beogradjanin wrote: > > > Zdravo php-general, > > > > Hi I have setup PHP Apache MySql. > > I;m new in this stuff where can I learn hot to make web pages in > > PHP...??? > > Go

RE: [PHP] Returning a value from a recursive function

2003-01-22 Thread Andy Crain
- > From: Brian T. Allen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 4:47 PM > To: 'Andy Crain'; [EMAIL PROTECTED] > Subject: RE: [PHP] Returning a value from a recursive function > > I think it will work if you return true, and just modify the gl

[PHP] Returning a value from a recursive function

2003-01-22 Thread Andy Crain
, I get nothing. The line where I use echo/return is indicated below. Thanks, Andy function breadcrumbs($category_id=0,$mode='linked'){ global $id_array,$name_array; static $counter = 0; if ($category_id == 0) { //once we're down to the root, build a return

Re: [PHP] getting database connection to fail gracefully

2003-01-22 Thread Andy Clarke
This is mostly sorted out now. The mssql commands just needed @ signs to suppress error and warning messages. Thanks anyway, Andy Clarke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getting database connection to fail gracefully

2003-01-22 Thread Andy Clarke
around it } // continue with rest of page Rather than using the following, which causes the page to quit in mid flow: mssql_connect($sDBhostname,$sDBusername,$sDBpassword) or die("DATABASE FAILED TO RESPOND."); Thanks Andy Clarke -- PHP General Mailing List (http://www.ph

[PHP] imap_fetchbody - size limit?

2003-01-20 Thread Andy Clarke
tents within PHP, so I am assuming that this is an issue with IMAP. The script is running on XP, and is being run on the command line. Thanks Andy Clarke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Will pay for PHP

2003-01-08 Thread Andy Cook
I am bringing up a site in March, but I am working on it now. I need some PHP (not a lot). Please email me at [EMAIL PROTECTED] and let me know if you are interested in helping. I'll make it worth your while. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] You gotta love it...

2003-01-04 Thread Andy Turegano
Well, we're all human. On Sat, 4 Jan 2003, Michael J. Pawlowsky wrote: > > When doing a function seach at www.php.net I just got: > > Parse error: parse error in /local/Web/sites/phpweb/search.php on line 233 > > Twice in a row... Maybe they will be posting us a question soon!! :-) > > >

Re: [PHP] Greetings

2002-12-24 Thread Andy Turegano
Indeed, Merry Christmas to all! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: mail()

2002-12-20 Thread Andy Turegano
Yeah, is the best alternative. On Fri, 20 Dec 2002, John W. Holmes wrote: > > I changed this and it works fine but I now lose my formating. It > doesn't > > seem to recognize the \n breaks. Am I asking for to much? > > Well, you'll be required to learn HTML if you're going to send HTML > emai

RE: [PHP] php / unix functions

2002-12-17 Thread Andy Turegano
Well, what do you want them to do? On Wed, 18 Dec 2002, Martin Towell wrote: > the only other way I know is to use: $output = `$cmd`; (ie, backticks) > > -Original Message- > From: Greg [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 1:27 PM > To: [EMAIL PROTECTED] > Sub

RE: [PHP] Array

2002-12-16 Thread Andy Turegano
;]; > print ("Key: $k; Value: $c"); >} > } > > > Quentin > > -Original Message- > From: Andy Turegano [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 17 December 2002 10:25 a.m. > To: Mako Shark > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP]

Re: [PHP] Array

2002-12-16 Thread Andy Turegano
What you have to do, at least I think, is you have to type: $r = $monthschedule["Jun"]; That is what I think you have to do. The other way you did it was when you have a value-only array. On Mon, 16 Dec 2002, Mako Shark wrote: > I have an array I set up like this: > > $monthschedule = array(1 =

Re: [PHP] Code appearing suddenly!.

2002-12-16 Thread Andy Turegano
Perhaps you made an error when you configured it? On Mon, 16 Dec 2002, Lic. Rodolfo Gonzalez Gonzalez wrote: > Hi, > > I've just recompiled PHP 4.2.3 on RedHat w/Apache, after having upgraded > from Perl 5.6.0 to 5.8.0 (I had to disable mod_perl for now, due to > incompatible libraries). But now

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

2002-12-15 Thread Andy Turegano
The easiest way to include a picture in the email would be through the html. The second way sounds much more complex. Right now, I really don't know of any other ways. Perhaps copy and paste? On Sun, 15 Dec 2002, Chris Shiflett wrote: > --- See Kok Boon <[EMAIL PROTECTED]> wrote: > > I want to s

Re: [PHP] question

2002-12-14 Thread Andy Turegano
Yes, that is indeed true. On Sun, 15 Dec 2002, Justin French wrote: > I assume you know that running PHP on Apache 2 is NOT RECOMMENDED YET, or at > the very least, listed as "experimental"?? > > Justin > > > on 15/12/02 11:13 AM, r.vellinga ([EMAIL PROTECTED]) wrote: > > > Hello, > > > > still t

[PHP] Parse Errors

2002-12-14 Thread Andy Turegano
I am a PHP beginner so this error may be a stupid one. Anyway, I'm trying to write a simple addition script. The client enters two numbers, then my script (adder.php) adds them. However, when the script is run, I get "Parse Error On Line 3" I have no idea exactly what I have done wrong. Here is the

[PHP] PHP Sessions

2002-12-04 Thread Andy Kirk
Can anyone tell me if session variables should be available to scripts that are included into the main script? It appears to me that they are not unless I am really missing the point. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Going Mad Result

2002-12-01 Thread Andy
with apache with all the original installations and configurations i was having trouble with. Don't suppose this will be the last you hear of me as i will need more help no doubt. Thank you Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] Going Mad

2002-12-01 Thread Andy
bar. One other thing, i tried typing localhost/where the file is located on my harddrive/ and was given a forbidden page "contact administrator"?? Is there something here that standsout? Thank you for trying to help. Andy "Chris Hewitt" <[EMAIL PROTECTED]> wrote

Re: [PHP] Going Mad

2002-11-30 Thread Andy
"Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Andy Davey wrote: > > >There are two httpd config files, one of which is default, i take it that is > >the one you edit? > >I know it is something

Re: [PHP] Going Mad

2002-11-30 Thread Andy
"Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Andy Davey wrote: > > >Hi Chris > > > >I have added AddType application/x-httpd-php .php to the httpd config file, > >and restarted it, but st

[PHP] Going Mad

2002-11-30 Thread Andy
Can someone please help, i think i am going mad. I have just installed Apache, php and Mysql, it all seems to be fine, the Apache server says it is ok, i think i have set the config file correctly, and Mysql look to be correct, but when i typed the code (My first code) and save it test.php when i

[PHP] HTML forms & php 4.2.3 - how to get cvs fix applied

2002-11-09 Thread andy
I recently updated from 4.2.0 to 4.2.3 - since doing so values submitted to php from HTML forms using keys - value="foo[bar]" - get truncated in php - example: if I submit "[EMAIL PROTECTED]" it will come out as "eight13.com" with a print_r($_POST) I found these bug reports which say what app

[PHP] Segmentation Fault

2002-10-30 Thread Andy Woolley
un fsockopen on it. Should it do this? My question: Is there any limit to the number of times I can run fsockopen in any one instance of PHP even though the connection is being closed? Or is there something else I should know? Thanks in advance Andy -- PHP General Mailing List (http://w

[PHP] Win 98 Apache - Directory style Query Strings on PHP Files without extensions

2002-10-15 Thread Andy White
t the DirectoryIndex to "index" and DefaultType to "application/x-httpd-php" in the httpd.conf but I am at a loss after that! If anyone can help I'd be much obliged. Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there a way to test for a file?

2002-10-08 Thread Andy Woolley
> I'd like PHP to check to see if the image/picture.jpg exists before > returning the picture. Is this possible? Yup - It's in the manual. http://www.php.net/manual/en/function.file-exists.php Cheers Andy - Original Message - From: "Doug Coning" <[

[PHP] Re: MySQL back up

2002-10-08 Thread Andy
ld be reoback which is a perl script. You should be able to perform this backup via ftp controled by a daily cron job. Hope this helps, Andy -- -- http://www.globosapiens.net Worldwide Travel Community "Ken" <[EMAIL PROTECTED]> schrieb

Re: [PHP] Includes

2002-10-07 Thread Andy Woolley
following at the top. This will draw you header the same on all pages that you include the above with. If someone navigates to yourincudefile.php all they should see is an empty page because all the code is inside functions. Hope this helps Andy. - Original Message - From: &qu

[PHP] working with pspell

2002-10-06 Thread Andy
mispelled word to open a popup with suggestions and by clicking on the proper word to automaticly replace the wrong word. This sounds very complicated. Has anybody a good suggestion, or article to recommend on this topic? Thanx for your help, Andy -- PHP General Mailing List (http://www.php.net

[PHP] help on regex

2002-10-04 Thread andy
The next one is to return fals if the data does not contain a number inside the string ("street 893" would be valid) I tryed this: function validate_street ($street) { return (ereg('^[0-9]', $street)); } Unfortunatelly this does not work like I want ;-) Thank you for any

RE: [PHP] Trouble with understanding arrays

2002-10-02 Thread Andy Crain
ially taking your quotes from your ticker=>quote pairs and replacing the tickers with an index. Just do print_r($TickersCurrent) and you'll get the desired result. Hope that helps, Andy -Original Message- From: Christopher J. Crane [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Octob

[PHP] pdflib output reolution higher than 72 dpi possible?

2002-09-25 Thread andy
Hi there, I would like to output a pdf with pdflib with 300 dpi How could I define the output resolution? Default seems to be 72 dpi Thanx for any hint, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] impossible in php?

2002-09-24 Thread andy
parsed in the same time. Maybe there is a work around or any hint you could give me. I am kind off stuck. Thanx in advance, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] freetype - could not open font problem

2002-09-24 Thread andy
Hi there, I am trying to use freetype, but do always get the message Warning: Could not find/open font in test.php on line 18 The font is available and ok. I double checked it. What could cause this error exept of the given reason? I am trapped ;-) Thanx for any help on that. Andy

[PHP] freetype - problems with true type and transprency

2002-09-23 Thread andy
= imagecolorallocate($label,0,0,0); Imagestring($label,1,0,0,'andy',$black); #Imagettftext($label, 30,0,10,33,$black,'verdana.ttf',$number); $photoImage = ImageCreateFromJPEG('card_city.jpg'); $pos_x = 5; $pos_y= 220; $label_w= 200; $label_h = 50; ImageCopy($photoImage

[PHP] counting guest users

2002-09-21 Thread Andy
Hi there, I am wondering how some pages count guest users. An example is phpbb. They always know how many guest users are browsing the site. Are they using cookies or db for this, or both? Maybe there is a code snipped out for this already? Thank you for any hint on that. Andy -- PHP

[PHP] file upload > 2 MB

2002-09-09 Thread andy
upload_max_filesize = 50M Does anybody has an idea? Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] wrong timestamp?

2002-09-06 Thread andy
s: 200209050 There is one 0 missing. Because of this my querry is not working, How come this timestamp is wrong? Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: unix timestamp

2002-09-06 Thread andy
date("Y")); break; case 2: // yesterday $timestamp = mktime (0,0,0,date("m"),date("d")-1, date("Y")); break; case 2: // last week $timestamp = mktime (0,0,0,date("m"),date("d")-7, date("Y")); break; } Maybe someon

[PHP] unix timestamp

2002-09-06 Thread andy
like the switch of months. Has anybody an idea how to do that? Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: coockie expiration problems

2002-09-02 Thread andy
the world running 10 hours time difference? Puhh.. maybe I am wrong, but this is how it seems to be. Any ideas? Andy <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > I see really nothing wrong in your example. Did you

[PHP] coockie expiration problems

2002-09-02 Thread andy
) echo 'referrer: '.$_COOKIE[referrer]; Unfortunatelly this does not work, the cockie value is always valid, even after expiration time. What am I doing wrong? Thanx for any help on that, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Imap Open Timeout

2002-09-01 Thread Andy Chapman
eived. Cheers, Andy Chapman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] working with ssl

2002-08-29 Thread Andy
Hi there, I would like to serve some php pages crypted with ssl. Now I am wondering what ssl sw to install. I found openssl but this seams to be in alpha stadium. How do I install ssl with php anyway. Can somebody give me a hint on that? Thanx in advance, Andy -- PHP General Mailing List

Re: [PHP] sending email to a mailing list

2002-08-28 Thread Andy
u put 1 adresses into the header? I am pretty sure this will fail. I guess the only really good solution is to let the MTA do the job for ya. I just do not know how, but I am positive that this is the best solution (since the MTA is made for such things while php is not) Andy "Jus

[PHP] Re: Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Andy
Hello Justin, I just saw that you have been faster than me :-) However.. you think it might be not sure that this workes for every browser? PUh... thats bad. Do u have examples for that? It workes with IE on PC. Cheers Andy "Andy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag

[PHP] Re: Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Andy
setcookie('referrer', $user_id, 0); } #redirect Cheers, Andy "Andy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi there, > > I have a tricky proble

Re: [PHP] Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Andy
something like this :-) So I could do something like this: if ($_HTTP[referrer] != myserver.com){ //set a cookie } You get the idea? Andy "Hugh Danaher" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 000c01c24d97$4c9f3d60$017f@localhost">news:000c01c24d97$4c9f3d60$010

[PHP] PHP - Chat?

2002-08-26 Thread Andy
HI there, I am wondering if a Chat coded in PHP would be sufficiant for a medium sized site. Maybe someone has a working example online. It would be no problem to get a ircdeamon working, just the client is in question. Thank you for your suggestions, Andy -- PHP General Mailing List

[PHP] Tricky question - referrer from ousite, or from intern?

2002-08-26 Thread Andy
come from my own site. I would like to keep all the links like that, just to find a way to track the origin of the user. Thank you so much for any idea on this tricky task, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[3]: [PHP] still problems with register globals set to on

2002-08-21 Thread Andy
Yeeahhh! Thanks Tom. Works great. It was just a small error causing this much trouble. For turning register globals on it is: php_flag register_globals on Cheers, Andy "Tom Rogers" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED

Re: [PHP] still problems with register globals set to on

2002-08-21 Thread Andy
thanx tom, but this doen not seem to have anything to do with it. Regards, Andy "Tom Rogers" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Wednesday, August 21, 2002, 5:34:35 PM, you wrote: > A> He

[PHP] still problems with register globals set to on

2002-08-21 Thread Andy
an idea where the error could live? Andy "Rasmus Lerdorf" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Sure, turn register_globals on only for the oasis directory. In your > httpd.conf add: > > > php_value re

[PHP] installing php with register globals off and on?

2002-08-19 Thread Andy
Hi there, I am running php 4.2.2 with register globals set to off. Now I am planing to install oasis (a add tracking sw). Their current version requires a php build with register globals set to on!? Is there a way out of this dilema running only one server? Thanx for any advice, Andy

[PHP] tracking visitors till registration?

2002-08-19 Thread Andy
. Has anybody a good suggestion on that? Thanx for any hint, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web Based Mail

2002-08-18 Thread Andy
Horde is really great. I can definatelly recommend it to. But why not stick with sendmail? It does a great job and is easier to install with horde. Andy -- -- http://www.globosapiens.net Worldwide Travel Community "Met" <[EM

[PHP] problems with php.ini

2002-08-18 Thread Andy
to tern this on? Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Posting news via php

2002-08-11 Thread Andy
Sorry for reposting, but I am still having this problem and the post is back to far that someone looks at it. Thank you for any help on this. I appreciate it. Andy Hi there, I am trying to write a script which is posting news to a newsserver. Unfortunatelly I do get a 535 error back which is

Re: [PHP] security concern with curl

2002-08-10 Thread andy
w I just know what the site is telling me. Thanx for all your comments on that. Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] security concern with curl

2002-08-09 Thread Andy
useful tricks. So I fear that someone would be able to tranfer files on / off my server. Has anybody some experiance on that, or can give a comment on that? Thanx for any hint, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: compile PHP --with-imap, on OS X: progress, but...

2002-08-09 Thread Andy
name though, but I guess you know which file I mean) Good luck, Andy -- -- http://www.globosapiens.net Global Travellers Network! http://www.ozforum.info Discussing Australia Forum "Michael Geary" <[EMAIL PROTECTED]> schrieb im Newsbeitrag

Re: [PHP] posting news via php - 535 error

2002-08-09 Thread Andy
> Try to put a "." when you finished at the new line. And use utf7 > encoding. I did already put this . after the message. This is described in the spec, but I might have put it into the wrong spot?! What do u suggest to put it? What is utf7 encoding? Can you make a

[PHP] posting news via php - 535 error

2002-08-08 Thread andy
not include the connect code. The code for posting is underneath. Thanx for any help on that. Andy $cfgServer= "news.php.net"; $cfgNewsGroup= "php.general"; $subject='Test'; $header=' Newsgroups: '.$cfgNewsGroup.' Path: '.$cfgS

Re: [PHP] sucking news out of the usenet

2002-08-08 Thread andy
that sound somehow more complicated that I have expected :-( I guess this is a lot of work. May have to skip that for another time. Thanx for your help, andy - http://www.OZforum.info Australia Information Forum "Ilia A." <[EMAIL PROTECTED]> schrie

[PHP] sucking news out of the usenet

2002-08-08 Thread andy
se help me, many thanks sebastian . Lots of text.. puhh! I hope this is somehow possible. Maybe one of you guys has a good idea on that. You can just cut and past the code underneath and try it out by yourself. Thanx for any help on that. Andy - http://www.OZforu

Re: [PHP] alternative to phpadsnew?

2002-08-03 Thread Andy
what do u mean by that. I would like to install this software on the same server. I guess you mean installing it on another server - remotly? Andy "Maxim Maletsky" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 001601c23afe$8e0df9e0$1113fe17@dominanta">news:001601c23afe$8e0

[PHP] alternative to phpadsnew?

2002-08-03 Thread Andy
to be off. Has anybody a good recomendation on another software to track adds? Thank you for any hint on that. andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PEAR with lots of trouble

2002-08-01 Thread Andy
get this message: a.. Log - No a.. Make sure you're using a recent version of PEAR which includes the Log class Can anybody give me a hint on how to install this PEAR successfully on my php version (I guess now it is installed inside the other php standalone version) Thanx for any help

[PHP] Problems with PEAR

2002-08-01 Thread andy
try this to :-( But this results in following error msg: capc11-35:/home/andy/sw/horde # lynx -source http://pear.php.net/go-pear | sh sh: ?php: No such file or directory YOU NEED TO RUN THIS SCRIPT WITH PHP NOW! Try this: lynx -source http://pear.php.net/go-pear | php -q capc11-35:/home/

[PHP] searching an array for words starting with 'p'

2002-07-30 Thread andy
Hi there, I am wondering how to search an array for words starting with a certain character. E.G: $word = array('alpha', 'beta', 'php'); I would like to check if there is a word in the array starting with p Is there alrready a function for this? Thanx, Andy

[PHP] PHP input and variables dynamic :)

2002-07-23 Thread Andy Whittlestone
I'm trying to create input boxes on the fly by using php variables:PHP:so that will create:then i'm trying to set the value to something else using:document.all['tree'].status[1].value='expand';but i'm getting a an error on page dialog saying:'document.all.tree.status.0 is null or not an obj

Re: [PHP] how many requests can php serve?

2002-07-17 Thread Andy
; mysql > - The design of your site > as good as it gets:-) > - What the users are doing > mainly displaying images 4 - 40 kb > - Your caching strategy ? No cashing server site. Is there something like a benchmark available on such thing? Andy "Miguel Cruz" <[EMAIL

[PHP] how many requests can php serve?

2002-07-17 Thread Andy
help, Andy- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Break message in code.

2002-07-16 Thread W. Andy Roche
nge due to the versions that I didn't find? TIA, W. Andy Roche -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] activating php scripts via cron

2002-07-16 Thread Andy
sounds logical, but what happens with my other php version, where I need the flags? will it still be working? And where is this standalone php version gonna be installed? Andy "Jason Wong" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTE

<    1   2   3   4   5   6   7   8   >