[PHP] Announce: php_imlib 0.3: PHP Imlib2 extension

2001-01-10 Thread Matt McClanahan
ation, and some example scripts, are available at http://mmcc.cx/php_imlib/ The extension itself is available at http://mmcc.cx/php_imlib/php_imlib-0.3.tar.gz Enjoy, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] Refreshing Window

2001-01-13 Thread Matt McClanahan
On Sat, 13 Jan 2001, Mark Lo wrote: > Hi, > > I would like to know the method to refresh one window when closing > another windows. That'd be a Javascript thing. onClose one window, refresh the other. Matt -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] graphic problem...

2001-01-13 Thread Matt McClanahan
Georg, If you're running Apache/Unix, php_imlib would allow you to manipulate png's with more than 256 colors. http://mmcc.cx/php_imlib/ Matt On Sat, 13 Jan 2001, Johan Holst Nielsen wrote: > GD library only support PNG 256 color your PNG have more colors! > >

[PHP] call time pass by reference - help

2001-01-14 Thread Matt Friedman
. in /adm/vhosts/theparentreport.com/www/phplib/session.inc on line 311 What should I do to fix this??? Matt Friedman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

[PHP] Re: [phplib] Call Time Pass By Reference PROBLEM.

2001-01-14 Thread Matt Friedman
Ok, but the warning says that call time pass by reference is deprecated. Will there be an update at some point to address this in phplib? Matt Friedman Spry New Media http://www.sprynewmedia.com Lead Programmer/Partner email: [EMAIL PROTECTED] phone: 250 744 3655 fax: 250 370 0436

Re: [PHP] PHPLIB and PHPMyAdmin

2001-01-16 Thread Matt Friedman
ff under another. Use .htaccess for configuration. best of both worlds. Matt Friedman Spry New Media - Original Message - From: "Ignacio Vazquez-Abrams" <[EMAIL PROTECTED]> To: "Kevin Cawthorne" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday,

Re: [PHP] Re: XML, what is that supposed to do?

2001-01-16 Thread Matt McClanahan
TD goes, I think this one has done an excellent job of being well defined, and yet easy to extend in the same breath. http://pyxml.sourceforge.net/topics/xbel/ Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

RE: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Matt Williams
Order allow,deny Deny from all in either your httpd.conf or a .htaccess file will deny users access to your *.inc files M@ > -Original Message- > From: Jon Haworth [mailto:[EMAIL PROTECTED]] > Sent: 17 January 2001 13:01 > To: 'Jamie Burns' > Cc: '[EMAIL PROTECTED]' > Subject:

RE: [PHP] how do i hide my .inc files in apache??

2001-01-18 Thread Matt Williams
> My vote is still just for include files to have a standard (already > accepted) extension. I think you may be missing the point on this one. The question wasn't what to name included files but how to stop apache parsing or showing the contents of the include files. The obvious solution of cou

Re: [PHP] multidemention array question(s)

