Re: [PHP] a DOT or a BLANK SPACE

2001-06-21 Thread TunkeyMicket
IMO that is a bad way to name them, why Num. and Home Address, if you explained the reason for needing these names maybe we could better help you. Chris TunkeyMicket Watford TunkeyMicket Productions www.tunkeymicket.com - Original Message - From: Jaime

[PHP] SMTP/mail question

2001-06-21 Thread mailing_list
Hi, 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 address - server down ...), the sysadmin of my ISP will

RE: [PHP] Forum script

2001-06-21 Thread Morgan Curley
Is it just me or does anyone else get a lot of messages on this list with dates in the future ( note the date below ) that then end up pinned to the bottom ( or top ) of the email listing. Is there some way to set the listserv to normalize the dates or is the just a Eudora4+ problem? At 03:41 PM

Re: [PHP] setcookie() woes

2001-06-21 Thread Lenar Lõhmus
In my experience the understanding of SetCookie header differs form browser to browser so much that it's horrible. As far as I remember IE5.5 handled it correctly. IE5.0 didn't. Netscape I think did (not completely sure). In any case .. session-based cookies seem to work in all of them. just call

RE: [PHP] Include Speed

2001-06-21 Thread Jason Murray
Isn't it fair to say that having the server open the extra file will add to the total execution time of the page? I think if it significantly impacts the execution time, you have bigger problems with your server. :) Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] PHP / gd problems / compiling

2001-06-21 Thread Rasmus Lerdorf
./configure' '--with-mysql' '--with-apache=../apache_1.3.12' '--enable-track-vars' '--enable-ftp' '--with-jpeg-dir=/usr/local/bin' '--with-gd-dir=/usr/local/bin' The configure option is --with-gd and it should definitely not point to /usr/local/bin. Quoting from the INSTALL file: There

[PHP] Resubmitting questions (Was [PHP] List of included file names)

2001-06-21 Thread Jason Murray
Little note not only to you: Getting no answer after ~3 hours does *not* mean you have to resubmit the question. Agreed. No answer usually means: 1) We don't know 2) We don't know anyone who knows 3) We're asleep or 4) We don't care (hey, most of us have our own interests) This

[PHP] Which DB abstraction ?

2001-06-21 Thread Robert Mena
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). The other options include some traditional comercial

RE: [PHP] Trimming Array value

2001-06-21 Thread Jason Murray
I have a multi-dimensional array. I want to trim every values so that none of them have trailing space. What is the most efficient way to do that ? I don't necessaryly know the dimension of the array ahead of time, so the function need to be able to handle it recursively. For a 1-D

RE: [PHP] Parse PHP inside a variable

2001-06-21 Thread Jason Murray
I'm having a variable that contains HTML with embedded PHP code. When I echo it then the PHP code does not get executed. Is there a way I can parse/print the content of my variable? eval(), though you might have to be careful if it's HTML and PHP. Jason -- PHP General Mailing List

RE: [PHP] General Coding Question

2001-06-21 Thread Jason Murray
You don't use a lot of javascript, do you? Start your JS with \ and end it with \ inside PHP code. No biggie. Jason -- 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

Re: [PHP] Parse PHP inside a variable

2001-06-21 Thread Christopher Ostmo
Claus Heiko Niesen pressed the little lettered thingies in this order... Hello I'm having a variable that contains HTML with embedded PHP code. When I echo it then the PHP code does not get executed. Is there a way I can parse/print the content of my variable? Checkout eval()

Re: [PHP] Another Template Engine (code)

2001-06-21 Thread TunkeyMicket
That is awesome, I never got into hash tables, seeing as how the extent of my perl is validating and emailing forms. I am currently porting the template engine to a class, so I can overload alot of the options, like check if it is an array being sent to __registerWatch and act accordingly.

[PHP] how to be listed

2001-06-21 Thread dee dee
I want to be listed in this mailing lis. tq _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] how to be listed

2001-06-21 Thread dee dee
I want to be listed in this mailing list. tq Ariffin _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] re: time

2001-06-21 Thread Jason Murray
actually i believe if you date() it gives you users system time it is the problem i have run into in the script i am trying to modify. the original person used date() and it clear shows my time. As much as i admit the possibility of their server being in Siberia but I doubt it. PHP

RE: [PHP] Maestro and PHP

