Re: [PHP] Hello, I'm new...

2005-05-13 Thread Brian V Bonini
On Fri, 2005-05-13 at 07:10, [EMAIL PROTECTED] wrote: > Hi all, > > I have only recently started to look at php, I hope this list dose not > mind 'noob' questions. > > I have got 'Programming PHP' by Rasmus Lerdorf, Kevin Tatroe and 'Web > Database Applications with PHP and MySQL' Hugh E. Willia

[PHP] XML/XSL parsing

2005-05-12 Thread Brian V Bonini (gfx-Design)
sing php? -- Brian V Bonini [EMAIL PROTECTED] GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC _ gfx-Design http://www.gfx-design.com Key Info: http://www.gfx-design.com/keys [EMAIL PROTECTED] Pho

[PHP] libxslt and xml prolouge

2005-05-12 Thread Brian V Bonini
Using libxslt and DOM to load up an xml file and display within another file via 'include'.. Something is adding in '' is there a switch or something that turns this off? -- s/:-[(/]/:-)/g BrianGnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu ==

Re: [PHP] how to read a specific "cell"

2005-04-26 Thread Brian V Bonini
On Tue, 2005-04-26 at 17:05, Sebastien Pahud wrote: > Hello, > > I cannot figure out how to read a specific "cell" in a result i got from > a SQL request. > > I have a SQL request on a database: > SELECT nameAttribute, fr, de, en > FROM traduction > WHERE nameTable = 'whatever' > AND idTable = 1

Re: [PHP] image maps in PHP

2005-04-22 Thread Brian V Bonini
On Fri, 2005-04-22 at 09:14, Dasmeet Singh wrote: > Hi! > I need to create an image map on a country map, where people can click > on any state and get some info related to it.. In such case the regular > polygon/circle/rectengle image map wont do bcoz of shapes of state.. Poly will define any

Re: [PHP] header("Location: page.php target=_parent")?????

2005-03-25 Thread Brian V Bonini
On Fri, 2005-03-25 at 08:57, Jacques wrote: > How should I formulate the header function to replace the current frameset > page with a new one? I have tried a combination of header("Location: > page.php target=_parent"); but I get an error message saying the page does > not exist. > > Also, ca

Re: [PHP] Like ternary but without the else.

2005-02-25 Thread Brian V Bonini
On Fri, 2005-02-25 at 13:36, Chris W. Parker wrote: > How can I turn the following into something that resembles the ternary > operator? > > > if($something) > { > $this = $that; > } > > ?> $this = (isset($something)) ? $something : $that; The expression (expr1) ? (expr2) : (expr3)

[PHP] Where's xml in PHP5?

