Re: [PHP] Strange server crash problem

2006-09-07 Thread Robert Cummings
On Fri, 2006-09-08 at 00:44 -0500, Larry Garfield wrote: > On Friday 08 September 2006 00:35, Robert Cummings wrote: > > > > The damned thing is, the 4KB mark is reached while outputting the > > > left-side navigation bar. The way the CMS is structured (I didn't write > > > it), that happens befo

Re: [PHP] Directory Structure

2006-09-07 Thread Robert Cummings
On Fri, 2006-09-08 at 10:42 +0530, Manoj Singh wrote: > Hello all, > > I am developing a site in which i have to show the directory structure of > any server i.e the admin will enter any site name and i have to show the dir > structure of that site name. Crawl baby, crawl! You need to load a page

Re: [PHP] Directory Structure

2006-09-07 Thread Larry Garfield
On Friday 08 September 2006 00:12, Manoj Singh wrote: > Hello all, > > I am developing a site in which i have to show the directory structure of > any server i.e the admin will enter any site name and i have to show the > dir structure of that site name. > > Please help me to fix this. The followi

Re: [PHP] Strange server crash problem

2006-09-07 Thread Larry Garfield
On Friday 08 September 2006 00:35, Robert Cummings wrote: > > The damned thing is, the 4KB mark is reached while outputting the > > left-side navigation bar. The way the CMS is structured (I didn't write > > it), that happens before any page-specific content is even loaded. There > > shouldn't b

Re: [PHP] Strange server crash problem

2006-09-07 Thread Robert Cummings
On Fri, 2006-09-08 at 00:05 -0500, Larry Garfield wrote: > I'm not certain if this is a PHP problem per se, but as the problem manifests > itself in PHP I'll give it a go. > > I've a PHP-based CMS for a site that I am maintaining. It's a large site > with > a few thousand pages. Most of them

[PHP] Directory Structure

2006-09-07 Thread Manoj Singh
Hello all, I am developing a site in which i have to show the directory structure of any server i.e the admin will enter any site name and i have to show the dir structure of that site name. Please help me to fix this. Thanks & Regards Manoj

[PHP] IE session problem on one server only

2006-09-07 Thread Larry Garfield
Another issue. :-) I've another site I've built that uses PHP sessions for user authentication. When the user logs in with a user/pass, that is matched against a record in the database and, if found, that user object is stored in the session along with various other tracking data like the IP a

[PHP] Strange server crash problem

2006-09-07 Thread Larry Garfield
I'm not certain if this is a PHP problem per se, but as the problem manifests itself in PHP I'll give it a go. I've a PHP-based CMS for a site that I am maintaining. It's a large site with a few thousand pages. Most of them work fine. However, twice now we've run into a problem where a speci

Re: [PHP] PHP Access Violations

2006-09-07 Thread Christopher Watson
Following up on this now... I have successfully installed Apache 2.0.59 (Win32), and configured successfully for PHP 5.1.6 and MySQL 5.0.24. The app is running fine, but I ran a few manipulation queries from the SQLyog interface and Apache did crash. I'll have try to reproduce the problem again

RE: [PHP] Data validation at the db level

2006-09-07 Thread Jay Blanchard
[snip] Jay Blanchard on Thursday, September 07, 2006 5:16 PM said: > There are all sorts of ways to validate data at the DB level and this > is a PHP question how? Just because! [/snip] Oil changes to the right -- PHP General Mailing List (http://www.php.net/

RE: [PHP] Data validation at the db level

2006-09-07 Thread Chris W. Parker
Jay Blanchard on Thursday, September 07, 2006 5:16 PM said: > There are all sorts of ways to validate data at the DB level and this > is a PHP question how? Just because! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

RE: [PHP] Data validation at the db level

2006-09-07 Thread Jay Blanchard
[snip] Hey everyone, Is there any work being done in the database world for data validation at the db level? It would be cool to just define a field as being an email address (of length nn) instead of saying a TEXT field (of length nn) and validating it in the application layer. Same goes for oth

Re: [PHP] Data validation at the db level

2006-09-07 Thread Stephen Edberg
On Thu, 7 Sep 2006, Chris W. Parker wrote: > Hey everyone, > > Is there any work being done in the database world for data validation > at the db level? > > It would be cool to just define a field as being an email address (of > length nn) instead of saying a TEXT field (of length nn) and validati

[PHP] Data validation at the db level

2006-09-07 Thread Chris W. Parker
Hey everyone, Is there any work being done in the database world for data validation at the db level? It would be cool to just define a field as being an email address (of length nn) instead of saying a TEXT field (of length nn) and validating it in the application layer. Same goes for other thin

Re: [PHP] Arabic

2006-09-07 Thread Frank Arensmeier
I would... a) read the PDFlib manual b) search the PDFlib list archives for information (this has been discussed previously, I am rather sure) c) post your question to the PDFlib list /frank 7 sep 2006 kl. 21.16 skrev Ronald Cole: Hi, I'm trying to use pdflib to generate Arabic.

