Re: [PHP] starting Apache: unable to find OpenLDAP library path

2001-06-21 Thread Rasmus Lerdorf
> I have a problem when running Apache (1.3.19) using PHP (4.0.4) and > OpenLDAP . The following error occurs when starting up Apache (PHP run > internally as a shared module in Apache): > > > Cannot load /usr/web/server/apache/libexec/libphp4.so into server: > libldap.so.2: > > cannot open sh

Re: [PHP] OT Re: http 1.0 1.1 info

2001-06-21 Thread David Robley
On Fri, 22 Jun 2001 03:24, rm wrote: > Anyone know of a url. > > Need a simple introduction to the concepts of http1.0 > and 1.1 protocols, how they work etc etc. Preferably > something with nice pretty pictures and something that > does not require more than a first or second grading > reading l

[PHP] how to pass PhP variables thru HREF command

2001-06-21 Thread David Yen
Hi. am using SQL Server. I wrote a php page that displays the NFL game schedule after query the database. I want to create link to a game prediction page (written in php) for each game. There will be two variables that will be passed thru the Href command. Would the code look something like

RE: [PHP] Sessions vs Cookies?

2001-06-21 Thread Jason Murray
> I am about to write a new admin system for a website I do and > it will have many different logins. I was wondering overall which > most of you thought would be better for such a thing? Wants really > a pro about sessions over cookies? If it's for an admin section, then you may as well use c

Re: [PHP] Forum script

2001-06-21 Thread David Robley
On Thu, 21 Jun 2001 22:19, Morgan Curley wrote: > In what timezone is it September? > > At 02:49 AM 6/21/2001, Chris \"TunkeyMicket\" Watford wrote: > >Timezones :) > >- Original Message - > > From: Morgan Curley > > >To: [EMAIL PROTECTED

[PHP] Wizard based Content Manager help

2001-06-21 Thread John Harding
Hi,   Im currently working on a Content Manager. The way we wish to add new content is throught a wizard with about 5-7 steps. I was wondering if anybody could suggest some methods that would be best for what I am trying to do. The main issue for example, is if a user is adding new content a

Re: [PHP] passing values to a javascript variable

2001-06-21 Thread Joao Prado Maia
On Thu, 21 Jun 2001, Romulo Roberto Pereira wrote: > Hello! > > The following give me: unterminated string constant (this is a javascript > error) > > when I execute the following: > >while ($row = mysql_fetch_array ($data_query_action)) { > $data_data = $row["data_data"]; >} >

Re: [PHP] Posting form variables with http authentication

2001-06-21 Thread Rasmus Lerdorf
> This question is almost certainly an RTFM but I can't find it so I am going > to ask anyway. > > I have a form on my ssl which I need to submit to a perl handler on another > server. Problem is the company on the other side is requiring a http > authentication to submit the form. > > I can't thi

RE: [PHP] Posting form variables with http authentication

2001-06-21 Thread Jason Murray
> I have a form on my ssl which I need to submit to a perl handler on another > server. Problem is the company on the other side is requiring a http > authentication to submit the form. HTTP authentication can be worked with a URL: http://username:[EMAIL PROTECTED]/cgi-bin/perlhandler Jason -

Re: [PHP] PHP + Oracle + OCIPLogon

2001-06-21 Thread Rouvas Stathis
"Thies C. Arntzen" wrote: > please send me a "minimal" testcase that shows this > behaviour! i'll look into that then. I said that I'll have it on Monday, but curiosity got the better of me:-) So, I ran my test case and these are my findings, alogn with the test. Machine Configuration S

[PHP] BUGS.PHP.NET

2001-06-21 Thread Christine Hall
Title: Hello, I visited bugs.php.net and I noticed that you are not listed on some search engines. I am sure you can increase the number of people who visit bugs.php.net . Do you know TrafficMagnet? TrafficMagnet is a unique technology that instantly submits your web site to over 300,000+

[PHP] NEW Work At Home - Make Up To $1137.00 Per Week Fast Time:4:06:22 AM

2001-06-21 Thread mywwwpages
Great Info. Now Here is ours. If you cannot reach the below Website, for an Alternative Website Simply email [EMAIL PROTECTED]?Subject=Alternate_Homework_Site with "Alternate_Homework_Site" in the Subject http://www.goodmoney.4t.com Join ordinary people working at home making up to $1000 - $

