[PHP] browscap.ini

2001-03-27 Thread Joseph Blythe
Hey all, I know you do not want to hear this question but after reading the list archives and doing extensive searches with google I have a really large internet headache, so here we go: Where do I get a browscap.ini file that is current and will work in Linux? The one suggested in the

[PHP] socket functions

2001-04-02 Thread Joseph Blythe
hello, does anyone know if set_nonblock() works, what paramaters it takes and what it returns? there is only one mention of it in the manual under accept_connect, and I can not seem to set the socket to non block?? also has anybody successfully written a way to time out a read with the new

[PHP] Attention Adelaide Developers

2002-03-19 Thread Joseph Blythe
in the above areas and live in Adelaide South Australia, please send resumes, relevant experience and contact details to: mailto:[EMAIL PROTECTED] Please do not reply on this list! Regards, Joseph Blythe Production Manager Optcom 49a Orsmond Street Hindmarsh SA 5007 P: (08) 8346 3311 F: (08) 8346

[PHP] re: Zend Cache cache_gui

2001-09-24 Thread Joseph Blythe
Hello all, I just installed Zend LaunchPad (PHP 4.0.4pl1) with Zend Cache v1.1.0 all seems ok when I run phpinfo() This program makes use of the Zend scripting language engine: Zend Engine v1.0.4, Copyright (c) 1998-2000 Zend Technologies with Zend Optimizer v1.0.0, Copyright (c) 1998-2000,

RE: [PHP] Re: Zend Cache cache_gui

2001-09-25 Thread Joseph Blythe
PROTECTED]] Sent: Wednesday, 26 September 2001 2:24 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Zend Cache cache_gui I had that problem. Appeared to be some incompatibility with Zend Optimizer and Zend Cache. Upgrade to Zend Optimizer 1.1.0 and everything worked. Regards, John Joseph Blythe

[PHP] host type if you use --no-verify whattha?

2001-09-26 Thread Joseph Blythe
Hello all, I just come across this rather strange error while trying to configure up 4.0.6 under redhat 6.0, it is strange because i have installed it many times before with no problems, have deleted source tree and started again too! here is the error: ltconfig: you must specify a host type if

RE: [PHP] php + pgp (gnupg)

2001-10-18 Thread Joseph Blythe
ive done this b4 but havn't got the scripts here they at home (can't remember the exact command line, but from memory was a little fiddly), if you have any problems send a email to [EMAIL PROTECTED] over the weekend and i will gladly try and dig up an example for you. regards joseph

[PHP] Enabling php in only certain hosts and directories

2001-10-24 Thread Joseph Blythe
Hello all, I am just configuring up a new web server, and I want to be able to run php only in the web servers main document root and in specified virtual hosts, I have a fair understanding on how to go about this, but would really like some feedback before I get to far into it. Basically the

RE: [PHP] Enabling php in only certain hosts and directories

2001-10-24 Thread Joseph Blythe
Thanks! What would people reccommend? 1) just using safe mode 2) using open_basedir and disable_functions 3) all of the above? 4) Just shutoff the server :) If (2) or (3) what functions are most at risk? I understand that safe_mode limits quite a few already. Regards, Joseph -Original

[PHP] disable_functions not working in httpd.conf

2001-10-25 Thread Joseph Blythe
Hey All, Was just trying the following and disable_functions is not working? Although safe mode and open_basedir are! What is really strange that when phpinfo is called the disable_functions value is phpinfo, can't seem to disable echo either, I don't want to put these in php.ini as I still want

RE: [PHP] editor for working with php

2001-10-25 Thread Joseph Blythe
active states komodo (www.activestate.com) or ZendIDE 2 (www.zend.com) I have used both and are really good as you can debug both local and remote scripts both are commercial though, komodo is free for non-commercial use. I believe you can beta test them both (ZendIDE2 requires you to be ZPal) :)

[PHP] security