2001-06-21 Thread Jason Murray
does anyone know if php can talk to maestro? btw maestro is a catalogging system / software that a lot of radio stations use to play songs etc on the radio.. if you want to know more about it you can visit: http://www.ccc-dcs.com/1-1-1.html I can't see anything there about the kind of

Re: [PHP] Code check please

2001-06-21 Thread Philip Olson
You want mysql_error(), call it somewhere after your query. echo mysql_error(); Regarding the query, the following should work just fine : $sql = INSERT INTO tablefoo (a,b,c) VALUES ('$a','$b','$c'); Be sure to add slashes sometime to your values beforehand. Anyway, mysql_error() is what

Re: [PHP] Secure LDAP and php 4.0.4pl1

2001-06-21 Thread Stig Venaas
Hi On Tue, May 22, 2001 at 10:18:38PM -0400, Scott Russell wrote: So, what can be done to alter the php ldap functions (and openldap libs?) so that you can choose the SSL protocol to use when connecting? Sorry for the very late answer. The way I see it, this is something that would require

Re: [PHP] LDAP trouble! Need help

2001-06-21 Thread Stig Venaas
Hei On Wed, Jun 20, 2001 at 03:04:06PM +0200, Stig-Ørjan Smelror wrote: I have some problems while printing out values of attributes-types which have Equality and/or Substrings values. Example: $get_values = .$info[0][title][0]; # OK. (prints out the value correct) $get_values =

[PHP] session question

2001-06-21 Thread Moax Tech List
I am setting up a website with a need to use some sort of session management for a large amount of users. I cannot use typical file based session managment because at any given time there could be up toa million users logged in at once. (It is a LAMP linux/apache/php4/mysql system). I am a

RE: [PHP] will PHP-3 scripts work using PHP-4 ?

2001-06-21 Thread Jason Murray
I'm getting back into PHP after doing some scripts a couple of years age in PHP-3. since I am installing PHP on a server now I am wondering if I can install PHP-4 and trust that the old PHP-3 scripts will generally work Ok. Could someone advise me on thie? Generally, you'll be fine.

RE: [PHP] Code check please

2001-06-21 Thread Warren Vail
Andreas, I'm not sure about code that appears to be missing like an execute query function or checking the number of affected rows to make sure that the insert worked, but clearly your insert code is not properly formed. The query could also be impacted by whether the columns are defined with

RE: [PHP] PHP3

2001-06-21 Thread Jason Murray
Does Select a.field, b.field from table_one a, table_two b where a.id = b.id work in PHP3/MySQL 3.22.32? Seems like valid SQL, why wouldn't it work? Client's running PHP3, and I'm on 4. Cool, can I have a cut of your consulting fee then please :) Jason -- PHP General Mailing List

[PHP] How to connect to remote database server through PHP?

2001-06-21 Thread Manisha
Hi, We are developing web application. The client wants it to get connected to their central database server in USA. Web server is in Singapore. Web server configuration - Situated in Singapore, unix / php / mysql - this database is only for some special cases where application does not

Re: [PHP] Problem starting session

2001-06-21 Thread Chris \TunkeyMicket\ Watford
Make sure it is: \tmp in the ini file. That way you don't have to mess with a drive letter. - Original Message - From: Jonathan Sharp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 7:57 PM Subject: Re: [PHP] Problem starting session Check your php.ini file,

RE: [PHP] newbie algorithm help!!!!!

2001-06-21 Thread Jason Murray
I wanna get them(i know how to do that) and list them in a 2-column table. I have been trying to use a loop to do it. But it will only produce a 1-column table. it's like entry 1 entey 2 entry 3 entry 4 etc Please help me so that i can get this : entry1 entry2 entry3 entry4

Re: [PHP] protect source code

2001-06-21 Thread mailing_list
An alternative is to put some of your critical code into a PHP extension that you distribute as a shared library with your application. Compiled C code in the form of a .so is rather difficult to reverse engineer. how to do this? can you give an example? thanks michi -- GMX - Die

Re: [PHP] protect source code

2001-06-21 Thread Jason See
I have similar question as well, is there any example given for the below explanation? At 08:22 AM 6/21/2001 +0200, [EMAIL PROTECTED] wrote: An alternative is to put some of your critical code into a PHP extension that you distribute as a shared library with your application. Compiled C

RE: [PHP] General Coding Question

2001-06-21 Thread Jason Murray
this whole bench thing really needs someone to sit down and go i bet i could write some code to see in less time then it would take to post ? dont get mad, people are allways posting this. is this aster then that ? write some code and see. its very hardware/os dependant. your system