2001-01-19 Thread Matt McClanahan
ve string keys: $departments = Array( 's1' => Array('live' => 1, 'admin' => 1, 'name' => "Dept's Name"), 's2' => Array('live' => 0, 'admin' => 1, 'name' => '

Re: [PHP] Classes question.

2001-01-19 Thread Matt McClanahan
em as parameters would be somewhat redundant. class Something { var $something; function Something() { $this->something = "More somethings"; } } Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] MySQL Query Error

2001-01-21 Thread Matt Stone
=c.id INNER JOIN subcategories s ON i.subcat_id=s.id But as soon as I do that I get this error message: MySQL Error: 1064 (You have an error in your SQL syntax near 'INNER JOIN categories c ON i.cat_id=c.id INNER JOIN subcategories s ON i.subcat_' at line 1) Session halted. Help please. Tha

RE: [PHP] MySQL Query Error

2001-01-21 Thread Matt Stone
No, that is exactly as the PHPLib Debug function is returning... :| -Original Message- From: Samantha Savvakis [mailto:[EMAIL PROTECTED]] Sent: Monday, 22 January 2001 3:21 PM To: Matt Stone Subject: RE: [PHP] MySQL Query Error I'm not sure why are getting that error. Is the stat

RE: [PHP] url hide

2001-01-22 Thread Matt Williams
http://www.foo.co.uk"> your browser does not support frames - click http://www.oozoo.co.uk">here to go to http://www.blah.co.uk">http://www.blah.co.uk > -Original Message- > From: Jørg V. Bryne [mailto:[EMAIL PROTECTED]] > Sent: 22 January 2001 10:40 > To: AJDIN BRANDIC; [EMA

Re: [PHP] <- functions returning multiple values: ->

2001-01-22 Thread Matt McClanahan
nly return one variable. However, you can return an array, which contains as many values as you need. function vartest() { $first = 10; $second = 20; return Array($first,$second); } Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

RE: [PHP] Help!!! MY ODBC!!!!

2001-01-22 Thread Matt Stone
No idea dude, but I will bring the topic back to the top and some all-knowledgable guru will hopefully help you *hint hint* :) -Original Message- From: Bruno Freire [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 23 January 2001 3:01 AM To: '[EMAIL PROTECTED]' Subject: [PHP] Help!!! MY ODBC

[PHP] Getting warning using split

2001-01-23 Thread Matt Williams
Hi I'm trying to split a string into an array but keep getting the following message: Warning: unexpected regex error (13) in z:/www_root/staff.php on line 34 The code is just $query_string = split("+",$search); where $search is from a form. Any clues?? TIA M@ -- PHP General Mailing Lis

RE: [PHP] Parse error

2001-01-23 Thread Matt Williams
Which line is producing the error?? M@ > -Original Message- > From: Liam Gibbs [mailto:[EMAIL PROTECTED]] > Sent: 23 January 2001 17:32 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Parse error > > > Should probably put the whole thing. > > Why does this produce a parse error (I know th

Re: [PHP] png files loosing color depth

2001-01-23 Thread Matt McClanahan
ou're limited to 8bit color. One possible option is to use php_imlib, which uses Imlib2 instead of GD for manipulating images. Since Imlib2 does everything in 32bit ARGB space, it'll do what you want. What I'm not sure about is if Imlib2 will build on Solaris.. http://mmcc.cx/ph

[PHP] Aspell Function

2001-01-23 Thread Matt Stone
Hi, I am trying to run this code from the manual but with no success: It returns this error: Fatal error: Call to undefined function: aspell_new() in /home/www/htdocs/sunsetstudios/photoscope/test.php on line 2 Is there a module have to enable to use Aspell? Or is there something I have to chan

RE: [PHP] Aspell Function

2001-01-23 Thread Matt Stone
Ahh... found the answer :) So much for the PHP doc, it didnt say anything about what i needed, I had to use the Zend one :| -Original Message- From: Matt Stone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 24 January 2001 12:54 PM To: PHP List Subject: [PHP] Aspell Function Hi, I am

RE: [PHP] Aspell Function

2001-01-23 Thread Matt Stone
in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "Matt Stone" <[EMAIL PROTECTED]> To: "Matt Stone" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Wednesday, Ja

RE: [PHP] Aspell Function

2001-01-23 Thread Matt Stone
Arghh!! Is aspell even supported on windows 2k? -Original Message- From: Matt Stone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 24 January 2001 1:06 PM To: Josh G; PHP User Group Subject: RE: [PHP] Aspell Function I had to download a the aspell library :) -Original Message

[PHP] array headaches

2001-02-21 Thread Matt Williams
Hi could anybody please help me get my head around the following. I get some url information from the database (title, url) I am trying to then put this into an array so I can pass it to the page to display a menu. so a) how do I get the data into the array. would this be the way to do it??

RE: [PHP] array headaches

2001-02-21 Thread Matt Williams
expecting more than one row to be returned from the db. So how would I get the all the rows returned into an associative array?? The manual tells you how how it should, but I need to do it from mysql_fetch_array M@ > > BTW have a look into the manual, the array stuff is described pretty we

Re: [PHP] I am looking for an image library that can do blurs

2001-02-21 Thread Matt McClanahan
), but php_imlib does it. You could, of course, re-blur the text if it wasn't enough the first time. . :) http://mmcc.cx/php_imlib/ Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: [PHP] array headaches

