Re: [PHP] OK SQL experts...

2004-04-23 Thread Brian Dunning
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''my_table' WHERE ('field_1' LIKE '%%' OR 'field2' Because you are using a single quotes around your table/field names. Remove them or use ` (back tick). As

RE: [PHP] A good search tutorial

2004-04-21 Thread Brian Paulson
There is a good search engine tutorial at devshed - http://www.devshed.com/c/a/PHP/Quick-and-Dirty-Search-Engine-with-PHP-and-My SQL/ I use it for a few searches on our site and it works well. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] www.chieftain.com 1-800-279-6397 x 207

Re: [PHP] Most bizarre date problem ever

2004-04-14 Thread Brian Dunning
and ignores the time portion, if there's any way to do that. - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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: /p 147: ?php 148: } 149: include foobar.inc.php4; 150: ? -- 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. ?php if (1 ) { ? Yup, I sure was :-D -- s/:-[(/]/:-)/g BrianGnuPG

[PHP] Most bizarre date problem ever

2004-04-10 Thread Brian Dunning
somebody PLEASE tell me how the above code manages to produce -7262, when it's always worked properly for every other day in history? Confused, - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ^%$! Download accelerators

2004-04-08 Thread Brian Dunning
have any experience with these? Anything I can do to make the above code more robust? Note that it's been working great for a long time. - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php + lynx + grep

2004-04-06 Thread Brian L. Ollom
hourly): TDFONT FACE=Arial,Helvetica KTOL 031452Z 28013KT 10SM CLR 10/01 A2977 RMK AO2 SLP086 T0106 58015 Help! | Brian Ollom | | | NiteHawke.Com| http

[PHP] php + lynx + grep

2004-04-06 Thread Brian L. Ollom
hourly): TDFONT FACE=Arial,Helvetica KTOL 061152Z 23004KT 10SM CLR 00/M07 A3007 RMK AO2 SLP187 T1072 10017 21033 53005 Help! | Brian Ollom | | | NiteHawke.Com

[PHP] Re: php + lynx + grep

2004-04-06 Thread Brian L. Ollom
this(it changes hourly): TDFONT FACE=Arial,Helvetica KTOL 031452Z 28013KT 10SM CLR 10/01 A2977 RMK AO2 SLP086 T0106 58015 It works fine on the command line, but won't show any info on the site. | Brian Ollom

[PHP] php + lynx + grep

2004-04-06 Thread Brian L. Ollom
hourly): TDFONT FACE=Arial,Helvetica KTOL 031452Z 28013KT 10SM CLR 10/01 A2977 RMK AO2 SLP086 T0106 58015 Help! | Brian Ollom | | | NiteHawke.Com| http

[PHP] Help importing a text file via phpmyadmin

2004-04-06 Thread Brian Dunning
for this error? I find little helpful info in the phpmyadmin documentation. Any ideas appreciated... :) - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php + lynx + grep

2004-04-06 Thread Brian L. Ollom
and then include()'d the text file in the website, but I'd rather not have to rely on the cron job if I don't have to. | Brian Ollom | | | NiteHawke.Com| http

Re: [PHP] php + lynx + grep

