[PHP] register_shutdown_function

2002-04-15 Thread Hayden Kirk
im trying to make a distructor for a mysql class to kill the connection when the object is destroyed using register_shutdown_function(~xmysql); if i put that in my class will it do that or am i getting confused. ~xmysql is a destructor function i made. Heres the code, will it work how i want it

RE: [PHP] Re: Need row number from database select

2002-04-15 Thread SP
I see what you are trying to do David but that was what I tried first but it doesn't work because the function calls itself depending if it's not a parent so the alternating colors become all messed up depending on the structure of my folders. That's why I was hoping to get the number for each

Re: [PHP] graphing packages

2002-04-15 Thread Jason Wong
On Monday 15 April 2002 07:14, Christian Calloway wrote: hey ppl, I need to create some fairly complex graphs dynamically, and I need to be able to specify line, bar, or pie charts. Are there any PHP packages that someone could point me to that would fill my needs. Thanks There is jpgraph.

[PHP] phpMyAdmin protection

2002-04-15 Thread Mantas Kriauciunas
Hey PHP General List, Can anybody point me to tutorial or real good explanation site how to keep Http://localhost/phpmyadmin off for other users. I am using it to help me with MySQL database but other peaople can access it. I know there is something with .httacces but i dont know

Re: [PHP] first time user

2002-04-15 Thread zookie
thank's again , seems i'm too far still a newbie that the hints you gave me give me a headache and don't let me succeed, if you have the spare time, have a look yourself, i have everything attached, an online copy can be seen at www.janusfoundation.org/test/navigations-testpage.htm. the

[PHP] Re: Empty Delimiter error

