Re: [PHP] installing php-4.2.3

2002-09-11 Thread Brad Bonkoski
unzip that and cd into it and read the INSTALL file tar -xzvf php-4.2.3.tar.gz cd php-4.2.3 less INSTALL HTH -Brad Anil Garg wrote: hi, i am a newbie to php... i have downloaded php-4.2.3.tar.gz from http://www.php.net/downloads.php can someone please point me to the right documentaion

Re: [PHP] Re: Extracting Numbers from a string.

2002-09-11 Thread Brad Bonkoski
variable, which at the end would have strictly the numbers... That would be my initial approach, but I'm sure there are many,many others... -Brad M1tch wrote: it doesn't use ereg, but it (should) would work: $mystring = I have $56.55 dollars, don't you know; $mystring = substr($mystring, strpos

Re: [PHP] Calling info from mySQL inside flash

2002-09-08 Thread Brad Bonkoski
How about giving this page a look over: http://www.macromedia.com/desdev/topics/php.html Here's an article especially for using PHP and MySQL with Flash MX http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html HTH -Brad Thomas Edison Jr. wrote: I have a mySQL db, and a bunch

Re: [PHP] turn register_globals on

2002-09-08 Thread Brad Bonkoski
I think it is a global configuration setting, so it would not be possible to turn it off for an individual script. Just use the $_SERVER['variable_name'] -Brad Anup wrote: Hello I am working on a PHP server which has register_globals off. In my script is there anyway to turn it on, just

Re: [PHP] Troubles Inserting into MYSQL

2002-09-08 Thread Brad Bonkoski
the '(' and ')' in your query to group VALUES (And what's with all the escaping with '\'? They don't appear to be needed and make it look very cluttered, i.e. not very readable. HTH -Brad Steve Gaas wrote: This syntax fixes the syntax error.. if ($update_type == update_Williams) { mysql_query(INSERT

Re: [PHP] Re: turn register_globals on

2002-09-08 Thread Brad Bonkoski
to set in user scripts? Or is the dosumentation correct in saying it cannot? -Brad Jome wrote: Hello I am working on a PHP server which has register_globals off. In my script is there anyway to turn it on, just for my script? ini_set(register_globals, 1); at the top of your script

Re: [PHP] How to set the file premission by using CHMOD?

2002-09-07 Thread Brad Bonkoski
man chown (change ownership) (i.e. chown my_username:my_groupname directory) -or- man chmod (change permissions)(i.e. chmod uga+w file_name -or- chown 4777 file_name) -Brad Bryan wrote: Situation: I want to create a file to a directory, but the premission denied, how to solve this problem

Re: [PHP] How to do pass on information...

2002-09-07 Thread Brad Bonkoski
=$row[0]$row[1]/option; } free_result($result) ? /select This would send to the form action page the numerical representation of the categoried selected from the drop down list. -Brad Chuck PUP Payne wrote: Hi, I would like to know if there is a way that I can pass on an information from

Re: [PHP] Re: HTTP_SERVER_VARS not working. Please help

2002-09-06 Thread Brad Bonkoski
that's: $_SEVER['HTTP_HOST'] Cirstoiu Aurel Sorin wrote: I also tried $_HTTP['HTTP_HOST']. Not working. The host has php 4.1.2 version -- Cirstoiu Aurel Sorin InterAKT Support http://www.interakt.ro Erwin [EMAIL

Re: [PHP] MySQL and Array's REALLY simple question but I'm notGETTING it .. Ugh..

2002-09-06 Thread Brad Bonkoski
instance of that and see how it works.. HTH -Brad Steve Gaas wrote: Can anyone tell me what's wrong with my code? All I get output from this is the LAST row of data from my Database. There are 2 rows, how do I make it pull data from all of the rows? It's not going through the loop like it should

Re: [PHP] MySQL and Array's REALLY simple question but I'm not GETTING it .. Ugh..

2002-09-06 Thread Brad Bonkoski
. mysql_data_seek($result, 0) would set you back at the beginning, record one. -Brad Steve Gaas wrote: OK, this works.. This is wonderful.. But I don't get it.. I assigned two separate variables to that array function.. I don't understand why this works now, but thanks a lot for the help. I

Re: [PHP] Problem with inserting values into database through php

2002-09-05 Thread Brad Bonkoski
there, and you'll get more meaningful feedback from the database backend. HTH -Brad Olli Sinerma wrote: Hi, I´m having a weird problem with getting my forms work within php. I have a running MySQL server, php installed on a apache server and I can make SQL queries through php, but I´m unable to insert

[PHP] LDAP Authentication problem

2002-09-04 Thread Brad Harriger
for the cause of this problem. Any suggestions would be appreciated. Thanks in advance, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem with links

2002-08-31 Thread Brad Lahr
/apache_1.3.26 ./configure --activate-module=src/modules/php4/libphp4.a make make install Any help is greatly appreciated. I apoligize iin advance for being such a newbie. Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] file reading

2002-08-27 Thread Brad Dameron
'w+' - Open for reading and writing; place the file pointer at the beginning of the file and truncate the file to zero length. If the file does not exist, attempt to create it. Change it to r since you are only reading. Also check to make sure your pathing is correct. --- Brad Dameron

RE: [PHP] include() from another sub-domain

2002-08-19 Thread Brad Dameron
What I would do is change the include filename to something like functions.inc like I do. This way the server won't try and run it for you. --- Brad Dameron Network Account Executive TSCNet Inc

Re: [PHP] php string match problem

2002-08-18 Thread Brad Bulger
have you tried printing them out with surrounding characters, like echo 'row8=(',$row[8],') LOGINNAME=(',$LOGINNAME,')'; to see if there are leading or trailing spaces? On Mon, 19 Aug 2002, Pafo wrote: heh,, is it just me or can anyone see whats wrong with this code... $query = SELECT *

[PHP] Array question

2002-08-14 Thread Brad Harriger
in advance, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] abstract question