Re: [PHP] Printingt Variables in Included Text

2001-06-21 Thread Chris Fry
Maybe a $ in front of the variables? $pullquote1='Test for pull quote'; $pullquote2='pullquote2 text'; $keywords='shdjkashd kasdj d kjdjdjasd'; Chris Jeremy Bowen wrote: Hey, I have a website where I use header and footer files in a includes director to establish the header and footer of

[PHP] Customer Relationship Management tools?

2001-06-21 Thread Jason Murray
Hi folks, I'm curious whether anyone has had any experience with a Talisma-alike system written in PHP (or something else) and if so, where do I look for it? :) Talisma is a CRM tool that accepts inbound emails to a specific address, stores them in a database and threads all correspondence with

Re: [PHP] Forum script

2001-06-21 Thread Chris \TunkeyMicket\ Watford
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 lot of messages on this list with dates in the future ( note the date

[PHP] log out method

2001-06-21 Thread Jacky
I know this may be asked a lot previously, so please bear with me here. I use PHP_AUTH_USERfor my login method, no login page or anything, only the pop up box to login. I did not use any kind of cookies or session to store login detail as well. How can I make the logout that will get rid off

RE: [PHP] setcookie() woes

2001-06-21 Thread Jason Murray
I won't quote, because this is not directly related to either mail. I had a completely bizarre issue with MSIE not accepting cookies that had highbit ascii values in them as their first character. Simply fixed (in the end): add text to the front and strip it out in the sitewide pre-execution

[PHP] PHP General List Time Warp (was RE: [PHP] Forum script)

2001-06-21 Thread Jason Murray
Is it just me or does anyone else get a lot of messages on this list with dates in the future ( note the date below ) that then end up pinned to the bottom ( or top ) of the email listing. Is there some way to set the listserv to normalize the dates or is the just a Eudora4+ problem?

RE: [PHP] SMTP/mail question

2001-06-21 Thread Jason Murray
I tried all possible headers (Return-Path, Error-To, Sender, ...) to redirect the bouncing mail to my address but nothing worked - all bouncing-mails go to root! this works for me: mail([EMAIL PROTECTED], Subject, Email body, Return-path: [EMAIL PROTECTED]\n); Maybe you mistyped the

RE: [PHP] Code check please

2001-06-21 Thread Warren Vail
It just occurred to me that one thing that will kill a query is special query characters imbedded in your strings, like quotes (single or double). This can be resolved by the $resultstring = addslashes($sourcestring); this should escape special characters normally used to signal key components

[PHP] Re: PHP conference?

2001-06-21 Thread Björn Schotte
* Björn Schotte wrote: I will put up a special page where you can find this info and where you can subscribe to our newsletter. ... which is now possible at http://www.php-kongress.de/2001/index_en.php Björn. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] .htaccess and secure image directory

2001-06-21 Thread Jason Murray
(shrug) disable directory browsing. That should prabably be your default anyway. bill [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... If I upload images to a web directory using PHP, how can I prevent a web browser from getting a file list of the

RE: [PHP] General Coding Question

2001-06-21 Thread Ray Hilton
I don’t think that’s XHTML complient... Correct me if im wrong? -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: 20 June 2001 23:50 To: [EMAIL PROTECTED] Subject: Re: [PHP] General Coding Question im here to start a flamewar. dont use then. why not use ' ? echo

[PHP] Unended login session!?

2001-06-21 Thread Cefull Lo
When I use the follow code to make a member login, header (WWW-Authenication: basic realm='my login'); Once you are logined, the session seems never end. (ie $PHP_AUTH_USER exist forever until you close the browser). Is it any way to put an end on this session and let people login with another

[PHP] Time Language Settings

2001-06-21 Thread Ray Hilton
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? Cheers, Ray Hilton - [EMAIL PROTECTED]

[PHP] PHP 3 - 4 Transition problem

2001-06-21 Thread Martin Cabrera Diaubalick
Hello everyone! Good to see the list back! I had this weird problem switching from PHP3.0.16 to PHP 4.0.4pl1. After changing Apache httpd.conf file, everything went ok except that mail() function always returns false even though mails are sent. phpinfo() says my sendmail configuration is this

[PHP] Retrieve datevalues from seconds

2001-06-21 Thread David Lidström
Hi! If i have a number of seconds, i.e. 30667 - is there any easy way to extract hours, seconds,days etc. from this? I.e. foobar ( 120 ) - 0 days, 0 hours, 2 minutes. ?!?! \david -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] php as cron

2001-06-21 Thread AJDIN BRANDIC
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. Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Parse PHP inside a variable

2001-06-21 Thread Zak Greant
Write your code to a temporary file, include the file and then delete it. ?php // HTML + PHP mixed code $code = b?php echo 'BOO!' ?/b; // Create a temporary file to store the code $file = tempnam ('/tmp', 'eval'); error_log ($code, 3, $file); // include the temp file include ($file); // erase

Re: [PHP] how to be listed

2001-06-21 Thread David Robley
On Thu, 21 Jun 2001 14:22, you wrote: I want to be listed in this mailing list. tq Ariffin ___ __ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Just one request will do! Go to the php web site

RE: [PHP] SMTP/mail question

2001-06-21 Thread mailing_list
I tried all possible headers (Return-Path, Error-To, Sender, ...) to redirect the bouncing mail to my address but nothing worked - all bouncing-mails go to root! this works for me: mail([EMAIL PROTECTED], Subject, Email body, Return-path: [EMAIL PROTECTED]\n); Maybe you

Re: [PHP] protect source code

2001-06-21 Thread Rasmus Lerdorf
See README.EXT_SKEL in the PHP distribution. On Thu, 21 Jun 2001, Jason See wrote: I have similar question as well, is there any example given for the below explanation? At 08:22 AM 6/21/2001 +0200, [EMAIL PROTECTED] wrote: An alternative is to put some of your critical code into a PHP

Re: [PHP] PHP with JAVA support

2001-06-21 Thread Robert Vetter
Jim Kirkpatrick wrote: Robert, Please include the php code you're using to instantiate the class. That will give me a better idea of what to suggest. Hi Jim, Thanks for the response. Here comes the code: ? phpinfo(); $system = new Java(java.lang.System); print Java

[PHP] .a library

2001-06-21 Thread Kike
Hi, I need to use a function in a .a library. How can do it? Thanks. -- 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] PHP3