2002-04-15 Thread Daniel Grace
Rich Pinder [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Let me try again: This line of the script: if (!stristr($lines[$key], $email)) { yields the following error: Warning: Empty delimiter in /home/sites/site56/web. Do you know what causes

Re: [PHP] first time user

2002-04-15 Thread zookie
thank's again , seems i'm too much of a newbie that the hints you gave me give me a headache and don't let me succeed, if you have the spare time, have a look yourself, i have everything attached, an online copy can be seen at www.janusfoundation.org/test/navigations-testpage.htm. the

Re: [PHP] first time user

2002-04-15 Thread zookie
here just the other file that makes up the menu begin 666 mmenu.js M+RH-B!$2%1-3!-96YU('9EG-I;VX@,RXS+C$X#0H@5W)I='1E;B!B2!! M;F1Y(%=O;VQL97D-B!#;W!YFEG:'0@,C P,B H8RD@36EL;VYI8R!3;VQU M=EO;G,N($%L;!2:6=H=',@4F5S97)V960N#0H@5FES=!H='1P.B\O=W=W

Re: [PHP] the document contained no data

2002-04-15 Thread Phieu Huynh
Thanks Nick and Martin, the code is ok but it doen't run in Solaris (unix) with nobody, I test the code in Linux and run as I want. I work around the problem in Solaris by using EXEC() command. I may need to investigate how to get running in Unix by using REDDIR(). Thanks

[PHP] Re: graphing packages

2002-04-15 Thread phplists
Crystal Reports? Christian Calloway [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hey ppl, I need to create some fairly complex graphs dynamically, and I need to be able to specify line, bar, or pie charts. Are there any PHP packages that someone could

Re: [PHP] graphing packages

2002-04-15 Thread eat pasta type fasta
http://www.php.net/manual/en/ref.image.php user comments have a lot of stuff about compling GD issues then php builder has some working tutorials like this one http://www.phpbuilder.com/columns/wiesendanger20001218.php3 i was able to take the code from it code and plug in into a dynamic

Re: [PHP] graphing packages

2002-04-15 Thread Rasmus Lerdorf
Try jpgraph On Sun, 14 Apr 2002, Christian Calloway wrote: hey ppl, I need to create some fairly complex graphs dynamically, and I need to be able to specify line, bar, or pie charts. Are there any PHP packages that someone could point me to that would fill my needs. Thanks -- PHP

[PHP] Binding to LDAP/SASL w/PHP

2002-04-15 Thread Quinn Perkins
I have an OpenLDAP 2.0.23 installation running with SASL 1.5.27 to support a Cyrus IMAP/Postfix mail server. I would like to work with the LDAP directory with PHP 4.1.2. I have another LDAP directory without SASL that I can bind to with PHP without any problem (all the same versions). For

Re: [PHP] graphing packages

2002-04-15 Thread olinux
Never used any of these, but probably what you're looking for: http://www.zend.com/codex.php?CID=345 http://www.hotscripts.com/PHP/Scripts_and_Programs/Graphs_and_Charts/ olinux --- Christian Calloway [EMAIL PROTECTED] wrote: hey ppl, I need to create some fairly complex graphs

RE: [PHP] make a set of variables available to all visitors?

2002-04-15 Thread olinux
Actually the static variables will be used to make the query. ie I want these static variables to be used so that my url can be transformed into a numeric reference for the db query website.com/finance/ finance gets parsed out of URL to be used in where condition $article_type =

[PHP] Help on dealing with arrays of HTTP_POST vars

2002-04-15 Thread Carlos Fernando Scheidecker Antunes
Hello All, I have developed a system to retrieve data from a table. The interface is a dynamic list of orders created from a query on the database that shows all the new orders. Next to each is a checkbox. Each checkbox has as its value the order number and is called PED1, PED2,

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] Search Results, Per Page, Total Results!

2002-04-15 Thread Thomas Edison Jr.
Hi, I have a mySQL table on which i'm performing a search.. something like this : $sql_text = (SELECT * FROM searchtb where vCategory='$q' || vSubCategory='$q'); Now i want the Search Results to appear per page.. that is, maybe 15 Records per page should appear.. with something like this on

[PHP] How can I execute a Command - rsh

2002-04-15 Thread Javier Casado
I have installed a php server into a w2000 machine, and i must create a user into a service of a sun machine, using a comand like $ executable param1 param2 where param1, param2,... are forms' entries (W2000 IIS form). Can I do a rsh (or a telnet) sesion with php? How... tnkx --

Re: [PHP] graphing packages

2002-04-15 Thread heinisch
At 14.04.2002 19:14, you wrote: hey ppl, I need to create some fairly complex graphs dynamically, and I need to be able to specify line, bar, or pie charts. Are there any PHP packages that someone could point me to that would fill my needs. Thanks Have a look at : http://www.phpclasses.org/

Re: [PHP] Php Config OCX missing in IIS Win2k

2002-04-15 Thread heinisch
At 14.04.2002 22:23, you wrote: When I install php after installing the IIS under win2k Wrong list, you should ask the windowsPHP list ! The setup said Due to missing OCX control , the automatic configuration can not be done. ...-_- how can I fix this problem? I tried google, here´s

[PHP] Newbie Question

2002-04-15 Thread Hubert DAUL
I've got a small pb i'm looking to send parameters from a php window to another. I'll try to explain : On the browser i have a page in which i select the first button which has a link in the form of products.php?tosend = 1 but in the second pagein where I try to trap the value of tosend to

Re: [PHP] Internet Explorer - BACK Button - Passwords?

2002-04-15 Thread heinisch
At 14.04.2002 16:56, you wrote: Don't know if anyone can help me with this one: It's not directly a PHP question -- but maybe someone knows the fix? I have a form, when the user presses the submit button, I pass the form vars to my PHP checkform.php script -- which checks all the fields to

[PHP] placing data outside the server root

2002-04-15 Thread andy
Hi there, is it possible to place data like images outside the server root, and if so does php still get access to them for displaying? thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] evaluate my mailing list attempt?

2002-04-15 Thread Police Trainee
Well, constructed from the help i received from some of you, this is the end result of my attempts to be able to send email to everyone listed in a file and including their names in the email. i would appreciate any feedback or suggestions for simplification, etc.

[PHP] Search Results, Per Page, Total Results...

2002-04-15 Thread Thomas Edison Jr.
Hi, I'm working on a search program that searches on a mySQL DB and gives back results.. something like this : $sql_text = (SELECT * FROM searchtb where vCategory='$q' || vSubCategory='$q'); What i want is that the results should be displayed PageWise.. that is, maybe 15 results per page.

[PHP] Got an error reading communication packets

2002-04-15 Thread Andras Kende
I noticed some of my websites written in php with mysql are freezing looked around the logfiles: MYSQL ERROR LOG 020413 14:38:59 Aborted connection 1 to db: 'riderx' user: 'riderx' host: `localhost' (Got an error reading communication packets) APACHE ERROR LOG: [Sun Apr 14 22:23:32 2002]

[PHP] Session problem

2002-04-15 Thread Torkil Johnsen
I get this errormessage when trying to make my logon work: Warning: Cannot send session cache limiter - headers already sent (output started at /path/to/my/little/session.inc:9) in /path/to/my/little/session.inc on line 10 line 10 contains: session_start(); It does however seem like I am

[PHP] what do i put in .htaccess to achieve this

2002-04-15 Thread Adrian Murphy
Hi, I use wildcard dns to point all requests at the root e.g whatever.mysite.com goes to root etc.however i'll like to redirect these requests to mysite.com/users/sites/whatever so what do i put in the .htacces file bearing in mind that i want requests just for mysite.com to be left alone.

[PHP] rsh or telnet, possible?

2002-04-15 Thread Javier Casado
I must execute a command in a sun machine, but the web server is IIS (into a W2000 machine). The parameters are the form's fields. Is it possible (better rsh, telnet is valid)? tankx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] graphing packages

2002-04-15 Thread Pavel Jartsev
Christian Calloway wrote: hey ppl, I need to create some fairly complex graphs dynamically, and I need to be able to specify line, bar, or pie charts. Are there any PHP packages that someone could point me to that would fill my needs. Thanks Maybe this helps a little:

[PHP] Optimizing Indexes and such in MySQL

2002-04-15 Thread Boaz Yahav
I'm interested to know how people keep their MySQL tables up-to-date on a regular basis. what is the methodology used to keep up indexes up to date and tables optimized etc... thanks berber

[PHP] newbie question: templates with frames

2002-04-15 Thread Alexander Javier
Hello to all. Please help me in this problem of mine. I have an html template with a frame. I'm using phplib's templating functions to replace values in the templates. How do i also replace values both in the main template (frleft.htm) and in the html page contained in the frame? My code

[PHP] Re: Empty delimiter error - ??

2002-04-15 Thread Michael Virnstein
this means in your case, that $email is an empty string Rich Pinder [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm totally unfamiliar with php, and making some slight modificiations to Chris Heilmann's nice v 1.1 Newsleterscript. What exactly is

[PHP] Searching a mySQL DB

2002-04-15 Thread Thomas Edison Jr.
I'm working on a search program that searches on a mySQL DB and gives back results. I have a table with a column vProName, which let's say, contains a record Basket Ball Game. Now what i want is that if someone searches for Game or Ball, even then this record should appear. Could someone guide

[PHP] placing data outside the server root

2002-04-15 Thread andy
Hi there, is it possible to place data like images outside the server root, and if so does php still get access to them for displaying? thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Understanding If conditional statements

2002-04-15 Thread Michael Virnstein
if ($sql_result = 0) if you want to compare $sql_result with 0 you have to do it: if ($sql_result == 0) = is an assignment operator, == is a comparision operator Lmlweb [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm trying to get my code to print out

[PHP] Re: register_shutdown_function

2002-04-15 Thread Michael Virnstein
afaik there is no way to call a class method with register_shutdown_function. simply use a function which calls your constructor function _shutdown() { xmysql::~xmysql(); } register_shutodown_function(_shutdown); Hayden Kirk [EMAIL PROTECTED] schrieb im Newsbeitrag

Re: [PHP] How to sort by 3rd row in an 2d-Array

2002-04-15 Thread Andrey Hristov
usort() /uksort()/uasort() look here : http://www.php.net/manual/en/function.uasort.php There is an example in the user notes. Andrey - Original Message - From: SED [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 12, 2002 7:25 PM Subject: [PHP] How to sort by 3rd row in an

[PHP] Re: DATES in DIFFERENT LANGUAGES

2002-04-15 Thread Philippe Saladin
You would have a look to setlocale and strftime. Example, to have a French date : setlocale (LC_TIME, fr); echo strftime(%e %B); // gives 15 avril Regards, Philippe Declan Kenny [EMAIL PROTECTED] a écrit dans le message news: [EMAIL PROTECTED] Hi all, Is it possible to get dates in

Re: [PHP] session_is_registered

2002-04-15 Thread Erik Price
On Friday, April 12, 2002, at 07:01 PM, Norman Zhang wrote: If I have register_globals=off, how do I pass session variables? I tried session_register(var1). session_is_registered(var1) appears successful, but if I tried to echo the $var1. Nothing shows. How do I pass session variables?

[PHP] HELP! Connect or no connect, that's the question...

2002-04-15 Thread Syd
Dear all, I installed mysql for windows and had to copy some databases (including mysql standard databases), that I have to use for my php-project. I also installed the Apache server 1.3 ... My problem is, that I get a connect with mysql_connect(localhost, $username, $password); only for the

[PHP] Re: PHP MySQL Hosting services

2002-04-15 Thread The_RadiX
What's the URL of host.. Ahh za. I have seen them.. They also run a free php hosting service.. Yes ok but how much downloads/transfer off server do you get?? ::: Julien Bonastre [The-Spectrum.org CEO] A.K.A. The_RadiX [EMAIL

[PHP] Writing Cross DB application

2002-04-15 Thread Arcadius A.
Hello ! I'm planning to write a database application for MySQL, and then port it to PostrgeSQL. Is there any library or class that could help me to write/maintain just one source code for both MySQL and PostgreSQL (on WIN and UNIX)? Thanks in advance. ARcadius -- PHP General Mailing List

Re: [PHP] XHTML tag attribute quoting (Was Re: Forms in PHP)

2002-04-15 Thread Erik Price
On Friday, April 12, 2002, at 07:41 PM, Andrew Chase wrote: Are single quotes valid around tag attributes in XHTML? I skimmed over the W3C XHTML 1.0 spec before posting the previous message and got the impression all attributes had to be double quoted. It would be great if single

[PHP] Australian *nix Hosts?

2002-04-15 Thread The_RadiX
Hi yes I have already read the posts about the hosting questions But as I am in Australia I'd like to know if anyone here has had any dealings with a good Australian host and any recommendations.. Thanks a heap.. P.S. I see what spec's US and EU guys have on the sites and from the months

[PHP] Re: phpMyAdmin protection

2002-04-15 Thread Julio Nobrega Trabalhando
PhpMyadmin now have somekind of authentication method. From the docs: What's the preferred way of making phpMyAdmin secure against evil access? This depends on your system. If you're running a server which cannot be accessed by other people, it's sufficient to use the directory protection

[PHP] Remote file does not return var?

2002-04-15 Thread Imar de Vries
Hi all, is there any reason why an included remote file does not return a variable? I have constructed a login page, where a user can enter his username and password. After completion of the form, I include a verification file on a remote server, that checks the given username and pass with

[PHP] what do i put in .htaccesss to achieve this

2002-04-15 Thread Adrian Murphy
Hi, I use wildcard dns to point all requests at the root e.g whatever.mysite.com goes to root etc.however i'll like to redirect these requests to mysite.com/users/sites/whatever so what do i put in the .htacces file bearing in mind that i want requests just for mysite.com to be left alone.

RE: [PHP] phpMyAdmin protection

2002-04-15 Thread Brian V Bonini
.htaccess ;-) http://httpd.apache.org/docs-2.0/configuring.html#htaccess -B -Original Message- From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 12:35 AM To: PHP General List Subject: [PHP] phpMyAdmin protection Hey PHP General List, Can

[PHP] launching an exe

2002-04-15 Thread Steve Bradwell
Hi everybody, Is there a php function I should use to launch an executable program from a users hard drive instead of just creating a link to it?? Thanks alot, Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: placing data outside the server root

2002-04-15 Thread Julio Nobrega Trabalhando
Yes, if the user you are, and are trying to access the dir/files, also have access to them. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Andy [EMAIL

RE: [PHP] Re: Need row number from database select

2002-04-15 Thread Kevin Bucknum
Keep track of it outside of the function in a global variable. -Original Message- From: SP [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 14, 2002 8:28 PM To: David Robley; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Need row number from database select I see what you are trying

RE: [PHP] graphing packages

2002-04-15 Thread nospam
hi you could try http://www.aditus.nu/jpgraph/ which looks awesome, but i'm not sure about the license, so please check it... Sebastian -Original Message- From: Christian Calloway [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 1:15 AM To: [EMAIL PROTECTED] Subject:

[PHP] accessing raw post data

2002-04-15 Thread Stuart S
I'm trying to access data sent to PHP script via POST. But I can't seem to find any documentation on how to do this. Only $HTTP_POST_VARS, but that's not what I want. Anyone know how? Thanks Stuart Schoneveld www.xs4all.nl/~stuartmx -- PHP General Mailing List (http://www.php.net/) To

[PHP] newbie running an exe

2002-04-15 Thread Steve Bradwell
Hi everyone, My appologies if this is a repost, it's a monday morning. I wan't to know if there is a function in php that I can use to launch an mdb or exe from the users hard drive, I would like to avoid a temp copy being created in windows/iexplorer temp dir because I am getting 2 copies

Re: [PHP] phpMyAdmin protection

2002-04-15 Thread Justin French
Actually the latest releases of phpMyAdmin come with options for password protecting the programs... it's really nice... they're doing htaccess without the .htaccess file (), plus three other forms of verification. Well worth checking out. There's a few lines in the config.inc.php file, and

[PHP] What date/time was it 7 hours ago?

2002-04-15 Thread Torkil Johnsen
What date/time was it 7 hours ago? I'm just trying to make a log using mysql/php This log is kinda supposed to show the time, local to the user. So I store datetime on the format -MM-DD HH:MM:SS in a datetime field. Using the php date function to get the date. This will store the time that

[PHP] Re: phpMyAdmin protection

2002-04-15 Thread Michael Virnstein
you can use the built in auth system. see phpmyadmin manual Mantas Kriauciunas [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey PHP General List, Can anybody point me to tutorial or real good explanation site how to keep

[PHP] Browsing on Windows

2002-04-15 Thread Ron Allen
I am querying to see if someone can point in the right direction. What I would like to do is first open a connection to a specific folder (know this) Have it towards the user can click on a button and it will pop up with the local directory and have it so that they can browse their hard drive

Re: [PHP] Searching a mySQL DB

2002-04-15 Thread phplists
Check out the MySQL page at http://www.mysql.com/doc/F/u/Fulltext_Search.html. This page talks about doing full-text searches through your data. Then you can implement the queries using PHP scripts to perform the searches.. It works super smooth.. You do have to create an index of any column you

[PHP] Re: what do i put in .htaccess to achieve this

2002-04-15 Thread phplists
You should be able to find whatever you need here: http://httpd.apache.org/docs-project/ Later, Bob Adrian Murphy [EMAIL PROTECTED] wrote in message 001d01c1e45e$e5d53ae0$02646464@ade">news:001d01c1e45e$e5d53ae0$02646464@ade... Hi, I use wildcard dns to point all requests at the root e.g

[PHP] Re: evaluate my mailing list attempt?

2002-04-15 Thread Michael Virnstein
looks fine but i would change this: $to=$list2[1];//set to to email address $subject=Newsletter; $msg=Hello $list2[0], bla bla bla; //include name in message mail($to,$subject,$msg); //individual mail during to $subject=Newsletter; $msg=Hello $list2[0], bla bla bla; //include name in

[PHP] Re: Session problem

2002-04-15 Thread Michael Virnstein
Warning: Cannot send session cache limiter - headers already sent (output started at /path/to/my/little/session.inc:9) in /path/to/my/little/session.inc on line 10 this means that there is output before session_start() was called. look at your include files, and make sure that there is no

[PHP] Re: phpMyAdmin protection

2002-04-15 Thread phplists
http://httpd.apache.org/docs/configuring.html#htaccess http://apache-server.com/tutorials/ATusing-htaccess.html Use this to enable username and password access to phpMyAdmin. Later, Bob Mantas Kriauciunas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey PHP

Re: [PHP] first time user

2002-04-15 Thread heinisch
That´s not the way to make friends, I think nobody will read your attachments, because it´s not a php-script and this is a PHP-LIST also I had a quick -look on it and found this: If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before

RE: [PHP] Help on dealing with arrays of HTTP_POST vars

2002-04-15 Thread Matt Schroebel
-Original Message- From: Carlos Fernando Scheidecker Antunes [mailto:[EMAIL PROTECTED]] function SearchOrders() { global $Orders; global $HTTP_POST_VARS; $index = count($HTTP_POST_VARS); for($i=1; $i = $index; $i++) { The trouble is here . You should be

[PHP] Re: Writing Cross DB application

2002-04-15 Thread Michael Virnstein
PEAR::DB(); Arcadius A. [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello ! I'm planning to write a database application for MySQL, and then port it to PostrgeSQL. Is there any library or class that could help me to write/maintain just one source

Re: [PHP] Newbie Question

2002-04-15 Thread Janet Valade
On the browser i have a page in which i select the first button which has a link in the form of products.php?tosend = 1 but in the second pagein where I try to trap the value of tosend to include a file, i don't get anything. I assume you mean that you can see the value in the URL, but when

[PHP] Re: Writing Cross DB application

2002-04-15 Thread Julio Nobrega Trabalhando
There's Metabase, one said to be the most complete of them all, available at http://www.phpclasses.org/ and PearDB, available at http://pear.php.net. I am using Pear, most because it takes advantage of another shared classes from Pear itself. For example, the Log class from Pear can use

[PHP] PHP Shopping Engine Recommendation

2002-04-15 Thread Collins, Robert
Can anyone recommend a good commercial shopping cart written in php? Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search Results, Per Page, Total Results!

2002-04-15 Thread Dimitris Kossikidis
Here you can find a php class to make it work very simply... http://phpclasses.promoxy.com/browse.html/package/366.html - Original Message - From: Thomas Edison Jr. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 15, 2002 9:23 AM Subject: [PHP] Search Results, Per Page,

Re: [PHP] phpMyAdmin protection

2002-04-15 Thread heinisch
At 14.04.2002 21:34, you wrote: Hey PHP General List, Can anybody point me to tutorial or real good explanation site how to keep Http://localhost/phpmyadmin off for other users. I am using it to help me with MySQL database but other peaople can access it. I know there is

Re: [PHP] Php Config OCX missing in IIS Win2k

2002-04-15 Thread Daniel Negron/KBE
All you need to do is install the ocx file in the system32 dir. Its even in one of the readme files for php. you may need to actually register the OCX in the reg. Thank You Daniel Negrón Lotus Notes Administrator / Developer KB Electronics, Inc. 954.346.4900x122

Re: [PHP] Session problem

2002-04-15 Thread Nick Winfield
On Mon, 15 Apr 2002, Torkil Johnsen wrote: I get this errormessage when trying to make my logon work: Warning: Cannot send session cache limiter - headers already sent (output started at /path/to/my/little/session.inc:9) in /path/to/my/little/session.inc on line 10 line 10 contains:

[PHP] Re: What date/time was it 7 hours ago?

2002-04-15 Thread Michael Kimsal
Torkil Johnsen wrote: What date/time was it 7 hours ago? I'm just trying to make a log using mysql/php This log is kinda supposed to show the time, local to the user. So I store datetime on the format -MM-DD HH:MM:SS in a datetime field. Using the php date function to get the date.

[PHP] Poor results with GD

2002-04-15 Thread Sear, Mick
Not sure if anyone else uses GD much, but I've been experimenting with it and PHP recently and I've found I get large file sizes and very 'aliased' graphics. Can anyone suggest a fix/ alternative? You'll see what I mean if you look at www.msear.com/paintings/ where the images are currently all

[PHP] Re: PHP Shopping Engine Recommendation

2002-04-15 Thread Julio Nobrega Trabalhando
http://www.oscommerce.com/ -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Robert Collins [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] first time user

2002-04-15 Thread zookie
well, i didn't mean to offend anyone, it's just that me as a non-programmer have quite some difficulties, so I appreceate you telling me this and also having had a look at what i sent. thank's for your advice best regards coo [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Session problem

2002-04-15 Thread Janet Valade
The message means that that your script produced some output before the session_start. You have to use session_start before any output. The message shows where the output was started (line 9 of the given file). Sometimes output is started accidentally by having a blank space before your ?php

Re: [PHP] globals in functions

2002-04-15 Thread Erik Price
On Saturday, April 13, 2002, at 01:37 PM, Paul Roberts wrote: Is there a quick way to set all variables as global so that they are avalible to a function, i'm doing an eval inside, so i need all the submitted variables to be avalible, or do i have to decalre them individualy. If you

RE: [PHP] placing data outside the server root

2002-04-15 Thread Johnson, Kirk
Sure, just give it a try! Kirk -Original Message- From: andy [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 5:13 AM To: [EMAIL PROTECTED] Subject: [PHP] placing data outside the server root Hi there, is it possible to place data like images outside the server

Re: [PHP] Internet Explorer - BACK Button - Passwords?

2002-04-15 Thread Erik Price
On Sunday, April 14, 2002, at 07:56 PM, Jason Caldwell wrote: I have a form, when the user presses the submit button, I pass the form vars to my PHP checkform.php script -- which checks all the fields to make sure the user entered the correct values -- if the user missed something,

[PHP] who added the damn slashes?

2002-04-15 Thread Jeroen Olthof
Hi, The problem: I don't use addslashes($) but somehow that is what happens to my posted data The situation: I'm building a wizard like form that read all posted data (HTTP_POST_VARS, HTTP_GET_VARS etc..) and puts it in an array that is registerd in a session. This gives me the possibility

[PHP] newbie: unix/php/mySQL permissions

2002-04-15 Thread ROBERT MCPEAK
I'm very new to php mySQL and need some help understanding how I should set up my Unix permissions. I would like to run php code that could delete/create/edit existing files. I've tried to issue the load data infile statement from the command line but mySQL gives me a permissions error. How

[PHP] Re: graphing packages

2002-04-15 Thread Mark Harwood
Try jpGraph www.aditus.nu/jpgraph/ Christian Calloway [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hey ppl, I need to create some fairly complex graphs dynamically, and I need to be able to specify line, bar, or pie charts. Are there any PHP packages that

[PHP] mysql.sock location

2002-04-15 Thread Ashley M. Kirchner
Last night I compiled and installed PHP4.1.2 with MySQL support (compiled in Apache 1.3.24). During the configure routine, it indicated that MySQL's socket was found as /tmp/mysql.sock - which is correct. However, upon looking at phpinfo() after everything was installed, PHP indicated that

[PHP] newbie: unix/php/mySQL permissions

2002-04-15 Thread ROBERT MCPEAK
I'm very new to php mySQL and need some help understanding how I should set up my Unix permissions. I would like to run php code that could delete/create/edit existing files. I've tried to issue the load data infile statement from the command line but mySQL gives me a permissions error. How

[PHP] variable question

2002-04-15 Thread Jule Slootbeek
Hey Guys and Gals, I'm writing this little script that takes two inputs: $name and $welcomemssg from a form and puts them in a text file. Now i only want to extract one of those variables open it with welcome.php, how do i go about this? when i just do fopen and fwrite it prints both

Re: [PHP] What date/time was it 7 hours ago?

2002-04-15 Thread Steve Cayford
You could convert it to a timestamp using strtotime(), subtract 7*60*60, then convert it back to a string with strftime(). -Steve On Monday, April 15, 2002, at 09:50 AM, Torkil Johnsen wrote: What date/time was it 7 hours ago? I'm just trying to make a log using mysql/php This log is

Re: [PHP] Remote file does not return var?

2002-04-15 Thread Erik Price
On Monday, April 15, 2002, at 10:05 AM, Imar de Vries wrote: is there any reason why an included remote file does not return a variable? Think of include() as a function that simply imports the data from the included file and inserts it directly into the script that is doing the

[PHP] newbie: unix/php/mySQL permissions

2002-04-15 Thread ROBERT MCPEAK
I'm very new to php mySQL and need some help understanding how I should set up my Unix permissions. I would like to run php code that could delete/create/edit existing files. I've tried to issue the load data infile statement from the command line but mySQL gives me a permissions error. How

[PHP] Re: Empty Delimiter error

2002-04-15 Thread Rich Pinder
Thanks so much Daniel. Indeed, the old line that I modified didnt use a function call. The old line was: if ($lines[$key] != $email){ So, the @ suggestion works just fine: if (!@stristr($lines[$key], $email)) { Seems like a cryptic syntax for an

Re: [PHP] Poor results with GD

2002-04-15 Thread Andrew Brampton
They looked ok to me, but I don't know what the orginals looked like. But the problem might be that your JPeg quality is set lower than you would like. You can increase it be setting a parameter in ImageJPEG() or most likly whatever function you are using Andrew - Original Message -

[PHP] Accessing variables: $_POST and $foo

2002-04-15 Thread Andre Dubuc
While prototyping my db-driven website using Apache 1.3.23 + PPHP 4.1.2 + PostgreSQL 7.2 under the rpm distribution of Mandrake 8.2, I used the default register_globals=on setting. As I'm nearing the end of protyping, I decided to switch register_globals=off by ediuting the php.ini file.

[PHP] Re: placing data outside the server root

2002-04-15 Thread Mike
Well, you couldn't put an image outside the document root, and use a normal HTML tag (img src=image.gif) obviously, because the browser wouldn't be able to read it... but you could do img src=fetchimage.php?image=image.gif and the program fetchimage could go to a directory (not in your document

Re: [PHP] register_shutdown_function

2002-04-15 Thread Erik Price
On Sunday, April 14, 2002, at 07:23 PM, Hayden Kirk wrote: im trying to make a distructor for a mysql class to kill the connection when the object is destroyed using register_shutdown_function(~xmysql); if i put that in my class will it do that or am i getting confused. ~xmysql is a

RE: [PHP] who added the damn slashes?

2002-04-15 Thread Robert Covell
I believe your php.ini file has the magic_quotes set to On. If you switch this to Off it will no long add the quotes for you. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] Phone: 816.471.1095 Fax: 816.471.3447 24x7:

Re: [PHP] Writing Cross DB application

2002-04-15 Thread Mike Gohlke
ADOdb is probably your best bet for this. http://php.weblogs.com/ADODB Mike... Arcadius A. wrote: Hello ! I'm planning to write a database application for MySQL, and then port it to PostrgeSQL. Is there any library or class that could help me to write/maintain just one source code for both

[PHP] Detecting language

2002-04-15 Thread Boaz Yahav
Hi I have an application that works with two languages. I'm trying to write a function that will tell me if a string contains only English or also chars from the other language. It's enough that there is one char of a different language to make the function return a true value. I guess I'm not

  1   2   >