2001-02-21 Thread Matt Williams
n"; } is there any better way of doing this?? thanks M@ > -Original Message- > From: Pavel Kalian [mailto:[EMAIL PROTECTED]] > Sent: 21 February 2001 15:00 > To: Matt Williams; [EMAIL PROTECTED]; PHP_UK@egroups. com > Subject: Re: [PHP] array

RE: [PHP] array headaches

2001-02-22 Thread Matt Williams
b 2001 02:11, Matt Williams wrote: > > I have done it this way... > > > > $menu = array(); > > $count = $db->num_rows(); > > for($i = 0; $db->next_record(); $i++) > > { > > $menu[$i]["name"] = $db->f("name&

Re: [PHP] image orientation?

2001-02-22 Thread Matt McClanahan
mcc.cx/php_imlib/documentation.php#imlib_create_rotated_image Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Getting form name

2001-02-28 Thread Matt Williams
Hi Is there a way I can get the name of the form that has been posted? Looking at the form vars I don't see a name var or such in there. TIA M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

RE: [PHP] Getting form name

2001-02-28 Thread Matt Williams
Thanks Simon. You would have though as it there they would make it part of the form. thanks again. M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMA

[PHP] When form doesn't know what it's sending

2001-02-28 Thread Matt Hanley
Hi. i've concatenated a string from a while statement on a SQL query. example: "$mars","$venus","$jupiter". let's say i call this $planets. there are actual variables from a posted form with those names. say, $mars=1, $venus=2, $jupiter=3. however, when i echo "$planets" i get the string "$mars

[PHP] PHP 4.0.4pl1 on Cobalt Raq 2

2001-03-01 Thread Matt Perry
. One other thing: configure sees my system as mipsel-unknown-linux-gnu. Anyone have any suggestions? -- Matt Perry | matt at primefactor dot com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Calling Perl from PHP -- Help --

2001-03-05 Thread Matt Friedman
7;s a little over my head. So, how do I open the perl script in php, send it some input and read the output? Thanks, Matt.

[PHP] OT Perl help

2001-03-05 Thread Matt Friedman
Any easy way to make this script take it's input from the command line like so: ./porter_stemming.pl string where string is the argument? #!/usr/bin/perl -w # Porter stemmer in Perl. Few comments, but it's easy to follow against the rules in the original # paper, in # # Porter, 1980, An algo

[PHP] dates from db

2001-03-07 Thread Matt Davis
help? Thanks Matt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] parsing html / xml (more)

2001-03-07 Thread Matt McClanahan
bly more trouble than I would go to. You're not going to find an XML parser that allows for most HTML, because if such a parser did exist, it would be a broken XML parser. :) The only kind of HTML you can reliably parse with XML parsers is the XHTML variety (Which is simply HTML4, made XML-c

[PHP] Regex Masters: Please inspect this regex- Pulling urls out of page

2001-03-07 Thread Matt Friedman
on URI info? I guess what I'm really looking for is all the http urls, no ftp, mms etc... or anything like that. If it's right, then hopefully someone can use it! Matt Friedman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] MySQL problem - stumped

2001-03-10 Thread Matt Williams
> > >The following code is giving an me problems, I can't figure it > > out to save > > >my soul. The last line gives: > > > > > >Here is the code: > > > > > >$link = db_connect(); > > >$query = "UPDATE Users SET firstname='$firstname', lastname='$lastname' > > >WHERE username='$user' && password

[PHP] PHPLib & Phorum

2001-03-12 Thread Matt Williams
Hi Does anyone know if anyone has built phorum or any other BB with PHPLib authentication?? I was wondering if I could save myself a lot of time.. TIA M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: [PHP] switch with multiple case

2001-03-14 Thread Matt Williams
switch($something) { case "this": do this; break; case "those": case "them": do other; break; case "crap": case "doesn't matter": case "whatever": do nothing; break; default: print error; } > > <% > select case something

RE: [PHP] URL / address

2001-03-15 Thread Matt Williams
> Does anyone know how I can read the address of URL the user filled in in > his/her browser??? I presume you mean when asking for page on your server. $REQUEST_URI see. http://uk.php.net/manual/en/language.variables.predefined.php for more details and others M@ -- PHP General Mailing Li

RE: [PHP] Website, Design, hosting and maintenance for only $999.00 per year

