Re: [PHP] how to resort results of a query

2002-07-05 Thread Matthew K. Gold
to go about it. Thanks in advance. best, Matt - Original Message - From: Chris Hewitt [EMAIL PROTECTED] To: Matthew K. Gold [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 05, 2002 7:34 AM Subject: Re: [PHP] how to resort results of a query Matthew, Its a new query unless

[PHP] how to resort results of a query

2002-07-05 Thread Matthew K. Gold
Hi, How can I set things up so that a user can resort the results of a query? Also, how can I make certain columns into links? I'm making a site that will list college courses. When users decide to browse listings by discipline, or college, I'd like the titles of the courses to be links to

[PHP] ...

2002-07-02 Thread matthew de Jongh
subscribe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] blank

2002-07-02 Thread matthew
subscribe [EMAIL PROTECTED] matthew de Jongh president the spa! internet voice (413) 539-9818 www.the-spa.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] function echo ' '

2002-06-25 Thread Matthew Nock
my understanding is that you could write it like this: ? echo 'a href='.$address.''; ? -Original Message- From: Martin Johansson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 25 June 2002 5:25 PM To: [EMAIL PROTECTED] Subject: [PHP] function echo ' ' Is there a way to express php

[PHP] Re: Convert a grayscale value to a #RRGGBB hex value

2002-06-24 Thread Matthew Gray
If you know its grayscale... function GrayScaleToHex( $val ) { $norm = $val * 2.55 + $val/100; $hex = sprintf(%02X, $norm); return '#' . $hex . $hex . $hex; } Should get you close enough. Matt René fournier wrote: Anyone know how I might convert a grayscale value, from between

[PHP] PHP 4.2.1 reading PAM/Shadowed passwords?

2002-06-22 Thread Matthew Nock
Hi All, I am trying to build a client interface for each of my web-hosting customers, and would like to have them log into the system using the same username/password combinations that are used for FTP, email etc. ie: those stored in the Unix system's passwd and shadow passwd files. I have

[PHP] PHP 4.2.1 reading PAM/Shadowed password

2002-06-21 Thread Matthew Nock
Hi All, I am trying to build a client interface for each of my web-hosting customers, and would like to have them log into the system using the same username/password combinations that are used for FTP, email etc. ie: those stored in the Unix system's passwd and shadow passwd files. I have

[PHP] Crontabs

2002-06-18 Thread Matthew Ward
I want to set up a crontab using my hosts control panel, and when i go to set one up there are boxes for how frequently you want the task to run, and one labelled Command. Basically, I want to get a PHP script to run every set amount of time, so what do I have to type in the Command box to get a

Re: [PHP] Perl inside PHP

2002-06-18 Thread Matthew Ward
See here: http://www.php.net/manual/en/function.virtual.php Chris Knipe [EMAIL PROTECTED] wrote in message news:064401c21654$310e4d40$[EMAIL PROTECTED]... Yeah, urgh, not exactly what I was hoping on, but I'll give executing perl a try... I want to stay as far away as possible from mod_perl

Re: [PHP] Crontabs

2002-06-18 Thread Matthew Ward
What do you mean by appropriate #! at the top? Analysis Solutions [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Matthew: On Tue, Jun 18, 2002 at 08:48:19PM +0100, Matthew Ward wrote: Basically, I want to get a PHP script to run every set amount

[PHP] PHP (CLI) + CURL + SSL Problem...

2002-06-07 Thread Matthew Walker
I have PHP installed both as a module, and as a CLI. When I use CURL from inside the module, it works fine for all connections, including SSL. When I use the CLI, I can't make SSL connections with CURL. It just returns 'false'. Anyone know why? -- PHP General Mailing List

Re: [PHP] PHP (CLI) + CURL + SSL Problem...

2002-06-07 Thread Matthew Walker
installation? Try running this through the CLI to check... if(extension_loaded('curl')){ echo 'curl support present'; } else { echo 'curl not found'; } mh. On 7 Jun 2002, Matthew Walker wrote: I have PHP installed both as a module, and as a CLI. When I use CURL from inside

Re: [PHP] mysql_num_rows()