2005-02-05 Thread Brian V Bonini
Just compiled PHP5 usign --enable-xml (though I see it is supposed to be enabled by defaut however I'm getting 'call to undefined function' errors now. Fatal error: Call to undefined function xml_parser_create() in bla/bla/bla on line xxx phpinfo(): http://gfx-design.com/test/ Apache is 2.x --

[PHP] Using a recursive ArrayIterator

2005-02-03 Thread V Kam
Hello all I need some assistance converting code to use the RecursiveIterator in PHP 5 SPL. I have the following function which scans through a nested array set and returns the path to all matches. $value) { $path .= "$key/"; // unset the p

Re: [PHP] PHP 5 Compile error

2005-01-31 Thread Brian V Bonini
On Mon, 2005-01-31 at 12:56, Richard Lynch wrote: > Brian V Bonini wrote: > > %cat config.txt | tr -s "\n" " " > > --enable-versioning --enable-memory-limit --with-layout=GNU > > --with-zlib-dir=/usr --with-imap=/usr/local --disable-all > > --with-r

[PHP] PHP 5 Compile error

2005-01-31 Thread Brian V Bonini
%cat config.txt | tr -s "\n" " " --enable-versioning --enable-memory-limit --with-layout=GNU --with-zlib-dir=/usr --with-imap=/usr/local --disable-all --with-regex=php --disable-cli --enable-ctype --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/local --with-jpeg-dir=/usr/local --with-png-

RE: [PHP] Zip Codes

2004-11-04 Thread Brian V Bonini
On Thu, 2004-11-04 at 12:47, Vail, Warren wrote: > If you can figure out how to make sense of this, you might be able to find > the point that a system is connected to the internet, by tracing back to a > visitors current IP address. Which may get you close but either way would probably be more i

Re: [PHP] Uploading Images

2004-11-01 Thread Brian V Bonini
On Mon, 2004-11-01 at 10:44, bb9876 wrote: > I want to allow people to upload images but I want to be able to put > limitations on it, such as allow only jpg and gif extensions and make sure > the image is no larger than 60x60. Is there any way to do this? > http://us2.php.net/manual/en/ini.sect.

Re: [PHP] Php files with .html extension?

2004-10-25 Thread Brian V Bonini
On Mon, 2004-10-25 at 09:37, Phpu wrote: > Hi, > > How can i do a php script with a html extensionsuch as > http://www.blinds-wise.com/shop/p/blind/bid/1/venetian_blinds.html > AddType application/x-httpd-php .php .php3 .html -- s/:-[(/]/:-)/g BrianGnuPG -> KeyID: 0x04A4F0DC |

Re: [PHP] Multiple permisions, different sessions.

2004-10-22 Thread Brian V Bonini
On Fri, 2004-10-22 at 09:05, Pablo D Marotta wrote: > Hi, I´m developing an intranet on Apache-PHP-Mssql. > I need to know if there´s any way of managing users to have access to specific > areas inside my site, and at the same time, managing other users, giving them > permision to acces other areas

Re: [PHP] ImageMagik

2004-10-21 Thread Brian V Bonini
On Thu, 2004-10-21 at 14:07, Mag wrote: > Hi, > I have a requirment to dynamically brighten, darken or > add/remove contrast from a thumbnail image, since I > cannot do this in GD I was thinking of doing this in > ImageMagik, but searching google I cannot find many > tutorials and even visiting the

Re: [PHP] generating a mysql script

2004-09-20 Thread Brian V Bonini
On Mon, 2004-09-20 at 19:37, Stut wrote: > On Mon, 20 Sep 2004 16:20:21 -0700, AMC <[EMAIL PROTECTED]> wrote: > > Is there a tool that will generate a script that can be run to rebuild a > > mysql database? I need to move my database to a different server No need to use PHP which also makes this O

Re: [PHP] thumbnail of webpage

2004-09-18 Thread Brian V Bonini
On Fri, 2004-09-17 at 22:22, raditha dissanayake wrote: > Michael Mao wrote: > > > Is there a way to capture a snapshot of a html page and save it as a > > jpg using php? > > > This is something that's very very hard to do with PHP but can be easily > done with Java. Have not tried this but ho

[PHP] Re: php coding software

2004-08-02 Thread Oliver John V. Tibi
in addition to brad's post, does anyone know of coding software that supports team development environments and/or a versioning server for windows? TIA! -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). "Live free() or die()." -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Is there a brian I can pick?

2004-07-26 Thread Oliver John V. Tibi
Brian, pardon the typo, but maybe he's looking for a brain. *chuckles*. :) -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). "Live free() or die()." "Brian Dunning" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm a Brian, but you can't pick me unless you're a really

Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Oliver John V. Tibi
Wow! And come to think of it, how did you do it? Or should I stick with Apache1 until there is a viable solution to this upgrade dilemma? -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). "Live free() or die()." "Lester Caine" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED

[PHP] Apache 2 and PHP for Production?

2004-07-18 Thread Oliver John V. Tibi
Hi! I was wondering if there are already results from any benchmark that says Apache 2 and PHP are ready for production environments. Thanks and Cheers! -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). "Live free() or die()." -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Re: CSV explode problem

2004-06-23 Thread V Patel
Thanks Justin. Works like a charm vp On Wed, 23 Jun 2004 08:48:57 -0700, Justin Patrin <[EMAIL PROTECTED]> wrote: > > > V Patel wrote: > > > I have a csv string. But the string also contains other strings with commas. > > > > Explode is not working w

Re: [PHP] CSV explode problem

2004-06-23 Thread V Patel
Justing, I will be waiting for your response Thanks, vp On Wed, 23 Jun 2004 08:19:55 -0700, Justin Patrin <[EMAIL PROTECTED]> wrote: > > V Patel wrote: > > > Input is a large string. We have no control over the file, so its not > > coming from the file. > > &

