RE: [PHP] Getting the last record in a mysql table FINALLY!!

2002-01-18 Thread Chris Schneck
Also, PHP has a built in function for finding the ID of the last insert query. ill show some brief code. $query = ("insert into tbl_blah (fld_blargh) values ('$roar')"); $result = mysql_query($query) or die (mysql_error()); $last_id = mysql_insert_id(); echo $last_id; this should print out wh

Fw: [PHP] fired!

2001-09-21 Thread Chris Schneck
I worked at www.forestindustry.com , everything was fine until one day a staff of 30 was reduced to a staff of 5. Unemployment isnt funny anywhere. - Original Message - From: <[EMAIL PROTECTED]> To: "PHP list" <[EMAIL PROTECTED]> Sent: Friday, September 21, 2001 4:20 AM Subject: [PHP] fire

Fw: [PHP] fired!

2001-09-21 Thread Chris Schneck
where have you been, I was layed off last november? your behind the times man, you should have been unemployed months ago. - Original Message - From: "Aniceto Lopez" <[EMAIL PROTECTED]> To: "PHP list" <[EMAIL PROTECTED]> Sent: Friday, September 21, 2001 2:49 AM Subject: [PHP] fired! > d

Fw: [PHP] Re: Problem with Rename() and linux - update

2001-09-16 Thread Chris Schneck
Although this is a little OT, I dont remember any online tutorials that helped me and this is a fairly lengthy explanation. In your httpd.conf (this is how i did it you can find your own way im sure) set the apache user to be www and the group to www. Apache now knows to run as that user, but your

Fw: [PHP] make CGI in own directory on FreeBSD, error no space left on device

2001-09-13 Thread Chris Schneck
Usually yould have a quota set by your admin, to see how much space you have used and how much is left just type quota at the command prompt. Unless you are the admin? - Original Message - From: "Chrisy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 13, 2001 5:59

Fw: [PHP] Re: option tags and WHILE

2001-08-19 Thread Chris Schneck
Thanks to CC Zona and David Robley for their help in gettin this code out. This code is really nice for satisfying search engines. It offers different page content every time you refresh and if you feel like spamming, just use print_keywords(); here and there to be more relevant :) I'll post the c

[PHP] array in and out

2001-08-19 Thread Chris Schneck
Since i have little experience with arrays, and the manuals / readme files online havent been able to help me, I was wondering if anyone had any ideas why this code doesnt work? // get the keywords from db $keyquery = ("select fld_keyword_word from tbl_keyword order by rand()"); $

Fw: [PHP] Display Image (correcting myself) :P

2001-08-18 Thread Chris Schneck
echo "" . $row["description"] . ""; - Original Message - From: "Chris Schneck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 18, 2001 7:29 PM Subject: Fw: [PHP] Display Image > echo "" . $row["

Fw: [PHP] Display Image

2001-08-18 Thread Chris Schneck
echo "" . $row["description"] . " - Original Message - From: "Andonny" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 18, 2001 7:27 PM Subject: [PHP] Display Image > Hi, > I tried below to display the picture on the webpage. I have in the pcture > column a http add

Fw: [PHP] Sorry... but a good PHP editor for Linux/Unix

2001-08-01 Thread Chris Schneck
Joe has always been my favorite linux text editor. - Original Message - From: "Augusto Cesar Castoldi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 7:07 PM Subject: [PHP] Sorry... but a good PHP editor for Linux/Unix > Sorry about talking about this subject,

Fw: [PHP] php.net's index.php

2001-07-29 Thread Chris Schneck
Just so you know, you can also list them off in order you want them to appear. DirectoryIndex index.php index.html default.php etc. etc. Your Systems administrator for whomever you host with should be able to take care of this, he probably should have already :) - Original Message - Fr

Re: [PHP] netBIOS, Windows, Sockets, fsockopen help

2001-07-21 Thread Chris Schneck
Try messing around with the popular linux package samba, in particual smbmount. You may also need to read up on ports 137, 138, 139. - Original Message - From: "ReDucTor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 21, 2001 4:47 PM Subject: [PHP] netBIOS, Windows, Soc

Re: [PHP] netBIOS, Windows, Sockets, fsockopen help

