Re: [PHP] referer keywords

2003-01-22 Thread Jason Wong
On Wednesday 22 January 2003 15:41, Dhaval Desai wrote: Hello ppl, I want to find out what keywords are people exactly using to get to my website and from where are they coming(Which search engine?)...I want to make a custom script, I don't want to use my web server logs or anything... Is it

[PHP] Mohawk Software session handler functions

2003-01-22 Thread Heo, Jungsu
Hello, there. I'm Looking for 'Mohawk Software session handler functions' examples. PHP Manual describes it http://www.php.net/manual/en/ref.msession.php . But, There are no descriptions and examples. Anybody has one? Thanks in advanced answer! ## Heo, Jungsu Mr.

Re: [PHP] Re: forking scripts

2003-01-22 Thread Mirek Novak
J Smith wrote: PHP can fork scripts. Refer to the pcntl extension. http://www.php.net/manual/en/ref.pcntl.php You'll be wanting to use pcntl_fork()... J Senn wrote: Hi, Since php does not have child - parent forking methods, can anybody suggest a method to achieve this. Thanks. Senn

[PHP] create executable from php script

2003-01-22 Thread Hatem Ben
heya all, I remember that some developers started a project to create stand-alone application from php script, can someone guide me to find it again ? I haven't found any url talking about it. Regards, Hatem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Measuring Query Times

2003-01-22 Thread Clarkson, Nick
There's exactly the code you're looking for I think over on Evilwalrus - http://www.evilwalrus.com/viewcode/632.php Hope it helps, Nick -Original Message- From: Peter Janett [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 06:46 To: [EMAIL PROTECTED] Subject: [PHP] Measuring Query

[PHP] which is better? PHP's Session handler or Mohawk's Session handler