Re: [PHP] CSV explode problem

2004-06-23 Thread V Patel
Input is a large string. We have no control over the file, so its not coming from the file. Any help with parsing a string to replace those comma in string? On Wed, 23 Jun 2004 10:12:16 -0500, Matt Matijevich <[EMAIL PROTECTED]> wrote: > > > [snip] > I have a csv string. But the string also con

[PHP] CSV explode problem

2004-06-23 Thread V Patel
I have a csv string. But the string also contains other strings with commas. Explode is not working with this kind of string. For example, 1,2,3,"this string gets parsed , at the comma" Result of explode(",",string) is 1 2 3 this string gets parsed at the comma But what I want is 1 2 3 this str

Re: [PHP] CVS web front end

2004-05-29 Thread Brian V Bonini
On Sat, 2004-05-29 at 15:01, Johan Holst Nielsen wrote: > Lists wrote: > > > <> > > > > you're so right. I meant to send the link for horde > > > > http://www.horde.org/chora/ > > Are you able to check out files? check in etc.? > As far as I can see - it is just a web cvs viewer? > > The reque

RE: [PHP] CVS web front end

2004-05-29 Thread Brian V Bonini
On Sat, 2004-05-29 at 13:49, lists wrote: > tortoise is nice > > http://www.tortoisecvs.org/ So is Cervisia but not sure what that has to do with the original question... ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] CVS web front end

2004-05-29 Thread Brian V Bonini
n e 1 know of a web based front end for CVS? Not just a file/project browser but a fully functioning web based GUI. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] unexpected $ in ... WTF?

2004-04-14 Thread Brian V Bonini
On Wed, 2004-04-14 at 16:47, Curt Zirzow wrote: > * Thus wrote Brian V Bonini ([EMAIL PROTECTED]): > > Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150 > > You're missing a } somewhere. > > if (1 ) { > > ?> Yup, I sure was...

[PHP] unexpected $ in ... WTF?

2004-04-14 Thread Brian V Bonini
Parse error: parse error, unexpected $ in /foo/bar/foo.php4 on line 150 146: 147: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Logo with a dog?

2004-04-01 Thread Brian V Bonini
On Thu, 2004-04-01 at 18:26, Jason S Motes wrote: > The picture that comes up on my machine is a guy's head with two pencils > stuck in his nose > > Matt Matijevich wrote: > > > > Has anybody had the PHP logo in phpinfo() appear with a picture of a > > dog? > > > > > > April Fools easter egg

Re: [PHP] What is the best way to backup a MySQL Database

2004-03-22 Thread Brian V Bonini
On Mon, 2004-03-22 at 14:35, Elliot J. Balanza wrote: > Hi > > I've been trying to use MySQL dump with a php query (since we dont have like > a mysql_dump function) but it's not working. > > Can anyone please point me to a page so i can read a method to backup MySQL > databases to an .sql file us

Re: [PHP] upload_max_filesize problem

2004-03-18 Thread Brian V Bonini
On Thu, 2004-03-18 at 14:06, Aaron Doogs wrote: > I have changed upload_max_filesize in my php.ini, but the default of 2M is > still being recognized. I restarted the apache server, ran a script to > output phpinfo() and it still says 2M for upload_max_filesize. Yet when I > open php.ini is has 8

Re: [PHP] Help with adding an image to a table row

2004-03-17 Thread Brian V Bonini
On Wed, 2004-03-17 at 12:23, Mark wrote: > I have the following snippet of code that I cannot seem to find a way to > add an image to a . The line in question is the first one under the > else statement: > > print ""; > > This line, I would like to show a image called "backgrnd.png" instead of

Re: [PHP] selecting text from a database and displaying it in a html form

2004-03-13 Thread Brian V Bonini
osed to be a one line quiz site where the user is presented with a > question and 4 possible answers. First thing is, where is your form? Unless I'm going blind I do not see any form elements in this snippet.. Or is it just outside of what you posted? -- Brian V Bonini <[EMAIL PROTE

Re: [PHP] multipart/form-data and Array POST

2004-03-13 Thread Brian V Bonini
On Sat, 2004-03-13 at 10:40, Andy Lewis wrote: > > enctype="multipart/form-data"> > > > echo " base64_encode(serialize($my_array)) . "\">"; > ?> > > What value are you trying to get from or place in "value" for t