Re: [PHP] Database.table issue

2006-09-07 Thread Chris
Steve Marquez wrote: Greetings, I have a script that uploads images to a directory and information into a MySQL database. It works on an external server, but it does not work on our in-house server. I am getting the following error: Table Œphoto_archive.categories¹ doesn¹t exist I know that

Re: [PHP] Segfault problem [long]

2006-09-07 Thread Chris
Daniel A. Ramaley wrote: Hello. I have been struggling for a few months to solve a problem with an Apache web server. First i'll try to describe the symptoms, then give details about the configuration and what i have tried so far. I would greatly appreciate any suggestions on how to diagnose an

Re: [PHP] Query DBF records using PHP

2006-09-07 Thread Chris
Rahul S. Johari wrote: Ave, Let¹s say I have a DBF file residing on my somewhere. It has 20 fields, and about 100 records. Is it possible for me to Query that DBF file, so I can search that database for a record and Display the row using PHP? Yes. http://www.php.net/manual/en/ref.dbase.php -

[PHP] Database.table issue

2006-09-07 Thread Steve Marquez
Greetings, I have a script that uploads images to a directory and information into a MySQL database. It works on an external server, but it does not work on our in-house server. I am getting the following error: Table Œphoto_archive.categories¹ doesn¹t exist I know that the DB Œphoto_archive¹

Re: [PHP] Format of Encrypted Password

2006-09-07 Thread Chris
Kevin Murphy wrote: Yup, that's got it. It didn't occur to me that its a MySQL thing I'm used to doing this as a PHP thing and inserting an already encrypted password into MySQL. Anyone have any thoughts one way or another as to if this mysql password function is better/worse than doing i

Re: [PHP] Format of Encrypted Password

2006-09-07 Thread Kevin Murphy
Yup, that's got it. It didn't occur to me that its a MySQL thing I'm used to doing this as a PHP thing and inserting an already encrypted password into MySQL. Anyone have any thoughts one way or another as to if this mysql password function is better/worse than doing it all in PHP? --

Re: [PHP] Arabic

2006-09-07 Thread Anas Mughal
I have not done this before. I am unsure of how this could be done. Here is what comes to my mind: - I would think you would need to change the x-coordinate of the page to start from the top-right of the page -- instead of top-left. - The rendering of characters needs to be done from right

Re: [PHP] Format of Encrypted Password

2006-09-07 Thread Eric Butera
On 9/5/06, Kevin Murphy <[EMAIL PROTECTED]> wrote: $query = "select name from table where name = '$authuser' and password = password('$auth_pw')"; If you haven't tried this you can probably create accounts yourself manually in MySQL like this: INSERT INTO table (name, password) VALUES ('user

Re: [PHP] Format of Encrypted Password

2006-09-07 Thread Oscar Gosdinski
On 9/5/06, Kevin Murphy <[EMAIL PROTECTED]> wrote: The only thing I can find anywhere in the code is this: $auth_user = $_SERVER['PHP_AUTH_USER']; $auth_pw = $_SERVER['PHP_AUTH_PW']; $query = "select name from table where name = '$authuser' and password = password('$auth_pw')"; You are using

[PHP] Arabic

2006-09-07 Thread Ronald Cole
Hi, I'm trying to use pdflib to generate Arabic. Is this possible? If so, what font should one use? Someone has told me that I may need to manipulate the unicode characters to change the order to right-to-left. Has anyone done this before? Thanks, Skip Ronald "S

[PHP] GD2

2006-09-07 Thread Steve Marquez
Does anyone know anything about the gd2 for imagecreatetruecolor? I have written a script that uploads an image to a directory and displays a thumbnail of the image to the viewer. It works when I am using the live site, but on the testing server, on my machine, it does not work. We will be using a

[PHP] Re: Spreadsheet Writer

2006-09-07 Thread Colin Guthrie
Jef Sullivan wrote: Greeting all, I have done some research on the web with no luck so far. I will continue to check some other options but I wanted To check here as well. I have used the Spreadsheet Excel Writer with PHP before With great success. What I need to do now is create some Chart

Re: [PHP] GD2