2002-08-13 Thread Brad Bulger
If you aren't supposed to be able to use func_get_args() as a function parameter, but you can get away with it if you make it the *first* param, is that a bug or a feature? works: funcy(func_get_args(), 'p1', 3); fatal error: funcy('p1', 3, func_get_args()); i assume this works

Re: [PHP] mysql error

2002-08-13 Thread Brad Bulger
it's the WHERE clause, it's illegal there. what are you trying to do? if you want to change the heading paragraph columns of every row in malibu_data where the page_name par_id match your values, this should be an UPDATE. if you want to create a new record in malibu_data for every record

RE: [PHP] Re: Trying to delete

2002-08-13 Thread Brad Bulger
On Wed, 14 Aug 2002, [iso-8859-1] César Aracena wrote: Thanks. I must apology as I made a mistake when writing the incoming variable's name. I had it wrong so it would pass the variable but the incoming script was looking for a variable that wasn't passed. In the meantime, and now that I

[PHP] session_unregister question

2002-07-18 Thread Brad Wright
in the session? Cheers, Brad Nel vino la verità, nella birra la forza, nell'acqua i bacilli -- In wine there is truth, in beer there is strenght, in water there are bacteria -- PHP General Mailing List (http

[PHP] Debugging LDAP_connect problems

2002-07-17 Thread Brad Harriger
be apprecieated. Thanks in advance, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Detecting network connections

2002-07-15 Thread Brad Harriger
Is there any way I can set up a php script so that it will detect the login of the current Netware user on a PC and use that user's information to customize a greeting for the user? Thanks, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Usiing FOREACH to loop through Array

2002-06-29 Thread Brad Melendy
stupid in my foreach loop. I'm hoping someone will spot my dumb mistake. Thanks very much for any help at all on this. Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Usiing FOREACH to loop through Array

2002-06-29 Thread Brad Melendy
going to revisit the mysql_fetch_array function right now. Thanks for your help, it is greatly appreciated. ...Brad Steve Edberg [EMAIL PROTECTED] wrote in message news:p05100300b943f2a7feef@[168.150.239.37]... At 3:27 PM -0700 6/29/02, Brad Melendy wrote: Hi All, I've stumped myself here

Re: [PHP] Usiing FOREACH to loop through Array

2002-06-29 Thread Brad Melendy
someone else next time. :-) Steve Edberg [EMAIL PROTECTED] wrote in message news:p05100300b943f2a7feef@[168.150.239.37]... At 3:27 PM -0700 6/29/02, Brad Melendy wrote: Hi All, I've stumped myself here. In a nutshell, I have a function that returns my array based on a SQL query and here's