2001-10-25 Thread Joseph Blythe
just stummbled across this great study by Shaun Clowes on php security, this is just the kind of information I have been looking for, thought others could also benefit from it. http://www.securereality.com.au/studyinscarlet.txt found during google search: PHP Security cheers, joseph -- PHP

RE: [PHP] security

2001-10-26 Thread Joseph Blythe
ok thanks, think I fall in that category too, but doing my best to change it :) -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Friday, 26 October 2001 4:05 PM To: Joseph Blythe Cc: [EMAIL PROTECTED] Subject: Re: [PHP] security Has been around for quite a while

RE: [PHP] What is the best way to do this...

2001-10-26 Thread Joseph Blythe
Personally I would look at a templating system, there are lots of them around. I have only used FastTemplates and Smarty I would reccommend the later. http://www.phpinsider.com/php/code/Smarty/ or have a look at for a few more: http://phpclasses.upperdesign.com/browse.html/class/1 Hope this

RE: [PHP] lesson in NOT how to run your php website ...

2001-10-29 Thread Joseph Blythe
Sorry if this a little of topic but this sort of reminds me what happend to me on Monday: I arrived at work in a really good mood (for a Monday) to find everyone screaming at each other, then at me :) what was being said is that the new webserver I have been configuring with the latest versions

RE: [PHP] Searchengine friendly URLs

2001-10-30 Thread Joseph Blythe
Not sure if you have seen this, it has been around for a while: http://www.phpbuilder.com/columns/tim2526.php3 Regards, Joseph -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: Saturday, 27 October 2001 3:44 AM To: [EMAIL PROTECTED] Subject: [PHP] Searchengine

RE: [PHP] Re: I rest my case

2001-10-30 Thread Joseph Blythe
Um! could they be commented out still? # AddType application/x-httpd-php .php4 .php3 .phtml .php # AddType application/x-httpd-php-source .phps Make sure you remove the hash signs whatever they called :) AddType application/x-httpd-php .php4 .php3 .phtml .php AddType

[PHP] Posting variables to a cgi without a form

2001-11-04 Thread Joseph Blythe
Hey all, What is the best wat to post some variables to a cgi file and capture the output so I may strip out all the html tags, I want to replace a forms action with a php script which will mimic a forms post method, allowing me to better format the response, as at the moment the cgi is written

RE: [PHP] Posting variables to a cgi without a form

2001-11-04 Thread Joseph Blythe
Thanks, I got to recompile php to do this (me too lazy), can't I do this with the network/filesystem functions? will keep this in mind though. Regards, Joseph -Original Message- From: Jason G. [mailto:[EMAIL PROTECTED]] Sent: Monday, 5 November 2001 4:14 PM To: Joseph Blythe Subject

[PHP] usage stats

2001-11-22 Thread Joseph Blythe
G'day all, I am putting together a small piece on php and was wondering if anyone knew how to dynamically generate the php usage stats from: http://www.netcraft.com/Survey/ Sort of want something like: http://www.php.net/usage.php Have looked at the source looks like this is manually updated?

RE: [PHP] Missing PHP.ini

2001-11-22 Thread Joseph Blythe
John, Look in the original distribution files for php.ini-dist (or php.ini-optimized) and copy it to c:\windows\php.ini As far as I know php can run without a php.ini I beleive it has builtin defaults. Regards, Joseph -Original Message- From: John Monfort [mailto:[EMAIL PROTECTED]]

[PHP] strip php out of html

2001-11-22 Thread Joseph Blythe
Hello, Is there a way to strip only php code out of an html file? I know about strip_tags but its going to be alot of work to make the allowable list, as all I want to strip out is: ?php ... ? I tried like so: eregi_replace (?php include(\whatever.php\); ?, , $string); but it didn't find it

RE: [PHP] strip php out of html

2001-11-22 Thread Joseph Blythe
that would be nice. Regards, Joseph -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: Friday, 23 November 2001 2:28 PM To: Joseph Blythe; [EMAIL PROTECTED] Subject: Re: [PHP] strip php out of html On Fri, 23 Nov 2001 14:10, Joseph Blythe wrote: Hello, Is there a way