[PHP] Problem Installing pdflib

2001-06-21 Thread ken spencer
I have been having troubles getting pdflib 4.0.1 to install with php 4.0.5 and redhat 7.0. Everything appears to be working until I get part way through making php. Then I get these errors: pdf.c: In function `php_if_pdf_close_pdi_page': pdf.c:2704: too many arguments to function `PDF_close_pdi

[PHP] php based affiliate program software

2001-06-21 Thread Chuck Barnett
Does anyone know of any php based affiliate program software developed or being developed. I'm looking to either purchase one, or develop my own. Thanks, Chuck Barnett -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] $HTTP_???_VARS[] always populated?

2001-06-21 Thread Matthew M. Boulter
Quick question crew, ATM we're trying to convert all of our existing scripts t conform to register_globals being OFF, i.e., accessing everything through the $HTTP_???_VARS[] arrays. What I was wondering is, when register_globals in ON, do all of the $HTTP_???_VARS[] arrays * still * get populate

[PHP] Trouble on PHP4.05 on W2k/IIS

2001-06-21 Thread Alex Piaz
Hi Folks! I've just installed php4.05 CGI at one of ours W2k/IIS5 Servers. The install was ok, but I cannot load any kind of extensions! My extension_dir directive was set to c:\php\extensions, but i've tried ./extensions c:\\php\\extensions and a lot of other combinations without sucess. Th

[PHP] Class Question

2001-06-21 Thread Unni
Hello, This is the first time I write OOP in PHP. I wrote a small class for Mysql and from the index.php, I am calling the new function. I have a display before new class and I have a display after the new and only the display I am getting is the before class and after that there is no error.

Re: [PHP] Safe_mode in certain directories

2001-06-21 Thread Rasmus Lerdorf
> How do set only safe_mode = On in certain directories while others are Off. And >vice versa. If you are using Apache you can set any PHP directive in or block by doing something like: php_admin_flag safe_mode On -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscr

RE: [PHP] SMTP/mail question

2001-06-21 Thread Aaron Bennett
Title: RE: [PHP] SMTP/mail question Michi,   Try having your sysadmin add this line to your apache virtualhost entry: php_admin_value sendmail_path "/usr/sbin/sendmail [EMAIL PROTECTED] -t -i" (dont forget the '-f' before your email address...) this sets the sendmail envelope headers to be '

Re: [PHP] Nuke

2001-06-21 Thread Matt \"TrollBoy\" Wiseman
you may want to either mail the phpNuke list themselves with this question, or switch to another weblog system, such as phpslash. Matt "TrollBoy" Wiseman Webmaster: Shoggoth.net Site Designer: phpslash.org The oldest and strongest emotion of mankind is fear, and the oldest and strongest kind of f

Re: [PHP] MySQL -> Quicken

2001-06-21 Thread Matt \"TrollBoy\" Wiseman
I would recommend simply exporting a QIF file to get the format, then it should be no more a matter of a For loop. If you would like to see a template of the QIF, just mail me off list. Matt "TrollBoy" Wiseman Webmaster: Shoggoth.net Site Designer: phpslash.org The oldest and strongest emotion of

[PHP] PHP timer

2001-06-21 Thread george
My back is aganist the wall with this one, I have to create a timer . What happens is admin will enter a time say 2 hours in the future this time will be stored in a db as a time stamp then the current time and the timestamp from the db are subtracted from one another and the result is shown

Re: [PHP] Calculate # of minutes during working hours between two dates

2001-06-21 Thread Hugh Bothwell
Yick! Three-quarters of the replies to this are not what he asked for, and the others are really scarily inefficient. Total work time = (start time to end of first week) + (end of first week to end of last week) - (end time to end of last week). This is a non-obvious way to phrase it, but it el

[PHP] starting Apache: unable to find OpenLDAP library path

2001-06-21 Thread Charlie Hileman
Hello, I have a problem when running Apache (1.3.19) using PHP (4.0.4) and OpenLDAP . The following error occurs when starting up Apache (PHP run internally as a shared module in Apache): > Cannot load /usr/web/server/apache/libexec/libphp4.so into server: libldap.so.2: > cannot open shared