2006-09-07 Thread Kyle
It could be that the PHP you are using for testing does not have GD support (whoever packaged it didn't have it compiled in). The quick way to check would be a quick phpinfo() script. That should at least give you somewhere to start. Kyle Steve Marquez wrote: > Does anyone know anything about t

Re: [PHP] php generated javascript

2006-09-07 Thread Shu Hung (Koala)
On 8/31/06, Curt Zirzow <[EMAIL PROTECTED]> wrote: On 8/30/06, Shu Hung (Koala) <[EMAIL PROTECTED]> wrote: > On 8/31/06, Peter Lauri <[EMAIL PROTECTED]> wrote: > > > > Koala, > > > > There is no difference with the php generated javascript and javascript on > > a > > static html page. > > > > Ta

[PHP] reading a PDF's title

2006-09-07 Thread Shu Hung (Koala)
Hello, I know PDF files stores a "Title" somewhere. I'm not sure if it is at meta data or elsewhere. Does anyone have any method to get this "Title" out? Thanks Koala Yeung

[PHP] Re: Spreadsheet Writer

2006-09-07 Thread John Ellingsworth
Jef Sullivan wrote: I have used the Spreadsheet Excel Writer with PHP before With great success. What I need to do now is create some Charts with this application. Does any one know if that is possible? If so, can you give me a reference for that information? JpGraph is a great tool for doi

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Fourat Zouari
trying this code : --- BEGIN Connect($dsn) or die('here'); $res = $sourceDB->Execute('SELECT * FROM Modelos;'); echo 'err: '; echo $sourceDB->ErrorMsg(); $rows = $res->GetRows($res); print_r($rows); ?> --- END i get this error : *Warning*: odbc

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Fourat Zouari
i want to understand something : when using a dsn like this with adodb : "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=/var/tmp/etiq.db" should i have an ODBC layer or not ? On 9/7/06, Joe Wollard <[EMAIL PROTECTED]> wrote: I think kOffice can read mdb files on Linux - maybe that would be a

[PHP] Segfault problem [long]

2006-09-07 Thread Daniel A. Ramaley
Hello. I have been struggling for a few months to solve a problem with an Apache web server. First i'll try to describe the symptoms, then give details about the configuration and what i have tried so far. I would greatly appreciate any suggestions on how to diagnose and correct the problem.

[PHP] Query DBF records using PHP

2006-09-07 Thread Rahul S. Johari
Ave, Let¹s say I have a DBF file residing on my somewhere. It has 20 fields, and about 100 records. Is it possible for me to Query that DBF file, so I can search that database for a record and Display the row using PHP? Basically what I want to do is pull out a record from that DBF file that mat

Re: [PHP] Spreadsheet Writer

2006-09-07 Thread tedd
At 7:43 AM -0600 9/7/06, Jef Sullivan wrote: Greeting all, I have done some research on the web with no luck so far. I will continue to check some other options but I wanted To check here as well. I have used the Spreadsheet Excel Writer with PHP before With great success. What I need to do now

[PHP] Spreadsheet Writer

2006-09-07 Thread Jef Sullivan
Greeting all, I have done some research on the web with no luck so far. I will continue to check some other options but I wanted To check here as well. I have used the Spreadsheet Excel Writer with PHP before With great success. What I need to do now is create some Charts with this application.

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Joe Wollard
I think kOffice can read mdb files on Linux - maybe that would be a good starting point for research. Perhaps they have built a kind of API to allow other programs to do the same..then again, maybe not - but like I said, it's some place to start. On Sep 7, 2006, at 7:57 AM, Fourat Zoua

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Angelo Zanetti
Fourat Zouari wrote: it's a PHP question : how can we access Ms Access mdb files without ODBC ? On 9/7/06, *Angelo Zanetti* <[EMAIL PROTECTED] > wrote: Fourat Zouari wrote: > Hello all, > I need to create a script that can open a connection to a giv

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Fourat Zouari
it's a PHP question : how can we access Ms Access mdb files without ODBC ? On 9/7/06, Angelo Zanetti <[EMAIL PROTECTED]> wrote: Fourat Zouari wrote: > Hello all, > I need to create a script that can open a connection to a given .mdb file > (Microsoft Access) and do some light selects on it,

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Rory Browne
what does this have to do with PHP? I would assume that he's trying to do it on Linux through PHP. http://mdbtools.sourceforge.net/ http://pecl.php.net/package/mdbtools

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Angelo Zanetti
Fourat Zouari wrote: Hello all, I need to create a script that can open a connection to a given .mdb file (Microsoft Access) and do some light selects on it, anyway ... The problem that i wont create an ODBC instance, i wont and cant install ODBC support on the server for the unique purpose of

[PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Fourat Zouari
Hello all, I need to create a script that can open a connection to a given .mdb file (Microsoft Access) and do some light selects on it, anyway ... The problem that i wont create an ODBC instance, i wont and cant install ODBC support on the server for the unique purpose of doing that on the mdb fi

Re: [PHP] Sendmail_from

2006-09-07 Thread Stut
D Sledge wrote: OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) web server: Apache 2.0 php version: 4.3.9 When I use the function mail(), the the from email address that is used is apache@. I tried setting the sendmail_from directive in php.ini and the ServerAdmin dir