Re: [PHP] Re: One more 'Headers Already Sent' error. :-(

2002-06-26 Thread Brad Melendy
the browser sees as output. Thanks again. ...Brad John Holmes [EMAIL PROTECTED] wrote in message news:000f01c21cbd$7f49e0e0$b402a8c0@mango... Sorry if I was a little rude. The thing to remember that anything outside of a ? And ? is considered output, even if it's in an include. So if I have

Re: [PHP] Re: One more 'Headers Already Sent' error. :-(

2002-06-26 Thread Brad Melendy
' and then it was trying to output again later in the header() function. By moving my include statement outside the ?php .? in the intial section of code, it wasn't providing the output until after my header() function had completed and there wasn't an issue anymore. Thanks for your help. ...Brad

[PHP] One more 'Headers Already Sent' error. :-(

2002-06-25 Thread Brad Melendy
this work the 'right' way rather than cut corners and just make the server work for my code, instead of making my code work for the server. ;-) Thanks very much for any input. ...Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] embedded media from DB

2002-06-13 Thread Brad Wright
, Brad Nel vino la verità, nella birra la forza, nell'acqua i bacilli -- In wine there is truth, in beer there is strenght, in water there are bacteria -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] embeding media from DB

2002-06-12 Thread Brad Wright
Hi all, I have been able to upload a wav file to a mxSQl db using PHP script. Wanted to be able to get that wav file from the db and embed it into a web page using the default media player to play it. Can anyone help??? Cheers, Brad Nel vino la verità, nella birra la forza, nell'acqua

Re: [PHP] embeding media from DB

2002-06-12 Thread Brad Wright
Sorry... that should be mySQL database Cheers, Brad Nel vino la verità, nella birra la forza, nell'acqua i bacilli -- In wine there is truth, in beer there is strenght, in water there are bacteria From: Brad Wright

[PHP] File download/upload

2002-06-11 Thread Brad Wright
Hello, Can anyone point me towards a tute (or any info) about using php to upload and download medium size (~500k-1meg) files into a mySQL database (as blob's i assume). Cheers, Brad Nel vino la verità, nella birra la forza, nell'acqua i bacilli

Re: [PHP] Store/Retrieve Word Documents in MySQL/PHP?

2002-06-11 Thread Brad McCrorey
it near the local copy of the php manual and the websafe palette. =) Cheers, Brad Miguel Cruz wrote: On Tue, 11 Jun 2002, Håkan Askengren wrote: I have managed to load images to database through php, but what about other file types as MS Word (yes I dare to mention it here...) What headers

Re: [PHP] Store/Retrieve Word Documents in MySQL/PHP?

2002-06-11 Thread Brad McCrorey
Aha! Nice one. thanks for that! Miguel Cruz wrote: I usually just grep through the one that comes with Apache; it's fairly thorough. You might find it in /usr/local/apache/conf/mime.types miguel On Wed, 12 Jun 2002, Brad McCrorey wrote: This raises an interesting question (at least to me

Re: [PHP] stupid error, please kick me (and send me a solution)

2002-06-03 Thread Brad McCrorey
Please note that this only neccesarily applies to MySQL. I've run into a lot of problems by assuming double-quote syntax with postgres and mssql. A better solution is to stop writing your own queries and use an abstraction library. Cheers, Brad Sqlcoders.com Programming Dept wrote: Hiya

[PHP] email attachments and PHP

2002-06-03 Thread Brad Wright
. Brad Nel vino la verità, nella birra la forza, nell'acqua i bacilli -- In wine there is truth, in beer there is strenght, in water there are bacteria -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] HTML Checkboxes and PHP variables

2002-05-29 Thread Brad Harriger
Are HTML Checkbox values handled the same way as Select Multiple tags? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php's variables javascript

2002-05-27 Thread Brad McCrorey
Or something easier... ? $size = 222; print HTML script language=JavaScript width = $size; /script HTML; ? Just make sure the HTML; bit is all the way on the left margin, regardless of tabstops in your code. cheers, Brad Boyan Nedkov wrote: Try something like that: ? //$size

Re: [PHP] The $PATH to enlightenment revisited

2002-05-23 Thread Brad Hubbard
On Wed, 22 May 2002 12:14, Brad Hubbard did align ASCII characters thusly: What's the best way to alter the path that PHP looks in for exec(), system(), passthru(), etc. commands. IOW, how do I add /usr/local/ to the $PATH variable for the user (nobody in my case) that the webserver runs

[PHP] Win binary needed

2002-05-23 Thread Brad Harriger
Is there a Windows binary (v. 4.06) available that has ldap support enabled? Thanks, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] The $PATH to enlightenment