Re: [PHP] OT Kinda - Top Posting

2004-03-11 Thread Brian V Bonini
the habit right now. I know that some of the regulars have quit > answering questions because they are annoyed at the basic lack of list > skills. There are several web sites that give good guidelines for list > posting, please search google for them and have a look. > [/rant] YEAH! Wh

Re: [PHP] Changing Default Charset

2004-03-09 Thread Brian V Bonini
>header('Content-type: text/html; charset=UTF-8'); Are you sure? I've not actually tried it but php.ini also has a default Content-type which you CAN override using header(). -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Changing Default Charset

2004-03-09 Thread Brian V Bonini
On Mon, 2004-03-08 at 21:34, Span wrote: > I think it can't work if the server has set the default_charset in the > php.ini . > > eg: > if in php.ini has: > default_charset="gb_2312" > then only changing the charset in html page didn't work. > >>header('Content-type: text/html; charset=UTF-8');

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Brian V Bonini
On Mon, 2004-03-08 at 12:29, Thiago Silva wrote: > What about Quanta? LOVE Quanta, been using it for a couple years now -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Changing Default Charset

2004-03-06 Thread Brian V Bonini
rectives in the directory of my > proggie to force php to use charset( UTF-8 ) instead of the regular charset > defined in php.ini header('Content-type: text/html; charset=UTF-8'); -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] How to write this correctly?

2004-03-06 Thread Brian V Bonini
On Sat, 2004-03-06 at 16:17, joel boonstra wrote: > Hrm... why the switch() statement? Ir seemed close to what he already had going. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to write this correctly?

2004-03-06 Thread Brian V Bonini
output('people'); break; case "industry": output('industry'); break; case "art" output('art') break; case "animals": output('animal'); break; case "contact": output('contact'); break; } -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Let's start a php-advanced list!

2004-03-06 Thread Brian V Bonini
ntermediate, or beginner. SO what's your real point? Are you annoyed by questions that you think are beneath you or what? -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie

2004-03-06 Thread Brian V Bonini
On Fri, 2004-03-05 at 06:55, Amimu Austin wrote: > Hi > > I am a newbie in PHP and MySQL. I have developed a web databse using PHP and > MySQL. However , I need more info on these product. Any sites you can > recommend. php.net mysql.com -- Brian V Bonini <[EMAIL PROTECTED]

Re: [PHP] Re: FIle Upload problems

2004-03-06 Thread Brian V Bonini
> Do yourself a favour, study the example in the manual, get it working, > understand how it works, Lighten up Francis, it was 10pm at night after a 14 hour day and 62 hour week. I appreciate the help but can do without the cynicism. -- Brian V Bonini <[EMAIL PROTECTED]> --

Re: [PHP] Re: FIle Upload problems

2004-03-05 Thread Brian V Bonini
ut Am I supposed have to translate the local path first of something? -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] FIle Upload problems

2004-03-05 Thread Brian V Bonini
pload.\n"; break; default: //a default error, just in case! :) echo "There was a problem with your upload.\n"; break; } } } No matter what I try this keeps falling through to the default switch. -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Parse error, unexpected T_STRING!!

2004-03-05 Thread Brian V Bonini
w line 73: > > > > > Transitional//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > > http://www.w3.org/1999/xhtml";> > > > > I have PHP-4.2.2, Apache 2.0 on RedHat Linux 9.0 > > > > Any idea ho

Re: [PHP] Shopping Carts

2004-03-05 Thread Brian V Bonini
he overall design (lack > of) of the code Forget this. It's a total piece of S%&T! -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Call to undefined function: vadmin_rc4_crypt()

2004-03-04 Thread Brian V Bonini
On Wed, 2004-03-03 at 23:55, [EMAIL PROTECTED] wrote: > Hi, > > Squirrelmail 1.4.2 serversidefilters plugin version 1.32, apache 1.3.26 and > php 4.3.4, qmail/vpopmail/courier-imap, maildrop on debian stable. > > When the serversidefilters plugin goes to en/decrypt domain passwords using > mc

Re: [PHP] HELP! printing Arrays