RE: [PHP] strip php out of html

2001-11-22 Thread Joseph Blythe
that people don't click on it and point it at its self, it just comes up blank anyway as it does not use the dreamwaever template. Regards, Joseph -Original Message- From: Joseph Blythe [mailto:[EMAIL PROTECTED]] Sent: Friday, 23 November 2001 2:47 PM To: [EMAIL PROTECTED] Cc: [EMAIL

RE: [PHP] GD, PNG

2001-11-22 Thread Joseph Blythe
Two things come to mind when compiling under redhat 6.x 1) Delete all headers and libs relating to gd in /usr/lib and /usr/include these are old and will cause conflicts. 2) Use --with-..-dir=.. Here is my successful configure command assuming you have successfully installed freetype2 and gd

RE: [PHP] GD, PNG

2001-11-25 Thread Joseph Blythe
thats right just untar somewhere, when you do the make install it should create the directory /usr/local/freetype2 for you, it is a bit of a strange one they also made it to use jam which is another make file system, I don't know whats wrong with the old ./configure, make, make install at least

RE: [PHP] `pwd` - what does this mean?

2001-08-15 Thread Joseph Blythe
how about typing man pwd on a unix box? -Original Message- From: Scott Mebberson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 15 August 2001 4:08 PM To: [EMAIL PROTECTED] Subject: [PHP] `pwd` - what does this mean? Hi Guys, I actually know what it means. Well, I think it means the

RE: [PHP] Re: `pwd` - what does this mean?

2001-08-15 Thread Joseph Blythe
actually says: pwd - print name of current/working directory in the man page (c: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 15 August 2001 4:18 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: `pwd` - what does this mean? pass working

RE: [PHP] Grabbing dynamic pages

2001-09-06 Thread Joseph Blythe
Thanks all (c: Why don't they make this available via XML? Parsing HTML is painful. Was my exact question to them (c: That just shows a chart. How are you supposed to parse anything out of that? Hehe I provided the wrong url should something like:

RE: [PHP] Grabbing dynamic pages

2001-09-06 Thread Joseph Blythe
;); Thanks again, Joseph -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Friday, 7 September 2001 3:18 PM To: Joseph Blythe Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Grabbing dynamic pages This script worked fine for me here: ? $fp = fopen(http://www.asx.com.au/scripts

RE: [PHP] Grabbing dynamic pages

2001-09-06 Thread Joseph Blythe
PROTECTED]] Sent: Friday, 7 September 2001 3:02 PM To: Joseph Blythe; [EMAIL PROTECTED] Subject: Re: [PHP] Grabbing dynamic pages On Fri, 7 Sep 2001 14:44, Joseph Blythe wrote: Hey all, I got a bit of a problem I need to be able to grab info (which has been approved) from the Australian Stock

RE: [PHP] Grabbing dynamic pages

2001-09-07 Thread Joseph Blythe
the html (oh my god). Regards Joseph -Original Message- From: Donny Yap [mailto:[EMAIL PROTECTED]] Sent: Friday, 7 September 2001 4:55 PM To: Joseph Blythe Subject: RE: [PHP] Grabbing dynamic pages Yes, This shouldn't be too hard to do; work out what type of data it is you're grabbing

RE: [PHP] Just for fun:

2001-09-20 Thread Joseph Blythe
When you find yourself writing HUGE functions, it may be better to split it into smaller, more clearly defined functions or classes and do it that way... I totally agree i tend to split my class functions into user (public) and private (helper) functions which does tend to keep all the

[PHP] OT States and Postcodes

2001-05-09 Thread Joseph Blythe
Hey all, I have a signup form that a drop down list of country states, what I want to be able to do is when a user clicks his/her state the page will refresh and fill the below postcodes in with the approprite codes for the particular state, once a user has selected a postcode the page will

[PHP] finding a variables name

