Re: [PHP] Capturing output of shell script.

2001-07-02 Thread Charles Williams
- Original Message - From: "Brad Hubbard" <[EMAIL PROTECTED]> To: "Charles Williams" <[EMAIL PROTECTED]>; "Php-General (E-mail)" <[EMAIL PROTECTED]> Sent: Saturday, June 30, 2001 1:12 PM Subject: Re: [PHP] Capturing output of shell script. > On Sat, 30 Jun 2001 06:36, Charles Williams w

Re: [PHP] Capturing output of shell script.

2001-07-02 Thread Charles Williams
correction below chuck - Original Message - From: "Charles Williams" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Php-General (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, July 02, 2001 10:54 PM Subject: Re: [PHP] Capturing output of shell script. > > - Original Message - > From

RE: [PHP] session handler class

2001-07-02 Thread scott [gts]
it's attached to the email. did you get the attachment, or was it stripped off somewhere? i can upload the files to a server and provide a link if you didn't get the email attachment. > -Original Message- > From: Aral Balkan [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 02, 2001 4:26

RE: [PHP] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)
Appreciate your help. Yes I can ping localhost. I do believe I can solve the php problem once I solve the networking problem as I've discovered that the prepend path was set incorrectly. Best, Daniel -Original Message- From: mike cullerton [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 0

RE: [PHP] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)
Hmm. I tried "http://123.123.123.123/ (using windows machine) and I got a request for authorization. When I filled in my Linux username and pass, it returned an "authorization failed" message. Any advice. Best, daniel -Original Message- From: Peter Houchin - SunRentals Australia [mail

Re: [PHP] newbie has include path error & new problem

2001-07-02 Thread mike cullerton
so, let me see if i understand the situation. you could load a webpage from localhost. then you set up networking to access the internet thru a windows machine acting as a gateway. now you can't load a page from localhost? correct? is localhost still your machine? can you load a page from http://

RE: [PHP] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)
Yes, I could load a page from localhost until I set up networking. No, I cannot load a page from 127.0.0.1. Tried that. Embarrassed to ask. What is a routing table and how do I find it? Best, Daniel -Original Message- From: mike cullerton [mailto:[EMAIL PROTECTED]] Sent: Monday, July

RE: [PHP] newbie has include path error & new problem

2001-07-02 Thread scott [gts]
you will probably need to use two programs to properly configure your linux box for networking you have to configure a default gateway to tell the linux networking stuff how to get out to the internet. read the man pages on 'route' and 'ifconfig', the binaries should be here: /sbin/route /

Re: [PHP] newbie has include path error & new problem

2001-07-02 Thread mike cullerton
on 7/2/01 3:59 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote: > Yes, I could load a page from localhost until I set up networking. > > No, I cannot load a page from 127.0.0.1. Tried that. > > Embarrassed to ask. What is a routing table and how do I find it? no need to be embarrased for

Re: [PHP] session handler class

2001-07-02 Thread Joe Rice
i would love to see this too, i think it was stripped. thanks, joe www.bigidea.com scott [gts]([EMAIL PROTECTED])@Mon, Jul 02, 2001 at 04:54:26PM -0400: > it's attached to the email. > > did you get the attachment, or was it stripped off somewhere? > > i can upload the files to a server and p

[PHP] mySQL reset auto_increment