2004-03-03 Thread Brian V Bonini
6] ? > // Hope you understood my problem. > for($i=0; $i < 6; $i++) { echo "$file[$i]\n"; } -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] "calling" one php script from another

2004-03-03 Thread Brian V Bonini
On Wed, 2004-03-03 at 15:21, Lucas Gonze wrote: > On Wed, 3 Mar 2004, Brian V Bonini wrote: > > > On Wed, 2004-03-03 at 14:49, Jim & Sara Feldman wrote: > > > Does anyone know of a way to jump from one php script to > > > another without going through the

Re: [PHP] "calling" one php script from another

2004-03-03 Thread Brian V Bonini
On Wed, 2004-03-03 at 14:49, Jim & Sara Feldman wrote: > Does anyone know of a way to jump from one php script to > another without going through the client browser? The closest I have > been able to come to doing that is to use nested frames where the > parent frame can call multiple php scr

Re: [PHP] POST form header

2004-03-03 Thread Brian V Bonini
? If it's possible to extract this information via a PHP function > then I'll be happy to rtfm if someone can tell me the function name I > need. Doesn't $GLOBALS['HTTP_RAW_POST_DATA'] have this info? -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General M

RE: [PHP] need form array help

2004-03-01 Thread Brian V Bonini
"Action Selected" and then of course WHICH action. I can get at the data but if you consider something like this: while(list($k,$v) = each($rider_id)) { echo "$k => $v\n"; while(list($key, $value) = each($edit_rider_action )) { echo "$key => $value\n&

RE: [PHP] need form array help

2004-03-01 Thread Brian V Bonini
ons based on it's state. If I do it as above then edit_rider_action is applied to all rows as in: while(list($k,$v) = each($rider_id)) { echo "$k => $v\n"; echo $edit_rider_action . "\n"; } And of course it' entirely possible I'm just being brai

[PHP] need form array help

2004-03-01 Thread Brian V Bonini
"Edit: Delete: " . "\n"); print('' . "\n"); I'm trying to gather the data from this form and test the condition of the radio button 'edit_rider_action'. I can traverse the form data array via $_POST and get the key/value pairs but am not

[PHP] Stumped on a totally wierd problem

2004-02-28 Thread Brian V Bonini
nevermind I got it. << snip >> I have something really wierd going on with a form that let's a user add/edit/delete data from a mysql database. It's like I can not edit any data that was not recently added or if it was added by another user. If I log into mysql directly under the same user I'm

[PHP] Stumped on a totally wierd problem

2004-02-28 Thread Brian V Bonini
I have something really wierd going on with a form that let's a user add/edit/delete data from a mysql database. It's like I can not edit any data that was not recently added or if it was added by another user. If I log into mysql directly under the same user I'm using form the php script and run

Re: [PHP] Text cleaning?

2004-02-28 Thread Brian V Bonini
On Sat, 2004-02-28 at 00:09, Karl Timmermann wrote: > Does anyone have some PHP code to remove incorrect carriage returns? > Depends on your definition of "incorrect". -- BrianGnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server:

Re: [PHP] imagecreate undefined...?

2004-02-13 Thread Brian V Bonini
On Fri, 2004-02-13 at 11:00, Eric wrote: > However, when I run it, I get an error: > > Fatal error: Call to undefined function: imagecreate() in [file name] on line 3 Sound like your version was complied without GD support. http://www.php.net/manual/en/ref.image.php -- BrianGnuPG -> Key

Re: [PHP] Running Apache in one machine and php in another

2004-02-06 Thread Brian V Bonini
On Fri, 2004-02-06 at 13:57, Mrs. Geeta Thanu wrote: > Hi all, > > I have configured Apache webserver executing PHP scripts on sun machine > and everything is working fine. > > Now I want the web server to pass on the PHP executions to > another machine and once done should get the result and d

Re: [PHP] Re: array block

2004-01-31 Thread Brian V Bonini
On Fri, 2004-01-30 at 22:48, Shawn McKenzie wrote: > You would need to give an example of what you mean by change dynamically, > because if you can't predict the key indexes then how can you know which > ones to use in your anchor tag? say this: $menu = array ( 'link1' => array(

Re: [PHP] Re: array block

2004-01-30 Thread Brian V Bonini
On Fri, 2004-01-30 at 18:47, Shawn McKenzie wrote: > Sorry, $k should be $text. > > foreach ($menu as $text => $array) { > $url = $array['url']; > $title = $array['title']; > > echo "$text\n"; > } > Gotcha, thanks! That'll work for this but for arguments sake what if the inner array were to

[PHP] array block

2004-01-30 Thread Brian V Bonini
nk2' => array( 'url' => 'foo', 'title' => 'bar' ) ); foreach($menu as $k => $v) { etc.. need to end up with link(x) Can't seem to put this together in my head. Long day I guess. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Googlebot

2004-01-28 Thread Brian V Bonini
On Wed, 2004-01-28 at 08:34, Jon Bennett wrote: > > is that it tends to avoid or downgrade URI's with parameters tacked > > onto > > the end. > > Does that go for internal links in your site then ??? > > news.php?start=10 etc ??? Could be tricky writing dyamic pages then. > mod_rewrite is your

Re: [PHP] order by

2004-01-27 Thread Brian V Bonini
On Tue, 2004-01-27 at 07:34, christian tischler wrote: > Is there a way wuth php to create a list ordered by more than one column > like in excel or access. > > something like "ORDER BY points AND score" ... ORDER BY column1, column2, etc...; -- BrianGnuPG -> KeyID: 0x04A4F0DC | URL: ww

Re: [PHP] Writing CRON jobs!

2004-01-27 Thread Brian V Bonini
On Tue, 2004-01-27 at 08:08, Hamid Hossain wrote: > Is there any good reference on how to use CRON (I mean on the net)? > The best source is the man page crontab(5) -- BrianGnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: p

Re: [PHP] [Fwd: Delivery Report (failure) for php-general@lists.php.net]

2004-01-26 Thread Brian V Bonini
On Mon, 2004-01-26 at 18:35, John Nichel wrote: > Anybody else getting a ton of these? Everytime I send mail to the list. > Yup. For a long time now... > Original Message > Subject: Delivery Report (failure) for [EMAIL PROTECTED] > Date: Mon, 26 Jan 2004 20:06:54 + > From:

Re: [PHP] question PHP - HTML

2004-01-26 Thread Brian V Bonini
On Mon, 2004-01-26 at 08:13, Viviane Hu wrote: > Hi, > > Je try to use PHP. > Je wrote to this code > echo "hello \n"; > echo "viviane \n"; > ?> > I expect a print out like : >hello >viviane > > but the print out (IE) is "hello viviane" > \n"; echo "viviane"; ?>

Re: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread Brian V Bonini
On Fri, 2004-01-23 at 16:00, Ryan A wrote: > Hey all, > heres something really interesting about that lovely company called > microsoft...(heard of them?) > Remarkable isn't it, I saw that article a few days ago. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] thumbnail

2004-01-21 Thread Brian V Bonini
On Wed, 2004-01-21 at 08:16, Ed Curtis wrote: > > No need to copy+mogrify; just use > > > > convert [options] /path/to/old /path/to/new > > > > instead :-) > > I wasn't aware of that command. This list is great!! Just for clarification, those are not PHP functions, they are programs that are a