2001-06-21 Thread Steve Edberg
The PHP version plays no part in this, since the SELECT statement below is passed directly to MySQL. And, yes, this should work on that MySQL version - it's a pretty simple statement. Were you experiencing a problem with it? If so, post the relevant PHP code the error message you're getting.

[PHP] submiting the contents of an IFRAME

2001-06-21 Thread Romulo Roberto Pereira
Hello! Anyone had tried to submit the contents (I mean the source code) of an IFRAME, so it can be available for PHP? Thank you, Rom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Code check please

2001-06-21 Thread Robert Vetter
Andreas Skarin wrote: I've tried to get this working for over an hour now, and it still won't. I don't even get an error message to help me find the problem so I was hoping that someone could check my code for me. I'm fooling around with a basic form that is supposed to send one's

Re: [PHP] Forum script

2001-06-21 Thread Vanessa
Hi I personally like tForum, not as many features as ezboard but it gets pretty close and no banners or popup windows (ugh!). And you can pretty much design everything the way you want, easy setup too. http://www.sitehelpers.com/ Cheers, Nessi At 16:23 20/06/01 , you wrote: Hi Can someone

[PHP] Mails

2001-06-21 Thread MySQL
Can someone tell me why i'm receiving the mails 10 times each??? -- 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]

[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

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 handle

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. Ajdin

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 + 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 PHP

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

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's 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] 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

[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

[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 ] ?php $count = ; session_start(); session_register (count); $count = 1; ? . . . a

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. dont

[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

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 exactly what I

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

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

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). The

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] php as cron

2001-06-21 Thread Joseph Tate
Have you tried 'php FILENAME'? 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] 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

[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,

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 smth.

[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

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 change

[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 FORM Type=GET - 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

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 FILENAME'? Now, I don't know how you would pass parameters

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

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]

[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,

Re: [PHP] javascript label inside php code.

2001-06-21 Thread dcoleman
Sure, try this // ? echo(' script language=JavaScript !-- This script controls the rollovers in the menu area if (document.images) { '); // ? Make sure there are no blanks _anywhere_ (even in includes) before the header code HTH Andrew Austin wrote: Warning: Cannot add header information -

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

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 the

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] 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,

[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

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 referencing

[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] 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 that

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 codes

[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

[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] 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] 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;

  1   2   >