[PHP] Sessions vs Cookies?

2001-06-21 Thread Chris Anderson
I am about to write a new admin system for a website I do and it will have many different logins. I was wondering overall which most of you thought would be better for such a thing? Wants really a pro about sessions over cookies?

[PHP] Got error binding a socket.

2001-06-21 Thread Charlie Cheung
I used x86 Solaris8, php-4.0.5, with --enable-sockets, when I tried the server example from the PHP manual, I got bind error as follows: bind() failed: reason: Address family not supported by protocol family Does anyone know what the problem is? Thanks. -- PHP General Mailing List (http://w

[PHP] passing values to a javascript variable

2001-06-21 Thread Romulo Roberto Pereira
Hello! The following give me: unterminated string constant (this is a javascript error) when I execute the following: while ($row = mysql_fetch_array ($data_query_action)) { $data_data = $row["data_data"]; } echo "\n var ndata=\"".addslashes($data_data)."\";\nPutCode (ndata);

Re: [PHP] PHP no longer logging errors - found them!

2001-06-21 Thread lenar
""Jeff Armstrong"" <[EMAIL PROTECTED]> wrote in message 9gtgiv$g4$[EMAIL PROTECTED]">news:9gtgiv$g4$[EMAIL PROTECTED]... > Little Bo jeff has lost his logs, > and doesn't know where to find them! > Fix up the conf > and they will come home > dragging their hints behind them! > > I move

Re: [PHP] Mails

2001-06-21 Thread Chris Anderson
did you sign up 10 times? - Original Message - From: "MySQL" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 7:25 AM Subject: [PHP] Mails > Can someone tell me why i'm receiving the mails 10 times each??? > > > -- > PHP General Mailing List (http://www.php.n

Re: [PHP] PHP + Oracle + OCIPLogon

2001-06-21 Thread Thies C. Arntzen
On Thu, Jun 21, 2001 at 09:32:31PM +0300, Rouvas Stathis wrote: > "Thies C. Arntzen" wrote: > > > > On Thu, Jun 21, 2001 at 03:19:09PM +0300, Rouvas Stathis wrote: > > > > > > Unfortunately, you are not doing anything wrong. > > > Persistent connections and PHP/Ora do not play well with each othe

RE: [PHP] Apache config + PHP include paths

2001-06-21 Thread Aaron Bennett
Title: RE: [PHP] Apache config + PHP include paths Shaun, you can also define php_value (but NOT php_admin_value) lines in a .htaccess file rather than in your httpd.conf, assuming you gave (or were given) the appropriate AllowOverride parameters to use .htaccess... Unless you are running you

[PHP] PHP no longer logging errors - found them!

2001-06-21 Thread Jeff Armstrong
Little Bo jeff has lost his logs, and doesn't know where to find them! Fix up the conf and they will come home dragging their hints behind them! I moved some php config values into httpd.conf so that I could manage my virtual sites better (e.g. phpMyAdmin needs globals) and assumed that

Re: [PHP] Apache config + PHP include paths

2001-06-21 Thread DAve Goodrich
on 6/21/01 8:14 AM, Butler, Shaun at [EMAIL PROTECTED] wrote: > is there a way to set up a different include path per virtual host in the > apache config or in the php.ini ? > > so www.blahblah.com would have /www/libs as the include path > > and > > www.moomoo.com would have /www/moo > > --

Re: [PHP] Posting form variables with http authentication

2001-06-21 Thread lenar
I think there is no very simple way to do this. But you can try to receive the form yourself and using for example curl extension, make connection to that another server, then resubmitting your form data along with necessary authentication headers. That should work. lenar. ""Gerard Onorato""

[PHP] mcrypt error

2001-06-21 Thread Tyler Longren
Here's the error: Warning: mcrypt module initialization failed in /home2/golfballs.net/www/includes/crypt_lib.php on line 35 Here's line 35: $result = mcrypt_cbc($cipher, $key, $cc_num, $mode); Becuase of the above warning, credit card numbers can't be viewed on the 'recieved orders' page. Any

[PHP] Posting form variables with http authentication

2001-06-21 Thread Gerard Onorato
Hi everyone, This question is almost certainly an RTFM but I can't find it so I am going to ask anyway. I have a form on my ssl which I need to submit to a perl handler on another server. Problem is the company on the other side is requiring a http authentication to submit the form. I can't thi

RE: [PHP] Time Language Settings

2001-06-21 Thread Don Read
On 21-Jun-01 Ray Hilton wrote: > How do I go arround getting php to output the time() function in a > different language? I have tried the setlocale() function to no avail, > perhaps my system doesn't have the appropriate locale to do this? If > so, then how do install them on Red Hat 7? check

Re: [PHP] Apache config + PHP include paths

2001-06-21 Thread infoz
Yes, in httpd.conf, just add the appropriate line, i.e. php_value include_path "blah" in the section for each virtual host. - Tim http://www.phptemplates.org > is there a way to set up a different include path per virtual host in the > apache config or in the php.ini ? -- PHP General Mai

Re: [PHP] PHP + Oracle + OCIPLogon

2001-06-21 Thread Rouvas Stathis
"Thies C. Arntzen" wrote: > > On Thu, Jun 21, 2001 at 03:19:09PM +0300, Rouvas Stathis wrote: > > > > Unfortunately, you are not doing anything wrong. > > Persistent connections and PHP/Ora do not play well with each other. > > ??? - please elaborate. PHP/Ora without persistent connections

Re: [PHP] PHP with JAVA support

2001-06-21 Thread Jim Kirkpatrick
Robert, If I run your code on my installation, all I get is the phpInfo() output. If I comment out that line, it returns: Java version=1.4.0-beta Java vendor=Sun Microsystems Inc. OS=Linux 2.2.14-5.0 on i386 Thursday, June 21, 2001 at 9:59:05 AM GMT-08:00 ...as I would expect. It would appear

Re: [PHP] resource ID?

2001-06-21 Thread stylewarrior
this is because mysql_query() returns a result identifier for select statements NOT a string or whatever you expected... if ($result) { my query was syntactically ok, but I still don't know anything about the result } else { my query was semantically invalid. } have a look at mysql_resul

Re: [PHP] Problem with session_is_registered

2001-06-21 Thread stylewarrior
hi & thx for your replies @chris: thats exactly what I do right now, but I consider it a "workaround", because I have to use session_register ("count"); first. the funny thing is, that when I call this page without an session id... (just check.php instead of check.php?PHPSESSIONID=2178362178

RE: [PHP] Slick Time Zone Coversions

2001-06-21 Thread Don Read
On 20-Jun-01 Jason wrote: > Hey, > > I wanted to see if anybody has a some ideas or code for a good time zone > coversion function. > > Basically, I would like something where the user can input their timezone > (or if php doesn't recognize timezones, maybe just the current time for > them, and

Re: [PHP] redirect from aframe to the whole page!

2001-06-21 Thread lenar
This is not PHP related, but use '_top' as TARGET. lenar. ""kaab kaoutar"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi! > how cann i redirect from a frame to a page but in the whole page ! > i mean like href and adding the target! > Thanks > ___

[PHP] OT Re: http 1.0 1.1 info

2001-06-21 Thread rm
Anyone know of a url. Need a simple introduction to the concepts of http1.0 and 1.1 protocols, how they work etc etc. Preferably something with nice pretty pictures and something that does not require more than a first or second grading reading level. Everything I find at the various search eng

Re: [PHP] List of included file names

2001-06-21 Thread lenar
use get_included_files() and/or get_required_files() functions. lenar. "DAve Goodrich" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > -Original Message- > > From: Tim McGuire [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, June 19, 2001 2:30 PM > > To

RE: [PHP] Need recommendation: good user management system (PHP/MySQL)

2001-06-21 Thread Kent Sandvik
Stuff I'm using here, could be better, but it's a start: --- For MySQL (or other SQL database): cat create_access_tbl.sql /* --- FBI Access Control Database Format -- * This is the proposed format for the access control database. * Use mysql to recreate the database if needed. * *

Re: [PHP] redirect from aframe to the whole page!

2001-06-21 Thread Philip Hallstrom
I don't remember for sure, but I think for IE you can do this: Header("Window-target: targetgoeshere"); Header("Location: /whereyouwanttogo.html"); and it will work. I'm pretty sure that works, but maybe I'm not remembering right. -philip In article <[EMAIL PROTECTED]> you write: > >Hi! >how

[PHP] resource ID?

2001-06-21 Thread Kurth Bemis
i get this: Resource id #2 when i run this code.whats resource id 2 mean? i just want to know if the query was ok or not $result = mysql_query("SELECT authcode FROM users WHERE email='$email'",$db); echo $result; ~kurth -- PHP General Mailing List (http://www.php.net/

[PHP] a+ group or list, sorry for the OT

2001-06-21 Thread Jerry Lake
I know it's OT, but is anyone aware of an A+ cert prep list or newsgroup Thanks, Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] time

2001-06-21 Thread Don Read
On 20-Jun-01 Ray Hilton wrote: > well, if its a server side script, the only clock available to it is the > one on the server... > Errmm ... putenv('TZ=PST8PDT'); // default to Pacific time if (isset($usertz)) putenv("TZ=$usertz"); $dtstr= date('Y-m-d h:i'); ...

RE: [PHP] List of included file names

2001-06-21 Thread DAve Goodrich
> -Original Message- > From: Tim McGuire [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 19, 2001 2:30 PM > To: [EMAIL PROTECTED] > Subject: [PHP] List of included file names. > > > Hi, > > I searched the archives for this. > > For debugging purposes, I want to see a list of the inclu

Re: [PHP] resource ID?

2001-06-21 Thread lenar
heh, that basically means that query was ok at least techincally. When you echo that $result and get nothing - then something went wrong. The right way to check if query was ok is: if(is_resource($result)) echo "Query OK"; or just: if($result) echo "Query OK"; lenar. "Kurth Bemis" <[E

[PHP] resource ID?

2001-06-21 Thread Kurth Bemis
i get this: Resource id #2 when i run this code.whats resource id 2 mean? i just want to know if the query was ok or not $result = mysql_query("SELECT authcode FROM users WHERE email='$email'",$db); echo $result; ~kurth -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Problem with session_is_registered

2001-06-21 Thread Chadwick, Russell
You have to do session_start (); in your check script before anything else. - Russ --- Toolshed Computer Productions - Professional PHP Hosting Hosting - Dedicated Servers - Design - Programming http://www.toolshed51.com -Original Message- From: Chris Lee [mailto:[EMAIL PROTEC

RE: [PHP] .htaccess logout sequence

2001-06-21 Thread Don Read
On 20-Jun-01 Chris Aitken wrote: > Hi All. > > > I have a query which has confused me a bit. I have a database setup where I > use htaccess (using apache/php/mysql on a freebsd 3.4 box) to grant access, > then it grabs the users info from the database, sets a cookie and pretty > much let

[PHP] Problem with hashtable in globals ZTS

2001-06-21 Thread Gilles Koffmann
Hi, I'm writing an extension to php. After changing my code to have thread safe globals , my extension is crashing and I can't figure out what it is: typedef struct { HashTable array_dl_handle; /* hash user dll name -> handle, getobject, getcompiler, destroyobject */ HashTable array_compiler;

[PHP] mcrypt_cbc()

2001-06-21 Thread Tyler Longren
Hello list, Is there a special tirgger to enable the mcrypt_cbc() function when you ./configure PHP? Or how do I get that function to work? I get the error: call to undefined function. Thanks, Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] redirect from aframe to the whole page!

2001-06-21 Thread kaab kaoutar
Hi! how cann i redirect from a frame to a page but in the whole page ! i mean like href and adding the target! Thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List

[PHP] PHP with Apache 2 from CVS

2001-06-21 Thread Gonyou, Austin
Has anyone been able to overcome the APR_SAVE_BRIGADE build error when compiling as an Apache2 module? Any help in this direction is greatly appreciated. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] -- PHP General Mailing List (http:/

RE: [PHP] protect source code

2001-06-21 Thread Andrew Chase
You might want to check out APC - an open-source alternative to Zend's commercial product. I've never used it, but it looks pretty good: http://apc.communityconnect.com/ -Andy > -Original Message- > > I am on a project and the issue that struck me is how to > protect my source > > cod

Re: [PHP] protect source code

2001-06-21 Thread infoz
APC is a script cache engine, like the Zend Cache, it doesn't protect your source code. - Tim http://www.phptemplates.org - Original Message - From: "Reuben D Budiardja" <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 9:58 AM Subject: Re: [PHP] protect source code Someone told me t

[PHP] Safe_mode in certain directories

2001-06-21 Thread Ker Ruben Ramos
Ey guys!       How do set only safe_mode = On in certain directories while others are Off. And vice versa.   Thank You.

Re: [PHP] javascript label inside php code.

2001-06-21 Thread Rasmus Lerdorf
> Warning: Cannot add header information - headers already sent by > (output started I understand that one of the reasons for this erro > message is if their is a trailing space after a ?>. I have some PHP > code which produces javascript rollover code. Above this there are a > few includes refere

[PHP] Need help in Advance PHP!

2001-06-21 Thread Unni
Hello Friends, I have developed bunch of websites using PHP and I think I can say I can write programs in PHP with database fairly easily. Now I am going to develop a website, something similar to ebay or Yahoo-auctions and I want to know, is there any advanced features that I can use to devel

Re: [PHP] PHP + Oracle + OCIPLogon

2001-06-21 Thread Thies C. Arntzen
On Thu, Jun 21, 2001 at 03:19:09PM +0300, Rouvas Stathis wrote: > > Unfortunately, you are not doing anything wrong. > Persistent connections and PHP/Ora do not play well with each other. ??? - please elaborate. tc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] PHP + Oracle + OCIPLogon

2001-06-21 Thread Thies C. Arntzen
On Wed, Jun 20, 2001 at 05:33:18PM +0200, Confuser wrote: > I understand that OCIPLogon creates a persitant connection to the Oracle DB, > to improve > performance... And I must say it does ! > > However, since OCILogoff is best not used with a persitant logon (and in the > latest versions, > it

Re: [PHP] Problem with session_is_registered

2001-06-21 Thread kaab kaoutar
u should start the session first (session_start(), then check registration! >From: "news.php.net" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [PHP] Problem with session_is_registered >Date: Thu, 21 Jun 2001 15:25:35 +0200 > >hi everybody, > >maybe I get smth. wrong, but as far as I know

Re: [PHP] Apache config + PHP include paths

2001-06-21 Thread lenar
in your virtualhost definition use: php_value include_path "new include path" might be that instead of php_value you have to use php_admin_value, not sure. this is explained in "Chapter 3. Configuration" of php manual. lenar. ""Butler, Shaun"" <[EMAIL PROTECTED]> wrote in message 010624050

Re: [PHP] javascript label inside php code.

2001-06-21 Thread dcoleman
Sure, try this // ?> echo('

[PHP] Apache config + PHP include paths

2001-06-21 Thread Butler, Shaun
is there a way to set up a different include path per virtual host in the apache config or in the php.ini ? so www.blahblah.com would have /www/libs as the include path and www.moomoo.com would have /www/moo -- Shaun -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

RE: [PHP] php as cron

2001-06-21 Thread AJDIN BRANDIC
Thanks all Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] General Coding Question

2001-06-21 Thread Merio, Quinn
I posted the exact same question a while ago, because i know that ASP does slow down when you jump in and out of the asp dll. I tried benchmarking it, and asked my geekiest of geek friends. All results thus far point to the fact that both work just as well. and imho, the alternate syntax is a lo

Re: [PHP] php as cron

2001-06-21 Thread lenar
You have global variables $argc (count of arguments) and $argv (array containing arguments given on command line) lenar. ""Joseph Tate"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Have you tried 'php '? Now, I don't know how you would pass > parameters t

[PHP] Refreshing browser

2001-06-21 Thread Todd Cary
Within my PHP code, I often do a re-direct via opening a new socket. This works like a champ *but* the surfer's browser retains the URL in the Address from the last - not the recent re-direct. This can be a problem if I do a https:// re-rect in that the broswer does not indicate to the surfer th

Re: [PHP] Unended login session!?

2001-06-21 Thread Chris Lee
Header("WWW-Authenticate: Basic realm='$SERVER_NAME' "); Header("HTTP/1.0 401 Unauthorized"); exit(); this forces all my clients to re-login. you can not log someone out be changing the value off PHP_AUTH_USER because that variable is set by the client everytime the page is loaded. you can cha

[PHP] PHP no longer logging errors

2001-06-21 Thread Jeff Armstrong
PHP appears to no longer be logging errors: My php.ini is unchanged: error_reporting = E_ALL display_errors = On display_startup_errors = On log_errors = On error_log = /var/log/apache/php.log Over the last few days, whenever I had a syntax error in my scripts, I was getting segmentat

Re: [PHP] Problem with session_is_registered

2001-06-21 Thread Chris Lee
I just check the var. if (isset($HTTP_SESSION_VARS['count'])) echo " Yes its all set :) "; -- Chris Lee [EMAIL PROTECTED] ""news.php.net"" <[EMAIL PROTECTED]> wrote in message 9gss6k$kud$[EMAIL PROTECTED]">news:9gss6k$kud$[EMAIL PROTECTED]... > hi everybody, > > maybe I get

[PHP] php.ini and mail

2001-06-21 Thread Jay Paulson
Hello everyone- i'm trying to use a script to send an email message. however, i'm having a problem sending the mail message php is telling me that it can't connect to our mail server. i know that the mail server i'm trying to connect to is the correct one so that's not the problem. Although, i'

RE: [PHP] Which DB abstraction ?

2001-06-21 Thread Andrew Hill
Robert, Whichever you choose, using ODBC will further insulate you from the 'pain' of adopting other databases. Also, ODBC by itself will give you a great deal of db abstraction. There are HOWTO's on setting up PHP with the iODBC Driver Manager (needed to use ODBC drivers) at www.iodbc.org Bes

RE: [PHP] php as cron

2001-06-21 Thread Joseph Tate
Have you tried 'php '? Now, I don't know how you would pass parameters to it... > -Original Message- > From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 21, 2001 8:09 AM > To: AJDIN BRANDIC > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] php as cron > > > try etc.

Re: [PHP] protect source code

2001-06-21 Thread Reuben D Budiardja
Someone told me that there is another php compiler, called APC. Check it out here: http://apc.communityconnect.com/ I haven't got a chance to try it yet, so if you'll let me know the result I'd be happy to hear about. You can e-mail me off list about that. Hope that helps. Reuben D. Budiardja

Re: [PHP] Which DB abstraction ?

2001-06-21 Thread Manuel Lemos
Hello Robert, On 21-Jun-01 00:44:23, you wrote: >Hi, >I am in a middle of the process of chosing which DB >will be used for future projects. I've been using >Mysql for almost 5 years (coupled with php of course) >but it seems to have reached it's limits (actually the >lack of some features).

Re: [PHP] session question

2001-06-21 Thread Peter Dudley
There is a useful article here: http://phpbuilder.com/columns/ying2602.php3?page=1 As to "up to a million users" logged in at once... don't you wantto have multiple redundant web servers running under a load balancer? If the rest of your system can handle that many concurrent users, then I d

Re: [PHP] Mails

2001-06-21 Thread Meles Meles
Can someone tell me why I'm still getting mail after I unsubscribe (successfully, according to the automated email) yesterday? Badger[EMAIL PROTECTED] --- On Thu, 21 Jun 20

Re: [PHP] Parse PHP inside a variable

2001-06-21 Thread Claus Heiko Niesen
At 12:20 AM 06/21/2001, Christopher Ostmo wrote: >Checkout eval() >http://www.php.net/manual/en/function.eval.php > >The second user contributed note contains an example of how to do this. > >Good luck... Thank you for the quick response Christopher and Jason. The eval( "?>$string" ); is exactl

[PHP] form values in db via loopin

2001-06-21 Thread Wilbert Enserink
Hi all, I'm rather new to php, but I'm busy making a mailform. Is it possible to loop through the entered fields in the mailform and perform the functions addslashes and htmlspecialchars and finally put the answers in my db? thanx, Wilbert - Pas de Deux Van Mierisstra

Re: [PHP] General Coding Question

2001-06-21 Thread Christian Reiniger
On Thursday 21 June 2001 09:31, Ray Hilton wrote: XML allows both single and double quotes for attributes, and XHTML is defined as XML DTD, so it allows it too. > I don’t think that’s XHTML complient... Correct me if im wrong? > > -Original Message- > im here to start a flamewar. > > do

[PHP] Problem with session_is_registered

2001-06-21 Thread news.php.net
hi everybody, maybe I get smth. wrong, but as far as I know the function "session_is_registered()" is used to find out if a var is registered in a session... ok, now here is my example: [ index.php ] . . . NEXT [ check.php ] "; } else { echo "no, count is not reg."; } ?> . . . now, check

[PHP] javascript label inside php code.

2001-06-21 Thread Andrew Austin
Warning: Cannot add header information - headers already sent by (output started I understand that one of the reasons for this erro message is if their is a trailing space after a ?>. I have some PHP code which produces javascript rollover code. Above this there are a few includes referencing d

Re: [PHP] Another Template Engine (code)

2001-06-21 Thread infoz
You may want to take a look at Dreamtime's template engine. I've had pretty good feedback on it so far. The template language supports things like loops, if-then, pre-compiling templates, etc., which makes assembling complex pages pretty easy. We replaced a whole heap of Cold Fusion code with a

Re: [PHP] SMTP/mail question

2001-06-21 Thread Manuel Lemos
Hello mailing_list, On 20-Jun-01 23:06:59, you wrote: >I sent a message last day with subject "perl2php - question" - but I think I >will describe the problem, I solved with perl, instead of asking for a >perl2php-code: >if I send a mail with the php-mail()-function, and the mail bounces (wrong

Re: [PHP] PHP + Oracle + OCIPLogon

2001-06-21 Thread Confuser
"Rouvas Stathis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Unfortunately, you are not doing anything wrong. > Persistent connections and PHP/Ora do not play well with each other. > I suggest that that you use plain OciLogon. > -Stathis. Oh :o) That'

Re: [PHP] Forum script

2001-06-21 Thread Morgan Curley
In what timezone is it September? At 02:49 AM 6/21/2001, Chris \"TunkeyMicket\" Watford wrote: Timezones :) - Original Message - From: Morgan Curley To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 10:16 PM Subject: RE: [PHP] Forum script Is it just me or does anyone else get a

RE: [PHP] setcookie() woes

2001-06-21 Thread Grimes, Dean
This is a problem with IE5.0. However, not all versions of 5.0 have the problem. I had to upgrade all of my users to IE5.5 to fix the problem. What is really strange is that the problem manifests itself as a PHP problemBut it's not. Actually, I don't think the problem is the setcookie function

Re: [PHP] PHP + Oracle + OCIPLogon

2001-06-21 Thread Rouvas Stathis
Confuser wrote: > > I understand that OCIPLogon creates a persitant connection to the Oracle DB, > to improve > performance... And I must say it does ! > > However, since OCILogoff is best not used with a persitant logon (and in the > latest versions, > it doesn't do anything anyway)... How will

RE: [PHP] php as cron

2001-06-21 Thread Galvin, Max
Either recompile PHP as a cgi OR use lynx to do it so: lynx -dump http://www.mysite.com/myscript.php You can then collect the output in the usual ways. M > -- > From: AJDIN BRANDIC[SMTP:[EMAIL PROTECTED]] > Sent: 21 June 2001 09:07 > To: [EMAIL PROTECTED] > Subject:

RE: [PHP] php as cron

2001-06-21 Thread Johan Holst Nielsen
try etc. 00,30 * * * * lynx -dump http://path.to.php.script > /dev/null Regards Johan > > Hi > > I have PHP installed as Apache module but I want to run a cron job. I > have .php script that works OK when executed through browser but is there > any way I could execute it through a cron job. >

RE: [PHP] Need recommendation: good user management system (PHP/MySQL)

2001-06-21 Thread Matt Williams
> I'm just starting to learn PHP and it's going to > take a while before I can create a really good > script to password protect a section of my site, > with a good admin control center to manage my > user's accounts. Therefore I'm asking for > recommendations on a good retail script that can > ha

[PHP] problems with sessions login/logout and frames

2001-06-21 Thread kaab kaoutar
Hi there! I'm happy the mailing lisi is finally activated :) Well guys, i've spent bad time using sessions with frames : i have a website that dislpays some tour products, and i have four frames in most of the pages! i have a logon button in the top frame where once clicked it asks for the log

  1   2   >