2001-03-16 Thread Matt Williams
> [EMAIL PROTECTED] wrote: too bad they can't even spell their own email address M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Seg Fault with fopen

2001-03-18 Thread Matt Friedman
Here's a function I'm trying to use to execute a php and then read the html. I've tried the actual hostname instead of localhost but that's not working either. It's causing a segmentation fault. I'm running linux apache php 4.0.4 Any thoughts? function get_web_page_desc($filename) { $uri = 'ht

RE: [PHP] Can you recommend an ISP with the following?

2001-03-19 Thread Matt Williams
> *PHP4 > *MySQL > *Telnet access > *Decent Support > *Preferably a Cobalt server (or one with a VERY good Web-based > administrator, most other types of Web administrators I've seen have > been clunky and a PITA) > *Pretty Cheap www.blueboxwebhosting.com especially good for support M@ -- PH

RE: [PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread Matt Williams
you could make your links absolute ie.. /cat.html so if you're in http://green/admin/admin.html you would link to http://green/cats.html HTH M@ > I am developing a PHP site under windows which is going to be deployed > eventually on Unix (indeed when life gets less hectic will also > be dev

RE: [PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread Matt Williams
> Agreed - use absolute paths - but DONT include the protocol://server Sorry, I didn't mean it to sound like I meant include the above M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

Re: [PHP] OOP question regarding class extension

2001-03-19 Thread Matt McClanahan
ong what I have read). Right. You can extend a chain of classes, but you can't have a singular class extend from multiple classes directly. That is, this works: Apple extends Fruit Fruit extends Food This doesn't: Apple extends Fruit and Produce Matt > -Original Message-

RE: [PHP] A NETWORK MARKETER?

2001-03-20 Thread Matt Stone
Leaders of the industry with a geocities address... whopdee do -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 21 March 2001 1:09 PM To: [EMAIL PROTECTED] Subject: [PHP] A NETWORK MARKETER? ATTENTION: ANY SERIOUS NETWORK MARKETER TAKE A LOOK AT

[PHP] Cache

2001-03-20 Thread Matt Stone
it is my local cache my ISP's cache. Anyhow, can anyone suggest a tag or something for me to put in my page so it refreshes and bypasses the cache? It is getting _REALLY_ annoying :\ Thanks, Matt Stone -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

RE: [PHP] Cache

2001-03-20 Thread Matt Stone
That goes in the PHP code no? -Original Message- From: Tyrone Mills [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 21 March 2001 1:56 PM To: Matt Stone; PHPlist Subject: RE: [PHP] Cache Hi Matt, For a very extensive solution, check this out: http://www.zend.com/codex.php?id=435&sing

RE: [PHP] Cache

2001-03-20 Thread Matt Stone
No prob, that works fine. Thanks so much :) -Original Message- From: Tyrone Mills [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 21 March 2001 2:04 PM To: Matt Stone; PHPlist Subject: RE: [PHP] Cache Yup, at the beginning of your PHP script. Sorry, I should have mentioned that

[PHP] can you have two sql statements on the same page.

2001-03-21 Thread Matt Davis
s $sql_result2 = mysql_query($sql2); /*results variables for data to be displayed*/ while ($row = mysql_fetch_array($sql_result1)) { $name = $row["club_full_name"]; } How can I put both sets of results in the while statement. Any help would be k

RE: [PHP] Response.Write [OK]

2001-03-21 Thread Matt Williams
> > I have built a shopping cart and have made connection to an Internet > payment company. Now once transaction is processed they want from my > confirmation page to receive an "[OK]". How can I do this with php3/4? > > Response.Write"[OK]" is what ASP uses, I think??? try echo "alert('

Re: [PHP] Netscape 4.77 and PHP

2001-04-15 Thread Matt Friedman
This is almost always an html problem, not a php one. If a table tag or something isn't closed properly netscape will show a blank screen. IE is more (too) forgiving and assumes it knows where you meant to put the tag. Check your html and you'll fix it. Matt Friedman Spry New

[PHP] highlighting search results (revisited)

2001-04-17 Thread Matt Williams
I am trying to write a little search script to search a mysql db. I would like to highlight the search words for the displayed results, like sourceforge etc... After a little help, I have got it to hightlight when searching for one word. The problem is if I do a search for more than one word it

[PHP] Re: [phplib] Sessions in windows

2001-04-17 Thread Matt Friedman
0"); header("Cache-Control: max-age=0"); header("Pragma: no-cache"); break; default: header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

FW: RE: [PHP] highlighting search results (revisited)

2001-04-18 Thread Matt Williams
> The input from the search form is $searchtext. The Returned > Search data is > $searchdata. > > > $sql = "SELECT searchdata FROM table WHERE searchdata LIKE > '%$searchtext'"; > $result = @mysql_query($sql, $connection) > or die (mysql_error()); > > $num = mysql_num_rows($result); > > $x

RE: [PHP] checkbox validation

2001-04-18 Thread Matt Williams
> After I submit to next page, at next page, how do I check which > check box is checked? > like this? > > if ($id=="on") { > do something > }else{ > do something > } Hi try this assuming you have no toher check boxes called $id if(isset($id)) { do something }else{ do other } M@ -- P

RE: [PHP] highlighting search results (revisited)

2001-04-18 Thread Matt Williams
Hi James I'll paste the code I use.. $string = search string entered in the text box. # // REPLACE SPACES FOR MULTIWORD SEARCH $string = str_replace(" ","%",$string); $db->query("SELECT title,description FROM files WHERE (title LIKE '%

RE: [PHP] how do I find out which checkbox is checked when form get submit

2001-04-18 Thread Matt Williams
Hi Jacky In it's simpliest form try this ### ## > > Hi all, > Extremely desparate here as I still cannot get my problem sought > out, so decided > to post my question again. > Allow me to repeat my question again: > I have a

Re: [PHP] Graphic process within PHP

2001-04-18 Thread Matt McClanahan
almost certainly never will) support Windows. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] 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] Advanced Help Needed

2001-04-19 Thread Matt Friedman
I would put the code: at the bottom of your form page and run the page, without posting a file, and see what the phpinfo says about file uploading. Perhaps it is disabled. Even so, I can't understand why you would get a server not found. Hrm, well maybe this will shed some light.

[PHP] Regular expressions

2001-04-20 Thread Matt Williams
Hi I have the script below which encases every occurance of span in a tag The problem is I don't want it to replace any occurance of span that is inside a tag. how could I acheive this? I'm using perl regular expressions to keep the original case of the string. So, how could I replace occurance

Re: [PHP] Functions.

2001-04-24 Thread Matt McClanahan
end.com/zend/api.php Or the README.SELF-CONTAINED-EXTENSIONS which is included in the PHP source. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] 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] rounding up