2004-04-06 Thread Brian L. Ollom
/KTOL.html' ); foreach ( $var AS $line ) { if ( preg_match( 41-35-19N , $var ) ) ... etc pp } I am the ISP, but I'll try that and see if it helps... (o; | Brian Ollom

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-02 Thread Brian Duke
); -Original Message- From: Daevid Vincent [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 12:51 AM To: 'Brian Duke'; 'Jay Blanchard'; 'William Lovaton'; [EMAIL PROTECTED] Subject: RE: [PHP] I think this is a bug...cant use exec commands. This may seem obvious, but did you try the FULL

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-02 Thread Brian Duke
Forgive the top-post. I tried the php -I found php was looking for the php.ini in /var/www/conf. I copied php.ini from /etc/ to /var/www/conf. Now the shell_exec works fine. Thanks Jason. If I wanted to use exec() for this project in the future, is: (shell_exec (free -b)) = (exec(free -b,

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-02 Thread Brian Duke
They're different, see manual for details. The Manual is brilliant. exec(free -b, $data ,$result_code); print_r($data); Array ( [0] = total used free sharedbuffers cached [1] = Mem: 256917504 2494013447516160 0 29487104

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-02 Thread Brian Duke
Thank you all for your collective help. I was very frustrated. This list helped me find the answer quickly and once again PHP is slowly all beginning to make sense. The default values enable safe-mode and that is what Jason was trying to get me to check. Thus when the php.ini wasn't where 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: snip Has anybody had the PHP logo in phpinfo() appear with a picture of a dog? /snip April Fools easter egg Too

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Brian Duke
I tell you the truth. I have only 1 php.ini. There are other ini files I have looked at but I have not found anything in them about safe mode. Everything has been double or triple checked. Still not able run any shell_exec commands from the command line. I need the output from free so if I use

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Brian Duke
Ok here is my php.ini. directly from /etc/php.ini ; Safe Mode ; safe_mode = Off ; By default, Safe Mode does a UID compare check when ; opening files. If you want to relax this to a GID compare, ; then turn on safe_mode_gid. safe_mode_gid = Off ; When safe_mode is on, UID/GID checks are

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Brian Duke
); $dataArray = explode(' ',$data); $total = $dataArray[16]; $used = $dataArray[17]; echo $used.chr(10); echo $total.chr(10); ? -Original Message- From: Brian Duke [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 12:21 AM To: 'Jason Wong'; [EMAIL PROTECTED] Subject: RE: [PHP] I think

[PHP] I think this is a bug...cant use exec commands.

2004-03-31 Thread Brian Duke
I can't seem to use the shell_exec() command. Here is the program: ?php $data = shell_exec(free -b); $data = str_replace(' ',' ',$data); $data = str_replace(' ',' ',$data); $data = str_replace(' ',' ',$data); $data = str_replace(' ',' ',$data); $dataArray = explode(' ',$data);

[PHP] Ways to make PDF docs

2004-03-24 Thread Brian Dunning
Hi all, Which is the favorite module for creating PDF documents on the fly with PHP: ClibPDF, PDFlib, or the iText java class libraries? All feedback appreciated. TIA, - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-03-22 Thread Brian V Bonini
php? Will exec() with mysqldump work? Do you need to get tabel structure as well or are you just after the data? You can do SELECT * INTO OUTFILE 'file_name' FROM tbl_name if your just after data. -- BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu

[PHP] How to keep a timestamp from updating?

2004-03-18 Thread Brian Dunning
I have a timestamp field that updates itself with NOW() every time I update the record. I don't want that to happen - I want it to remain as the original creation timestamp. How do I prevent this from happening? Thanks, - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] How to edit a datetime field?

2004-03-18 Thread Brian Dunning
I'm trying to set a datetime field to 24 hours in the future... NOW()+6000, which worked on a timestamp field, only gives 12 seconds in the future. Algebra suggested I try NOW()+720 which is invalid. Any suggestions? Thanks! - Brian -- PHP General Mailing List (http://www.php.net

Re: [PHP] upload_max_filesize problem

2004-03-18 Thread Brian V Bonini
it capped off in your form? -- BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu == gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC Key Info: http://gfx-design.com/keys Linux Registered User #339825 at http

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 TR. The line in question is the first one under the else statement: print TR BGCOLOR=\#381499\; This line, I would like to show a image called backgrnd.png

[PHP] Managed Server/Cluster hosting recommendations?

2004-03-17 Thread Brian Tully
. many thanks in advance, brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with mkdir() under windows.

2004-03-15 Thread Brian J. Celenza
I'm having a problem using the mkdir() function under windows when the directory containts a special character. For instance, the directory Someone's Files, a forward slash is added before the 's and the directory returns an error. Is there a way around this? Thank you Brian -- PHP General

Re: [PHP] .sit download problems

2004-03-14 Thread Brian Dunning
Not sure if this will solve your problem, but try tossing in a Content-Length header so the browser knows how long of a file to look for. This helped - I can see the correct file length now in the download window. But now the problem is a little different. I can download .zip files with any

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

2004-03-13 Thread Brian V Bonini
($my_array)) . \; ? /form What value are you trying to get from or place in value for the hidden field? -- Brian V Bonini [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Safari download problems

2004-03-13 Thread Brian Dunning
? Thanks, -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-03-13 Thread Brian V Bonini
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 PROTECTED] -- PHP General Mailing

[PHP] An extension to CREATE zips??

2004-03-12 Thread Brian J. Celenza
Is there function library capable of creating zip files and adding files to a zip archive under the windows/apache platform? After some extensive browsing I can only turn up read-only access functions. Thank you, Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] apache lookdown

2004-03-11 Thread Brian Paulson
I had the same problem when we just moved and were able to solve it with this Directory /path/to/httpdocs Options Indexes MultiViews AcceptPathInfo On /Directory Hth Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] www.chieftain.com 1-800-279-6397 x 207 -Original Message

Re: [PHP] OT Kinda - Top Posting

2004-03-11 Thread Brian V Bonini
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! What he said.. :) -- Brian V Bonini

Re: [PHP] Changing Default Charset