2001-05-14 Thread Joseph Blythe
Hey ppl, How does one find the name of a variable, not what the variable contains? This is not the same as variable variables. I know this seems a bit pointless but I have come across a situation where I really need to be able to do this. Hope someone can help, Thanks, Joseph -- PHP

Re: [PHP] finding a variables name

2001-05-14 Thread Joseph Blythe
CC Zona wrote: Can you give an example of code in which you'd be doing this? Ok here is what I am trying to acheive, basically turning a php array into a javascript array, note this is untested and most likley won't work :-) Where $array_name I need the same name as the functions first and

Re: [PHP] finding a variables name

2001-05-14 Thread Joseph Blythe
Joseph Blythe wrote: Ok here is what I am trying to acheive, basically turning a php array into a javascript array, note this is untested and most likley won't work :-) Where $array_name I need the same name as the functions first and only argument $array, so I need the name

[PHP] Chained Selectors

2001-05-16 Thread Joseph Blythe
Hello, Has anyone used/is using the most excellent chainedSelectors class (by Leon Atkinson) available as a tutorial from zend.com ? I just got this working for use with the states of australia and its postcodes (around 3395 unique pcodes), but have found the result totally unusable due to

Re: [PHP] Chained Selectors

2001-05-17 Thread Joseph Blythe
For an example of the speed of this in a semi-production enviroment checkout: http://www.secure.binarylogic.com.au/~chained Let me know your thoughts etc... Oh and also check out the unknown error on line 12 hmm suspect... Thanks, Joseph -- PHP General Mailing List

Re: [PHP] Chained Selectors

2001-05-17 Thread Joseph Blythe
Joseph Blythe wrote: For an example of the speed of this in a semi-production enviroment checkout: http://www.secure.binarylogic.com.au/~chained Let me know your thoughts etc... Oh and also check out the unknown error on line 12 hmm suspect... Thanks, Joseph Doh! http

[PHP] Finding if a number is in the range

2001-05-17 Thread Joseph Blythe
hello, How do I find if a number is in a range example: 0200-0299 1000-2263 2264-2499 Lets say I choose 203 how would find which number range it was in? I was sort of thinking of using arrays of all the number ranges and using the in_array function to find which range the numbers are in, but

Re: [PHP] PGP with MySQL

2001-05-17 Thread Joseph Blythe
Jeff wrote: I am trying to find the maximum security for storing credit card numbers. From reading the archives someone mentioned using a PGP based encryption to encrypt the credit card number and store it into the database, and have the company that is processing the order have the

Re: [PHP] Finding if a number is in the range

2001-05-17 Thread Joseph Blythe
MaD dUCK wrote: also sprach Zak Greant (on Thu, 17 May 2001 09:35:18PM -0600): Or just use a simple chain of if statements :) yeah, but that's so O(n) ! i can do in O(lg n) or, given n CREW processors, in O(1) time! yes, i have just finished my computational theory and computer

Re: [PHP] PGP with MySQL

2001-05-21 Thread Joseph Blythe
Jeff Oien wrote: Jeff wrote: I am trying to find the maximum security for storing credit card numbers. From reading the archives someone mentioned using a PGP based encryption to encrypt the credit card number and store it into the database, and have the company that is processing the

Re: [PHP] Encrypt Password for Session

2001-05-22 Thread Joseph Blythe
Troy Moreland wrote: If I can't decrypt it, then I can't pass that password for the user. How do I keep passing the password then w/o having to write it to the session. Is that the right way to do it?? I don't know if this is the right way but what I would do is have a login page that

[PHP] OT PHP Manuals