2003-01-22 Thread Heo, Jungsu
(Sorry for disturb you if this kind of message posted earlier. but I can't find answers on mailint list archive) Hello, there! I'm developing web service. There are several web servers for one Service. (Linux virtual server manages load banlance) Php's original session handling function save

Re: [PHP] Mohawk Software session handler functions

2003-01-22 Thread Tom Rogers
Hi, Wednesday, January 22, 2003, 6:15:36 PM, you wrote: HJ Hello, there. HJ I'm Looking for 'Mohawk Software session handler functions' examples. HJ PHP Manual describes it http://www.php.net/manual/en/ref.msession.php . HJ But, There are no descriptions and examples. HJ Anybody has one? HJ

[PHP] Solaris 8 Bus Error from PHP ldap functions

2003-01-22 Thread Piotr Rybok
Hello, I recieve this error from every PHP ldap function on Solaris 8 : Apache error_log: ... child pid 666 exit signal Bus Error (10) ... My box:: SunOS 5.8 Sun-Fire15K Apache 1.3.27 + mod_ssl 2.8.12 PHP 4.2.3 ( 4.3.0 crashes too) OpenLDAP 2.1.12 ( i've checked every release since 2.1.5 ...)

Re: [PHP] which is better? PHP's Session handler or Mohawk's Sessionhandler

2003-01-22 Thread Jason k Larson
I can't say which or what is better, but something else to add to the picture is that you can define your own session handlers. This would allow you to store all the session data in a high speed database or something similar to suit your liking (especially from a load balancing or high

[PHP] Re: Multi-Byte String Functions

2003-01-22 Thread Foong
I never use mg_* function b4. You should try post you question on php.i18n. bcos it is the newsgroup dedicated for localization Foong Sadeq Naqashzade [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I'm newbie of PHP. Can any one help me and explain

[PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread Jean-Christian Imbeault
I don't want to start a flame-war here, just asking for specifics on a question I have :) I know that PHP and Apache 2 (on Linux anyway) have some problems working together. I was just wondering, for my own education, why is that? Is it a problem in Apache 2 or in PHP? (Not that I want to lay

RE: [PHP] Measuring Query Times

2003-01-22 Thread John W. Holmes
On Wednesday 22 January 2003 14:45, Peter Janett wrote: I'm trying to figure out if there is an easy way to measure how long my queries in PHP/MySQL are taking to execute. Using microtime() before and after your query will give you an rough idea. Yeah, unfortunately, that's the best way

RE: [PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread Henry
Apache2 now work with php in aspx (PHP is as a module) -Original Message- From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 6:06 PM To: [EMAIL PROTECTED] Subject: [PHP] Why PHP doesn't work with Apache2? I don't want to start a flame-war

[PHP] Re: dreading OOP

2003-01-22 Thread rush
Larry Brown [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... OOP in a couple of different places. However, my mind apparently works different and I keep trying to relate the OOP structure to what I already know which equates an object to a function. I am

[PHP] Image opendialog function

2003-01-22 Thread Steven Seijmonsbergen
Hi I'm looking for a Opendialog function in php, With a thumb function where I can see examples of the selected photes? Does anyone Know that?? Greetz Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Mohawk Software session handler functions

2003-01-22 Thread Tom Rogers
Hi, Wednesday, January 22, 2003, 6:34:45 PM, you wrote: TR Hi, TR Wednesday, January 22, 2003, 6:15:36 PM, you wrote: HJ Hello, there. HJ I'm Looking for 'Mohawk Software session handler functions' examples. HJ PHP Manual describes it http://www.php.net/manual/en/ref.msession.php . HJ But,

Re: [PHP] create executable from php script

2003-01-22 Thread Marek Kilimajer
Do you mean gtk.php.net? Hatem Ben wrote: heya all, I remember that some developers started a project to create stand-alone application from php script, can someone guide me to find it again ? I haven't found any url talking about it. Regards, Hatem -- PHP General Mailing List

[PHP] getting database connection to fail gracefully

2003-01-22 Thread Andy Clarke
Is there a way to get a database query to fail gracefully, so that rather than calling Die(), it can work around the problem? In other words, to do something like: if (mssql_connect($sDBhostname,$sDBusername,$sDBpassword)) { // connection ok - work with it } else { // database down - work

Re: [PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread Jean-Christian Imbeault
Henry wrote: Apache2 now work with php in aspx (PHP is as a module) Really!? I was sure there were still some issues ... Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread Henry
what issues for example? I do know I can successful install php in module with apache2.0.43 without error messages, also execution was successful can you tell me what issues did you see? -Original Message- From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

Re: [PHP] getting database connection to fail gracefully

2003-01-22 Thread Jason Wong
On Wednesday 22 January 2003 19:11, Andy Clarke wrote: Is there a way to get a database query to fail gracefully, so that rather than calling Die(), it can work around the problem? In other words, to do something like: if (mssql_connect($sDBhostname,$sDBusername,$sDBpassword)) { //

Re: [PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread Jean-Christian Imbeault
Henry wrote: what issues for example? I do know I can successful install php in module with apache2.0.43 without error messages, also execution was successful can you tell me what issues did you see? A successful install means nothing. My question is basically, does Apache2 work with PHP 100%

Re: [PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread yasin inat
it depends on you your aim u can consider your criterias between php with apache 1.3X apache 2 if u try to use pragmatism about it ... maybe u can find the result that php with apache 2 is better ? so don't you need more argument ? one more .

Re: [PHP] getting database connection to fail gracefully

2003-01-22 Thread Andy Clarke
This is mostly sorted out now. The mssql commands just needed @ signs to suppress error and warning messages. Thanks anyway, Andy Clarke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread Jean-Christian Imbeault
Yasin Inat wrote: it depends on you your aim Ok, to put it more simply, Are there cases where something would work in Apache 1.3.27 + PHP that would break in Apache2 + PHP?? A simple yes or no will suffice. If the answer is no, I am curious as to why not ... Thanks, Jc --

[PHP] Re: getting database connection to fail gracefully

2003-01-22 Thread neko
Andy Clarke wrote: Is there a way to get a database query to fail gracefully, so that rather than calling Die(), it can work around the problem? In other words, to do something like: Another option is to make use of PEAR's DB support in your code, rather than using the mysql_ functions

[PHP] HELP please quickly

2003-01-22 Thread Didier McGillis
Here is a brief description of what I want to do. I want to use PHP to grab a list of numbers in one file. Check it against a bigger file and strip the ones that match out of the bigger file, into a holding file. so here is what it might look like. file1.txt 456789 456790 456791 456792

Re: [PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread Rasmus Lerdorf
Henry wrote: what issues for example? I do know I can successful install php in module with apache2.0.43 without error messages, also execution was successful can you tell me what issues did you see? A successful install means nothing. My question is basically, does Apache2 work with

RE: [PHP] HELP please quickly

2003-01-22 Thread Timothy Hitchens \(HiTCHO\)
You first file just requires loading into an array and you can use unique array functions to remove duplicates etc.. The other files simply load into an array and use preg to strip out what you want and follow the same checking and removal of duplicates. Checkout: preg_match and array functions

Re: [PHP] create executable from php script

2003-01-22 Thread Hatem Ben
nop, not the php-gtk , but something that can create binary executable code from any php script. Do you mean gtk.php.net? Hatem Ben wrote: heya all, I remember that some developers started a project to create stand-alone application from php script, can someone guide me to find it again

Re: [PHP] HELP please quickly

2003-01-22 Thread Rick Emery
In that case, I don't know of any PHP classes to help you. - Original Message - From: Didier McGillis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 7:53 AM Subject: Re: [PHP] HELP please quickly No. The numbers are coming from two text files. The first text

RE: [PHP] HELP please quickly

2003-01-22 Thread Didier McGillis
Cool I'll report back what I have found. Question. I have tried fopen and file and was wondering for opening the file and loading it into an array which one is better? From: Timothy Hitchens \(HiTCHO\) [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: 'Didier McGillis' [EMAIL

Re: [PHP] setcooke(...) before header(Location: XYZ) - Cookie doesn't set!

2003-01-22 Thread Mike Potter
Sorry, that message it what is in the body of the response, so it's not working, I think. Unless that's what it's supposed to do. In that case, it won't work for what I want. I simply want the form to send to the php file, which then processes the information, and redirects the user to the next

Fw: [PHP] $header = Location:........ being ignored!

2003-01-22 Thread Peter Hutnick
Rick Emery said: if ( $_POST['passwd'] != $db['password'] ) {header(Location: loginfailed.html); exit; } - Original Message - From: Shams [EMAIL PROTECTED] To: Sent: Tuesday, January 21, 2003 3:48 AM Subject: [PHP] $header = Location: being ignored! Hi Group, I

RE: [PHP] HELP please quickly

2003-01-22 Thread Clarkson, Nick
I'm pretty new to PHP so I can't help you with the code per se, but how about as an outline; Open the first file and read values into an array. Open the 2nd file and read in the first line. Compare each value in the array to see if it occurs in the line from the 2nd file you just read in. If it

Re: [PHP] HELP please quickly

2003-01-22 Thread Thomas Seifert
file already returns an array so this would be best for that :). Thomas On Wed, 22 Jan 2003 14:00:09 + [EMAIL PROTECTED] (Didier McGillis) wrote: Cool I'll report back what I have found. Question. I have tried fopen and file and was wondering for opening the file and loading it into

RE: [PHP] HELP please quickly

2003-01-22 Thread Didier McGillis
Cool. Thanks for the information. I try and organize my thoughts like that as well. I dont really need to delete anything, mostly move and copy. One problem I have run into is my second file seems to be too big. In just doing a simple count the first file was fine, found my 470 lines. The

RE: [PHP] Is this just not possible?? ..create new odbc connection..please help

2003-01-22 Thread Edward Peloke
Haven't had a single response so I am not sure if this isn't possible or just really easy and something I should already know. Thanks, Eddie -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 3:32 PM To: [EMAIL PROTECTED] Subject: [PHP]

Re: [PHP] HELP please quickly

2003-01-22 Thread Marek Kilimajer
You need to use fopen + fgets instead of file Didier McGillis wrote: Cool. Thanks for the information. I try and organize my thoughts like that as well. I dont really need to delete anything, mostly move and copy. One problem I have run into is my second file seems to be too big. In

Re: [PHP] Is this just not possible?? ..create new odbc connection..pleasehelp

2003-01-22 Thread Jason k Larson
http://www.php.net/manual/en/function.odbc-connect.php Edward Peloke wrote: Haven't had a single response so I am not sure if this isn't possible or just really easy and something I should already know. Thanks, Eddie -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED]]

RE: [PHP] Is this just not possible?? ..create new odbc connection..please help

2003-01-22 Thread Edward Peloke
Thanks Jason, I know how to connect to an odbc datasource but will this function also allow me to create one? Thanks, Eddie -Original Message- From: Jason k Larson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 9:38 AM To: Edward Peloke Cc: [EMAIL PROTECTED] Subject: Re:

Re: [PHP] Is this just not possible?? ..create new odbc connection..pleasehelp

2003-01-22 Thread Jason k Larson
Are you wanting to have PHP dynamically create ODBC datasources instead of creating them via the typical Control Panel method? If so, and if possible, would be tricky, but I'll bet it can be done. Regards, Jason k Larson Edward Peloke wrote: Thanks Jason, I know how to connect to an odbc

[PHP] PHP Variable Declare

2003-01-22 Thread Stephen Goehler
Hey guys, Thanks in advance for your help. I'm working on emailing the contents of a form using php. It worked fine, until I turned global_variables off in an attempt to secure the form (I still have yet to write the data validation part). Anyway, I have an IF statement that fires depending on

RE: [PHP] Is this just not possible?? ..create new odbc connection..please help

2003-01-22 Thread Edward Peloke
yep, I am trying to come up with a way to get data out of an access db on the users machine and load it into the mysql db on the server. The only thing I can think of is have the user upload their db, php then creates a datasource, pumps over the data, deletes the db and datasource. My only

Re: Fw: [PHP] $header = Location:........ being ignored!

2003-01-22 Thread Thomas Seifert
give some output in the if-construct to see if it even matches. I believe there is some problem with the variables used in there, the location should work though. On Tue, 21 Jan 2003 06:09:01 -0600 [EMAIL PROTECTED] (Rick Emery) wrote: if ( $_POST['passwd'] != $db['password'] ) {

[PHP] Simple E-mail Question

2003-01-22 Thread Scott Saraniero
Hi, I'm using this line to send an e-mail with info: mail([EMAIL PROTECTED], $Event Ticket Form, $msg, $mailheaders); If I want to add mail recipients, or cc, or bcc, how would I do this? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Thomas Seifert
try: if (isset($_POST['frmAction']) $_POST['frmAction'] == formmail) instead of your line. Thomas On Wed, 22 Jan 2003 09:47:46 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrote: Hey guys, Thanks in advance for your help. I'm working on emailing the contents of a form using php. It

Re: [PHP] Simple E-mail Question

2003-01-22 Thread Tom Ray
you would put that in the $mailheaders variable. Something like $mailheaders = From: Joe Bloe [EMAIL PROTECTED]\r\n; $mailheaders .= Cc: Some Dude [EMAIL PROTECTED]\r\n; $mailheaders .= Bcc: Some Other Guy [EMAIL PROTECTED]\r\n; That should work for you. Just do this for whatever other headers

Re: [PHP] Simple E-mail Question

2003-01-22 Thread Rick Emery
$mailheaders = From: [EMAIL PROTECTED]\r\nCc: [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]\r\nBcc: [EMAIL PROTECTED],[EMAIL PROTECTED]; mail([EMAIL PROTECTED], $Event Ticket Form, $msg, $mailheaders); - Original Message - From: Scott Saraniero [EMAIL PROTECTED] To: Sent:

[PHP] Cookies problem

2003-01-22 Thread Sabina Alejandr Schneider
Hello people!!! This time I have a problem with cookies. I tried to send a cookie from one page with the function sendcookie(chat,$mail) to a page in another directory, but when I tried to prine echo($chat) or echo($_COOKIE[chat]) I got notheing. So I put the second page where it was the

[PHP] How to implement this by php Session

2003-01-22 Thread Henry
I'd like to implement ONE USER SIGNIN at the same time, the way I consider about is below: 1 record the sessionId and userId in some media(db), then we'll know who is login and who is not 2 use a demon program to determine whole sessionId which is live and correspond to db's data if some

RE: [PHP] HELP please quickly

2003-01-22 Thread Clarkson, Nick
I managed this bit of code, but I doubt it does exactly what you want, but it's a start. And just to add to it I couldn't get the preg_match to work - so that needs sorting. I'm at work, so I'm afraid I can't spend any more time right now on this. If anyone can help on the preg_match bit (it just

[PHP] A simple question please.

2003-01-22 Thread Denis L. Menezes
Hello friends. I need to add a part of html (the banner, top menus and the logo) in all pages dynamically. I made this part of the html and converted same to php code using Print command. Now, how do I add this code in the other pages? Should I inclue require or include command? if yes?

[PHP] Need help.

2003-01-22 Thread thkiat
Can someone tell me what should I do to solve this problem? Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/epcc/public_html/exoops/class/database/mysql.php on line 134 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource

Re: [PHP] A simple question please.

2003-01-22 Thread Henry
it doesn't matter beforebody or after body as I know - Original Message - From: Denis L. Menezes [EMAIL PROTECTED] To: PHP general list [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 11:21 PM Subject: [PHP] A simple question please. Hello friends. I need to add a part of html (the

RE: [PHP] Need help.

2003-01-22 Thread Matt Schroebel
-Original Message- From: thkiat [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:23 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Need help. Can someone tell me what should I do to solve this problem? Warning: mysql_fetch_row(): supplied argument

RE: [PHP] Need help.

2003-01-22 Thread Edward Peloke
can you post some code? -Original Message- From: thkiat [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:23 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Need help. Can someone tell me what should I do to solve this problem? Warning: mysql_fetch_row():

RE: [PHP] A simple question please.

2003-01-22 Thread Clarkson, Nick
If the start of EVERY page is the same you could make your php include file as follows; ?php echo HTML; echo TITLE; echo /TITLE; echo BODY; ? Obviously padding it out a bit ;o) Then at the top of every page put; ?php require (header.php); ? Similarly you coud do a footer for every page.

Re: [PHP] changing a key in an array

2003-01-22 Thread Brent Baisley
I had to do something like this not to long ago. Luckily it hit me that I shouldn't be changing keys, you don't do it in a database, so you really shouldn't do it in an array. I ended up adding a column to my array that contained the name. Then I didn't need to change keys and it worked just

Re: [PHP] No data being found

2003-01-22 Thread Marek Kilimajer
Are you getting no data from database or the script does not output anything (not even html)? Roddie Grant wrote: I have a small site in development which takes details of coming church services from a MySQL database. This bit is at the bottom of

Re: [PHP] create executable from php script

2003-01-22 Thread Chris Shiflett
--- Hatem Ben [EMAIL PROTECTED] wrote: something that can create binary executable code from any php script. See if this can fulfill your needs: http://pear.php.net/package-info.php?pacid=95 Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Re: fscanf

2003-01-22 Thread Brian T. Allen
As longs as none of the text you are using NEEDS spaces you can just do this: ?php $string =text1, te xt2, t e x t 3; $string = ereg_replace( , , $string); $array = explode(,, $string); echo | . $array[0] . | . $array[1] . | . $array[2] . |; ? If you want to keep the spaces and there is always

RE: [PHP] Is this just not possible?? ..create new odbc connection..please help

2003-01-22 Thread Edward Peloke
If I have to create one datasource and use it for all db's, how do I do this? Will hosting providers set this up for you? (I am using ValueWeb)? Also, is there a general Access username and password that would give me access to any of the dbs? Thanks, Eddie -Original Message- From:

[PHP] How can I get infor from tasm manager.

2003-01-22 Thread Thomas Wessel Svensson
Anyone ? regards Thomas Svensson, Oslo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How can I get info from task manager...?

2003-01-22 Thread Thomas Wessel Svensson
regards Thomas Svensson in Oslo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Get command line output

2003-01-22 Thread Greg Chagnon
Does anyone know how to get certain parts of the output from an exec of a certain command? For example...if I run w I get this output: [root@Lunar]:~ w 11:02am up 56 days, 17:39, 1 user, load average: 0.07, 0.02, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root

[PHP] PHP App Frameworks

2003-01-22 Thread John Wells
Ramping up on a large project and was wondering if there are any freely (as in speech) available app frameworks or toolkits for PHP that would save me from recreating the wheel. I'd prefer something relatively mature and well documented. Thanks for any input! John -- PHP General Mailing

[PHP] Cookies problem

2003-01-22 Thread Sabina Alejandr Schneider
Hello people!!! This time I have a problem with cookies. I tried to send a cookie from one page with the function sendcookie(chat,$mail) to a page in another directory, but when I tried to prine echo($chat) or echo($_COOKIE[chat]) I got notheing. So I put the second page where it

Re: [PHP] Get command line output

2003-01-22 Thread Jason Wong
On Thursday 23 January 2003 00:10, Greg Chagnon wrote: Does anyone know how to get certain parts of the output from an exec of a certain command? For example...if I run w I get this output: [root@Lunar]:~ w 11:02am up 56 days, 17:39, 1 user, load average: 0.07, 0.02, 0.00 USER TTY

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Stephen Goehler
Now it gets more confusing.I added: print 'pre'; print_r($_POST); print '/pre'; to my form and the variables are displayed properly, but only generate errors when I try to add it to fputs().any ideas? Stephen Goehler [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] A Licensing Question

2003-01-22 Thread John Wells
I was wondering what the licensing issues for app frameworks (or any included PHP classes/libs) are. I'm creating a rather large PHP application for a company, and they'd like to potentially resell it to some of their customers. Can I safely use GPL'd libraries, classes, etc. (i.e. PearDB) and

Re: [PHP] PHP App Frameworks

2003-01-22 Thread Jason Wong
On Thursday 23 January 2003 00:13, John Wells wrote: Ramping up on a large project and was wondering if there are any freely (as in speech) available app frameworks or toolkits for PHP that would save me from recreating the wheel. I'd prefer something relatively mature and well documented.

[PHP] Good XML/XSLT mailing list?

2003-01-22 Thread Chris Boget
Sorry for the OT post but I know many of you use the above. I subscribed the the PHP-XML mailing list but alas, haven't seen activity on it since the middle of last year. Could you guys recommend a good (quality over quantity) XML/XSLT mailing list? If it's a list geared more towards newbies,

Re: [PHP] pop-up problem

2003-01-22 Thread -[ Rene Brehmer ]-
Hi Mark McCulligh, Other than the fact that popups are a work of the devil, there's no way PHP can help you there. Except that you can use regular HTML to popup a new window, albeit with all the dressing: a href=target.php?loc=popup target=_newWill popup a new window/a Rene On Mon, 20 Jan

Re: [PHP] Cookies problem

2003-01-22 Thread Jason Wong
On Thursday 23 January 2003 00:13, Sabina Alejandr Schneider wrote: Please do not repeatedly repost the same question. Allow a reasonable period of time for people to reply. A reasonable period of time to allow would be one day. Hello people!!! This time I have a problem with cookies. I

Re: [PHP] How can I get infor from tasm manager.

2003-01-22 Thread Chris Hewitt
Thomas Wessel Svensson wrote: Anyone ? Tasm was the MS 386 assembler. I'm not aware of a tasm manager. Are you sure you mean this? It may just be my ignorance :-) Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to implement this by php Session

2003-01-22 Thread Chris Shiflett
--- Henry [EMAIL PROTECTED] wrote: I'd like to implement ONE USER SIGNIN at the same time, the way I consider about is below: 1 record the sessionId and userId in some media(db), then we'll know who is login and who is not 2 use a demon program to determine whole sessionId which is live and

Re: [PHP] create executable from php script

2003-01-22 Thread Hatem Ben
I know it also, still related with php-gtk. Thanks anyway Hatem - Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: Hatem Ben [EMAIL PROTECTED]; Marek Kilimajer [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 4:42 PM Subject: Re: [PHP] create

Re: [PHP] How to implement this by php Session

2003-01-22 Thread Jason Wong
On Thursday 23 January 2003 00:26, Chris Shiflett wrote: --- Henry [EMAIL PROTECTED] wrote: I'd like to implement ONE USER SIGNIN at the same time, the way I consider about is below: 1 record the sessionId and userId in some media(db), then we'll know who is login and who is not 2 use a

[PHP] How do I check if a process is running ?

2003-01-22 Thread Thomas Wessel Svensson
I need som guidance in the correct direction for som Task Manager-like problems in the PHP Manual of php.net. Anyone ? from Thomas is Oslo, Norway -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cookies problem

2003-01-22 Thread Sabina Alejandr Schneider
Sorry for reposting the mail, I thought nobody had recieved it. Sorry. The function is setcookie, not send cookie what I meant,it was my typing mistake. Thank you for your time and help. On Thu, 23 Jan 2003 00:23:35 +0800 Jason Wong [EMAIL PROTECTED] wrote: On Thursday 23 January 2003 00:13,

Re: [PHP] A Licensing Question

2003-01-22 Thread Peter Hutnick
John Wells said: Can I safely use GPL'd libraries, classes, etc. (i.e. PearDB) and resources that fall under other open source licenses when developing the app and let them redistribute accordingly, or would that be a violation? I don't know anything about the licensing terms of PearDB. Read

Re: [PHP] Simple E-mail Question

2003-01-22 Thread Sean Burlington
Scott Saraniero wrote: Hi, I'm using this line to send an e-mail with info: mail([EMAIL PROTECTED], $Event Ticket Form, $msg, $mailheaders); If I want to add mail recipients, or cc, or bcc, how would I do this? Thanks, Scott http://www.php.net/manual/en/function.mail.php Example 4.

Re: [PHP] How to implement this by php Session

2003-01-22 Thread Henry
absolutely! Sorry for my english first, what I want to do is make sure one account can login in at the same time, is there any mechanism in PHP can slove it? or I have to use external program (daemon what I develop) to do so? the way I imagination is list below does that work or you have smarter

RE: [PHP] HELP please quickly

2003-01-22 Thread Didier McGillis
I'm currently looking at this. This particular code creates a file 10-20 times the size of the orginial file. A minor alteration of this code copies the file to the results file. Basically I think the problem is, is in the preg_match, and I can't think of why that would die when it is

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Thomas Seifert
it won't work the way you are doing this. Try something like that line (changed from yours): fputs($fd, From: .$_POST['name']. .$_POST['email'].\n); Don't ask arrays directly in a string. Thomas On Wed, 22 Jan 2003 11:15:35 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrote: Now it gets

[PHP] Re: MySQL 4.0 + PHP 4

2003-01-22 Thread Thomas Seifert
I'm running it in production since MySQL-4.0.2 and without any problems. Thomas On Wed, 22 Jan 2003 11:21:40 -0800 [EMAIL PROTECTED] (Joe Stump) wrote: Anyone out there have anything to share as to using PHP4+MySQL4. I've been hearing good things on the MySQL list about v4.0 and I'm

[PHP] SSL...

2003-01-22 Thread Steven Kallstrom
Hey, I'm a newbie looking to secure my site with SSL using PHP. Currently I am taking orders via e-mail online. The users fill out a form and that form is sent to me via e-mail. The email resides on the same server though. Would I need to implement SSL for this. Also, I could use some

[PHP] Re: Help with e-mail

2003-01-22 Thread Manuel Lemos
Hello, On 01/21/2003 10:13 AM, Dankshit wrote: Is there a way to autenticate an SMTP server in my PHP.ini??? No. In my development site, i need to autenticate a SMTP, but in the PHP.INI does not have an option to autenticate..does anybody has any solution for this?? You may want to try

Re: [PHP] A Licensing Question

2003-01-22 Thread Chris Hayes
At 17:17 22-1-03, you wrote: I was wondering what the licensing issues for app frameworks (or any included PHP classes/libs) are. I'm creating a rather large PHP application for a company, and they'd like to potentially resell it to some of their customers. Can I safely use GPL'd libraries,

Fw: [PHP] Image opendialog function

2003-01-22 Thread Rick Emery
PHP cannot open a dialog on client. PHP is server-side only. Use JavaScript to open a dialog. - Original Message - From: Steven Seijmonsbergen [EMAIL PROTECTED] To: Sent: Wednesday, January 22, 2003 4:52 AM Subject: [PHP] Image opendialog function Hi I'm looking for a Opendialog

Re: [PHP] HELP please quickly

2003-01-22 Thread Rick Emery
Are the numbers coming from a mysql database? If so, mysql can handle this chore. - Original Message - From: Didier McGillis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 7:21 AM Subject: [PHP] HELP please quickly Here is a brief description of what I want

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Stephen Goehler
Thanks guys for helping out. I got it working now! Thomas Seifert [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... it won't work the way you are doing this. Try something like that line (changed from yours): fputs($fd, From: .$_POST['name'].

[PHP] Quick Question about Template Parsers

2003-01-22 Thread Jim Lucas
In general, how do most template parsers work? do they read the file into a variable and do something to the effect of preg_replace() to element that is found? and if so, could you replace the step of reading the file into a variable with getting the template data out of a database?

[PHP] Select value for driopdown box

2003-01-22 Thread Ben C .
I am using the query below to edit a record. I want to edit the field which has a list of states in a dropdown box. I want to have the state that is in the selected field shown as the selected state. How would I do this? Query - ? $sql = SELECT * FROM

Re: [PHP] Something difference betwen php-4.0.3 and php-4.2.3

2003-01-22 Thread andre . lagadec
Hi There is no error or notice message on the screen and in the log of the web server. The PHP program stop and don't generate all the HTML code of the page. Marek Kilimajer a écrit : I have never heard of out of range error, but is it really an error or just a notice? If it is a notice,

Re: [PHP] A Licensing Question

2003-01-22 Thread Peter Hutnick
Chris Hayes said: The GPL can be a headache to figure out when it gets to complicated situations. My uneducated working conclusion is that the GPL prevents you from selling GPL-ed code as is, or improved GPL-ed code. Selling GPL-ed code, even if you improved it, is dead wrong. Even if you

Re: [PHP] A Licensing Question

2003-01-22 Thread John Wells
However - if you want to sell software under a closed licence you will need to be carefull to avoid 'linking' with gpl'd code. The problem is that 'linking' as used in the gpl seems to refer to C programming - and is an unclear term when refering to php. Yeah...that's really what I'm

Re: [PHP] changing a key in an array

2003-01-22 Thread David T-G
Brent, et al -- ...and then Brent Baisley said... % % I had to do something like this not to long ago. Luckily it hit me that % I shouldn't be changing keys, you don't do it in a database, so you % really shouldn't do it in an array. Hmmm... Good point. % I ended up adding a column to my

Re: [PHP] Select value for driopdown box

2003-01-22 Thread Michael Sweeney
Assuming that you know which state is selected before you build the select list: $sel_state = $_REQUEST['state']; ... while($row = mysql_fetch_array($result)) { $buyerid = $row['buyerid']; $state = $row['state']; $selected = $state == $sel_state ? selected=\selected\ : ;

  1   2   3   >