2004-03-09 Thread Brian V Bonini
sure? I've not actually tried it but php.ini also has a default Content-type which you CAN override using header(). -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu

Re: [PHP] Changing Default Charset

2004-03-09 Thread Brian V Bonini
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] 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] Very, very wiered problem

2004-03-08 Thread Brian Drexler
I've run into a similar problem before and it seems like the problem was with permissions on the file. You may want to double check those. Brian - Original Message - From: Ryan A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:43 PM Subject

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

2004-03-06 Thread Brian V Bonini
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] -- PHP General Mailing

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] -- PHP General

Re: [PHP] How to write this correctly?

2004-03-06 Thread Brian V Bonini
'); 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

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] Changing Default Charset

2004-03-06 Thread Brian V Bonini
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 unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Shopping Carts

2004-03-05 Thread Brian V Bonini
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] Re: Parse error, unexpected T_STRING!!

2004-03-05 Thread Brian V Bonini
version=1.0 encoding=iso-8859-1?' . \r\n; ? -- 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
/\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: FIle Upload problems

2004-03-05 Thread Brian V Bonini
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

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

2004-03-04 Thread Brian V Bonini
() is not available to your script. Find where vadmin_rc4_crypt() is and make it available to to backend.php -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu

Re: [PHP] POST form header

2004-03-03 Thread Brian V Bonini
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 Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] calling one php script from another

2004-03-03 Thread Brian V Bonini
, one for each child frame. header(Location: /path/to/script/foo.php); -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu == gpg

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 client browser? The closest I have been able

[PHP] Phorum 5.0.3-beta released!

2004-03-03 Thread Brian Moon
the PhorumCode options of Phorum 3. * Terrific new moderation features * Read message status is now stored in the database and moves with the user. * And more Enjoy and please report back any bug reports you find. Brian Moon Phorum Dev Team -- PHP General Mailing List (http://www.php.net

Re: [PHP] HELP! printing Arrays

2004-03-03 Thread Brian V Bonini
++) { echo $file[$i]br /\n; } -- Brian V Bonini [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session dilemma

2004-03-03 Thread Brian Dunning
is completed and the page says Thank you, I'd like the session to be already dead on both servers so it doesn't matter where they click, they can't reactivate the previous session. - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cookie Problems (Different than the post by David Jackson)

2004-03-02 Thread Brian J. Celenza
=themes/master.css titleWebsite0001/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head ---Code--- Any ideas? Thanks Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parsing URL's with Apache and PHP

2004-03-01 Thread Brian J. Celenza
the subdomain, bcelenza. Any ideas are certainly appreciated. Thank you, Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing URL's with Apache and PHP

2004-03-01 Thread Brian J. Celenza
That'll work! Didnt' even occur to me to combine two variables from $_SERVER, and at first I didn't thinkg HTTP_HOST would deliver what i was looking for. Thanks! Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Brian, Monday, March 1, 2004, 3:49:09 PM, you wrote

Re: [PHP] Parsing URL's with Apache and PHP

2004-03-01 Thread Brian J. Celenza
inefficient look at the apache documentation for a better solution. with php splitting by the dot (.) and getting the first part ought to do the trick. or you can do a preg_match . Brian J. Celenza wrote: I'm trying to setup a system where I can parse the entire URL that is given

[PHP] need form array help

2004-03-01 Thread Brian V Bonini
and get the key/value pairs but am not sure how to test the 'edit_rider_action'. -- Brian V Bonini [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] need form array help

2004-03-01 Thread Brian V Bonini
; echo $edit_rider_action . br /\n; } And of course it' entirely possible I'm just being brain dead at the moment and am thinking about this all wrong. -- Brian V Bonini [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] need form array help

2004-03-01 Thread Brian V Bonini
name=edit_rider_action[$i] value=delete / $i++; } -- Brian V Bonini [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] Compare timestamps?

2004-02-28 Thread Brian Dunning
How would I make an if() comparison to check whether the current date/time is later than a timestamp for the database formatted as 20040226085607? Thanks, - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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