2001-07-21 Thread Chris Schneck
Try messing around with the popular linux package samba, in particual smbmount. You may also need to read up on ports 137, 138, 139. - Original Message - From: "ReDucTor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 21, 2001 4:47 PM Subject: [PHP] netBIOS, Windows, Soc

Re: [PHP] Paypal and PHP

2001-07-19 Thread chris schneck
http://www.yourhost.com/";> - Original Message - From: "ReDucTor" <[EMAIL PROTECTED]> To: "chris schneck" <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 11:49 AM Subject: Re: [PHP] Paypal and PHP > have you used paypal system before? >

Re: [PHP] a good PHP editor

2001-07-19 Thread chris schneck
I've never heard windows 95 and great in the same sentence. - Original Message - From: "Christopher Allen" <[EMAIL PROTECTED]> To: "Michael Champagne" <[EMAIL PROTECTED]>; "doug" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 10:26 AM Subject: Re: [PHP] a good P

[PHP] limiting text output

2001-07-19 Thread chris schneck
To anyone else who had the same problem, I thought i'd share the solution that was passed on to me. It was suggested that counting the # of characters in a string would work, and it does, but a better way to do it as not to cut yourself off in mid sentence is to count the # of actual words. -- sn

Re: [PHP] Paypal and PHP

2001-07-19 Thread chris schneck
theexchangeproject.org has a "module" built into their store that works directly with paypal, ive set up and succesfully used it to tie into a paypal account. Although it might be a little more powerful than what you want, the code there shows which variables to be passed to paypal to make a trans

Re: [PHP] php/mysql ecommerce solution

2001-07-18 Thread chris schneck
The Exchange Project is by far my favorite. www.theexchangeproject.org - Original Message - From: "Duane Douglas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 2:59 PM Subject: [PHP] php/mysql ecommerce solution > hi gang! > > i'm looking for a php/mysql eco

Re: [PHP] variable

2001-07-18 Thread chris schneck
$foo = "foo definition"; - Original Message - From: "Jeremy Morano" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 1:55 PM Subject: [PHP] variable > hi > is there any way I can pass a variable without using require() or include()? > > -- > PHP General Mailing

Re: [PHP] whatever.php

2001-07-18 Thread chris schneck
did you missplace an echo or printf somewhere? - Original Message - From: "Jeremy Morano" <[EMAIL PROTECTED]> To: "chris schneck" <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 11:23 AM Subject: RE: [PHP] whatever.php > I checked an

Re: [PHP] whatever.php

2001-07-18 Thread chris schneck
Did you make sure you had the tags in the whatever.php enclosing the content? -- 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] limiting text output

2001-07-18 Thread chris schneck
Hey all, was curious if anyone has had experience with limiting the amount of text pulled from a database and placing a link and the end of the excessive text line. ie. the description of a product could be 800 characters long, how can it be shortened to 50 -100 characters with a link to "read mor

Re: [PHP] install help

2001-07-07 Thread chris schneck
Usually after a "./configure" there is a "make" then a "make install", sometimes even a "make test" before a make install - Original Message - From: "Evan Nemerson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 07, 2001 3:02 PM Subject: [PHP] install help > I am trying

RE: [PHP] apache toolbox

2001-05-04 Thread Chris Schneck
- [EMAIL PROTECTED] Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Chris Schneck [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: [PHP

[PHP] apache toolbox

2001-05-02 Thread Chris Schneck
This might be a useful link for some people who are having problems with the combination of apache + ssl / php / mysql. I've used it and I had a couple problems, but after I actually read the README, everything was smooth :) www.apachetoolbox.com -- PHP General Mailing List (http://www.php.net

[PHP] PDF online

2001-05-01 Thread Chris Schneck
I'd actually like to see a site that uses php to create PDF's, anyone have any good examples? -- 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 PROTECT

RE: [PHP] Hosts.

2001-05-01 Thread Chris Schneck
Good luck, let me know how your search goes. I would also like to find someone who would do that. -Original Message- From: David Bruce [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 7:02 PM To: [EMAIL PROTECTED] Subject: [PHP] Hosts. My host is Windows 98, Xitami and unstable My

[PHP] count() problem :D

2001-04-27 Thread Chris Schneck
hey all, this is my first message to this group, im gonna print it out :) anywho, im having problems getting data out of the count() function i've implemented, could anyone lend a hand? $query = "select count(fld_gender) from tbl_survey"; how exactly is it that you output data r