2001-04-25 Thread Matt Williams
Hi > > Is there a PHP command to round up to the nearest integer? www.php.net/ceil www.php.net/round HTH M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-ma

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] IMLIB

2001-04-25 Thread Matt McClanahan
buildconf. Otherwise buildconf may not add php_imlib to the available extensions. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] where are the mailing lists listed?

2001-04-26 Thread Matt Wong
ed to? Thanks -Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] sending content-type header after session_start()

2001-04-26 Thread matt . wong
with the built-in session handling functions. Does anyone know if this can be done? Thanks -Matt has_authorization_to_download_requested_file()) { $err = "user not logged in, or has no authorization to download this file"; } else { header("content-type: ".requested_file_mime_ty

RE: [PHP] forms and RETURN key

2001-04-27 Thread Matt Williams
> If I run this form using IE, hitting the Return/Enter key submits the form > but the 'ok' variable is not set; it just redraws the form. If however, I > uncomment the third echo line (the one for Name2), then hitting the > Return/Enter key does have the desired effect in IE. In NS, the first

RE: [PHP] Ultradev PHP Server Model

2001-04-27 Thread Matt Williams
> > I was wondering, is anyone aware of a PHP server model, for Ultradev? > > > > Or, any leads on how I can create one? > > > > I'm developing a site with PHP+MS Access+Ultradev. I wanted to use some > > of the Ultradev server model features (and convenience), but > > they only support ASP/JSP/J

[PHP] sending content-type header after session_start()

2001-04-27 Thread matt . wong
with the built-in session handling functions. Does anyone know if this can be done? Thanks -Matt has_authorization_to_download_requested_file()) { $err = "user not logged in, or has no authorization to download this file"; } else { header("content-type: ".requested_file_mime_ty

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

RE: [PHP] bulletin board or forum

2001-05-10 Thread Matt Williams
phorum.org M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Sending attachments via mail()

2001-05-11 Thread Matt Adams
Hello I have some jpgs I'd like to send as attachments with automatically generated (via PHP) e-mails. Does anyone have any suggestions as to how I might go about this? Thanks Matt -- Matt Adams <[EMAIL PROTECTED]> Service Technician, Altair Electronics Voice <613.384.3876>

RE: [PHP] PHP: Variables in

2001-05-14 Thread Matt Schroebel
I would recommend: is logged in that way you won't get burned by quotes, etc ... > From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 14, 2001 7:59 AM > To: '[EMAIL PROTECTED]' > I want the the secure page to hold the users name > (from variable) in > the header Some

RE: [PHP] HallMark uses PHP!!!!

2001-05-14 Thread Matt Stone
lol -Original Message- From: Kath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 7:18 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] HallMark uses PHP http://www.bbspot.com/News/2000/6/php_suspend.html - Kath - Original Message ---

RE: [PHP] php4 & phplib problems

2001-05-15 Thread Matt Williams
Hi > > is anyone using phplib with php4? yes > I seem to be unable to get it working on a win98 machine with php4.0.5 with apache or PWS? > I have been using it with php3 before successfully > > > Please help > I am missing something obvious? I would suggest searching the phplib archives. Us

RE: [PHP] Site search engine suggestion.

2001-05-15 Thread Matt Williams
Hi Try DGS Search form http://www.digitalgenesis.com Looks pretty tidy Only downside is you can't exclude directories HTH M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list adm

[PHP] Compressing uploads

2001-05-15 Thread Matt Williams
Does anyone have an example of compressing file uploads or files in general? Basically some big files are being uploaded and I want to be able to zip/tar them to cut down on disc usage. I've tried playing with the zlib functions but haven't had much/any success at adding files into archives. The

[PHP] php on PWS

2001-05-15 Thread Matt Davis
. Matt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] How do I have a Authentication box pop up?

2001-05-17 Thread Matt Schroebel
There are some user notes under that manual page that might be of use to you. > From: Brandon Orther [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 17, 2001 3:17 PM > > For some reason that doesn't provoke a Pop-up. Maybe this is > because I am on an IIS server. Any Ideas? > http://www.php

Re: [PHP] dynamically naming arrays

2001-05-17 Thread Matt McClanahan
uff[4]); ${$stuff[3]} = '...'; http://www.php.net/manual/en/language.variables.variable.php Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] php_track_vars

2001-05-18 Thread Matt Davis
file and it says that track_vars is always on as default. I have also looked in the PHP manual but it does not say what to change to make work. I think I must be missing something really simple. Can anybody help. Matt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] porting problem