[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

Re: [PHP] How to get the auto-incremented value?

2004-02-26 Thread Brian Dunning
On Feb 26, 2004, at 8:14 AM, Gareth Williams wrote: The function mysql_insert_id() will return the correct value. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to get the auto-incremented value?

2004-02-26 Thread Brian Dunning
When I write a record to a MySQL db with an auto-incremented key column, say it's called id, what's the easy to retrieve that value? Do I have to run a query? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can anyone tell me why this code doesn't insert anything?

2004-02-23 Thread Brian Dunning
This inserts nothing into the database, but returns no error that I can see. How come? What's wrong with it? $dbname = my_database; $dbconnection = mysql_connect(mysql05.powweb.com,my_user,my_pass); mysql_select_db($dbname, $dbconnection); $query = INSERT INTO invoices

[PHP] Simple example of expiring download pages?

2004-02-21 Thread Brian Dunning
Hi, I'm building a very simple online store and I need expiring download pages for people to download the items they purchased. Surprisingly, I couldn't find an example of this code online. I know how to do it in Lasso, and it's quite easy. You just search the database against download

[PHP] Can't remove an element from an array

2004-02-19 Thread Brian Dunning
. And then when I view the cart on the next page, EVERYTHING is back, including the item I tried to remove. What am I doing wrong? Thanks! - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 - KeyID

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

2004-02-06 Thread Brian V Bonini
it. Is it possible . Sure. xml/rpc would be one possibility. -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu == gpg --keyserver

[PHP] How to search for a date

2004-02-05 Thread Brian Dunning
(dateField) VALUE (CURRENT_DATE); SELECT * FROM mytable WHERE dateField = CURRENT_DATE; Thanks, - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Extract of a Paragraph

2004-02-04 Thread Brian Paulson
$string = substr($stringname,0,50); echo $string; http://www.php.net/substr Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] www.chieftain.com 1-800-279-6397 x 207 -Original Message- From: Daniel Perez Clavero [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 7

[PHP] Sessions vs. MySQL records?

2004-02-03 Thread Brian Dunning
and their IP address and tracking their usage count? Thanks in advance for any thoughts. - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: array block

2004-01-31 Thread Brian V Bonini
ways to handle it but am still curious. Obviously you need to traverse the inner array which is not an issue, but I get stumped with trying to format it as in the previous examples. -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys

[PHP] array block

2004-01-30 Thread Brian V Bonini
I'm having array block, trying to format the data in a two dimensional associative array. $menu = array ( 'link1' = array( 'url' = 'foo', 'title' = 'bar' ), 'link2' = array( 'url' = 'foo', 'title' =

Re: [PHP] Re: array block

2004-01-30 Thread Brian V Bonini
if the inner array were to change dynamically? -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu == gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC

Re: [PHP] Show Results one at a time ?

2004-01-29 Thread Brian Tully
code). hope this is clear enough and hope it helps. regards, brian -- 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
here. You can rewrite stuff like /foo/ /bar/ etc... to *.php?foo=barbar=foo. Kind of a pain in the arse but if you MUST have a spider following links then... -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu

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

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: www.gfx

Re: [PHP] question PHP - HTML

2004-01-26 Thread Brian V Bonini
; ? pre ?php echo hello \n; echo viviane; ? /pre -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu == gpg --keyserver pgp.mit.edu --recv-keys

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

2004-01-26 Thread Brian V Bonini
__ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key

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:

Re: [PHP] web page thumbs

2004-01-21 Thread Brian V Bonini
this on the fly each time it's needed? -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu == gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC GnuPG

Re: [PHP] thumbnail

2004-01-21 Thread Brian V Bonini
of the Image Magick package. And personally, I also think it works much better then GD. -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu == gpg

Re: [PHP] PHP QuickBooks Integration

2004-01-20 Thread Brian V Bonini
working with QuickBooks data, back and fourth? All suggestions are welcome, I hear this can be a tough topic. Last I looked QB would export csv. -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu

Re: [PHP] connecting PHP to MS Access

2004-01-20 Thread Brian V Bonini
or should I be looking elsewhere? You can use MyODBC available at the MySQL site -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu == gpg

Re: [PHP] Using PHP with Style Sheets

2004-01-19 Thread Brian V Bonini
on using PHP with style sheets? Just name you style sheet with a php extension. site.css.php and put a Content type header at the top of you style sheet. header(Content-type: text/css ); Then call the style sheet in one of the usual methods, link rel or @import -- BrianGnuPG - KeyID

Re: [PHP] dreaded sessions

2004-01-19 Thread Brian V Bonini
that it's had it for a while :) -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu == gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC GnuPG

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

Re: [PHP] Image Header Issues

2004-01-17 Thread Brian V Bonini
sure there would be something on ms's knowledge base, but it escapes me what I did to fix it, or updated. This is a known issue with IE. And it is in their knowledge base. If I recall the fix is to clear the cache, cookies, and broken/corrupt objects. -- BrianGnuPG - KeyID: 0x04A4F0DC

Re: [PHP] odd and even numbers

2004-01-16 Thread Brian V Bonini
') : print($i . ' is even'); echo \n; $i++; } echo '/pre'; ? -- BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys Key Server: pgp.mit.edu == gpg

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

<    3   4   5   6   7   8   9   10   11   12   >