2002-05-21 Thread Brad Hubbard
What's the best way to alter the path that PHP looks in for exec(), system(), passthru(), etc. commands. IOW, how do I add /usr/local/ to the $PATH variable for the user (nobody in my case) that the webserver runs as. This question may be OT. Thanks in advance, Brad -- PHP General

Re: [PHP] When did $_SERVER become the preferred syntax?

2002-05-18 Thread Brad Hubbard
On Sat, 18 May 2002 15:47, Brad Hubbard did align ASCII characters thusly: What's the idea behind this syntax $_SERVER and when did it become the preferred method (are there docs on this)? Thanks to all who replied. I understand this now. Cheers, Brad -- PHP General Mailing List (http

[PHP] When did $_SERVER become the preferred syntax?

2002-05-17 Thread Brad Hubbard
What's the idea behind this syntax $_SERVER and when did it become the preferred method (are there docs on this)? Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: One more Regular Expression Question...

2002-05-14 Thread Brad Melendy
Thanks Miguel, I'm going to check out preg_match(). What if there are more than one instance of a and /a in my string, but I know that I want the last two occurances at the end. Can I tell it to check starting at the end of the string and work forwards? Thanks again! ...Brad Miguel Cruz

Re: [PHP] Re: One more Regular Expression Question...

2002-05-14 Thread Brad Melendy
has in the above expression, but it works so I'm not gonna complain. But if anyone wants to explain it to me, that's wonderful. The info for STRRCHR at php.net is a tad light to say the least on this particular function. Thanks again. Brad Brad Melendy [EMAIL PROTECTED] wrote in message

Re: [PHP] Storing a object in the session??

2002-05-14 Thread Brad Hubbard
page where you wish to use the object i.e. require profile.class.php (and use session_start() on every page of course). Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] One more Regular Expression Question...

2002-05-13 Thread Brad Melendy
of whatever is between and /a. I just can't figure out how to do that. Any kind souls want to give me a hand up? Thanks very much in advance. ...Brad PS. I do have a PHP book and I did try reading up on regular expressions at php.net first, but I'm just not getting it. :-\ -- PHP General Mailing

[PHP] Re: One more Regular Expression Question...

2002-05-13 Thread Brad Melendy
Thanks Philip. This gives me everything before the ' that I'm looking for but I believe it is because it occurs more than once. I think I need to count the times that ' occurs and then try to target the specific occurance that I need. But I'm guessing a little. Thanks for your help. ...Brad

[PHP] PHP ? for current PEAR

2002-05-10 Thread Brad Hubbard
I'm trying to install PEAR and having some problems. What's the minimum PHP version for the current PEAR? Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL Set Type

2002-05-03 Thread Brad Harriger
How does PHP 4 handle MySQL fields that are of type SET? Are the strings, arrays, or something else? Thanks, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] Re: Definitive answer for large scale registration/authentication

2002-04-16 Thread Brad Hubbard
of the users machine is their responsibility. I'm looking for good security, ease of implementation, and scalability. At the moment it seems to be a case of pick any two. Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Definitive answer for large scale registration/authentication

2002-04-16 Thread Brad Hubbard
level of consensus on a scheme ;-) Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HELP! Connect or no connect, that's the question...

2002-04-15 Thread Brad Thomas
[EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear all, I installed mysql for windows and had to copy some databases (including mysql standard databases), that I have to use for my php-project. I also installed the Apache server 1.3 ... My problem is, that

[PHP] Definitive answer for large scale registration/authentication

2002-04-15 Thread Brad Hubbard
for the feedback, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] Re: Definitive answer for large scale registration/authentication