2001-05-22 Thread Joseph Blythe
Hey all, Just was wondering if anyone knew what was used to make the php manuals in the windows help format (.chm), I really like them :-) Regards, Joseph. -- BoldFX / Binary Logic The Logical Choice 750 Port Road Beverley 5009 Ph: (08) 8244 1800 Fax: (08) 8244 1811 mailto: [EMAIL

Re: [PHP] OT PHP Manuals

2001-05-22 Thread Joseph Blythe
Miles Thompson wrote: Why? We have the manuals in two truly portable formats, HTML and PDF, not to mention on-line, annotated HTML. Miles Thompson Because I already have enough browser windows open and I find the windows help format a lot better as it is easily searchable and also has

Re: [PHP] OT PHP Manuals

2001-05-22 Thread Joseph Blythe
Matt McClanahan wrote: On Wed, May 23, 2001 at 10:37:06AM +0930, Joseph Blythe wrote: Hey all, Just was wondering if anyone knew what was used to make the php manuals in the windows help format (.chm), I really like them :-) The manual is availabe in chm in several languages

Re: [PHP] OT PHP Manuals

2001-05-23 Thread Joseph Blythe
Jason Lotito wrote: Joseph, I was actually about to type back in response explaining to everyone that you asked WHAT was use to make the .chm files. You must forgive my colleagues, they sometimes forget to actually read the email, rather than just scan the email for common key words and

Re: [PHP] OT PHP Manuals

2001-05-23 Thread Joseph Blythe
Miles Thompson wrote: My apologies to Joseph, and to the group at large. I didn't read his question carefully, and in retrospect, gave him a pretty asinine answer. Braaay! - Miles Thompson Thanks all this is a great list, apology accepted :-) Joseph -- PHP General Mailing List

Re: [PHP] setting session.gc_probability

2001-05-23 Thread Joseph Blythe
Johnson, Kirk wrote: I say that a value of 1 means garbage collection is launched on 1 out of every 100 page requests, i.e., it truly is a percent. This has been discussed before try searching the list archives, although I believe you are correct in your assumption. Regards, Joseph --

Re: [PHP] Virtual Hosts document root directory.

2001-05-23 Thread Joseph Blythe
Richard Quadling wrote: I assume there is a variable somewhere? Ideas/suggestions please. I think its the predefined apache variable $DOCUMENT_ROOT (look under predefined variables in manual), or try $SCRIPT_FILENAME, you may then parse the part you need. I use Linux so I am only

[PHP] To overwrite or unregister session variables

2001-07-17 Thread Joseph Blythe
Hey, Was just wondering if it was better practice to unregister session variables before writing new values to them or if it was fine to just overwrite their values? Regards, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] WSIWYG Editor using PHP?

2001-07-24 Thread Joseph Blythe
Try PHP Coder Pro! http://www.phpide.de Regards, Joseph. -Original Message- From: Bob Clingan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 25 July 2001 9:18 AM To: [EMAIL PROTECTED] Subject: [PHP] WSIWYG Editor using PHP? Does anyone know of any WSIWYG editors that you can plug into a

RE: [PHP] WSIWYG Editor using PHP?

2001-07-24 Thread Joseph Blythe
What OS you running Linux? maybe look at http://php.weblogs.com/editors -Original Message- From: chip [mailto:chip]On Behalf Of Chip Sent: Wednesday, 25 July 2001 12:57 PM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] WSIWYG Editor using PHP? Joseph Blythe wrote: Try PHP Coder Pro! http

[PHP] komodo

2001-07-25 Thread Joseph Blythe
Hey, Is anyone on this list using ActiveState's Komodo (http;//activestate.com) on a windows box to remotely debug php scripts running on a linux server? Is this possible? I have read the documents and don't get it at all! Although local debugging under windows works just fine. If you are using

RE: [PHP] WSIWYG Editor using PHP?

