RE: [PHP] Undefined index a different problem

2003-01-07 Thread Matt Schroebel
Try: echo($GLOBALS[$i]); Or echo "{$GLOBALS[$i]}"; This times it's the array in the double quoted strings ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Mysql/php database performance question

2003-01-10 Thread Matt Schroebel
> -Original Message- > From: Simon Dedeyne [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 10, 2003 9:03 AM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Mysql/php database performance question > So I think I have to reformulate the question: which is > better 5 varchar columns of size

RE: [PHP] Mysql/php database performance question

2003-01-10 Thread Matt Schroebel
> -Original Message- > From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 10, 2003 11:04 AM > To: Matt Schroebel > Cc: Simon Dedeyne; [EMAIL PROTECTED] > Subject: Re: [PHP] Mysql/php database performance question > > > char of greater

RE: [PHP] Mysql/php database performance question

2003-01-10 Thread Matt Schroebel
> -Original Message- > From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 10, 2003 11:45 AM > To: Matt Schroebel > Cc: Simon Dedeyne; [EMAIL PROTECTED] > Subject: Re: [PHP] Mysql/php database performance question > > > Sure, just tried it

RE: [PHP] Windows PHP vs Linux PHP

2003-01-15 Thread Matt Schroebel
> -Original Message- > From: Jeff Lewis [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 15, 2003 1:00 PM > To: Beauford.2002; PHP General > Subject: Re: [PHP] Windows PHP vs Linux PHP > > > Set your php.ini file and error reporting as such: > > error_reporting = E_ALL & ~E_NOTIC

RE: [PHP] Problem with a for loop...

2003-01-16 Thread Matt Schroebel
> -Original Message- > From: Davíð Örn Jóhannsson [mailto:[EMAIL PROTECTED]] > Sent: 16. janúar 2003 13:59 > Subject: RE: [PHP] Problem with a for loop... > > I only want the last inserted row in the mysql database, and each time > the script goes trough the loop it adds a new row into th

RE: [PHP] Imagecreatefromjpeg()

2003-01-16 Thread Matt Schroebel
> > Header("Content-type: image/jpeg"); > $im = ImageCreateFromJpeg('1234_1.jpg'); > ImageJpeg($im);?> > > The file is in the folder, it has execute and write > permissions set, and the error given is "The image > cannot be displayed, because it contains errors.", > which is not very useful.

RE: [PHP] Header sent polem

2003-01-17 Thread Matt Schroebel
> -Original Message- > From: Cesar Aracena [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 12:56 PM > Subject: [PHP] Header sent polem > > > Hi all, > > Following Chris's idea on how to handle visitors sessions, > I'm trying to > setup a cookie with a randomly generated ses

RE: [PHP] File upload problem

2003-01-21 Thread Matt Schroebel
> -Original Message- > From: John M [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 30, 2003 3:05 PM > To: [EMAIL PROTECTED] > Subject: [PHP] File upload problem > > > Hello, > > I have the code below. It's a simple file upload. But it doesn't work. > Before the line if(isset( $Submit )

RE: [PHP] Need help.

2003-01-22 Thread Matt Schroebel
> -Original Message- > From: thkiat [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 10:23 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] Need help. > > > Can someone tell me what should I do to solve this problem? > > Warning: mysql_fetch_row(): supplied a

RE: [PHP] mysql_fetch_row problem

2003-01-23 Thread Matt Schroebel
> -Original Message- > From: Bryan Brannigan [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 9:03 AM > Subject: [PHP] mysql_fetch_row problem > $db = mysql_connect("localhost", "webapp"); > mysql_select_db("helpdesk",$db); > $result = mysql_query("SELECT contactemail FROM l

RE: [PHP] apache webprotect logout

2003-01-27 Thread Matt Schroebel
> -Original Message- > From: Tommy Jensehaugen [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 10:32 AM > To: [EMAIL PROTECTED] > Subject: [PHP] apache webprotect logout > > When I browse to this folder I get a popup to type my name > and password > in( automatic popup by in

RE: [PHP] HTTP_GET_VARS[]

2003-01-30 Thread Matt Schroebel
> -Original Message- > From: Mike Tuller [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 11:02 AM > Subject: [PHP] HTTP_GET_VARS[] > The issue I am > having now is that I have the editsoftwareassest.php's form > action set > to POST to a script called updatesoftwareasset.

RE: [PHP] HTTP_GET_VARS[]

2003-01-30 Thread Matt Schroebel
> >> $query = "UPDATE assets SET title = '$title', version = '$version', > >> developer = '$developer', serial_number = '$serial_number', WHERE > >> asset_id = '$HTTP_GET_VARS[id]'" ; > > > > Change the var to '{$HTTP_POST_VARS['id']}' (with the curly braces > > since > > the array reference is i

RE: [PHP] while loop- will this work?

2003-01-30 Thread Matt Schroebel
> -Original Message- > From: SpyProductions Support Team [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 12:57 PM > To: [EMAIL PROTECTED] > Subject: [PHP] while loop- will this work? > > > > > Should this work? > > $f1 = rand(999,999); > > while($check_si

RE: [PHP] checkboxes and php...

2003-01-31 Thread Matt Schroebel
> -Original Message- > From: Mr. BuNgL3 [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 8:43 AM > To: [EMAIL PROTECTED] > Subject: [PHP] checkboxes and php... > > > Hi... > can you give me some lights in this subject? How checkboxes > work with php? > Or where i can find som

RE: [PHP] How to compare 2 strings

2003-02-03 Thread Matt Schroebel
> -Original Message- > From: Roman Duriancik [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 9:31 AM > Subject: [PHP] How to compare 2 strings > > How to compare 2 strings in PHP > I hawe 2 array where I have only string values some values in > both arrays > are same but

RE: [PHP] tracking bulk email

2003-02-04 Thread Matt Schroebel
> -Original Message- > From: Lowell Allen [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 12:38 PM > To: PHP > Subject: [PHP] tracking bulk email > (1) My client is nervous about the script failing mid-list > and not being > able to determine which contacts were sent mail. I

RE: [PHP] Process array after form submission problem

2003-02-13 Thread Matt Schroebel
> -Original Message- > From: Steve Jackson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 13, 2003 2:10 PM > To: Php-General > Subject: [PHP] Process array after form submission problem > > > Hi, > > My problem is that I have a dynamic form with vars which I > want to process.

RE: [PHP] new to PHP

2003-03-06 Thread Matt Schroebel
> From: juan [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2003 9:36 AM > Subject: [PHP] new to PHP > > New to php and looking to by this book > PHP For the World Wide Web: A Visual QuickStart Guide > > The book says it covers PHP version 4.04. > Will this book be current enough for m

RE: [PHP] So in summary this can't be done due to permission problems?

2003-07-11 Thread Matt Schroebel
> -Why the concern about letting that user have execute permissions, > and then prevent anyone (except those that have valid reasons) from > having write/execute permission to the webroot. The permissions are Read, Write, and Execute. Read and Write are self explanatory (for directories Write mea

[PHP] PHP CMS for high load

2003-07-23 Thread Matt Schroebel
Is anyone using a php/mysql/apache CMS (either custom or open source) that is performing well serving on the order of 1 million page views a month with 2600+ items of content? If so, I'd like to know what your using and a description of your server setup, such as if the backend runs on a different

RE: [PHP] Best PHP CMS

2003-08-09 Thread Matt Schroebel
> -Original Message- > From: Anthony [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2003 9:52 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Best PHP CMS > > > I'm just looking for some opinions. I've been going though > sourceforge > looking at different CMS systems. There are a

RE: [PHP] Correct Coding

2003-08-14 Thread Matt Schroebel
Roger B.A. Klorese wrote: >>> if ("Add" == $Task) I call that 'defensive programming', defending yourself from yourself! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to Return 403 Forbidden headers

2003-03-27 Thread Matt Schroebel
> -Original Message- > From: Christopher Ditty [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 10:42 AM > To: [EMAIL PROTECTED] > Subject: [PHP] How to Return 403 Forbidden headers header('HTTP/1.0 403 Forbidden'); -- PHP General Mailing List (http://www.php.net/) To unsubscr

RE: [PHP] How to Return 403 Forbidden headers

2003-03-27 Thread Matt Schroebel
> -Original Message- > From: Christopher Ditty [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 10:59 AM > To: Matt Schroebel; [EMAIL PROTECTED] > Subject: RE: [PHP] How to Return 403 Forbidden headers > > > Thanks, but it returns a blank page

RE: [PHP] How to Return 403 Forbidden headers

2003-03-27 Thread Matt Schroebel
> -Original Message- > From: Christopher Ditty [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 11:15 AM > To: Matt Schroebel > Subject: RE: [PHP] How to Return 403 Forbidden headers > > > Try it in Netscape 7 if you have it. 6.5 showed blank, and

RE: [PHP] RE: Anew set of eyes

2003-03-27 Thread Matt Schroebel
> -Original Message- > From: Richard Whitney [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 1:02 PM > To: [EMAIL PROTECTED] > Subject: [PHP] RE: Anew set of eyes > > > Can you folks help me out b y looking at this code? > > It all of a sudden is not grabbing the email addres

RE: [PHP] redirect using header

2003-03-27 Thread Matt Schroebel
> -Original Message- > From: David Banning [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 2:15 PM > To: [EMAIL PROTECTED] > Subject: [PHP] redirect using header > > > I have been trying to do a redirect with header; > > > >Optex Staging and Services Inc. > > > he

RE: [PHP] RE: [newbie] embed php in html file

2003-04-03 Thread Matt Schroebel
> -Original Message- > From: Bobby Rahman [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 11:25 AM > To: [EMAIL PROTECTED] > Subject: [PHP] RE: [newbie] embed php in html file > > I have a header.php : > session_start(); > echo " color=\"red\"size=\"3\">Logged in as: > ".$_SE

RE: [PHP] datetime

2003-04-03 Thread Matt Schroebel
> -Original Message- > From: Tim Haskins [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 2:45 PM > To: [EMAIL PROTECTED] > Subject: [PHP] datetime > > > How does one retrieve the date and time off a server in the following > format? > > 2003-04-03 11:11:38 Plenty of example

RE: [PHP] PHP Auto-Date Select Box

2003-04-04 Thread Matt Schroebel
> -Original Message- > From: Jay Fitzgerald [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 9:17 AM > Subject: [PHP] PHP Auto-Date Select Box > > > Does anyone know how I can make a PHP form select box that > has the dates in > it for the next 7 days including today and the re

RE: [PHP] Re: PHP Security Advisory: Vulnerability in PHP versions 4.2.0

2002-07-23 Thread Matt Schroebel
> From: Scott Fletcher [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 23, 2002 12:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: PHP Security Advisory: Vulnerability > in PHP versions 4.2.0 > > > I don't know how to appy patches to the PHP software. I just finish > upgrading the web

RE: [PHP] Running ./configure multiple times

2002-07-24 Thread Matt Schroebel
> From: Scott Fletcher [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 24, 2002 2:53 PM > Subject: Re: [PHP] Running ./configure multiple times > > Yes, it is pretty safe to run ./configure more than once. > The 1st time, it > create the config.cache and so on. The 2nd time, it use the >

RE: [PHP] 'Previous' 1, 2, 3, 4, etc. 'Next'

2002-07-25 Thread Matt Schroebel
> -Original Message- > From: ctan [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 11:24 AM > To: [EMAIL PROTECTED] > Subject: [PHP] 'Previous' 1, 2, 3, 4, etc. 'Next' > > > I seem to have a problem getting the page to display beyond > the limit if a > page, i.e. if the limit

RE: [PHP] New way to make select boxes auto select

2002-07-25 Thread Matt Schroebel
> From: Nathan Cook [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 12:34 PM > Subject: [PHP] New way to make select boxes auto select > > > You may already be doing it like this, but I think I found a > new way to > make select boxes auto-select (what data they put in) a lot > eas

RE: [PHP] New way to make select boxes auto select

2002-07-25 Thread Matt Schroebel
> From: Nathan Cook [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 2:52 PM > Subject: Re: [PHP] New way to make select boxes auto select > How are you able to quickly and painlessly determine which > key gets the > selected value, from form submission data, when building the > init

RE: [PHP] Help Please

2002-07-29 Thread Matt Schroebel
> -Original Message- > From: Varsha Agarwal [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 4:27 PM > To: Dennis Moore; [EMAIL PROTECTED] > Subject: Re: [PHP] Help Please > > > Hi, > I did not find any print or echo stetement in the > sample example before hearder or setcookie

RE: [PHP] Readdir

2002-08-01 Thread Matt Schroebel
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 01, 2002 2:54 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Readdir > > New To Php so please bear with me... :) > > I used the readdir function to read the files listed on a > Apache server. And > it worked fine. Now I

RE: [PHP] Protect PHP coding

2002-08-02 Thread Matt Schroebel
> From: YC Nyon [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 01, 2002 12:59 PM > Subject: [PHP] Protect PHP coding There is the PHP Obfuscator/Obscurer: http://pobs.mywalhalla.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can I assign to $_POST legitimately

2002-08-09 Thread Matt Schroebel
> From: Henry [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 6:00 AM > Subject: [PHP] Can I assign to $_POST legitimately > I can do it but is it legit? > > $_POST['name']='henry'; > > within a php script? > > if $_POST['name'] is not set. The clearly $_POST['name'] was > not post

RE: [PHP] Linux PHP editor

2002-08-09 Thread Matt Schroebel
> >Here's some Linux ones that satisfy this requirement: > > > >1. Zend IDE: Nice, but $$$ is the big inhibiting factor. > > There's a Zend Studio for-non-commercial use version available for > free. It's based on version 2.0 of the product, fully functional. I would have to say that Zend St

RE: [PHP] Creating a zip file using php

2002-08-13 Thread Matt Schroebel
> From: Rahul [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 13, 2002 8:41 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Creating a zip file using php > > > Hi > > I want to create a zip file using php. Can this be done? > > If anybody has a code snippet, for this, or any guidelines, > ple

RE: [PHP] addslashes() and stripslashes()

2002-08-14 Thread Matt Schroebel
> -Original Message- > From: ed [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 1:48 PM > To: [EMAIL PROTECTED] > Subject: [PHP] addslashes() and stripslashes() > > > Is it a good idea to always use addslashes() on a > value gathered from a text field or textarea? Yes, a

RE: [PHP] How to show data in one row from two rows from the database

2002-08-15 Thread Matt Schroebel
> From: Ing. Rajesh Kumar [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 9:36 AM > To: [EMAIL PROTECTED] > Subject: [PHP] How to show data in one row from two rows from > the database > > > Hi everybody > What I wrote in the subject may look complicated so I added a > html file.

RE: [PHP] include opens source, but it shouldn't

2002-08-15 Thread Matt Schroebel
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 1:19 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] include opens source, but it shouldn't > > > [snip] > Only on demand. > I'd like to define the variable without showing the file > > > $var=include(); > > d

RE: [PHP] Problem with Testing if the user has an account in my database

2002-08-15 Thread Matt Schroebel
> From: Sebastian Marcu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 2:32 PM > Subject: [PHP] Problem with Testing if the user has an > account in my database > > > For some reason though it isn't working right and > keeps telling me that the 'Email' address is already > taken

RE: [PHP] Can anyone help me out? I am really getting frustrated!

2002-08-15 Thread Matt Schroebel
> -Original Message- > From: Mike [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 2:46 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Can anyone help me out? I am really getting frustrated! > > > Hello all, > I am very confused. This script that I have been working on > for

RE: [PHP] Array query - finding the key for a value

2002-08-16 Thread Matt Schroebel
> From: Tim Fountain [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002 7:51 AM > Subject: [PHP] Array query - finding the key for a value > > This may be a silly question, but I'm used to being able to find PHP > functions to do whatever I want, but I can't find one to do this! > > If

[PHP] Calendar logic question

2002-08-21 Thread Matt Schroebel
I have a calendar application that shows events in a month. I want to add the ability to have re-occuring events. I've been thinking about how to do that, but it's not seeming to be too easy. Say, I have a table of re-occuring events: eventId int eventName varchar eventStartDate date eventE

RE: [PHP] check unread messages in a forum

2002-08-26 Thread Matt Schroebel
> From: Charlotte [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 26, 2002 8:04 AM > To: [EMAIL PROTECTED] > Subject: [PHP] check unread messages in a forum > > > I have made a forum in PHP, and the users are logged in using > cookies. I > want all new threads (and if there are new replies i

RE: [PHP] strange error message when trying to start apache

2002-08-26 Thread Matt Schroebel
> From: Jesse Lawrence [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 26, 2002 9:36 AM > To: [EMAIL PROTECTED] > Subject: [PHP] strange error message when trying to start apache > Everything appeared to go smoothly, except when > I try to start up Apache, I get the following error > message:

RE: [PHP] Re: Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Matt Schroebel
> > However.. you think it might be not sure that this workes > for every browser? > > PUh... thats bad. Do u have examples for that? It workes > with IE on PC. Well, the HTTP 1.1 spec says it shouldn't be set when it's typed into the address line. That happens often enough that it can't be r

RE: [PHP] flaking out on foreach

2002-08-27 Thread Matt Schroebel
> From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 11:08 AM > Subject: [PHP] flaking out on foreach > > > Why is this code: > > > $bob=array(1,2,3,5,6); > > foreach($bob as $foo);

RE: [PHP] Stepping through an array more than once

2002-08-28 Thread Matt Schroebel
> From: Petre Agenbag [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 28, 2002 8:17 AM > To: Petre Agenbag > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Stepping through an array more than once > > > Actually, it's not accurate for me to say "stepping through an array > more than once", as

[PHP] PDF POST, but refresh is GET

2002-08-28 Thread Matt Schroebel
I have a page the will print a telephone listing in pdf (using pdflib and inline pdf) by POSTing the requested orientation and papersize to a second page. I've found that I have to post to a second page because IE seems to cache a response, and if I post to the same page, I can never get the ht

RE: [PHP] PDF POST, but refresh is GET

2002-08-28 Thread Matt Schroebel
GET solved it. > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 28, 2002 2:44 PM > To: Matt Schroebel > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] PDF POST, but refresh is GET > > > Sounds like an IE bug to me.

RE: [PHP] PHP_AUTH_USER

2002-08-30 Thread Matt Schroebel
> From: Hendråwan Rinäldi [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 30, 2002 5:44 AM > Subject: [PHP] PHP_AUTH_USER > > anyone can help me what is the script for log out > > WWW-authenticate You can't log out of http authentication. Close the browser is it. Not very secure, eh. Use

RE: [PHP] PHP_AUTH_USER

2002-08-30 Thread Matt Schroebel
> From: Stas Maximov [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 30, 2002 8:02 AM > To: Matt Schroebel > Cc: PHP General > Subject: Re: [PHP] PHP_AUTH_USER > > > > You can't log out of http authentication. Close the > browser is it. Not > very

RE: [PHP] help with installation

2002-09-09 Thread Matt Schroebel
> From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 09, 2002 10:32 AM > Subject: [PHP] help with installation > > Sure I'm missing some thing silly here but its monday morning :) > I have just installed php 4.2.3 with apache 1.3.26. > I have all loadmodule/addmodule as

RE: [PHP] PHP Source files

2002-09-09 Thread Matt Schroebel
> From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 09, 2002 12:41 PM > Subject: [PHP] PHP Source files > > I'm wondering if anyone knows where I can find information > about how PHP > parser processes commands like: > > $a=$b+$c; > if ($b < $a) {} > > (Ones with oper

RE: [PHP] Re: Displaying PDF file

2002-09-12 Thread Matt Schroebel
> -Original Message- > From: Erwin [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 12, 2002 11:02 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Displaying PDF file > > > Joseph Szobody wrote: > > Thanks Erwin, that helps but I'm still not getting it to work. > > Should I st

RE: [PHP] freetype - could not open font problem

2002-09-24 Thread Matt Schroebel
> From: andy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 7:29 AM > Subject: [PHP] freetype - could not open font problem > I am trying to use freetype, but do always get the message > > Warning: Could not find/open font in test.php on line 18 > > The font is available and o

RE: [PHP] Jpeg resize quality problem

2002-09-24 Thread Matt Schroebel
> -Original Message- > From: Michael F. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 12:09 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Jpeg resize quality problem > > > Hello, > > I have a php script which resizes a jpeg file. I use > ImageCopyResized and > ImageJP

RE: [PHP] Setting date fields in mysql queries

2002-10-02 Thread Matt Schroebel
> From: Brad Harriger [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 02, 2002 3:17 PM > Subject: [PHP] Setting date fields in mysql queries > > > I have the following line in a program I'm working on: > > $query = "UPDATE countertable SET CurrDate = '$ndate' WHERE ID = $id" > > $ndate

RE: [PHP] Packaging files for download

2002-10-24 Thread Matt Schroebel
Look at the user notes on the man page for zip http://www.php.net/manual/en/ref.zip.php, there are several solutions there > -Original Message- > From: Brent Baisley [mailto:brent@;landover.com] > Sent: Thursday, October 24, 2002 10:30 AM > To: php-gen > Subject: [PHP] Packaging files for

RE: [PHP] Information Retrieval.. help

2002-11-05 Thread Matt Schroebel
Why don't you use full text search, which creates a score? Two tutorials: http://www.mysql.com/doc/en/Fulltext_Search.html http://www.zend.com/zend/tut/tutorial-ferrara1.php The match words need to be at least 3 characters in length or you'll get no results. > -Original Message- > From:

[PHP] Re: Listing a table /Limit

2002-11-20 Thread Matt Schroebel
I was thinking you'd start at the beginning, displaying row 0 through row 19, and then have a next link, that will show rows 20 through 39, and so on. > -Original Message- > From: Marco Bleeker [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 20, 2002 9:06 AM > To: [EMAIL PROTECTED]

RE: [PHP] POST v. GET

2002-06-20 Thread Matt Schroebel
> after you read this web page (take you no more than 15 minutes), you > should consider browsing the actual HTTP spec, though it's pretty > technical and is very long. I've html'd the RFC2616 for easier reading and you can find it at http://www.php-faq.com/httpintro.php -- PHP General Maili

RE: [PHP] Using PHP and Apache's .htaccess files.

2002-06-20 Thread Matt Schroebel
> -Original Message- > From: Todd Fernandes [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 20, 2002 3:07 PM > The way I have it working now is that I check to see if > $PHP_AUTH_USER is > set, and if it is, I send them to the page that is a > directory down behind > the .htaccess fi

RE: [PHP] checking

2002-06-28 Thread Matt Schroebel
> if ($lastname="") { > $insert="no" > } Even though you should use either empty() or isset(), you'd have a parse error if you wrote that as: if (""=$lastname) { $insert="no" } It takes a little time to learn to write the test 'backwards' but if you do the php parser will help and catch

RE: [PHP] $name = "My $row['name']" not longer possible?

2002-07-02 Thread Matt Schroebel
> "Parse error: parse error, unexpected > T_ENCAPSED_AND_WHITESPACE, expecting > T_STRING or T_VARIABLE or T_NUM_STRING in ..." > > when doing sth like: > $name = "My $row['name']"; You have to wrap array references in curly braces within double quoted strings. Proper form is: $name = "My {$ro

RE: [PHP] .htpasswd

2002-07-02 Thread Matt Schroebel
%htpasswd --help Usage: htpasswd [-cmdps] passwordfile username htpasswd -b[cmdps] passwordfile username password htpasswd -n[mdps] username htpasswd -nb[mdps] username password -c Create a new file. -n Don't update file; display results on stdout. -m Force M

RE: [PHP] $name = "My $row['name']" not longer possible?

2002-07-02 Thread Matt Schroebel
> -Original Message- > From: Hugo Wetterberg [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 1:12 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] $name = "My $row['name']" not longer possible? > It is possible to use arrays within strings, just skip ''. > Write > $name="My $

RE: [PHP] Postal / Zip Code Proximity Search

2002-07-09 Thread Matt Schroebel
> -Original Message- > From: Peter J. Schoenster [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 1:26 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Postal / Zip Code Proximity Search > > > I don't know what you mean by straight line. AFAIK all of > this will be as "the crow

RE: [PHP] Working under Apache 1.3 but not Under IIS

2002-07-09 Thread Matt Schroebel
> From: Kondwani Spike Mkandawire [mailto:[EMAIL PROTECTED]] > Subject: [PHP] Working under Apache 1.3 but not Under IIS > > The function shown below only functions with my > Apache on WinNT... I have tried it on my local > Server (thats the one running the Apache and > it works perfectly)... I

RE: [PHP] Postal / Zip Code Proximity Search

2002-07-09 Thread Matt Schroebel
> I found the points file here: > ftp://ftp.census.gov/pub/tiger/pts/geoex.zip Sorry, I was wrong here. Those aren't the right files, and it's hard to find the correct ones. Should I ever do that, I'll post a correct link. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

RE: [PHP] HTTP authentication

2002-07-10 Thread Matt Schroebel
> From: Varsha Agarwal [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 4:30 PM >I thought it will ask some user name and > password thing but it just displays me the string > "text to send if user hits cancel". > This is the code: > > header("WWW-Authenticate: Basic realm=\"My

RE: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Matt Schroebel
A couple projects that I have thought of doing at are quite large would be: 1. A network monitor, like Big Brother, but written in php. Completely db driven, with an easy to use web interfaces for monitoring/adding systems and has uptime graphs, etc. It can be quite complex if you try to add h

RE: [PHP] outputting a pdf file to IE browser? POST/GET method bug or not?

2002-07-15 Thread Matt Schroebel
> From: gilles [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 1:19 PM > Subject: [PHP] outputting a pdf file to IE browser? POST/GET > method bug or not? > error_reporting(E_ALL); > > session_start(); > if (!isset($_SESSION['download'])) { > @$_SESSION['download'] = $_POST['down

RE: [PHP] Newbie getting close, form submission

2002-07-22 Thread Matt Schroebel
> From: Dean Ouellette [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002 9:43 AM > Subject: [PHP] Newbie getting close, form submission > I am a complete newbie, search the web for examples right now and use > them. > > The host has php 3.0. ^ That's really old, y

RE: [PHP] Newbie getting close, form submission

2002-07-22 Thread Matt Schroebel
> From: Dean Ouellette [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002 10:56 AM > Subject: RE: [PHP] Newbie getting close, form submission > > $Message = $HTTP_POST_VARS['Message']; // should single quote > associative array indexes > if (isset($HTTP_POST_VARS['Header'])) { > <<<>>> $

RE: [PHP] dbf Help

2002-07-22 Thread Matt Schroebel
> From: Vinod Palan [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002 1:41 PM > Subject: [PHP] dbf Help > I have already php installed on linux running with mysql enabled. > Now I wanted to read dbf files and I came to know that we > need to install > php with > > *

RE: [PHP] stores / ecommerce

2002-07-22 Thread Matt Schroebel
> -Original Message- > From: Chris Edwards [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002 1:11 PM > Subject: [PHP] stores / ecommerce > What are some good e-commerce stores written out there for > PHP and mySQL?? http://marc.theaimsgroup.com/?l=php-general&m=101839857008918&w

RE: [PHP] What does register_globals do?

2002-07-22 Thread Matt Schroebel
> From: Matt Babineau [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002 3:59 PM > Subject: [PHP] What does register_globals do? > > I have never had a clear understanding about what this does, > the php.ini > has an explanation but being newer to PHP I don't understand it very > well. Co

RE: [PHP] What does register_globals do?

2002-07-22 Thread Matt Schroebel
> From: Martin Clifford [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002 4:21 PM > Subject: Re: [PHP] What does register_globals do? > My way of thinking about is: > > With register_globals ON, all variables defined are available > anywhere in the script (with the exception of functions

Re: [PHP] Global varialbes in functions

2003-10-04 Thread Matt Schroebel
Jeff McKeon said on Saturday, October 04, 2003 at 11:35 AM >However on the third funtion I get an undefined index error for '>ticketid' Post some code ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Easy Form problem

2001-04-19 Thread Matt Schroebel
You need to run the mysql_db_query() twice. Once for each statement, and between the assignments: $query = ...; $mysql_db_query(...); $query = ...; $mysql_db_query(...); > I am trying to update two tables at once from a form using two Insert > statements: > > Should I be using two different va

RE: [PHP] php FTP

2001-04-25 Thread Matt Schroebel
I've never done it but here it is: http://conf.php.net/pres/index.php?p=slides%2Fintro&id=ac2 > -Original Message- > From: ryan.barnett1 [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 25, 2001 10:03 AM > To: [EMAIL PROTECTED] > Subject: [PHP] php FTP > > > Hi there, > > I would

RE: [PHP] php FTP

2001-04-25 Thread Matt Schroebel
uld check this with > IE 5.1 & 5.5 > I'd like to know if this is just my browser. If it is I'll have to > reinstall NT to fix it. Damn, damn, and double-damn! > > Cheers - Miles > > > At 10:26 AM 4/25/01 -0400, Matt Schroebel wrote: > >I'v

RE: [PHP] Get the title from an HTML page

2001-04-30 Thread Matt Schroebel
You can find a function that does that at http://www.zend.com called Get Title Tag in the Code Gallery under the HTML catagory. > -Original Message- > From: Matthew Ralston [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 30, 2001 9:25 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Get the

RE: [PHP] template solutions?

2001-04-30 Thread Matt Schroebel
I'm using EasyTemplates from Web Application Development with PHP book by Tobias Ratschiller. It's quite simple, easy to modify, and I loop on a template, appending the html to a variable that I use elsewhere in another template. It really straightens out logic because you're building the pag

RE: [PHP] Logout Problem auf .htaccess-Login

2001-05-01 Thread Matt Schroebel
$PHP_AUTH_USER="" ought to do it. > From: Jochen Kaechelin [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 01, 2001 4:30 AM > Is it possible to unset $PHP_AUTH_USER and $PHP_AUTH_PW after > a successfull '.htaccess-login'? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

RE: [PHP] add to .htpasswd via php

2001-05-02 Thread Matt Schroebel
You might want to forget the exec and write direct to the file as in this code gallery item: http://www.zend.com/codex.php?id=521&single=1 > From: Joseph Koenig [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 02, 2001 1:40 PM > I'm attempting to streamline my work by writing a script that >

RE: [PHP] HTTP authentication : logout!!!

2001-05-07 Thread Matt Schroebel
$PHP_AUTH_USER = ""; $PHP_AUTH_PW = ""; Ought to do it. > From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 07, 2001 8:39 AM > To: [EMAIL PROTECTED] > Subject: [PHP] HTTP authentication : logout!!! > Now i woul like to create a logout link after clicking > on which, whene

RE: [PHP] mySQL access denied with correct account/pw?

2001-05-08 Thread Matt Schroebel
If you are now accessing remotely, you'll need remote privileges for the user, not just user@localhost. Could also be the db name is incorrect. > -Original Message- > From: John Vanderbeck [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 08, 2001 2:59 PM He has given me the > account a

RE: [PHP] mysql_trouble (check fast!)

2001-05-08 Thread Matt Schroebel
You have to check for a db result with either $count = mysql_num_rows($q_updateresult) or if ($row = mysql_fetch_array($q_updateresult)). mysql_query returns a 1 or 0 to indicate if the query was sucessful. One might typically query a db before inserting a record to make sure it's not there f

RE: [PHP] download successfull... but in binary... why?

2001-05-09 Thread Matt Schroebel
the man page for header() says look here: http://www.w3.org/Protocols/rfc2616/rfc2616 > From: Christian Dechery [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 09, 2001 9:33 AM > where can I find reference on these header stuff? -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: Re[2]: [PHP] Variables in variable names

2001-05-09 Thread Matt Schroebel
> or even try > > > > This should AFAIK result in an Array, but I'm not sure if > empty fields are put in. You will get the empty fields except for checkboxes. For checkboxes only the checked elements come through so you need values that determine which box was checked. So say you have:

RE: [PHP] About MySQl and Transactions

2001-05-09 Thread Matt Schroebel
You have to have version 3.23 and read this: http://www.mysql.com/doc/C/O/COMMIT.html > From: Hassan Arteaga [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 09, 2001 1:24 PM > How I implements transaccions in MySQL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

  1   2   >