2002-06-07 Thread Matthew Walker
It's 1 based. It returns the number of rows. Not the index of the last row. (Which would be 0 based.) On Fri, 2002-06-07 at 19:23, William_dw -- Sqlcoders wrote: Hiya!, Does anyone know whether mysql_num_rows is zero or one based? that is, if I have 5 records will mysql_num_rows() return 4

[PHP] How YaBB logs in

2002-05-15 Thread Matthew Ward
I'm currently integrating my site with YaBB so that when you log into my YaBB forums it also logs you into the whole site. I'm also developing a script that I'm integrating into my main page that checks the password in the cookie with the one in the database as a security check. The problem is,

[PHP] PHP Tag question

2002-05-15 Thread Matthew Walker
I'm writing a coding standards document for our programmers, and I need to know if the 'echo' shortcut PHP tags are always on, or if we need to assume they might not be on. (By echo shortcut, I mean this syntax: ?=$variable?) Matthew Walker Senior Software Engineer ePliant Marketing

RE: [PHP] I'm doing something wrong....

2002-05-15 Thread Matthew Walker
When you create an array this way, no numeric indexes are assigned. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Robert Rothe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 2:35 PM To: [EMAIL PROTECTED] Subject: [PHP] I'm doing

RE: [PHP] SQL Server test tool

2002-05-15 Thread Matthew Walker
Just attempt to connect. If it succeeds, the server is alive. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Scott St. John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 6:53 AM To: [EMAIL PROTECTED] Subject: [PHP] SQL Server test tool

RE: [PHP] help with undefined variables, please

2002-05-14 Thread Matthew Walker
I prefer to use isset(), not empty(). It's more accurate, in that it knows the difference between a variable that just isn't set, and one that has an empty value (which may be valid). Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Philip Olson

[PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
to accommodate it. So, is there any reliable way to emulate sessions without requiring a cookie, or a variable passed in every URL? Matthew Walker Senior Software Engineer ePliant Marketing --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
The sites are not dynamic, but the shopping cart /is/. The problem is, if people don't have cookies on, when they return to the site to order more products, they loose the SID that has been appended to the links inside the cart, and thus loose the contents of their shopping cart. Matthew Walker

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
You're not understanding the problem. This is not an authentication situation. We are using sessions to track information about what a customer's OrderID is, and other related information. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Rasmus

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
to maintain session data. But maybe my mind is just trapped in a rut. Please enlighten me. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 6:04 PM To: Matthew Walker Cc: [EMAIL PROTECTED

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
Blah. That's a really ugly choice, but I suppose we may end up having to do that. I'd give my kingdom for always-on cookies. Ah well. I'll look into this some more once my current project is finished. Thanks for your advice. (And thanks to everyone else too) Matthew Walker Senior Software

RE: [PHP] PHP 4.2x changes

2002-05-14 Thread Matthew Walker
Actually, it is $PHP_SELF. Try $_SERVER['PHP_SELF'] Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Weston Houghton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 6:14 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP 4.2x changes All, I've

[PHP] Re: PHP and mySQL

2002-05-13 Thread Matthew Ward
I presume that quantity is the number of books that the person has ordered, and therefore it needs to be a variable (ie with a $ infront of it) and its also best to do the calculation outside of the SQL statement just to be sure it works, eg: if ($submit){ if(isset($booktitle)

[PHP] Re: PHP file Opening Problem

2002-05-13 Thread Matthew Ward
It sounds like your just trying to open the file straight from your hard drive using IE. Unfortunately, PHP doesn't work like HTML files or JavaScript in that its not IE or any other web browser that makes PHP work. It is actually a server that works out all the PHP bits, puts it all in the right

[PHP] Re: PHP Hosting ...

2002-05-12 Thread Matthew Ward
Instead of switching hosting companies, why don't you just install phpMyAdmin on your webspace, that way you can control your mySQL databases in a far more user-friendly way than SSH will let you do Tim Thorburn [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi,

Re: [PHP] Search Engine With Boolean Support --Please help

2002-05-12 Thread Matthew Ward
This is a bit of a tricky one, as a search engine isn't just some 10 line code you can quickly type and expect to work. It'd be quite complex, because you have to run several queries for each of the boolean types, and you also have to account somehow for case-sensitivity. I'm currently working

RE: [PHP] Newbie question to everybody....PHP

2002-05-11 Thread Matthew Walker
to ask if you have any more questions. I always try and answer questions on the list if I have the time, and know the answer. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: r [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 11, 2002 7:26 PM To: [EMAIL

RE: [PHP] setcookie() in 4.2.0

2002-05-11 Thread Matthew Walker
going. (Or maybe I'm just too lazy to take the tremendous amount of time it would take to rewrite our code to not send output before headers...) Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Olexandr Vynnychenko [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] Re: how to send spaces in the url

2002-05-09 Thread Matthew Walker
Might I suggest using PHP's urlencode() to encode the string, and Javascript's function unescape()? Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 11:37 AM To: [EMAIL PROTECTED

RE: [PHP] simple array question (Am a Newbie kindly excuse.)

2002-05-09 Thread Matthew Walker
Try this: ?php $a1[]=ryan1; $a1[]=ryan1.2; $a1[]=ryan2; $a1[]=ryan2.1.1.1.1.1; $a1[]=ryan3; $a1[]=ryan3.2; print(Tesing arrays:br); for($i=0; $i count($a1); $i++) { { echo($a2[$i]); if ($i != (count($a1) - 1)) { echo ,br; } } ? Matthew Walker Senior

[PHP] Re: mail function

2002-05-06 Thread Matthew Ward
You can add further variables to the end of your current mail() function to specify the name of who its from, and the email address that they will send the message to when they use the reply function on their email program, like this: mail([EMAIL PROTECTED], My Subject, Line 1\nLine 2\nLine 3,

RE: [PHP] Mass Mail {?!}

2002-04-22 Thread Matthew Walker
I'd recommend this script with a few changes. ? $Emails = array(Get your list of emails into the array somehow); for($i=0; $icount($Emails); $i++) { // send email code usleep(delay in microseconds); } ? Matthew Walker Senior Software Engineer ePliant Marketing

RE: [PHP] Can php support ttf??

2002-04-22 Thread Matthew Walker
Also, non-Unicode TTF fonts will /not/ work with PHP. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Rahul Bhide [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 9:45 PM To: zhaoxd Cc: php mailling list Subject: Re: [PHP] Can php support ttf

RE: [PHP] remove last character in a string

2002-04-22 Thread Matthew Walker
Actually, if he uses a negative index in substr(), he doesn't need to know the length of the string. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 9:29 PM To: Craig Westerman

[PHP] test

2002-04-20 Thread Matthew Tapia
123456 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Image functions

2002-04-19 Thread Matthew Gray
You won't get very far if you aren't outputting an image to the browser using ImageJpeg(), etc. Matt Matthew J Gray UWRF - Information Technology Services [EMAIL PROTECTED] Gerard Samuel wrote: Im trying to modify a poll script to not use the hard coded image files and use php's image

RE: [PHP] SafeExtract() ... extract securily

2002-04-17 Thread Matthew Walker
Sounds really good to be! Now if they would code this into PHP, it would be perfect. This would solve several security issues. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Amit Arora [mailto:[EMAIL PROTECTED] (nospam)] Sent: Wednesday, April 17

RE: [PHP] Checking for TTF in a script

2002-04-16 Thread Matthew Walker
Use this: if (function_exists(imagettftext)) { //TTF Exists } else { //TTF Doesn't exist } Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Jackson Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 12:42 PM To: [EMAIL

RE: [PHP] Multiple Threads?

2002-04-15 Thread Matthew Walker
I think what I'm going to end up doing, is using a perl CGI script to do this part. I /know/ perl can do it easily, and I won't have to hack together my own threading code. Thanks for the suggestions though. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message

[PHP] RE: Multiple Threads?

2002-04-14 Thread Matthew Walker
Won't work for web connections, because it waits for each connection to complete before running the next one. Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Richard Creech [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 14, 2002 1:46 PM To: [EMAIL

[PHP] Multiple Threads?

2002-04-13 Thread Matthew Walker
shipping rates to display on a page. If you had to query them one at a time, the delay would be unacceptable. However, with that perl module, you could query them all at the same time, making it much faster. Does anyone know if such a thing exists for PHP? Matthew Walker Senior Software Engineer

[PHP] sablotron XMl XSLT

2002-04-09 Thread Matthew Luchak
s means no - there's no sablotron installed - but I was wondering if there is another way to test for Sablotron? I need a little quicker turnaround time then passing from voicemail to voicemail at my ISP ;) thanks, ____ Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED]

[PHP] flock and unix/apache

2002-04-09 Thread Matthew Luchak
s true... any ideas? ____ Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED]

RE: [PHP] sablotron XMl XSLT

2002-04-09 Thread Matthew Luchak
Thanks Ray but what I need to know is if there is indeed a better way than what I've tried to test if sablotron has been complied or not. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Hunter, Ray [mailto:[EMAIL

RE: [PHP] sockets and flush()

2002-04-09 Thread Matthew Luchak
Are you using ob_start () and ob_end_flush() ? If not then declaring ob_start () as the very first ? ob_start (ob_gzhandler); function call and ob_end_flush() where you want the string to output should do the trick. Matthew Luchak Webmaster Kaydara Inc

RE: [PHP] Re: sablotron XMl XSLT

2002-04-09 Thread Matthew Luchak
thanks. did the trick. no sablotron. :( Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] You could use function_exists() to test if xslt_create() is a defined function. If not, then error out. If so, carry on. It's not limited to sablotron checking

RE: [PHP] PHP.ini Session section

2002-04-09 Thread Matthew Luchak
sure, I've had it working before... what's the hang-up. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Mauricio Sthandier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 4:17 PM To: [EMAIL PROTECTED] Subject

RE: [PHP] counter for HIGH traffic site

2002-04-08 Thread Matthew Walker
run. The queries consist of the same kind you would be using. Debug Data This page was generated in 0.030305027961731 seconds. 9 queries executed. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Craig Westerman

[PHP] oracle exec

2002-03-25 Thread matthew clay shultz
hi.. is there any way to use the php oracle function to check to see if there are any records in the selected set before calling ora_fetch? ora_exec doesn't error if ther are no records, and ora_num_rows doesn't return the numbe of rows in the set., thanks! matt -- PHP General Mailing List

RE: [PHP] what is the difference between function and language construct?

2002-03-21 Thread Matthew Walker
Because $a=5 is not 'empty'. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: bob [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 5:19 PM To: [EMAIL PROTECTED] Subject: [PHP] what is the difference between function and language construct

RE: [PHP] Re: Phpfx, what is it?

2002-03-20 Thread Matthew Walker
A quick search on google told me this: phpfx is a website with the goal of providing free and quality open source php scripts Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20

[PHP] php CLI

2002-03-08 Thread matthew clay shultz
hi, when i run script from the CLI, it doens't recognize the oracle library functions. why is tthis and what can i do aobut it? thanks everyone! matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php CLI

2002-03-08 Thread matthew clay shultz
its a solaris box, with apache and oracle. its got php4.0.4 on it right now, about to upgrade i believe.. On Fri, 8 Mar 2002, Hunter, Ray wrote: What type of system are you running this on? Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: matthew

[PHP] Script Debug.

2002-03-07 Thread DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
Hi, someone was helping me with this last night at home, but now I am in work I am still struggling. I have a user_auth script what works fine, it registers the username and password as session variables then matches them to the rows entered in the database - if they don't match it unregisters

RE: [PHP] Session_start()

2002-03-07 Thread Matthew Walker
You must place session_start() before any other /output/. It can come after other code, as long as nothing will be output before it. Alternately, you can turn on output buffering and just not worry about it. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message

[PHP] registering a session variable from a select * query.

2002-03-06 Thread DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
hi, I have been working on updating my user auth section. to authorise users I have a simple select * from my_users if there is a matching row I register the input from a text box (username and password textboxs) once I have the username and passsword registered as a sessaion var I want to

RE: [PHP] registering a session variable from a select * query.

2002-03-06 Thread DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
Any updates / takers on this problem ?? thanks, Matt. -Original Message- From: DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 3:04 PM To: '[EMAIL PROTECTED]' Subject: [PHP] registering a session variable from a select * query

RE: [PHP] registering a session variable from a select * query.

2002-03-06 Thread Matthew Darcy
Content=Matthew Darcy TITLEBathJobs.com User Login/TITLE /HEAD BODY BGCOLOR=#ff LINK=#00 ALINK=#00 VLINK=#00 FONT FACE=Arial Size=4 Color=black P FORM METHOD=post ACTION=?=$PHP_SELF? CENTER TABLE BGCOLOR=#191970 BORDERCOLOR

[PHP] sending multiple frames to different pages

2002-03-05 Thread Matthew Darcy
Hello all I have just created a login script that works fine. At the moment I have a pretty simple (I have coded this but I am trying to keep it simple to explain what I am after if login != ok then generate HTML for error page else Generate HTML for ok page. end; what I want to do is

[PHP] registering a session variable from a select statment.

2002-03-05 Thread Matthew Darcy
Hi, I have a user auth script. Very simple and works. when I check the username and password I check it against a select all the values from the user table where the username and password match. (inputted from a 2 text boxes) like so //sets and runs SQL statement that brings back all info on

[PHP] PHP directing pages/frames to urls.

2002-03-02 Thread Matthew Darcy
Hi, I asked the group for a suggestion of how to direct 2 frames to 2 different locations on the click of a link. A suggestion using javascript was sent back to me. I am looking for other options can anyone suggest anything. Many thanks, Matt -- PHP General Mailing List

RE: [PHP] PHP directing pages/frames to urls.

2002-03-02 Thread Matthew Darcy
Hi Greg, I have the java script option, I was wondering if using java script was the only way to do this ? I am now guessing it is. Thanks, Matt. -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED]] Sent: 02 March 2002 18:08 To: Matthew Darcy Cc: [EMAIL PROTECTED] Subject

RE: [PHP] PHP directing pages/frames to urls.

2002-03-02 Thread Matthew Darcy
thats great. Thanks Greg. -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED]] Sent: 02 March 2002 18:26 To: Matthew Darcy Cc: [EMAIL PROTECTED] Subject: RE: [PHP] PHP directing pages/frames to urls. On Sat, 2 Mar 2002, Matthew Darcy wrote: I have the java script option, I

[PHP] headers showing up in browser using PHP as CGI handler

2002-03-02 Thread Matthew Scott
with the CGI version that's in use right now. Anyone have any ideas? Thanks for your help, Matthew Scott --- Re http://marc.theaimsgroup.com/?l=php-generalm=101069420521799w=2 [prev in list] [next in list] [prev in thread] [next in thread

[PHP] Re: Building secure authentification with sessions

2002-03-01 Thread Matthew Crouch
this is in the ballpark: http://phpbuildercom/columns/ying2602php3?page=1 Andy wrote: Hi there, I did recently read an article about security Now I absolutly see the need of recoding my authentification procedure on a community site There are questions I hoped some of you guys can

[PHP] Probably basic but seems advanced to me, PHP/SQL generation.

2002-02-28 Thread DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
Hello PHP'ers. First of all - scince joining this list I have got some great help and it is really helping my build me site so a BIG thank you to all. Now back to the help.. I have a table with cols, and say 20 rows in this table. col: 1 2 3 4 5 6 7

RE: [PHP] Probably basic but seems advanced to me, PHP/SQL generation.

2002-02-28 Thread DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
going on, and how to generate the table from these results. thanks, Matt. -Original Message- From: Bas Jobsen [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 1:59 PM To: DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2); [EMAIL PROTECTED] Subject: Re: [PHP] Probably basic but seems

RE: [PHP] Stupid Question

2002-02-28 Thread DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
if PHP is NOT a module axps and is build into apache then I was under the impression you had to recompile apache as PHP was built into apache. -Original Message- From: Jackson Miller [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 5:46 PM To: Greg Donald; PHP List; php

RE: [PHP] Stupid Question

2002-02-28 Thread DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
so you are running with apxs and do not need to re-compile as I said. If you are running with PHP as an apxs then fine, if you have built PHP into apache then you should need to re-compile. Matt. -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED]] Sent: Thursday, February

[PHP] RE: sending multiple frames to different pages

2002-02-28 Thread Matthew Darcy
Hello all I have just created a login script that works fine. At the moment I have a pretty simple (I have coded this but I am trying to keep it simple to explain what I am after if login != ok then generate HTML for error page else Generate HTML for ok page. end; what I want to do is

RE: [PHP] RE: sending multiple frames to different pages

2002-02-28 Thread DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
with page names to it. frameset frame src=?=$FirstFrame? frame src=?=$SecondFrame? /frameset Niklas -Original Message- From: Matthew Darcy [mailto:[EMAIL PROTECTED]] Sent: 1. maaliskuuta 2002 9:03 To: [EMAIL PROTECTED] Subject: [PHP] RE: sending multiple frames

[PHP] sending mail via SMTP server

2002-02-26 Thread Matthew Delmarter
to the SMTP server 2. I fire the mail through - a few thousand emails 3. I close the socket Do I have to close and reopen the socket every few hundred emails? Regards, Matthew Delmarter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
Hi, I want to create a dropdown list with options from a table. ie HTML BODY ?php $sql_select = select * from dropdown_options; $results = mysql_query($sql_select); while ($row = mysql_fetch_array($results); { echo option VALUE=$row[col1] NAME=option1 } /BODY /HMTL I know this is

[PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
it does help a little. I know the html is wrong I used this as an example to what I wanted. What I need to know is how to use PHP to generate the options in the list from col1 and show the option 2. The data for these is got from an array. so really what I want to know is how to code in PHP

RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
=.$row[col1]..$row[col2]; } ? /select -Original Message- From: Matthew Darcy [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 10:06 AM To: [EMAIL PROTECTED] Subject: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays. it does help

RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
]'; [EMAIL PROTECTED] Subject: RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays. original line: while ($row = mysql_fetch_array($results); new line: while ($row = mysql_fetch_array($results)) -Original Message- From: Matthew Darcy

RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
- From: Matthew Darcy [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 10:37 AM To: Martin Towell; [EMAIL PROTECTED] Subject: RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays. RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched

RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
PROTECTED] Subject: RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays. original line: while ($row = mysql_fetch_array($results); new line: while ($row = mysql_fetch_array($results)) -Original Message- From: Matthew Darcy [mailto:[EMAIL

RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays.

2002-02-24 Thread Matthew Darcy
= mysql_fetch_array($results)) -Original Message- From: Matthew Darcy [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 10:37 AM To: Martin Towell; [EMAIL PROTECTED] Subject: RE: [PHP] RE: (HTML related) helping to creating dropdown lists from fetched arrays. RE: [PHP] RE: (HTML related) helping

RE: [PHP] mysql 4 windows

2002-02-24 Thread Matthew Walker
Yes. MySQL is as stable as the box you run it on. ;) Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: jtjohnston [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 24, 2002 10:06 PM To: [EMAIL PROTECTED] Subject: [PHP] mysql 4 windows Does anyone

[PHP] Re: Guestbook question

2002-02-22 Thread Matthew J Gray
Take a look at mysql_data_seek() Matt James Taylor wrote: I have a really simple guestbook that allows someone to post to the book, then it displays all the entries. Well, there are too many entries now for just one page and it looks kinda wacky, so I wanted to do something where it only

[PHP] Re: Creating methods runtime

2002-02-21 Thread Matthew J Gray
No there really isn't. I wrote an extension that does it for me, but I am waiting to see what the second zend engine will have for this rather that using my hack. Maybe check the Zend Engine 2 mailing list to see what the future may hold. Matt Mika Tuupola wrote: Is there a way to

[PHP] question

2002-02-20 Thread Matthew Berwald
? Thanks for the help. Matthew Berwald __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] smtp server and socket connections

2002-02-18 Thread Matthew Delmarter
I just wanted to come to grips with how sockets/SMTP works. Is it like this... 1. I open the socket to the SMTP server 2. I fire the mail through - a few thousand emails 3. I close the socket Also, is step 3 necessary? Regards, Matthew Delmarter -- PHP General Mailing List (http

[PHP] smtp server and socket connections

2002-02-18 Thread Matthew Delmarter
I just wanted to come to grips with how sockets/SMTP works. Is it like this... 1. I open the socket to the SMTP server 2. I fire the mail through - a few thousand emails 3. I close the socket Also, is step 3 necessary? Regards, Matthew Delmarter -- PHP General Mailing List (http

[PHP] session password problems.

2002-02-17 Thread Matthew Darcy
Hi, I have a php user authorise script. I have 2 fields in a mysql database. user_name and user_password. Password is encrypted with the mysql password('$password') function. This is my PHP authorise section of the script. $sql_authorisation = SELECT * FROM account_details WHERE

[PHP] Problem in a user auth script. Advice please.

2002-02-16 Thread Matthew Darcy
Content=vi META NAME=Author Content=Matthew Darcy TITLEBathJobs.com User Login/TITLE /HEAD BODY BGCOLOR=#ff LINK=#00 ALINK=#00 VLINK=#00 FONT FACE=Arial Size=4 Color=black P FORM METHOD=post ACTION=?=$PHP_SELF? BRCENTER BathJobs.com Login BRBR TABLE BGCOLOR=#ff

[PHP] user auth script update.

2002-02-16 Thread Matthew Darcy
(../dbconnect.php); include(../functions/common_functions.php); session_start(); if (!isset($login_username)) { ? HTML HEAD META NAME=GENERATOR Content=vi META NAME=Author Content=Matthew Darcy TITLEBathJobs.com User Login/TITLE /HEAD BODY BGCOLOR=#ff LINK=#00 ALINK=#00 VLINK=#00 FONT FACE

[PHP] not really a php question but can't hurt to ask.

2002-02-16 Thread Matthew Darcy
I have apache compiled and working %100. I have www.mydomain.com when I visit thie domain apache loads index.html for my by default - wo my browser displays www.mydomain.com - but the page viewed is www.mydomain.com/index.html I updated index.html (did not touch any apache configuration)

RE: [PHP] not really a php question but can't hurt to ask.

2002-02-16 Thread Matthew Darcy
got the apache thing sussed. For some reason windows using ie takes doesn't see changed on the apache webserver as quick as linux ??? -Original Message- From: Matthew Darcy [mailto:[EMAIL PROTECTED]] Sent: 16 February 2002 11:58 To: PHP developers Subject: [PHP] not really a php

RE: [PHP] user auth script update.

2002-02-16 Thread Matthew Darcy
never mind Matt, I noticed the missin ); on line 65 Thanks for your help. Matt. -Original Message- From: Matt [mailto:[EMAIL PROTECTED]] Sent: 16 February 2002 12:05 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] user auth script update. I am now getting the parse

RE: [PHP] Text editor for linux

2002-02-16 Thread Matthew Darcy
there is a way of using vi/vim to highlight syntax with PHP and HTML. I am playing with it at the moment. Matt, -Original Message- From: Torkil Johnsen [mailto:[EMAIL PROTECTED]] Sent: 16 February 2002 13:45 To: [EMAIL PROTECTED] Subject: [PHP] Text editor for linux Anyone know of a

RE: [PHP] PEAR DB class

2002-02-14 Thread Matthew Walker
Sure is legal. I use it all /over/ the place. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: [PHP] PEAR DB class Hi all, Before I get

RE: [PHP] a user_auth script. The Script

2002-02-12 Thread Matthew Darcy
, Matthew Darcy wrote: spotted 1 error already missing the starting after the printf statment. Any more ? -Original Message- From: Matthew Darcy [mailto:[EMAIL PROTECTED]] Sent: 11 February 2002 23:09 To: Roy Cabaniss; php Subject: RE: [PHP] a user_auth script. The Script ?php

[PHP] a user_auth script.- Anyone see the problem ?

2002-02-12 Thread Matthew Darcy
?php include(../dbconnect.php); if ($submit == sign!) { $admin_string_auth=(select account_name, account_password, account_admin_level from account_details where account_name='$login_name') or die (Cant run auth string);

RE: [PHP] a user_auth script. The Script

2002-02-12 Thread Matthew Darcy
. The Script You have the ending } for the if statement? Nate - Original Message - From: Matthew Darcy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 12:57 AM Subject: RE: [PHP] a user_auth script. The Script was hoping someone else would see the errors I

RE: [PHP] a user_auth script. 1 down any more ?

2002-02-12 Thread Matthew Darcy
: 12 February 2002 16:20 To: [EMAIL PROTECTED]; php Subject: Re: [PHP] a user_auth script.- Anyone see the problem ? Check for a closing bracket on this statement if($row[account_password]==$login_name // line 14 or 15 needs ) Hope this helps Hugh - Original Message - From: Matthew

<    3   4   5   6   7   8   9   10   11   >