2001-07-25 Thread Joseph Blythe
You might want to look at Komodo (http://www.activestate.com) I just downloaded the windblows version (there is also Linux version 25mb though) which is a fairly basic text editor with php syntax highlighting (and a few other neat fetures) with a built in debugger which can apparently debug

RE: [PHP] WSIWYG Editor using PHP?

2001-07-25 Thread Joseph Blythe
sorry should be http://activestate.com -Original Message- From: Joseph Blythe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 25 July 2001 4:25 PM To: Chip Cc: [EMAIL PROTECTED] Subject: RE: [PHP] WSIWYG Editor using PHP? You might want to look at Komodo (http://www.activestate.com) I just

Re: [PHP] socket functions

2001-04-03 Thread Joseph Blythe
Joseph Blythe wrote: hello, does anyone know if set_nonblock() works, what paramaters it takes and what it returns? there is only one mention of it in the manual under accept_connect, and I can not seem to set the socket to non block?? also has anybody successfully written

[PHP] UDDI

2001-04-03 Thread Joseph Blythe
Hey, Is anyone using php and UDDI together, if so I would appreciate some comments, insights, recommendations etc... I really don't feel like selling my soul to Microsoft yet :-) Regards, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] socket functions

2001-04-04 Thread Joseph Blythe
Yasuo Ohgaki wrote: Did you read the Manual? The manual is my bible I always read it before I post. Also searched google and the list archives. socket_set_blocking As far as I can tell this does not work for the new socket functions, the file descriptor does not seem to be compatible? (it

Re: [PHP] PHPSESSID sticks to every link after upgrate of Apache/PHP

2001-04-04 Thread Joseph Blythe
Maxim Maletsky wrote: Site uses sessions and, somehow, after this upgrade started carrying PHPSESSID through HREF. Sounds to me like php was compliled with the --enable-trans-sid option which does exactly that. Just a guess. Regards Joseph -- PHP General Mailing List

[PHP] sockets (long)

2001-04-04 Thread Joseph Blythe
Hey all, People who have been recieving this list for a while may remember me going through all this a while back, so I am not really a newbie when using sockets. I am basically trying to rewrite my Online Credit Card Verification (OCV) client with the new socket functions. In thoery the

Re: [PHP] sockets (long)

2001-04-04 Thread Joseph Blythe
Plutarck wrote: Very recently (a few days at most ago) someone was complaining about the problem you are having. According to them they can't get the socket function to accept socket nonblocking. It would seem that the function is broken, so you can't set nonblocking to a valid value

Re: [PHP] sockets (long)

2001-04-06 Thread Joseph Blythe
Yasuo Ohgaki wrote: set_nonblock() is in PHP C source, but not in the PHP Manual. May be it's dead? It seems it take one parameter (file descriptor), let us know if it works. I might want to use it in the future :) Yasuo, There is one mention of set_nonblock() in the manual under

[PHP] validating form data via javaScript when stored in an array

2001-04-09 Thread Joseph Blythe
G'day, I was wondering if anyone knows how to get the following to work: --snip from head-- script language="JavaScript" //-- function validateForm(theForm) { if ( theForm.input[name].value == "" ) { alert("You must type a value for NAME."); theForm.input[name].focus(); return

Re: [PHP] validating form data via javaScript when stored in an array

2001-04-09 Thread Joseph Blythe
Morten Winkler Jrgensen wrote: You will have to declare SCRIPT LANGUAGE="javascript 1.2" myArray = new Array(); myArray[0] = "a string"; myArray[1] = 11; myArray[2] = new Array(); /SCRIPT since JavaScript 1.2 has arrays implemented. Thanks

[PHP] array_push but with key, value pairs

2001-04-16 Thread Joseph Blythe
Hey all, I was just trying to figure out something that should be quite simple but seems to be eluding me, consider the following: $input = array(); while ( list($key, $val) = each($HTTP_POST_VARS) ) { if ( $key != "Submit" ) { array_push($input, $val); } } Ok fine, I now have an

Re: [PHP] array_push but with key, value pairs

2001-04-16 Thread Joseph Blythe
Peter Houchin wrote: maybe tring this ... $input = array(); reset ($HTTP_POST_VARS); while ( list($key, $val) = each($HTTP_POST_VARS) ) { if ( $key != "Submit" ) { array_push($input, $val); } } Hmm, as far as I can see this will just reset the internal pointer back to

Re: [PHP] array_push but with key, value pairs

2001-04-16 Thread Joseph Blythe
Peter Houchin wrote: what about if you assign the key to = the id (if in a data base)? maybe like while (list ($key, $val) = each ($id)) { if ( $key != "Submit" ) { array_push($input, $val); } } I am not using a database for this part as I am just collecting the data

Re: [PHP] array_push but with key, value pairs

2001-04-17 Thread Joseph Blythe
Dean Hall wrote Instead of 'array_push', do this: $input[$key] = $val; Hey thanks dean that did the trick, I was trying: $array[] = $key . "=" . $val which of course doesn't work hehe. Regards Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] HTTP_POST_VARS not and array when used in a function?

2001-04-17 Thread Joseph Blythe
Rasmus Lerdorf wrote: It is a normal global variable. Like all other global variables you need to declare the fact that you want the global variable inside a function. Simply put: global $HTTP_POST_VARS; at the top of your function and it will work just fine. Read the section on variable

[PHP] Strange errors

2001-04-25 Thread Joseph Blythe
Hey all, I keep getting this error message on a couple of pages from a site I am currently working on, the strange thing about this is there are no included files in 'browser.php' and I am certainly not including 'browser.php' anywhere. Warning: Failed opening

Re: [PHP] Strange errors

2001-04-25 Thread Joseph Blythe
Chris Fry wrote: Have a look at php.ini in /usr/local/lib It looks like your prepend file is browser.php - just comment that line out. Those lines in the php.ini are blank ; automatically add files before or after any PHP document auto_prepend_file = auto_append_file= Hmm,

Re: [PHP] Strange errors

2001-04-25 Thread Joseph Blythe
Mark Maggelet wrote: On Thu, 26 Apr 2001 09:54:04 +0930, Joseph Blythe ([EMAIL PROTECTED]) wrote: Chris Fry wrote: Have a look at php.ini in /usr/local/lib It looks like your prepend file is browser.php - just comment that line out. Those lines in the php.ini are blank

[PHP] hmm sockets (again)

2001-05-01 Thread Joseph Blythe
Hey all, Just looked through the changelog for 4.0.5 and was suprised to see that the socket functions had not been fixed, (set_nonblock does not seem to work under linux), I have retried my scripts under the new version but nothing seems to have changed, For the time being I am going back to

Re: [PHP] hmm sockets (again)

2001-05-02 Thread Joseph Blythe
Mukul Sabharwal wrote: Hi, I might have missed a follow up or your original message, but have you tried socket_set_blocking() Mukul, Yes, socket_set_blocking does not work with the new socket functions, it is for the network functions, one must use set_nonblock() which to the best of

[PHP] array 2 links

2001-05-03 Thread Joseph Blythe
Hello, I seem to be having some difficulty understanding why the following function skips every 5th array item, basically the following function takes two parameters category and an array, when placed inside a table it will generate links based on the array items splitting the table into

RE: [PHP] Please Help

2003-08-01 Thread Joseph Blythe
Sathiyabama, Is always a good idea to read the manual, search google and the list archives before posting to this list, the below links should help you get started. http://www.php.net/manual/en/function.mail.php and: http://www.php.net/manual/en/function.rmdir.php Regards, Joseph

RE: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-04 Thread Joseph Blythe
, Joseph Blythe -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Sent: Friday, 4 July 2003 4:18 PM To: Ow Mun Heng Cc: Mark Charette; [EMAIL PROTECTED]; Shena Delian O'Brien Subject: RE: [PHP] Re: Red Hat 9, Apache 2, and PHP Apache2 has a number of different modes

RE: [PHP] controlling winamp with COM

2003-07-21 Thread Joseph Blythe
I know nothing about using php and COM under windows but a good place to start would be: http://www.php.net/manual/en/ref.com.php regards, Joseph -Original Message- From: Diego Fulgueira [mailto:[EMAIL PROTECTED] Sent: Tuesday, 22 July 2003 1:10 PM To: John Herren; [EMAIL