Re: [PHP] web page thumbs

2004-01-21 Thread Brian V Bonini
On Wed, 2004-01-21 at 10:19, Alex Hogan wrote: > Is there a way to create thumbnails of web pages? > > > > I have a page where the user will select a template from a list and I would > like to be able to give them thumbs to associate with the template types. Are you saying you want to create

Re: [PHP] connecting PHP to MS Access

2004-01-20 Thread Brian V Bonini
On Mon, 2004-01-19 at 22:24, Tim Thorburn wrote: > Now, the question is - how to connect PHP to MS Access? I've done some > searching on Google - most pages say "wow, good luck with that" or > something similar - any thoughts? I'm sure someone has had to do this > before - am I on the right t

Re: [PHP] PHP & QuickBooks Integration

2004-01-20 Thread Brian V Bonini
On Tue, 2004-01-20 at 04:30, Galen wrote: > I am looking into the possibilities of exporting data from QuickBooks > into PHP for use with a SQL database. Getting data back into QuickBooks > would be even better, some kind of integration. Anybody ever done this? > Anyone even got any experience w

Re: [PHP] dreaded sessions

2004-01-19 Thread Brian V Bonini
On Mon, 2004-01-19 at 17:38, Greg Donald wrote: > I'd say it has something to do with you transactions. Can you duplicate > the errors using the same code on a system where the Innodb transactions > do not require committing? > > Here is my own drop-in PHP session handling code if you care to co

