RE: [PHP] Something cool I found in Wired,

2001-01-18 Thread Brian V Bonini
Sounds a lot like Netmeeting -Original Message- From: Dallas Kropka [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 12:41 AM To: PHP LIST Subject: [PHP] Something cool I found in Wired, Ok, I know that this is PHP, but I thought that allot of the

[PHP] cookies - not working with Nutscrape

2001-01-19 Thread Brian V Bonini
Why would this work in IE but not NN (4.08)? If I remove "/" ".mydomain.com" it works with NN but not IE. Vice versa if I leave it in. Thanks, -Brian *** ? if (isset($ecb)) { if ($ecb = 5) { $val = 0; } else { $val = $ecb; } } else { $val = 0; }

[PHP] cookies - not working with Nutscrape

2001-01-19 Thread Brian V Bonini
Why would this work in IE but not NN (4.08)? If I remove "/" ".mydomain.com" it works with NN but not IE. Vice versa if I leave it in. Thanks, -Brian *** ? if (isset($ecb)) { if ($ecb = 5) { $val = 1; } else { $val = $ecb; $val++; } } else {

RE: [PHP] cookies - not working with Nutscrape

2001-01-20 Thread Brian V Bonini
here: http://www.zend.com| http://l-i-e.com/artists.htm - Original Message - From: Brian V Bonini [EMAIL PROTECTED] To: Richard Lynch [EMAIL PROTECTED]; "Brian V Bonini" [EMAIL PROTECTED] Sent: Friday, January 19, 2001 4:15 PM Subject: RE: [PHP] cookies - not worki

RE: [PHP] cookies - not working with Nutscrape

2001-01-20 Thread Brian V Bonini
Actually, it's excepting the time/date. It's the path/domain that is creating a problem. For some reason your original suggestion of leaving the domain out is working today. setcookie("ecb",$val,$expires,"/"); I could not get this to work for the life of me yesterday. Either I was

RE: [PHP] Newbie: array help....

2001-01-22 Thread Brian V Bonini
I apparently misunderstood your implementation, your right, it does work perfectly Thank you! -Original Message- From: Ignacio Vazquez-Abrams [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 12:27 PM To: Brian V Bonini Cc: PHP Lists Subject: RE: [PHP] Newbie: array

RE: [PHP] Test for Cookies

2001-01-24 Thread Brian V Bonini
By trying to set a cookie and read it back. -Original Message- From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 11:50 AM To: PHP Mailing List Subject: [PHP] Test for Cookies Hi, I need to test for cookies. What is the simplest way to do

[PHP] Posting to list

2001-01-24 Thread Brian V Bonini
Everytime I send a post to [EMAIL PROTECTED] The message goes through but I also recieve back the following This is the Postfix program at host kgb.ijs.si. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. For further

RE: [PHP] Test for Cookies

2001-01-24 Thread Brian V Bonini
You'll need to at least reload the page so the cookie can be sent back to the server after it's set. Try this: it's taken directly from the annotations on the setcookie function page of the php manual. ?php $status = 0; if (isset($myTstCky) ($myTstCky == "ChocChip")) $status = 1; if

RE: [PHP] html table

2001-01-25 Thread Brian V Bonini
$color = "tan"; FOR ($i=0 ; $i $numrows ; $i++) { if ( ($i % 2) == 0 ) { ECHO ("\nTR"); } else { ECHO ("\nTR BGCOLOR=$color"); } } -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 4:19 PM To: Mike Cc: [EMAIL

[PHP] test

2001-01-26 Thread Brian V Bonini
test -- 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, e-mail: [EMAIL PROTECTED]

RE: [PHP] Where is my contrab file located?

2001-01-27 Thread Brian V Bonini
You could just create a text file with cron commands and then load it into cron using, %crontab cronfile -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 12:03 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Where is my contrab file

RE: [PHP] can .inc run php script?

2001-01-29 Thread Brian V Bonini
Well if your using .inc then your probably including this into a php file via include "config.inc"; in which case it will become part of a php file so yes it will be parsed. If your trying to run it as a standalone then that will depend on your web server config and which files you've told it to

RE: [PHP] Problem!

2001-01-29 Thread Brian V Bonini
$today = getdate(); $month = $today[month]; $mday = $today[mday]; $year = $today[year]; print "$month $mday, $year"; -Brian ** -Original Message- From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 2:32 PM To: [EMAIL

RE: [PHP] Problems with majodomo

2001-01-29 Thread Brian V Bonini
I missed the beginning of this thread, I've got a subscribe routine set up on a website for Majordomo, what are you trying to do? Bring me up to speed -Brian -Original Message- From: Alan Todd [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 10:33 AM To: Phpg Subject:

RE: [PHP] Pricing for PHP programming???

2001-02-01 Thread Brian V Bonini
Isn't it illegal in the US to discuss rates in this manner? It's always been my understanding that The U.S. law specifically makes discussion of pricing between competitors (all or some) a federal offense. Am I taking this too literally? -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Pricing for PHP programming???

2001-02-01 Thread Brian V Bonini
* -Original Message- From: Joe Stump [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 9:52 AM To: Brian V Bonini Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Pricing for PHP programming??? You are taking this WAY to seriously. What you are talking about is the Sherman Act

RE: [PHP] Is it odd or even???

2001-03-05 Thread Brian V Bonini
Use the modulus operator -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 3:18 PM To: PHP User Group Subject: [PHP] Is it odd or even??? Hello, Is there an easy way to check and see if a number is odd or even? Thank you,

RE: [PHP] Text and formating

2001-03-07 Thread Brian V Bonini
nl2br -- Inserts HTML line breaks before all newlines in a string http://php.net/manual/en/function.nl2br.php -Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 12:09 PM To: [EMAIL PROTECTED] Subject: [PHP] Text and

RE: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Brian V Bonini
Is there a reason you not using PHP's include method to do this? Rename your shtml file to have a PHP extension, replace the SSI instructions with PHP functions. You should be good to go. ? include "something.php"; ? -Brian *** -Original Message- From: Christian Dechery

[PHP] FW: Returned mail: User unknown

2001-03-21 Thread Brian V Bonini
invoked from network); 21 Mar 2001 16:33:56 - Errors-To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] From: "Brian V Bonini" [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Wed, 21 Mar 2001 11:50:24 -0500 Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type:

RE: [PHP] need help with cookies

2001-03-22 Thread Brian V Bonini
I believe you need to set the cookie before any other header information is passed. -brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 2:23 PM To: [EMAIL PROTECTED] Subject: [PHP] need help with cookies Hi, I am trying

RE: [PHP] web mail clients?

2001-12-31 Thread Brian V Bonini
This has been done, no need to re-invent the wheel unless of course you wanted to. -Original Message- From: Philip Jeffs [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 8:30 AM To: [EMAIL PROTECTED] Subject: [PHP] web mail clients? Hi, I'm looking into setting up

[PHP] Need a little help

2002-01-28 Thread Brian V Bonini
I'm trying to redirect based on referring host and request. I have an .htaccess set up like this: RedirectMatch (.*)\.gif$ http://www.domain.com/_borders/test.php to redirect all requests for .gif's to a php script which then determines the referring host. $url=parse_url($HTTP_REFERER); if

RE: [PHP] Need a little help

2002-01-28 Thread Brian V Bonini
,XOWýH0PE8´ä,Sx'ÀˆµT÷Src`ÀÏÀrBÀ7í¨òT ÙÑç|+iûJFA€ERKfÙ4 J³Ð² etc. or a broken image symbol. -B -Original Message- From: Girish Nath [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 11:21 AM To: Brian V Bonini Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Need a little help

RE: [PHP] Need a little help

2002-01-29 Thread Brian V Bonini
:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 7:55 PM To: Brian V Bonini Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Need a little help Hi Brian I've just setup the RedirectMatch in Apache and tried the PHP script (test.php) out and it worked fine. The only thing that caused broken image

RE: [PHP] Need a little help

2002-01-29 Thread Brian V Bonini
5.5sp2, no go, just a broken image. -brian ** -Original Message- From: Girish Nath [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 7:55 PM To: Brian V Bonini Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Need a little help Hi Brian I've just setup the RedirectMatch

[PHP] fdisk?

2002-02-20 Thread Brian V Bonini
Anyone know what fdisk stands for? I've heard both fixed disk and format disk, I always thought the later Sorry for for the OT post. -B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] outgoing email server

2002-02-21 Thread Brian V Bonini
http://us4.php.net/manual/en/function.mail.php -Original Message- From: Cristian Cerda [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 4:36 PM To: [EMAIL PROTECTED] Subject: [PHP] outgoing email server How do you set up the outgoing mail server using mail()

RE: [PHP] outgoing email server

2002-02-21 Thread Brian V Bonini
I'm sorry I did not read through your entire post the first time... You set the SMTP server in php config file: SMTP = smtp.yourisp.com -Original Message- From: Cristian Cerda [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 4:36 PM To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] Change Password

2002-06-13 Thread Brian V Bonini
Anyone know of a script that will allow a user to change their system/email password form the web on a UNIX system. wither PHP or Perl based? -B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getdate

2002-07-10 Thread Brian V Bonini
Any idea why this is off by 4 hours? Server time zone is set correctly, %date Wed Jul 10 14:26:18 EDT 2002 but the script below returns the time as being 4 hours later then that. ? $date = getdate(); $minutes = $date['minutes']; $hours = $date['hours']; $tz=EDT;

[PHP] getdate

2002-07-10 Thread Brian V Bonini
Any idea why this is off by 4 hours? Server time zone is set correctly, %date Wed Jul 10 14:26:18 EDT 2002 but the script below returns the time as being 4 hours later then that. ? $date = getdate(); $minutes = $date['minutes']; $hours = $date['hours']; $tz=EDT;

RE: [PHP] getdate

2002-07-10 Thread Brian V Bonini
]] Sent: Wednesday, July 10, 2002 6:24 PM To: Brian V Bonini Cc: [EMAIL PROTECTED] Subject: Re: [PHP] getdate Works fine here. Are you actually in EDT? On Wed, 10 Jul 2002, Brian V Bonini wrote: Any idea why this is off by 4 hours? Server time zone is set correctly, %date Wed Jul 10

RE: [PHP] getdate

2002-07-11 Thread Brian V Bonini
Yes, that did the trick... Thanks!!! -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 6:20 PM To: Brian V Bonini Cc: [EMAIL PROTECTED] Subject: RE: [PHP] getdate The 'date' command-line utility reads the time zone from environment

RE: [PHP] is php.net down ?

2002-07-22 Thread Brian V Bonini
I can get in. Try a mirror if you having trouble. -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 11:56 AM To: 'R'twick Niceorgaw'; [EMAIL PROTECTED] Subject: RE: [PHP] is php.net down ? [snip] any one else able to get into

RE: [PHP] PHPMyAdmin interface

2002-07-24 Thread Brian V Bonini
Why don't you just install a copy on the server? If the only access you have is through the mysql monitor program then you must have shell access so installing your own copy of phpMyAdmin should not be an issue. But, if your going to access it remotely from a win machine I would use MySQL-Front

RE: [PHP] Image upload into database

2002-07-24 Thread Brian V Bonini
Just curious why you don't upload the image to a dir and just store the link in the db? -Original Message- From: Jesse Lawrence [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 7:44 PM To: [EMAIL PROTECTED] Subject: [PHP] Image upload into database I've setup an image

RE: [PHP] phpMyAdmin protection

2002-04-15 Thread Brian V Bonini
.htaccess ;-) http://httpd.apache.org/docs-2.0/configuring.html#htaccess -B -Original Message- From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 12:35 AM To: PHP General List Subject: [PHP] phpMyAdmin protection Hey PHP General List, Can

[PHP] Brain Fart- table formatting help

2002-07-29 Thread Brian V Bonini
I'm having a total brain fart and can not seem to get the right logic for this... I'm trying to format the output of a db query with alternating row colors, the thing is the usual if ($i%2) {} will not work here because the alternating colors do not necessarily fall on odd or even rows. The one

RE: [PHP] Brain Fart- table formatting help

2002-07-29 Thread Brian V Bonini
-Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 9:19 AM To: 'Brian V Bonini'; [EMAIL PROTECTED] Subject: RE: [PHP] Brain Fart- table formatting help [snip] I'm trying to format the output of a db query with alternating row colors, the thing

RE: [PHP] Brain Fart- table formatting help

2002-07-29 Thread Brian V Bonini
Ah, well... that was not clearly explained in your first post. You wanted alternating rows colors, and that is what I gave you. Let's see if I understand the question; For each show_title there are multiple rows of data, but they do not match row counts from show to show? You want the

[PHP] Sorting Output

2002-07-30 Thread Brian V Bonini
I have a db with the following fields: id | month | company | title | name | role | show_company | show_title | show_month sql query is: select * FROM db ORDER BY month DESC; Output gets formatted like: month - company - title name role name role - title name role -

RE: [PHP] Re: PHP4 and MS Excel?

2002-07-30 Thread Brian V Bonini
file | save as then chose the format you want in the drop down box -Original Message- From: Jason Caldwell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 2:46 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: PHP4 and MS Excel? So -- it looks like I can connect to Excel via

RE: [PHP] sort results into two columns

2002-08-01 Thread Brian V Bonini
!-- begin Wise crack -- table tr tdlink1/tdtdlinka/td /tr tr tdlink/tdtdlinke/td /tr /table !-- end wise crack -- I suppose an example of the sql query you attempting to use and perhaps an idea of how your db is structured would help a little.. ;-) -Original Message- From: kompresor

[PHP] Function search utility

2002-08-02 Thread Brian V Bonini
There used to be a utility that let you search php functions from the address bar in your browser by simply appening PHP to the function name eg, php mail I thikn it might of been an IE only thing... I can't remember were I originally got it form and can not find it again, does anyone know?

RE: [PHP] Re: Function search utility

2002-08-02 Thread Brian V Bonini
search utility It still works...try http://www.php.net/mysql or http://www.php.net/fopen for example... /lasso ([EMAIL PROTECTED]) Brian V Bonini wrote: There used to be a utility that let you search php functions from the address bar in your browser by simply appening PHP

RE: [PHP] Next and Previous links

2002-08-09 Thread Brian V Bonini
Could you send me the URL's for the MySQL examples? Thanks!! -Original Message- From: webmaster [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 10:36 AM To: [EMAIL PROTECTED] Subject: [PHP] Next and Previous links Hello, I've been trying write a .php page that

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Brian V Bonini
Because your trying to put PHP directives in an html file. Your web server does not know to parse html files as php files unless you tell it to do so. -Original Message- From: Alexander Ross [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 9:50 AM To: [EMAIL PROTECTED]

RE: [PHP] exec / mkdir question

2002-08-12 Thread Brian V Bonini
Just curious, any reason you don't use the mkdir function/ mkdir (/path/to/my/dir, 0700); -Brian -Original Message- From: Simon Ritchie [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] exec / mkdir question i'm using

RE: [PHP] Fixing timezone issues

2002-08-13 Thread Brian V Bonini
You should really fix it at the core of the issue but... putenv(TZ=EST5EDT); will work.. -Brian -Original Message- From: H. Wade Minter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 2:44 PM To: [EMAIL PROTECTED] Subject: [PHP] Fixing timezone issues At some point

RE: [PHP] Header and Target

2002-08-15 Thread Brian V Bonini
No, but instead you could do something like: header (Location: frame.php?url=content.php); Then in frame.php: ?php if ($url) { ? FRAME NAME=content SRC=?= $url ? MARGINWIDTH=1 MARGINHEIGHT=1 SCROLLING=Auto FRAMEBORDER=0 NORESIZE ?php } ? Make sense? -Brian *

RE: [PHP] MySQL to csv

2002-08-15 Thread Brian V Bonini
Using SQL or PHP? -Original Message- From: Djurovski Dejan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 11:42 AM To: [EMAIL PROTECTED] Subject: [PHP] MySQL to csv Hi Can someone show me how to export MySQL table to a csv file? Thanks! -- PHP General

RE: [PHP] assoc array question

2002-08-15 Thread Brian V Bonini
Off teeh top of my novice head I think count() or sizeof() is what your looking for. -Original Message- From: Alexander Ross [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 5:23 PM To: [EMAIL PROTECTED] Subject: [PHP] assoc array question I have this: (note that $info

RE: [PHP] Frames and PHP

2002-08-15 Thread Brian V Bonini
Are you saying $id is not passed some of your frames content but not others or it does nto get passed at all? -Original Message- From: Sascha Braun [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:34 PM To: PHP Mailingliste Subject: [PHP] Frames and PHP I have some

RE: [PHP] Re: progress bar for uploading files

2002-08-16 Thread Brian V Bonini
Bet this would be perfect for combining Flash and PHP. -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 11:57 AM To: electroteque Cc: [EMAIL PROTECTED] Subject: [PHP] Re: progress bar for uploading files You're best bet would be

RE: [PHP] A Doubt!

2002-08-19 Thread Brian V Bonini
So formal ;-) How about posting your sendmail.php file and also have a look at http://www.php.net/manual/en/ref.mail.php for more information about using the mail function with windows. -Original Message- From: Thiruvelraj Pokkishamani [mailto:[EMAIL PROTECTED]] Sent: Monday,

RE: [PHP] NS4.x / IE3.0 Browser Detection

2002-08-20 Thread Brian V Bonini
HTTP_USER_AGENT returns platform info as well doesn't it...?? -Original Message- From: Andre Dubuc [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 10:10 AM To: [EMAIL PROTECTED] Subject: [PHP] NS4.x / IE3.0 Browser Detection I need to differentiate between different

RE: [PHP] why is html code written like this? hr /

2002-09-02 Thread Brian V Bonini
The entire point of xx / is backwards compatibility. Read the spec http://www.w3.org/TR/xhtml1/ -B -Original Message- From: Victor [mailto:[EMAIL PROTECTED]] Sent: Monday, September 02, 2002 7:35 AM To: 'Adrian Murphy'; [EMAIL PROTECTED] Subject: RE: [PHP] why is html code written

RE: [PHP] FORUM CODE

2002-09-03 Thread Brian V Bonini
My guess would be a regex replace function. The latest version of Phorum has this capability. You could grab the source form phorum.org and have a look. -Original Message- From: Tony Harrison [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 2:23 PM To: [EMAIL PROTECTED]

[PHP] Mail list/message board

2002-09-04 Thread Brian V Bonini
Anyone now of a a PHP mailing list program that has a forum-like interface as well? Somethign that functions similar to yahoo groups if your familiar with that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] replacing \n with br

2002-09-06 Thread Brian V Bonini
I'm sorry, I missed the first part of this thread so am only going by its subject line mostly... But, I assume you are all aware of the nl2br function and there's a special reason it does not apply here but I thought I'd mention it any way... Just in case... :) -B -- PHP General Mailing List

RE: [PHP] help with making an xslt class

2002-09-11 Thread Brian V Bonini
Isn't this what the salbatron library is for? -Original Message- From: Geoff [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 2:52 PM To: php list Subject: [PHP] help with making an xslt class I am trying to make a class to process xslt transformations. Here is

[PHP] xml declaration

2002-09-13 Thread Brian V Bonini
Is this the appropriate way to handle this? ?php echo '?xml version=1.0 encoding=UTF-8?' . \n; ? What's everyone else do? I'm not missing something here am I?? :) -B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] xml declaration

2002-09-13 Thread Brian V Bonini
When I do that PHP complains about the ?xml .. -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Friday, September 13, 2002 9:28 AM To: 'Brian V Bonini'; 'PHP Lists' Subject: RE: [PHP] xml declaration [snip] Is this the appropriate way to handle

[PHP] fopen // eregi question

2001-09-26 Thread Brian V Bonini
From the PHP manual: http://www.php.net/manual/en/features.remote-files.php Example 20-1. Getting the title of a remote page ?php $file = fopen (http://www.php.net/;, r); if (!$file) { echo pUnable to open remote file.\n; exit; } while (!feof ($file)) { $line = fgets ($file, 1024);

[PHP] Array Help

2001-11-27 Thread Brian V Bonini
How can I access the inner most info in this array? Ie, Item and url $var = array( category = array( subcategory = array( Item = url ), ) ); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] declaring variables mandatory???

2001-11-30 Thread Brian V Bonini
change error level reporting error_reporting() -Brian -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: Friday, November 30, 2001 2:38 PM To: [EMAIL PROTECTED] Subject: [PHP] declaring variables mandatory??? Hello, I have a problem with my php installation. PHP

[PHP] Stuck on array, need a little help.

2001-11-30 Thread Brian V Bonini
I'm stuck. $key returns Array how can I get at each level of this array? if ($cat == 'bikes' $sub_cat != 'Road') { while (list($val, $key)=each($bikes[$sub_cat])) { echo TDIMG SRC=\images/spacer.gif\ WIDTH=\25\ HEIGHT=\1\ ALT=\\ BORDER=\0\/TD\n; echo TDA HREF=\$key\

RE: [PHP] Stuck on array, need a little help.

2001-12-04 Thread Brian V Bonini
I still can't get this to do what I want: $bikes = array( Road = array( Trek = array( Trek 5200 = road.php?brand=t5200 ), LeMond = array( Zurich = road.php?brand=zurich, Chambery =

[PHP] RegEx gurus help...

2001-12-07 Thread Brian V Bonini
I need to replace all relative links in an html doc with absolute links on the fly weather it be an image link, img src='/_imgs/imgs_nav/transPix.gif' width='10' height='13' img src='../_imgs/imgs_nav/transPix.gif' width='10' height='13' a URL, a href=/dealers/index.asp a link to an external JS

[PHP] RegEx gurus help...

2001-12-10 Thread Brian V Bonini
I need to replace all relative links in an html doc with absolute links on the fly weather it be an image link, img src='/_imgs/imgs_nav/transPix.gif' width='10' height='13' img src='../_imgs/imgs_nav/transPix.gif' width='10' height='13' a URL, a href=/dealers/index.asp a link to an external JS

RE: [PHP] RegEx gurus help...

2001-12-10 Thread Brian V Bonini
=)(|\')(?!href://)(.*?)(\2)~',$the_htm l,$matches); var_dump($matches); $the_html = preg_replace('~(src=|href=)(|\')(?!href://)(.*?)(\2)~','\1\2'.$AB SOLUTE_HREF.'\3\4',$the_html); echo htmlspecialchars($the_html); ? - Original Message - From: Brian V Bonini [EMAIL PROTECTED] To: PHP Lists

[PHP] Date

2001-12-11 Thread Brian V Bonini
Why is this: ?php $modified = stat(header.php); echo Last Modified: .date(F j, Y, g:i a,$modified[9]); ? returning this: Last Modified: December 31, 1969, 7:00 pm from this: -rw-r--r-- 1 gfxdesi vuser 1196 Dec 11 09:22 header.php Anyone? -- PHP General Mailing List

[PHP] Date

2001-12-11 Thread Brian V Bonini
Why is this: ?php $modified = stat(header.php); echo Last Modified: .date(F j, Y, g:i a,$modified[9]); ? returning this: Last Modified: December 31, 1969, 7:00 pm from this: -rw-r--r-- 1 gfxdesi vuser 1196 Dec 11 09:22 header.php Anyone? -- PHP General Mailing List

RE: [PHP] Tracking shipments UPS, FEDEX, etc...

2001-09-06 Thread Brian V Bonini
Doesn't UPS provide tools to do this? Not necessarily using PHP but I thought -Original Message- From: Dan Harrington [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 06, 2001 3:45 PM To: Joe Sheble (Wizaerd); General PHP List Subject: RE: [PHP] Tracking shipments UPS,

[PHP] XML - HTML via PHP

2001-02-05 Thread Brian V Bonini
Has anyone successfully used PHP to transform XML to HTML on the fly? Can you point me to some info/tutorials. -Brian *** -- 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

RE: [PHP] include files

2001-02-05 Thread Brian V Bonini
DOCUMENT_ROOT ??? http://php.net/manual/en/language.variables.predefined.php -Original Message- From: David VanHorn [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 12:16 PM To: [EMAIL PROTECTED] Subject: [PHP] include files I've got kind of a deep page structure,

RE: [PHP] include files

2001-02-05 Thread Brian V Bonini
? include ($DOCUMENT_ROOT . "/footer-nomenu.inc"); ? -Original Message- From: David VanHorn [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 1:04 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] include files At 12:50 PM 2/5/01 -0500, Bria

RE: [PHP] XML Parsing with PHP

2001-02-05 Thread Brian V Bonini
You know, some of these guys are members of this list. I don't think they make any claims about being the definitive end all be all source for all things PHP but rather are a bunch of folks sharing their PHP experiences/knowledge. I'd say that's pretty generous of them. -Brian

RE: [PHP] Getting image size from gif/jpeg

2001-02-05 Thread Brian V Bonini
getimagesize (string filename [, array imageinfo]) http://php.net/manual/en/function.getimagesize.php -Original Message- From: r a n d y [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 2:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Getting image size from gif/jpeg Is

RE: [PHP] Cookies

2001-02-09 Thread Brian V Bonini
lets see some code.. -Original Message- From: Matthew Bean [mailto:[EMAIL PROTECTED]] Sent: Friday, February 09, 2001 5:01 AM To: [EMAIL PROTECTED] Subject: [PHP] Cookies I am having major problems with cookies, it's been stressing me out for over 9 hours. I have a script

[PHP] Newbie dummy questions..... error messages

2001-02-12 Thread Brian V Bonini
I get the following on one of my pages, Warning: Use of undefined constant month - assumed 'month' in /usr/local/etc/httpd/vhosts/eastcoastbicycles.com/htdocs/index.php on line 121 Warning: Use of undefined constant mday - assumed 'mday' in

RE: [PHP] imagecolorallocate / imagesetpixel / palette size?

2001-02-12 Thread Brian V Bonini
That's because it was originally designed for gif's. Gif's only have a 256 color palette.. -Original Message- From: Dan Harrington [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 12:30 PM To: Matt McClanahan Cc: [EMAIL PROTECTED] Subject: RE: [PHP] imagecolorallocate

RE: [PHP] How to check if vaiable is defined or not?

2001-02-12 Thread Brian V Bonini
if (isset($var)) -Original Message- From: SED [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 6:22 PM To: [EMAIL PROTECTED] Subject: [PHP] How to check if vaiable is defined or not? Hi, I'm sending a form, with check-boxes, via post to PHP-script and if the boxes

[PHP] serialize/deserialize data

2001-02-12 Thread Brian V Bonini
What exactly does serialize/deserialize data mean? -- 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, e-mail: [EMAIL PROTECTED]

RE: [PHP] ereg_replace

2001-02-14 Thread Brian V Bonini
That's exactly what I want to do Thanks! -Original Message- From: Robin Vickery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 5:05 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] ereg_replace ""VB" == "Brian V Bonini" [EMAIL PROTECTED

RE: [PHP] Help Work with files

2001-02-14 Thread Brian V Bonini
exec fclose feof fflush fgetc fgetcsv fgets fgetss file file_exists fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype -Original Message- From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:14 AM To: PHP

RE: [PHP] PHP scripts in HTML

2001-02-14 Thread Brian V Bonini
Don, Why don't you just rename your .html file to .php and use 'include' to call an external php script. -brian * -Original Message- From: Scott Mebberson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 4:47 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP

RE: [PHP] ereg_replace

2001-02-15 Thread Brian V Bonini
Ah right, strings not words, I feel like a dummy now... ;-) -Original Message- From: John Vanderbeck [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 10:57 AM To: [EMAIL PROTECTED]; Robin Vickery; [EMAIL PROTECTED] Subject: Re: [PHP] ereg_replace why does this

RE: [PHP] PHP Editors

2001-02-16 Thread Brian V Bonini
Are you using 4.5.2? It runs much smoother then 4.5.1a. Haven't had a single crash since upgrading, even with Photoshop, Illustrator, HS all runnning at the same time. The FTP integration works much better too, no hang time while opening remote files. -Brian -Original Message- From:

RE: [PHP] Sending multiple files through ftp in telnet.... PHP files that is

2001-02-16 Thread Brian V Bonini
Ummm, Turn off interactive prompting, make sure you in ASCII mode then, ftpmput *.php -Brian ** -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 11:58 AM To: PHP User Group Subject: [PHP] Sending multiple files through ftp

RE: [PHP] Does anyone have experience to customize the phorum

2001-02-16 Thread Brian V Bonini
What do you want to do to it? -Original Message- From: Fang Li [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 12:26 PM To: [EMAIL PROTECTED] Subject: [PHP] Does anyone have experience to customize the phorum Hello All, Would anyone give me any advice to customize

[PHP] PHP Book Recommendations

2001-02-16 Thread Brian V Bonini
Can I get some recommendations on some good PHP books. Something broad but with good novice concepts -- 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, e-mail:

RE: [PHP] Re: Creative solution with XML,PHP,MYSQL

2001-02-17 Thread Brian V Bonini
Maybe Flash is an option? -Original Message- From: Peter Skipworth [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 17, 2001 9:29 AM To: Siim Einfeldt aka Itpunk Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL

RE: [PHP] Fax manipulation?

2001-02-19 Thread Brian V Bonini
There are actually many ways to send an email to a fax gateway. So, you could generate an email, send it to a FAX gateway, ... and presto! -Brian * -Original Message- From: Joshua Long [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 9:26 AM To: [EMAIL

RE: [PHP] redirect if sql = nothing

2001-02-20 Thread Brian V Bonini
$sql = "select * from table where bla bla bla"; if(!isset($sql)) { do this; } else { do this; } I think ? -Brian ** -Original Message- From: Matt Davis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 20, 2001 11:33 AM To: Php Mailing List

RE: [PHP] file grabber help

2001-02-20 Thread Brian V Bonini
Is this what you mean? $fp = fopen("http://www.domain.com/file.xxx", "a+"); -Brian -Original Message- From: Brian C. Doyle [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 20, 2001 11:27 AM To: [EMAIL PROTECTED] Subject: [PHP] file grabber help Hello all, I need to write a

RE: [PHP] Terrible Hosting Experience

2001-02-20 Thread Brian V Bonini
We host and provide servers to a good number of clients that have come over from Alabanza. All of them complaining of similar experiences I think that company has been plagued for a long time -Brian *** -Original Message- From: richard merit [mailto:[EMAIL

RE: [PHP] Terrible Hosting Experience

2001-02-21 Thread Brian V Bonini
Hmmm, well I guess everyone has different experiences. We've been with them (Vservers) for 5 years now and never had a single problem with downtime... -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 11:49 AM To: [EMAIL PROTECTED] Subject:

  1   2   3   4   >