2002-04-15 Thread Brad Hubbard
to use as long you know how to deal with shared memory and semaphores. Is this documented anywhere? My understanding was that htaccess authentication was more secure that session based because of the porblems of session hijacking??? Brad -- PHP General Mailing List (http://www.php.net

[PHP] naver.com ????

2002-04-15 Thread Brad Hubbard
Anyone else getting the weird messages from naver.com in response to posts to the list? Looks like a Korean out of office reply. Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [PHP-DB] Re: Definitive answer for large scale registration/authentication

2002-04-15 Thread Brad Hubbard
On Tue, 16 Apr 2002 14:59, Richard Archer did align ASCII characters thusly: Aah, but does it scale? By most aqccounts. no :-( And do you want to run SSL for all page views? Yes. Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Program control question

2002-03-25 Thread Brad Harriger
(Location:) is ever read by File A? Thanks in advance, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] If...Else question

2002-03-14 Thread Brad Harriger
Is it legal for an if...else statement to span PHP code blocks? Here's an example: ? $a = 0; if ($a 5) { $b = 50; $c=500; // Take a break from php and put in some HTML ? HTML HEAD/HEAD BODYMORE HTML CODE HERE/BODY /HTML ? // Now back to the PHP code $d = 250; } else {

[PHP] Tracking mail() problems

2002-02-28 Thread Brad Wright
fine, but no mail sent. Mail log shows no record of any event from this script. Is there another way that I can check foir activity from this function/?. Any ideas, this is killing me. Thanks in advance, brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PHP MAIL function...why wont it work????

2002-02-28 Thread Brad Wright
Yep it is a linux box. From: DL Neil [EMAIL PROTECTED] Reply-To: DL Neil [EMAIL PROTECTED] Date: Thu, 28 Feb 2002 22:55:59 - To: Brad Wright [EMAIL PROTECTED], PHP General List [EMAIL PROTECTED] Subject: Re: [PHP] PHP MAIL function...why wont it work Hi Brad, Hi all... I have

[PHP] PHP MAIL function...why wont it work????

2002-02-27 Thread Brad Wright
activity in the mail log...any ideas... I AM GOING INSANE Thanks in advance, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP_SELF Undefined

2002-02-19 Thread Brad Hubbard
\ value=\Send This Form\/p /FORM ; ? I don't know whether this is of any help to you or not, but this works perfectly on my system. I suspected it would as I saw nothing wrong, per se, with the code. Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Decode binhex files?

2002-02-12 Thread Brad Hubbard
Anyone know of any scripts/functions available to decode binhex 4.0 encoded files? Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 2 conditions why wont they work??

2002-02-10 Thread Brad Wright
Hi all, Im was sure you could select a row from a mySQL database based on 2 conditions. My code: $query2 = select * from Table where userNo = $userNo and clientID = $clientID; $result2 = mysql_query($query2,$db); This returns : Warning: Supplied argument is not a valid MySQL result resource

Re: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Brad Wright
Thanks, $clientID is a string but is not empty...already tried echo($clientID) and it is not empty. Did you mean that if the value of $cientID is a string it wont work Thanks Brad From: Bogdan Stancescu [EMAIL PROTECTED] Date: Mon, 11 Feb 2002 05:38:31 +0200 To: Brad Wright [EMAIL

Re: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Brad Wright
Ahh..that seems to have fixed it. Its now pulling NO data, but is not giving error msg thanks, 1/2 way there now :) brad From: Bogdan Stancescu [EMAIL PROTECTED] Date: Mon, 11 Feb 2002 05:46:46 +0200 To: Brad Wright [EMAIL PROTECTED] Cc: PHP General List [EMAIL PROTECTED] Subject: Re

Re: [PHP] 2 conditions why wont they work??

2002-02-10 Thread Brad Wright
on the previous page which sets $clientID. I am sure that a space is being added but cant find where. Thanks for yr help, Brad From: Bogdan Stancescu [EMAIL PROTECTED] Date: Mon, 11 Feb 2002 05:53:46 +0200 To: Brad Wright [EMAIL PROTECTED] Cc: PHP General List [EMAIL PROTECTED] Subject: Re: [PHP] 2

[PHP] Using functions before they're defined

2002-02-07 Thread Brad Harriger
How does PHP 4 locate function definitions if the function is called before it is defined? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Segmented Code/HTML VS. ECHO??

2001-11-18 Thread Brad Melendy
Hello, Other than the fact that sometimes, you just can't get raw HTML to process properly by dropping out of PHP code, what are the pros and cons of using RAW HTML or just ECHOING everything in PHP? Thanks for any insights. ..Brad -- PHP General Mailing List (http://www.php.net

[PHP] Re: Can If Else statements be split into code blocks??

2001-11-13 Thread Brad Melendy
the proper condition was met in the If Else statement. Brad Brad Melendy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I'm trying to execute some HTML in an IF ELSE statement. I'm trying something like: ?php if (strstr($DomResult

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 14:47, brendan wrote: mate you rock.. You can tell he's an Australian (on ya mate :-) -- Brad Hubbard Congo Systems 1/286 Bolton Street, Eltham Victoria, Australia, 3095. Email: [EMAIL PROTECTED] Ph: +61-3-94391200 Fax: +61-3-94391255 Mob: +61-419107559 -- PHP General

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 15:14, brendan wrote: or really bloody narky afgani's Martin Towell wrote: Off track - seems like the only ppl awake now are ozzies :) would I be right? No jokes about Tamanians or New South Welshmen though alright? -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 15:27, brendan wrote: Your too late for that .. recipie boy (aka speedboy) already had a go at us southerners I reckon you noreasterners are for it next .. Im working on finding out where he's from so we can make fun of his state .. Im working hard.. ill find out..

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 15:49, Martin Towell wrote: Here - I'm from NSW, Oz !!! can't make it any harder for you :) And how are things in York St.? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] anyone know any good jokes about queenslanders?

2001-10-29 Thread Brad Hubbard
have realised when I noticed he was an hour behind everybody else on the east coast (probably afraid of fading the curtains). Anyone who lives in that sort of climate deserves to get heckled. Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 15:53, brendan wrote: hans up who else is procrastinating? ;) My productivity was suckin' pretty badly before all this started anyway. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Arrays