Re: [PHP] Using PHP with Style Sheets

2004-01-19 Thread Brian V Bonini
On Mon, 2004-01-19 at 02:18, Freedomware wrote: > I just learned that you can even use PHP on style sheets. Can anyone > here tell me how to set it up? > > I found a page at http://www.webdeveloper.co.nz/forum/topic/50 that > apparently cites two different methods. The first is to put a php > h

Re: [PHP] recompiling php

2004-01-18 Thread Brian V Bonini
On Sun, 2004-01-18 at 15:08, John wrote: > ive a problem with php and mysql, and was told to re-compile php. is this > easy?? i got a box with rhl 9 pre-loaded, with php and mysql installed, but > no apache. so i just downloaded the apache binary. php was installed with > rpm i think. to recompile,

Re: [PHP] Image Header Issues

2004-01-17 Thread Brian V Bonini
On Fri, 2004-01-16 at 20:48, Bob Eldred wrote: > Grr.that's *not* the problem. IE saves JPGs just fine, so long as they > are not passed through this particular script. Which is why I think it has > something to do with the headers. > > Bob > > - Original Message - > From: "Arthur

RE: [PHP] dynamicly generating a transparent truecolor image

2004-01-17 Thread Brian V Bonini
On Sat, 2004-01-17 at 08:12, Mike Brum wrote: > PNG's support transparency as well as GIFs. > Just keep in mind that IE does not support transparency in png's. -- BrianGnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.m

Re: [PHP] odd and even numbers

2004-01-16 Thread Brian V Bonini
On Fri, 2004-01-16 at 15:17, Jake McHenry wrote: > I have a random number being generated from 1 to 501, is there an easy way for me to > tell if the result is an odd or even number? (1 & number) ? odd : even; E.g. '; while($i < 10) { (1 & $i) ? print($i . ' is odd') : print($i . ' is

Re: [PHP] Variables

2004-01-15 Thread Brian V Bonini
On Thu, 2004-01-15 at 16:47, Alex Hogan wrote: > How do you insert a php variable into a javascript function? > For instance; > function redirect() { location = ; } -- BrianGnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server:

Re: [PHP] Passthru with Grep and Awk?

2004-01-15 Thread Brian V Bonini
On Thu, 2004-01-15 at 17:06, Carlton L. Whitmore wrote: > I'm having problems getting the following passthru statement to work. It > works fine with the just the grep command. > Help > > echo "\n"; > passthru('/usr/bin/grep " c=2048" " c=32" " c=2" /var/log/messages | > /usr/bin/awk "{prin

Re: [PHP] PHP Calendar.

2004-01-15 Thread Brian V Bonini
On Thu, 2004-01-15 at 09:27, Carles Xavier Munyoz Baldó wrote: > Hi, > Is there any PHP function or set of PHP files that allows me to print the > current month in calendar format ? > I've seen many classes floating around that do this. Google should turn up something. -- BrianGnuPG ->

Re: [PHP] Caps or No caps

2004-01-11 Thread Brian V Bonini
On Sun, 2004-01-11 at 09:51, Frank Keessen wrote: > Hi All, > > Can you please help me with the following; Is there a function in PHP that can do > the following; > > When you have output in the database like this: "HeLlo WorlD" then you convert it to > all caps "HELLO WORLD" or just the first

Re: [PHP] Image Resizing with GD

2004-01-08 Thread Brian V Bonini
On Thu, 2004-01-08 at 00:20, Peter Vertes wrote: > Hello List, > > I've tried googling but couldn't come up with anything useful so > I'm turning to the list. Could anyone send me a link to a tutorial on > how to resize images with GD ? Thanks in advance... FYI: Personally, I've found passi

Re: [PHP] Changing the Time Zone in php.ini

2004-01-08 Thread Brian V Bonini
On Thu, 2004-01-08 at 03:33, Andy Higgins wrote: > Hello, > > I have a requirement to run two different sites that are in different time > zones on the same machine. Does anyone know if this is possible to do by > running two instances of php and making a change in the php.ini? Or do you > have an