2001-05-20 Thread Matt Broughton
I've got a movies page written in perl that does both, its very quick and dirty and shouldnt take long for someone a bit more experienced in php than I am to port over. Would anyone be interested in helping? Please reply directly. -Matt Broughton -- PHP General Mailing List (http://w

[PHP] porting from perl

2001-05-20 Thread Matt Broughton
I'm having some difficulty porting this code from perl to php...can anyone give me a hand? -Matt Broughton #!/usr/bin/perl # Quick and dirty Yahoo movie showtimes grabber use LWP::Simple; my $content = get("http://movies.yahoo.com/showtimes/showtimes.html?z=florence%2C+sc&r=sim

[PHP] cron jobs

2001-05-21 Thread Matt Costello
Hi Am running php4 on Red Hat 7(ish) and i need to setup cron job to run php script. the script works fine if i load in browser, but creates an error under cron. The script doesn;t try and echo anything to screen, just does some DB stuff then sends out an email. Matt -- PHP General Mailing

RE: [PHP] Array Problem

2001-05-22 Thread Matt Schroebel
> What is the best way to delete an element from an array? > I tried using unset(), and it didn't work. unset works with arrary elements, but it must be a global variable and not passed in. Try the code below to see the results. in deleteGlobal()-Spot\n"; unset ($animals["Spot"]);

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