2001-10-26 Thread Brad Hubbard
On Fri, 26 Oct 2001 18:17, Ashley M. Kirchner wrote: I'd like to create an array of available resources, and be able to check it every time. What I'd like to do is something like; $site = array( section1 = #, section2 = #, etc.. ) where section* is a STRING variable and # is an

Re: [PHP] Arrays

2001-10-26 Thread Brad Hubbard
On Sat, 27 Oct 2001 01:41, Ashley M. Kirchner wrote: In a different language I can write something that will return the index of $section in the array, then I can use that index value to fetch the INT afterwards: $array = {{section1, 1},{section2,4},{section3,2}} if (idx = ($section

[PHP] Re: Using Logical OR operator in IF statement???

2001-10-21 Thread Brad Melendy
in the same line with the OR, it fails. :-\ Thanks in advance for any thing you might notice. Brad Yz James [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Brad, This worked for me: ? if ((substr($sString, 0, (strlen($sString)-1) == -)) || (substr(

[PHP] Re: Using Logical OR operator in IF statement???

2001-10-21 Thread Brad Melendy
Ok, it works!! Thanks to everyone for their suggestions and answers. This group is a great resourse. Thanks again ...Brad Brad Melendy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Thanks James, I tried a regular expression comparis

Re: [PHP] Can I have If...Else inside a For Loop???

2001-10-20 Thread Brad Melendy
H. dunno about that. It's returning the results I'd expect as it is now. If I pass a string with characters that don't match the IF's criteria, I'm getting the ELSE statement's results. Thanks though. Brad ~~~I Leonid ~~ [EMAIL PROTECTED] wrote in message 3bd15547.14743496

Re: [PHP] Can I have If...Else inside a For Loop???

2001-10-20 Thread Brad Melendy
Oops, I spoke too soon. I wasn't getting the results I thought I was until I used == instead of = at the very end of my IF statement. Thanks very much for pointing that out. Brad Brad Melendy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... H...

[PHP] Using Logical OR operator in IF statement???

2001-10-20 Thread Brad Melendy
ideas? I suppose I can just evaluate this with two different IF statements, but it seems like I shoud be able to do it in one and reduce duplicate code. Thanks very much in advance. .Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Can I have If...Else inside a For Loop???

2001-10-19 Thread Brad Melendy
? It's as if you can't nest an IF/Else under a FOR, but you can use just an IF. Thanks very much in advance. Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

Re: [PHP] Can I have If...Else inside a For Loop???

2001-10-19 Thread Brad Melendy
arrh! I don't think I can say much else. Thanks so much for pointing that out David. ;-) .Brad David Pearson [EMAIL PROTECTED] wrote in message 003101c1591a$e00ec290$320110ac@david">news:003101c1591a$e00ec290$320110ac@david... Could it be the semi colon at

Re: [PHP] Sockets on FreeBSD Mac OS X

2001-10-02 Thread Brad Hubbard
for FreeBSD? If so, I would be very happy. There's a known trojan (netbus?) that operates on 12345. That's not your problem is it? Do a netstat -an on the machine and see if that port IS in use. Cheers, Brad -- Brad Hubbard Congo Systems 12 Northgate Drive, Thomastown, Victoria, Australia 3074 Ph

Re: [PHP] how to make the php page always newest when clicking 'back' botton in browser?

2001-09-25 Thread Brad Hubbard
); // always modified header(Pragma: no-cache); // HTTP/1.0 } Sorry about the formatting (or lack of it :-) Happy trails, -- Brad Hubbard Congo Systems 12 Northgate Drive, Thomastown, Victoria, Australia 3074 Email: [EMAIL PROTECTED] Ph: +61-3-94645981 Fax: +61-3-94645982 Mob

Re: [PHP] stop standard output in cron jobs

2001-09-25 Thread Brad Hubbard
On Wed, 26 Sep 2001 07:15, bill wrote: And so sends the resultant e-mail. Can I make it output nothing when run as a cron job? #!/usr/local/bin/php -q ?php // your script goes here ? php -h for your future illumination :-) Happy trails, Brad -- Brad Hubbard Congo Systems 12

[PHP] Choices for root privilege

2001-09-14 Thread Brad Hubbard
interface. What is the accepted way of accomplishing this? I've considered assigning nobody to a privileged group, sudo, changing exec permissions (last resort). Opinions??? TIA, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

RE: [PHP] PHP Web Base Email

2001-09-09 Thread Brad R. C.
www.hotscripts.com www.sourceforge.net both of them have some.. Squirrell is one I can think of in particular. Brad C. -Original Message- From: Sall Him [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 09, 2001 11:18 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Web Base Email Hi

[PHP] Pulling a random image

2001-09-03 Thread Brad R. C.
; } -code snippet thanks guys... :) Brad C

RE: [PHP] Re: Pulling a random image

2001-09-03 Thread Brad R. C.
You know what.. that might just work the way I need it to... will try it out tonight, thanks!!! :) Brad C. -Original Message- From: Hugh Bothwell [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 1:05 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Pulling a random image Brad R

Re: [PHP] mime types

2001-08-21 Thread Brad Hubbard
On Tue, 21 Aug 2001 18:01, Evan Nemerson wrote: Well, I hope nobody will ever have to do what I just did, so here you go. I got them from the apache/conf/mime.types Have fun! $extensions = Array( ez = application/andrew-inset, snip What are you using them for Evan? Brad -- PHP

Re: [PHP] Use cron to execute a script

2001-08-21 Thread Brad Hubbard
On Tue, 21 Aug 2001 21:05, Augusto Cesar Castoldi wrote: Hi. I added to crontab the command 0 * * * * lynx -dump -nolog http://localhost/backup.php; but this task are not running. On RedHat. chkconfig --level 2345 crond on Brad -- PHP General Mailing List (http://www.php.net

Re: [PHP] download script

2001-08-21 Thread Brad Hubbard
as I ever got. Still doesn't work in Konqueror but is an acknowledged bug. Cheers, Brad -- Brad Hubbard Congo Systems 12 Northgate Drive, Thomastown, Victoria, Australia 3074 Email: [EMAIL PROTECTED] Ph: +61-3-94645981 Fax: +61-3-94645982 Mob: +61-419107559 -- PHP General Mailing List (http

Re: [PHP] Multiple line spanning regexp

2001-08-08 Thread Brad Hubbard
On Wed, 8 Aug 2001 14:41, Brad Hubbard wrote: I'm trying to delete everything in a UL that spans multiple lines. I just want to get rid of the whole thing and thought it would be relatively straight forward but I'm getting nowhere. The list takes the form; UL LI CLASS=resultstableBlah

[PHP] Multiple line spanning regexp

2001-08-07 Thread Brad Hubbard
/a/LI /UL So far I've got this; $response = preg_replace( /(ul)(.*?)(\/ul)/im, , $response ); which doesn't work :-) HELP! TIA, Brad -- Brad Hubbard Congo Systems 12 Northgate Drive, Thomastown, Victoria, Australia 3074 Email: [EMAIL PROTECTED] Ph: +61-3-94645981 Fax: +61-3-94645982 Mob: +61

<    2   3   4   5   6   7   8   >