Re: [PHP] basic ?id=x question

2004-01-07 Thread Brian V Bonini
On Wed, 2004-01-07 at 13:44, Matt Hedges wrote: > Hello, > > I'm trying to pull from a database... I can pull an array, but I want to > just be able to pull one item instead of all of them... I know somehow you > can do this with page.php?id=x... but can't figure it out... That would depend on

Re: [PHP] finding phpize

2004-01-04 Thread Brian V Bonini
On Sat, 2004-01-03 at 21:59, Ryan A wrote: > Hi guys, > I am trying to install Turck MMCache on our server but have no idea about > linux...I have gone through all the steps a fellow list user (R'twick) gave > me to install this, up till > > $PHP_PREFIX/bin/phpize > > when I type that it says: no

Re: [PHP] missing java.so

2003-12-31 Thread Brian V Bonini
On Wed, 2003-12-31 at 19:49, Raditha Dissanayake wrote: > There was an alternative approach posted yesterday. I saw it. Still need to have a java sdk and a shared library. > > Brian V Bonini wrote: > > >Compiling PHP (CLI) with java on mdk9.1 and java.so is simply not t

[PHP] will not build shared library

2003-12-31 Thread Brian V Bonini
Any ideas why this would not build a shared library? [EMAIL PROTECTED] no-debug-non-zts-20020429]# pwd /usr/lib/extensions/no-debug-non-zts-20020429 [EMAIL PROTECTED] no-debug-non-zts-20020429]# ls -l total 96 -rwxr-xr-x1 root root93000 Dec 31 20:03 libjava.a* [EMAIL PROTECTED] no-

[PHP] missing java.so

2003-12-31 Thread Brian V Bonini
Compiling PHP (CLI) with java on mdk9.1 and java.so is simply not there. What am I missing? PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/java.so' - /usr/lib/php/extensions/java.so: cannot open shared object file: No such file or directory in Unknown on line 0 [

[PHP] compile problems

2003-12-20 Thread Brian V Bonini
Not a clue what's wrong, anyone? functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_ multibyte.lo Zend/zend_execute.lo sapi/apache/sapi_apache.lo sapi/apache/mod_php 4.lo sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt -lc-client -lc rypt -lmysqlclient -lc

[PHP] Re: fopen does not open URL-files

2003-12-20 Thread Taras V. Panchenko
denied in /home/manageme/public_html/try-test/fopen-test-http.php on line 7 Why there are errors in this simple command? What are 'php_network_getaddresses' and 'getaddrinfo' ? Thanx, Taras V. Panchenko. "Eric Bolikowski" <[EMAIL PROTECTED]> wrote in messa

Re: [PHP] PHP IDE?

2003-12-13 Thread Brian V Bonini
On Sat, 2003-12-13 at 12:06, Jough Jeaux wrote: > Was wondering what everyone's favortie IDE is for > coding in PHP. I've got a big PHP project in the > works. I'll be doing alot with it and am looking for > ways to boost my productivity. Quanta Plus: http://quanta.sourceforge.net Bluefish is a

Re: [PHP] Apache Installation Query

2003-12-06 Thread Brian V Bonini
On Sat, 2003-12-06 at 12:01, Shaun wrote: > "Brian V Bonini" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > On Sat, 2003-12-06 at 10:56, Shaun wrote: > > > Hi, > > > > > > I have just installed Apache on my local machin

Re: [PHP] Apache Installation Query

2003-12-06 Thread Brian V Bonini
On Sat, 2003-12-06 at 10:56, Shaun wrote: > Hi, > > I have just installed Apache on my local machine. However, when browsing a > directory I get the listing of it's contents rather than it defaulting to > the index.php file, is there a way to make this happen? > > Thanks for your help move to yo

Re: [PHP] Stumped

2003-11-30 Thread Brian V Bonini
On Sun, 2003-11-30 at 19:21, Robert Cummings wrote: > On Sun, 2003-11-30 at 18:45, Brian V Bonini wrote: > > Warning: Invalid argument supplied for foreach() in > > /usr/local/www/vhosts/pa.eastcoastbicycles.com/htdocs/mainfile.php on > > line 42 > > > > Warni

<    1   2   3   4   5   6   >