2001-07-02 Thread Jon Shoberg
Is there an SQL query for resetting the autoincrement field of a table ? I know myisamchk will do this but the system I am on will not let me us it. I can get console level access but that is all. I simply want to reindex my data back to the start of 1. Thanks -- PHP General Mailing List (

RE: [PHP] session handler class

2001-07-02 Thread Cesar Cuneo /Corpsoft
I would like to know if any one has information on phpAdsNew, which can be used to manage banners. Thanks Cesar Cuneo President Corpsoft Inc. 10855 NW 33 Street Miami FL 33172 Tel. 305-971-8032 Fax. 305-232-2227 Visit our website: ---> www.corpsoftinc.com -- PHP General Mailing List

Re: [PHP] mySQL reset auto_increment

2001-07-02 Thread Christopher Ostmo
Jon Shoberg pressed the little lettered thingies in this order... > > Is there an SQL query for resetting the autoincrement field of a table ? I > know myisamchk will do this but the system I am on will not let me us it. > I can get console level access but that is all. I simply want to reind

[PHP] Objects and sessions

2001-07-02 Thread Brandon Orther
Hello, I was informed by someone that is a blatent liar and regulary makes things up that PHP session can handle Objects. Is this true? Thank you, Brandon Orther

Re: [PHP] Objects and sessions

2001-07-02 Thread Ethan Schroeder
If what you mean is if PHP sessions can register objects, that is true and quite effective. Ethan Schroeder - Original Message - From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: Monday, July 02, 2001 4:36 PM Subject: [PHP] Objects and sessions

Re: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread Andrew Halliday
> It's more of a pain if I have to remember what order the parameters go Yeah, good point. I can see that. What i have been doing is componentising the page into functions which are responsible for rendering a discrete section of that page...ie if a page consists of a title bar and a form and t

[PHP] help in getting results from mysql

2001-07-02 Thread Christian Dechery
I have to get some results from a mysql table, and I'm pretty sure that I'm not doing it the best way. its like this... I have a table (a historical one) with these fields: date | item_id | item_type_id | qty | value and there are multiple lines for the pair item/type (as I said it's a histori

[PHP] php mysql install

2001-07-02 Thread Daniel Guerrier
I'm trying to make php work with mysql but I can't even create a table. I'm receiving this error. [root@menace mysql]# mysqladmin create testdb mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server though socket '/var/lib/mysql/mysq.sock' (2)' Check th

[PHP] PHP4.0.6 win32

2001-07-02 Thread Sistemas
Logre hacer funcionar el php en windows 98 con PWS, pero lo unico que he podido es que en la carpeta c:\php\, el archivo php.exe asociarlo a .php de esta forma c:\php\php.exe index.php >> index.htm Esto me genera un archivo HTM, que resuelve mi problema, lo malo es que para verlo tengo que darle

Re: [PHP] help in getting results from mysql

2001-07-02 Thread David Robley
On Tue, 3 Jul 2001 09:54, Christian Dechery wrote: > I have to get some results from a mysql table, and I'm pretty sure that > I'm not doing it the best way. > > its like this... I have a table (a historical one) with these fields: > date | item_id | item_type_id | qty | value > > and there are m

[PHP] php intall

2001-07-02 Thread Juan Pablo Rivera
hi how do i install php in my redhat 7.1 server when alredy have intaled apache with .RPM???

RE: [PHP] php intall

2001-07-02 Thread Johnny Nguyen
You can use gnoRPM to remove the apache package. Then look here: http://www.php.net/manual/en/install.apache.php Johnny -Original Message- From: Juan Pablo Rivera [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 1980 7:54 AM To: [EMAIL PROTECTED] Subject: [PHP] php intall hi how do

RE: [PHP] help in getting results from mysql

2001-07-02 Thread Matthew Loff
If you aren't concened about multiple entries with the same date, you could try: $rs1 = mysql_query("select * from tablename where item_id=34 and item_type_id=3 order by date desc limit 1"); $last_date=mysql_result($rs1,0,0); Although I don't know how efficient of an SQL query that is... Perha

RE: [PHP] sending 5000+ emails - use PHP?

2001-07-02 Thread Matthew Delmarter
Is it possible to stop the mail delivery once the process has started - even in the middle of a run? -Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 2:07 PM To: Matthew Delmarter Cc: PHP Mailing List Subject: Re: [PHP] sending 5000+ emails -

[PHP] second try - Mysql php install

2001-07-02 Thread Daniel Guerrier
I'm trying to make php work with mysql but I can't even create a table. I'm receiving this error. [root@menace mysql]# mysqladmin create testdb mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server though socket '/var/lib/mysql/mysq.sock' (2)' Check t

[PHP] posix_getpwnam()

2001-07-02 Thread Yamin Prabudy
Hi there. i have a script like this #!/usr/local/bin/php Problem when run SETUID if i run as root it's ok but if i run as diffrent user it's won't run ok i know it's a problem on the permission i set is to chmod 4750 in perl it should run as root...but in php not so how can i fix this whe

Re: [PHP] session handler class

2001-07-02 Thread Aral Balkan
It's strange -- I see that the message has an attachment in Outlook Express but I'm not given the option to save it. I guess it got stripped off. I'd really appreciate it if you could put up a link to it. Thanks so much!.. Aral :) __ ([EMAIL PROTECTED]) New Media

RE: [PHP] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)
I'm on a redhat 7.1 box on a pentium 3 pc. I set up networking via netcfg. Here are the settings (names have been modified): Names Hostname localhost.localdomain Hosts IP Name Nickname -

RE: [PHP] second try - Mysql php install

2001-07-02 Thread Matthew Loff
If you don't see mysqld running when you do a ps, then the problem is starting mysql... Mysql doesn't report errors in starting up to the terminal... You need to find the log file... The log file should be stored in your /mysql/data directory. The logfile should be named [domain].log... S

[PHP] Using PHP to test if server is online

2001-07-02 Thread Vikram Vaswani
Hi again, I am writing a PHP script to test if the server on which it is running is currently connected to the Internet. If so, the main page will display a notice saying "We are now online", else it will say "Not connected" Any ideas on how to do this with PHP? I'm guessing it would involve som

[PHP] Help with DB abstraction layer and Menu class

2001-07-02 Thread Vikram Vaswani
Hi all, I am developing a simple PHP menu class - the goal is to use PHP and a mySQL database to quickly generate a menu tree. I require some assistance with the database abstraction I am trying to use: My entire menu is stored in a "menu" table containing these fields: id - id of record (AUTOI

[PHP] My First Shopping Cart

2001-07-02 Thread John Monfort
Hello everyone, I need some guidance. After browsing through a few shopping carts, I've decided to write my own. I want to write one to satisfy the geek in me...just for the love of doing it. Plus, I want to add some additional features to it. Like, Wireless access, etc. Anyway, I'm loo

[PHP] New on PHP, need help with sessions

2001-07-02 Thread Victor Spång Arthursson
Hi! I'm converting from ASP/VBScript, and need to know how to declare a session variable. In VBScript I just type in: <% session("any") = "victor" %> Then I can print that variable on any page on the same webpage using: <% response.write session("any") %> as long as I don't close the browse

Re: [PHP] newbie has include path error & new problem

2001-07-02 Thread mike cullerton
cool, you should be able to get the route table with either 'route' or 'netstat -r' on a redhat box. they both return the same thing on my slackware box. [use@box user]$ route Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface localnet

Re: [PHP] sending 5000+ emails - use PHP?

2001-07-02 Thread Kman
Yes, if you can stop mail server. Then kill the related process. No, otherwise. -Kittiwat - Original Message - From: "Matthew Delmarter" <[EMAIL PROTECTED]> To: "Michael Stearne" <[EMAIL PROTECTED]> Cc: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 9:38 AM Subject

Re: [PHP] New on PHP, need help with sessions

2001-07-02 Thread mike cullerton
on 7/3/01 12:19 AM, Victor Spång Arthursson at [EMAIL PROTECTED] wrote: > Hi! > > I'm converting from ASP/VBScript, and need to know how to declare a > session variable. i feel your pain. i just finished moving a site from ASP/VBScript to PHP/Javascript, learning ASP/VBScript and Javascript a

Re: [PHP] sending 5000+ emails - use PHP?

2001-07-02 Thread Kman
From: "infoz" <[EMAIL PROTECTED]> > > If all the messages were identical, we might be able to get some efficiency > by sorting the list by domain name and batching them up with SMTP That's a very BAD idea. If you sort the mail by domain, you will flood the mail queue because normally, mail sent

RE: [PHP] Can any one spot the Parse error Here

2001-07-02 Thread Warren Vail
I use indentation to check out the form; missing brace at end? Check it out. User : Password : Post News Edit News Delete News Add User Account Delete User Username : Password :

[PHP] configuring with gd for TTF

2001-07-02 Thread Ray Hilton
I'm having all sorts of headaches trying to get TTF support in gd to work. I have compiled from scratch gd 1.8 with ttf support by way of freetype 2, this compiles fine. Then I compile php using the configure statement below and all I get when I try and call a TTF function is: Warning: libgd wa

RE: [PHP] Function Reqest/Question

2001-07-02 Thread Brian White
Personally, I kind of like: switch(1){ default: // BREAK BLOCK START blah blah blah... // Want to get out of here... break; } // BREAK BLOCK END It's a little more cumbersome than the while construct, but it is absolutely guaranteed to only go through once, whilst the "while" ver

Re: [PHP] configuring with gd for TTF

2001-07-02 Thread Brian White
I completely gave up trying to compile freetype 2.x into GD. However I was able to successfully compile freetype 1.3 directly into PHP which seems to work fine. IE: forget trying to use: --enable-gd-native-ttf instead: --with-ttf=/usr/local/freetype/ whic

[PHP] qmail-inject: fatal: read error

2001-07-02 Thread Warren Brundage
When I try to use PHP to send mail through qmail I get a "qmail-inject: fatal: read error". I have read through the list and I have seen (and tried) the following solutions: 1. Put /var/qmail/bin/qmail-inject into php.ini 2. Ensured that all appropriate sendmail links exist 2. Also tried the p

<    1   2