Re: [PHP] class/object design

2003-10-14 Thread Robert Cummings
On Tue, 2003-10-14 at 19:51, Chris W. Parker wrote: > Hey peeps. > > Let me try to make this simple. Right now I have a base db class that is > moved solely for interacting with the db. It opens the connection, runs > queries, and returns the results of those queries. Along with this class > I've

php-general@lists.php.net

2003-10-14 Thread Mohamed Lrhazi
> I tried this exec() suggestion and that didn't work right either. > exec("/bin/scan & > /dev/null 2>/dev/null"); > try : exec("/bin/scan > /dev/null 2>&1 &"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Slow searches in large database

2003-10-14 Thread Jason Sheets
Rather than searching every field for every search I usually provide a select drop down or checkbox that allows the user to indicate what information they are searching, then only hit those fields in the SQL query. MySQL is fast for simple queries but it doesn't scale well with larger database

RE: [PHP] Sessions Question

2003-10-14 Thread Jake McHenry
Mainly what my problem is, is that when I turn Register_Globals = Off, then my scripts stop working. I can't even get past the page I showed you, the login page. No errors, it's just like I didn't enter any data. Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com > -Orig

Re: [PHP] Who knows all the Header attributes.

2003-10-14 Thread Chris Shiflett
--- Gabriel Peugnet <[EMAIL PROTECTED]> wrote: > Could some one tell me where can I find the documentation for the > Hedear() function? > > The manual does not provide it but just some examples. > > I know Header( "Location: http..." ), Header( "Expires ..." ). > > But want to know about: >

Re: [PHP] Slow searches in large database

2003-10-14 Thread Mohamed Lrhazi
You might wanna see if a search engine/indexing tool can help you, I use: http://search.mnogo.ru/features.html On Mon, 2003-10-13 at 18:54, Adrian Teasdale wrote: > Hi there > > Wondering if someone could help or give some advice. > > We have a mysql database that has approximately 20,000 reco

[Fwd: Re: [PHP] Trying to get mysql_fetch_array data into phplot.]

2003-10-14 Thread Jamie Dahl
I'm trying to track progress etc..say running and how each run gets' progressivly longer etc...or the time decreases as the distance stays the same etc.. Anyway, when doing the mysql_fetch_array, I need that data to somehow not get lost once the while loop has completed, also, I need to stack

[PHP] Thanks Chris.

2003-10-14 Thread Gabriel Peugnet
I see you are an authority in these matters. I've seen the page you told me to. Thank you so much. Gabriel. "Chris Shiflett" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > --- Gabriel Peugnet <[EMAIL PROTECTED]> wrote: > > Could some one tell me where can I find the document

RE: [PHP] Sessions Question

2003-10-14 Thread Chris Hubbard
Jake, given that I can't see what is in config.php time.php, I'll focus on your index.php. I assume that the issues I point out will be applicable to config and time also. this: if ($_POST["SuBmIT"]) { // make sure posted variables are clean and are the kind you expect if ($_POST

[PHP] Anyone know a way of converting a timestamp value into something readable?

2003-10-14 Thread richard cook
Thank you R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone know a way of converting a timestamp value into something readable?

2003-10-14 Thread Robert Cummings
See the documentation on the date() function. Cheers, Rob. On Tue, 2003-10-14 at 23:29, richard cook wrote: > Thank you > > R > -- .. | InterJinn Application Framework - http://www.interjinn.com | :

RE: [PHP] Sessions Question

2003-10-14 Thread Jake McHenry
As I said in one of my posts, I'm not encrypting my passwords as of yet, because it was all internal, all employees use their own computers. My company is very relaxed. But since my boss want's to start selling a time clock database to our partners, I have to fix everything. I started this when I w

RE: [PHP] Sessions Question

2003-10-14 Thread Jake McHenry
Yes, submit, inout, username and password all come from the index.php form submission, but username changes throughout the different pages, that was one of my problems. I'm not sure what I did wrong before, but once I set a variable using $_SESSION, I couldn't change it unless I close the browser a

Re: [PHP] reading linux wtmp file

2003-10-14 Thread Tom Rogers
Hi, Wednesday, October 15, 2003, 10:52:43 AM, you wrote: MPC> Hi to all, MPC> Have a problem here in reading the file wtmp in linux. Is there a way I can MPC> view it using a php script? MPC> Thanks in advance. MPC> Mike wtmp is a binary file and the format can vary between old and new versi

RE: [PHP] PHP Journals and Magazined

2003-10-14 Thread Ralph Guzman
If you are looking for magazines: http://www.phphub.com/browse.php?cat=52 You can find all sorts of PHP resources online. Here are a few of my favorites: http://www.phphub.com/ http://www.zend.com/developers.php http://www.sitepoint.com/ http://www.devshed.com/Server_Side/PHP and of course,

[PHP] Array to string?

2003-10-14 Thread Douglas Douglas
Hello everybody. Is there any built-in function to convert an array to string? Thanks. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Array to string?

2003-10-14 Thread Douglas Douglas
I just found it: implode. Sorry to bother you. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] reading linux wtmp file

2003-10-14 Thread Tom Rogers
Hi, Wednesday, October 15, 2003, 2:25:13 PM, you wrote: TR> wtmp is a binary file and the format can vary between old and new versions of TR> linux. You will need to have a look at struct utmp in, for example, /usr/include/bits/utmp.h TR> This location can vary from system to system as well. TR>

<    1   2