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

2001-06-20 Thread Wim Koorenneef
Hi all, I want to calculate the number of minutes between two dates, but only those minutes on monday through friday between 08.00 and 17.30. I could evaluate every minute in the interval against all known minutes during working hours, but that's a bit much :-) Any suggestions for a better,

RE: [PHP] bad form...

2001-06-20 Thread scott [gts]
i agree. for small forms with not-a-lot-of-data to be processed, keeping it all together is generally a lot easier to maintain and upgrade. (it also makes it easier for others to understand your code - since the data input *and* processing code is all in the same place) -Original

[PHP] Forum script

2001-06-20 Thread Rosen
Hi Can someone recommend me some good script for forums ? Thanks, Rosen -- 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] list of included file names

2001-06-20 Thread Christian Reiniger
On Tuesday 19 June 2001 17:42, Tim McGuire wrote: For debugging purposes, I want to see a list of the included files on a page in HTML comments. http://php.net/get_included_files -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Very funny, Scotty! Now beam up my clothes...

RE: [PHP] Uploading a file into a database....ideas please.

2001-06-20 Thread scott [gts]
Title: Uploading a file into a databaseideas please. put a TEXTAREA on a form -cut-paste the textonto the form, submit the form, and have the form put your infointo the database if your server supports PHP, there are many many MySQL admin scripts out there that you could use to

Re: [PHP] List of included file names.

2001-06-20 Thread Christian Reiniger
On Tuesday 19 June 2001 20:30, Tim McGuire wrote: I searched the archives for this. For debugging purposes, I want to see a list of the included files on a page in HTML comments. Little note not only to you: Getting no answer after ~3 hours does *not* mean you have to resubmit the

[PHP] PHP + Oracle + OCIPLogon

2001-06-20 Thread Confuser
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 decide when to cut that

[PHP] OT - filtering problems

2001-06-20 Thread Marty Landman
Sorry for this OT post. Since the lists have come back up I've been having a problem getting my email client, Eudora 5.0.2 sponsored mode for Win95 to filter them correctly. I've tried several times and combinations and still everything goes into my inbox. I've got several dozen filters, and

RE: [PHP] SetCookie weirdness

2001-06-20 Thread scott [gts]
along with domains, cookies respect directories. for example: i'd have a script in '/somewhere' and another script in '/another' and when they'd try to use the same cookies, it wouldnt work... i had to actually specify a path of '/' for both of them to be able to use the same cookies.

RE: [PHP] Include Speed

2001-06-20 Thread scott [gts]
include() is not magical. it's all PHP code, whether or not you put it into your main file, or pull it in with an include() if it's slow - it's slow, regardless of *how* it was brought into the script. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

AW: [PHP] .htaccess logout sequence

2001-06-20 Thread Sebastian Stadtlich
the key to logout is the realmname. the browser will always send password etc again to the same realm as long as you don't close it. extend the realmname by a random number or timestamp and store it in a session or wherever. to logout change that realmname... sebastian -Ursprungliche

RE: [PHP] inserting a variable into a variable

2001-06-20 Thread scott [gts]
you so totally could use an assoc. array right now: $cat_adt = x; $rm = y; $a[ $cat_adt ] = whatever; $a[ $rm.$cat_adt ] = Yeah; print $a['yx']; save yourself a lot of trouble and dont bother with variables-of-variables and trying to get $rm_$cat_adt == $rm_x just use a hash... that's what

[PHP] Template Engine

2001-06-20 Thread TunkeyMicket
Since so many of you are asking for help w/ a template engine of some sort I have included the one I use for my mail program. I have not tested it with large amounts of text, but it is able to handle some very large strings. It has its own documentation, and if anyone needs any help setting

Re: Re[2]: [PHP] variables in a e-mail

2001-06-20 Thread Alexander Wagner
Hiho, Richard Kurth wrote: Hello Alexander, This is pretty much what I want to do. I want to have a e-mail script in my application and have it so the user can customize the e-mail that is sent out in a configure file. Say he wants to send a recurring bill to his customers and he wants it

RE: [PHP] parent and grandparent member functions

2001-06-20 Thread scott [gts]
it looks like your solution *is* elegant... i tried out your code, becuase i was astonished that such a simple thing allegedly wasn't working... and it did work. below is the exact code i had in my text editor, and it executed perfectly. when i called $c-make(), it printed A:: MAKE. ..am i

RE: [PHP] List of included file names.

2001-06-20 Thread scott [gts]
yeah. at the beginning of each include file, put: print '!-- my.file.name.php --'; ...or were you looking for something a little harder and more convoluted? :) -Original Message- From: Tim McGuire [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 2:30 PM To: [EMAIL

RE: [PHP] validate phone numbers

2001-06-20 Thread scott [gts]
i agree. there's NOTHING more annoying than a broken validation script when you're trying to enter valid, but weird, data. perhaps separate the form up into one box for the country code, one box for the number, and one box for any add'l information (extensions, automated prompt numbers,

[PHP] Code check please

2001-06-20 Thread Andreas Skarin
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 name, surname and e-mail address to

RE: [PHP] image code

2001-06-20 Thread Andrew Chase
I wrote thumbnailing script that did exactly what you said below, but to eliminate the needless regeneration of existing thumbnails I just did a check to see if the thumbnail already exists: if(!file_exists(/path/to/thumbnail.jpg)){ //Create the thumbnail here } If the thumbnail

[PHP] RE: bad form...

2001-06-20 Thread Andrew Chase
As long as your code is well-formatted and well-commented, I don't think it's a problem, especially for simple forms for quick DB inserts or sending e-mail. You can do nice error handling without annoying Javascript alerts, too; when the form is submitted you can check for missing/invalid field

[PHP] General Coding Question

2001-06-20 Thread James Stevens
Does it have any effect on performance in either case if a file is completely done in PHP(1) or interspersed with PHP(2). (1) ?php echo html; ... ? (2) html ... ?php echo $forminput; ? ... Also, and this is personal preference, which is easier to read/debug? James -- PHP General Mailing

Re: [PHP] SMTP-access with PHP...

2001-06-20 Thread Andreas D. Landmark
At 20.06.2001 14:16, you wrote: Hello! Why do I get this error (Relaying denied ) from my SMTP-server and how do I make it work? 220 mail.server.com ESMTP Sendmail 8.9.3/8.9.3; Wed, 20 Jun 2001 15:09:06 +0200 (CEST) 250 mail.server.com Hello localhost [127.0.0.1],

Re: [PHP] Search engine php/mysql

2001-06-20 Thread Greg Donald
Hello list, I am coding a search engine that allow indexing and searching internet sites based on php/mysql. My problm is: How can i index a given site, I mean: input: URL, like http://www.blabla.com/ Output: meta, body content, description that will be stored in a tables. Regular

[PHP] Problem starting session

2001-06-20 Thread Ben Edwards
I am getting the following on a Windows 2000 Professional installation when I try to start a session: Warning: open(/tmp\sess_9ab091b811c5675d90fabf4392b3c110, O_RDWR) failed: m (2) in e:\inetpub\wwwroot\cd\common.inc on line 27 Any help would be much appreciated. Regards, Ben

[PHP] how to install pws on win2k

2001-06-20 Thread sagar chand
hi everyone, I have recently shifted from win98 to win2k. the pws i'm using is not installing on win2k. Is there any remedy 4 this? thanks for all u guys who help here with this mailing list. bye sagar

RE: [PHP] time

2001-06-20 Thread Ray Hilton
well, if its a server side script, the only clock available to it is the one on the server... Ray -Original Message- From: Jon Yaggie [mailto:[EMAIL PROTECTED]] Sent: 20 May 2001 15:51 To: [EMAIL PROTECTED] Subject: [PHP] time quickly can some one tell me if time() return server or

Re: [PHP] mailform loop

2001-06-20 Thread Data Driven Design
You might try something like this. while(list($key,$val) = each($HTTP_POST_VARS)) { $$key = addslashes($val); } Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084 http://www.datadrivendesign.com http://www.rossidesigns.net - Original Message - From: Wilbert Enserink

RE: [PHP] time

2001-06-20 Thread SED
I would guess server-time because the PHP is server-based and is processed before the user gets it :) SED -Original Message- From: Jon Yaggie [mailto:[EMAIL PROTECTED]] Sent: 20. maí 2001 13:51 To: [EMAIL PROTECTED] Subject: [PHP] time quickly can some one tell me if time() return

Re: [PHP] time

2001-06-20 Thread Pavel Jartsev
Jon Yaggie wrote: quickly can some one tell me if time() return server or usersystem time? Server time. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] newbie algorithm help!!!!!

2001-06-20 Thread McShen
hi i have a mysql table with approx. 30 entries. 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

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

2001-06-20 Thread Pavel Jartsev
Andreas Skarin wrote: 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

[PHP] ***Get a piece of the #1 CASH MACHINE on the net***

2001-06-20 Thread [EMAIL PROTECTED]
SEX SELLS!!! Enjoy the riches of the most lucrative business in the world without being in the business. If you are in need of money quickly, This is for you. You don't have to access the website if you do not wish, just take the money it will generate for you. Believe me it will be a

Re: [PHP] logout

2001-06-20 Thread hamoe
if your login system is cookie-based vs querystring. just send a blank cookie to the user to replace whatever you had set. if your login system has the query string for a session id or something, just stop sending the querystring ;) On Wednesday 20 June 2001 07:02, Richard Heyes

RE: [PHP] logout

2001-06-20 Thread Merio, Quinn
This is how i did it. 1. Create a session variable after someone logs in properly (upon verification) // Set the session variable for clientId $session_clientId = $row['clientId']; 2. All the other pages wont allow you to view them unless the session var is set. and if you

Re: [PHP] SMTP-access with PHP...

2001-06-20 Thread Ed Brady
The SMTP server that you are using is more then likely configured to deny sending if the e-mail does not originate from the domain the SMTP server is used for. This is done mainly to keep spammers from using the server as an open relay and spewing junk mail all over the internet Sometimes

[PHP] Problem sending mail with php

2001-06-20 Thread Lindsey
Hi, I have being using php for almost twelve months for sending mail to all my members. But now that i got a database which continue on growing (2500 member actually), so i found that php cann't deliver all the mail and it even make time out. Could any one help me in how i could control the

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

2001-06-20 Thread Chris Lee
?php $array[0] = 0; $array[1] = 0; $array[2] = 0; $array[3] = 0; $array[4] = 0; $array[5] = 0; echo table tr ; foreach($array as $pos = $val) if ( !(@$row++ % 2) AND $row != 1) echo /trtr td$val /td ; else echo td$val /td ; echo /tr /table ; ? --

Re: [PHP] parent and grandparent member functions

2001-06-20 Thread Lenar Lõhmus
yes, you were right it works (when you said it works i tested your code out and it definetly works). but this made me more confused than i was before. i commented in the lines in my code that earlier didn't work (replaced them sometime with class names hard coded solution) and it still did _not_

[PHP] Printingt Variables in Included Text

2001-06-20 Thread Jeremy Bowen
Hey, I have a website where I use header and footer files in a includes director to establish the header and footer of each page. They are pretty simple, mostly straight up html. The website is kind of an online magazine and what I want to do is print pull quotes out of each story. So in my

Re: [PHP] PHP class

2001-06-20 Thread Chris Lee
I havent used them in php/pear but here is some more info http://www.php.net/manual/en/class.pear.php -- Chris Lee [EMAIL PROTECTED] Martín Marqués [EMAIL PROTECTED] wrote in message 01062015390800.12018@bugs">news:01062015390800.12018@bugs... Can we dream of having destructors in class

Re: [PHP] Printingt Variables in Included Text

2001-06-20 Thread Chris Lee
hehe. ok i'll explain, half way through you will see what you were doing wrong :) // valid $test = 'chris lee'; echo $test; // in-valid echo $test; $test = 'chris lee'; // valid $pullquote1 = 'test for pull quote'; include('header.inc'); // in-valid

Re: [PHP] Problem starting session

2001-06-20 Thread Chris Lee
does the dir exist ? I dont use win2k for php so im guessing. win2k also has some sort of permissions doesnt it ? does the dir have to have the same perms that the server does ? linux needs this to be true. -- Chris Lee [EMAIL PROTECTED] Ben Edwards [EMAIL PROTECTED] wrote in message

[PHP] protect source code

2001-06-20 Thread Jason See
To Any Kind Soul, I am on a project and the issue that struck me is how to protect my source codes which is in human readable form. There isn't any way for me to protect my database and the only way that I had found out is to use the PHP encoder provided by Zend.com to encode the source code.

Re: [PHP] General Coding Question

2001-06-20 Thread Chris Lee
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 may be

Re: [PHP] bad form...

2001-06-20 Thread Alexander Wagner
Dallas K. wrote: On a previous shopping cart, some of our fantastically complex scripts got so big that WE couldn't follow the logic too many conditional test, things started to conflict it was hell... so we found that it was better to break the processing code apart from the

Re: [PHP] validate phone numbers

2001-06-20 Thread Miles Thompson
There are so many combinations of European phone numbers, along with the possible combinations of area codes, and hyphens or spaces may be used as well, I wouldn't bother. If the phone number is critical, and important to the person using your site, then treatitlike a password and have them

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

2001-06-20 Thread Jon Rosenberg
sloppy psuedocode:(but you get the idea) numdays = date2 - date1 minperday = 60 * 9.5(hrs) totalminutes for interval = numdays * minperday - Original Message - From: Wim Koorenneef [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 11:25 AM Subject: [PHP] Calculate #

RE: [PHP] Forum script

2001-06-20 Thread Andrew Hill
www.phorum.org Best regards, Andrew -Original Message- From: Rosen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 11:23 AM To: [EMAIL PROTECTED] Subject: [PHP] Forum script Hi Can someone recommend me some good script for forums ? Thanks, Rosen --

RE: [PHP] Forum script

2001-06-20 Thread Jerry Lake
www.phorum.org Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Rosen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 8:23 AM To: [EMAIL PROTECTED] Subject: [PHP]

Re: [PHP] Code check please

2001-06-20 Thread J Smith
Your code is [mostly] fine, except for two things: 1. Although you connected to your database with mysql_connect() and mysql_select_db(), you didn't do anything with connection. Try using mysql_query() to send a query to the db, i.e. mysql_query($sql). 2. Your SQL is a bit out of

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

2001-06-20 Thread SED
Try to find unix-time in seconds: (endtime - starttime) / 60 = total minutes SED -Original Message- From: Wim Koorenneef [mailto:[EMAIL PROTECTED]] Sent: 20. júní 2001 15:26 To: [EMAIL PROTECTED] Subject: [PHP] Calculate # of minutes during working hours between two dates Hi all, I

RE: [PHP] email templates and str_replace

2001-06-20 Thread Brian S. Dunworth
Richard, The problem is with the str_replace()s. Consider the following: ?php $myvar = 'this is a var.'; $mytext = str_replace('is', 'is not', $myvar); ? At this point $myvar still equals 'this is a var.' but $mytext is 'this is not a var.' $myvar hasn't been modfified by the

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

2001-06-20 Thread scott [gts]
figure out how many minutes per day, put that as a constant in your script, then just multiply that by the number of days between the two dates. ... or would you prefer something more convoluted? ;) -Original Message- From: Wim Koorenneef [mailto:[EMAIL PROTECTED]] Subject: [PHP]

[PHP] a DOT or a BLANK SPACE

2001-06-20 Thread Jaime Torres
Hi. We HAVE TO use names like Num. or Home Address in for our input tags in the forms. That is: input type=text name=Num. input type=text name=Home Address When I receive the info in my PHP file, after the form has been posted, the variable name I get is: 'Num '. So, the dots are being replaced

RE: [PHP] OT - filtering problems

2001-06-20 Thread scott [gts]
i use the full version of outlook 2000, and it didnt even blink when the lists came back up... my php folder just started filling up as usual ;) i've noticed other people mentioning broken eudora on this list... i dont mean to sound arrogant, but perhaps it's time to upgrade, or get a better

[PHP] RE: [PHP-DB] Date field

2001-06-20 Thread Michael Geier, CDM Systems Admin
-mm-dd in DATE format you can pull it back out however you like with the DATE_FORMAT command SELECT sometext,DATE_FORMAT(somedate,'%m/%d/%Y') AS date FROM tablename then you have two variables: sometext and date see documentation on www.mysql.com for more info on DATE_FORMAT

RE: [PHP] Include Speed

2001-06-20 Thread tony . mccrory
Isn't it fair to say that having the server open the extra file will add to the total execution time of the page? scott [gts]

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

2001-06-20 Thread dcoleman
Hi See http://www.php.net/manual/en/function.jddayofweek.php For each date returning 1 through 5, add the appropriate amounts of minutes to the total HTH Wim Koorenneef wrote: Hi all, I want to calculate the number of minutes between two dates, but only those minutes on monday through

Re: [PHP] a DOT or a BLANK SPACE

2001-06-20 Thread Lenar Lohmus
as I remeber, dots should be replaced by underscores not spaces .. at least if your input type is image and it's name is img then you would get two variables: img_x and img_y instead of what html4 spec specifies: img.x and img.y. Evevn if they get replaced then does it happen with

Re: [PHP] Forum script

2001-06-20 Thread Nicole Lallande
try phorum - http://phorum.org -- awesome... HTH, Nicole Rosen wrote: Hi Can someone recommend me some good script for forums ? Thanks, Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Problem starting session

2001-06-20 Thread Ben Edwards
I am getting the following on a Windows 2000 Professional installation when I try to start a session: Warning: open(/tmp\sess_9ab091b811c5675d90fabf4392b3c110, O_RDWR) failed: m (2) in e:\inetpub\wwwroot\cd\common.inc on line 27 Any help would be much appreciated. Regards, Ben

Re: [PHP] inserting a variable into a variable

2001-06-20 Thread Jonathan Sharp
Or, you could do... $cat = 'butch'; ${rm_{$cat}_adt} = 'is cool'; // This would set the variable $rm_butch_adt equal to 'is cool' -js - Original Message - From: scott [gts] [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 8:37 AM Subject: RE: [PHP] inserting a

[PHP] mnoGoSearch PHP udm_ functions

2001-06-20 Thread Matthew Delmarter
I am looking at using mnoGoSearch on one of my sites and compiling with support for MySQL. Then I noticed that PHP has introduced some udm functions for use with mnoGoSearch. Can someone explain to me why we need mnoGoSearch Functions in PHP? Also, can anyone explain what the categories option

RE: [PHP] exec, backtics and co.

2001-06-20 Thread scott [gts]
you must have permission to execute/read the binary, and you must give the full location of that binary. -Original Message- From: Paindavoine, Matthieu (MPAINDAV) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 7:26 AM To: '[EMAIL PROTECTED]' Subject: [PHP] exec, backtics

Re: [PHP] PHP / gd problems / compiling

2001-06-20 Thread Sebastian Wenleder
my configure line: ./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' gd version 1.8.1 .. Then whenever I try to create an image of any kind, be it gif, jpg, or png, I get: br

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

2001-06-20 Thread Rich Cavanaugh
this is just the way I would do it: generate timestamps for 8.00 and 17.30 for the days you want as long as the timestamps are between the two original timestamps. after that it's all subtraction and dividing by 60. That's about as efficient as I can think of. Rich Cavanaugh -Original

RE: [PHP] Code check please

2001-06-20 Thread Rich Cavanaugh
You're using UPDATE syntax for your INSERT try: $sql = INSERT INTO tabell (fornamn, efternamn, email) values ('{$fornamn}', '{$efternamn}', '{$email}'); Rich Cavanaugh -Original Message- From: Andreas Skarin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 12:00 PM To: PHP

Re: [PHP] Code check please

2001-06-20 Thread Sebastian Wenleder
At 18:00 Uhr +0200 20.06.2001, 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. [snip] $sql = INSERT INTO tabell SET .

Re: [PHP] Code check please

2001-06-20 Thread Lenar Lõhmus
UPDATE syntax for INSERT is allowed in MySQL, so that should not be the problem as far as you include all fields not having default value, timestamp type or auto_increment attribute in your statement. What's the error message if there is any? lenar Rich Cavanaugh [EMAIL PROTECTED] wrote in

[PHP] PHP 4.0.5 CVS + Apache 2 CVS

2001-06-20 Thread Gonyou, Austin
Anyone trying this at all? Anyone find a fix for the apr_save_brigade failure? -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Another Template Engine (code)

2001-06-20 Thread scott [gts]
i wrote a simple classified andhash-enabled template engine as a sort-of proof of concept placeholders in the template are denoted by %{name}% and they're filled with data by the "regvar()" func. $temp-regvar('name', 'value'); 1) class the engine so that you cay have multiple

RE: [PHP] General Coding Question

2001-06-20 Thread scott [gts]
on pages with mostly HTML code, the second style is much prefereable, but on pages with mostly PHP code, the first style is usually OK. overall, i tend towards the second, becuase it's a pain in the ass to esape all the double-quotes in my HTML, my echo statements usulaly end up looking like thi

Re: [PHP] General Coding Question

2001-06-20 Thread Chris Lee
im here to start a flamewar. dont use then. why not use ' ? echo input type=\text\ name=\name\ value=\$name\ echo input type='text' name='name' value='$name' I like the second. it is proper html check it with w3.org. -- Chris Lee [EMAIL PROTECTED] scott [gts]

Re: [PHP] SMTP-access with PHP...

2001-06-20 Thread Magnus
Den 01-06-20 18.28, skrev Andreas D. Landmark [EMAIL PROTECTED]: Contact your mailserver admin and get him/her to open for relay from the IP of your webserver. Thanks, I'll try that and see what will happen. Sincerely, /Magnus Hammar -- -- PHP General Mailing List

[PHP] Trimming Array value

2001-06-20 Thread Reuben D Budiardja
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. Thanks Reuben D.

[PHP] Parse PHP inside a variable

2001-06-20 Thread Claus Heiko Niesen
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? Thanks Claus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] General Coding Question

2001-06-20 Thread Peter Dudley
You don't use a lot of javascript, do you? Chris Lee [EMAIL PROTECTED] wrote in message 9gr5f9$v2$[EMAIL PROTECTED]">news:9gr5f9$v2$[EMAIL PROTECTED]... im here to start a flamewar. dont use then. why not use ' ? echo input type=\text\ name=\name\ value=\$name\ echo

Re: [PHP] Parse PHP inside a variable

2001-06-20 Thread Lenar Lõhmus
maybe function eval()? lenar. Claus Heiko Niesen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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

Re: [PHP] Parse PHP inside a variable

2001-06-20 Thread J Smith
Try eval(): http://www.php.net/manual/en/function.eval.php i.e. ?php $a = 1; $b = 2; $str = echo $a + $b;; eval($str); ? J Claus Heiko Niesen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello I'm having a variable that contains HTML with embedded

Re: [PHP] Trimming Array value

2001-06-20 Thread Lenar Lõhmus
something like this: ? function recursive_rtrim($ar) { foreach($ar as $key = $val) $ar[$key] = is_array($val) ? recursive_rtrim($val) : rtrim($val); return $ar; } ? lenar. Reuben D Budiardja [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have

RE: [PHP] Problem starting session

2001-06-20 Thread Rich Cavanaugh
Ben, In your php.ini you should have the following: session.save_path = c:\winnt\temp Currently you have it set to: session.save_path = /tmp -- Rich Cavanaugh -Original Message- From: Ben Edwards [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001

[PHP] file upload

2001-06-20 Thread dave go
Hi, I have tried everything and still having problem uploading. Actually, my problem is with IE, I got a unable to read file or file not found message from IE. But uploading is fine with NS. Does anyone has this experience? Any pointers? My file is only 20K word document and I have set the max

Re: [PHP] PHP with JAVA support

2001-06-20 Thread Jim Kirkpatrick
Robert, Please include the php code you're using to instantiate the class. That will give me a better idea of what to suggest. I'm using PHP 4.05 Java 1.3.1 on Redhat 6.2 with good results. -Jim Kirkpatrick Robert Vetter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

RE: [PHP] how to install pws on win2k

2001-06-20 Thread Rich Cavanaugh
Sagar, Open your "Add/Remove Programs" control panel. Click on "Add/Remove Windows Components". Click the check box next to "Internet Information Server". Click OK. You'll need your Win2k CD. This will install a limited version of IIS. --Rich Cavanaugh -Original Message-From:

RE: [PHP] how to install pws on win2k

2001-06-20 Thread Jerry Lake
You need IIS on win2k Jerry LakeInterface Engineering TechnicianEuropa Communications - http://www.europa.comPacifier Online - http://www.pacifier.com -Original Message-From: sagar chand [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 20, 2001 9:58 AMTo: [EMAIL

[PHP] re: time

2001-06-20 Thread Jon Yaggie
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. Thank

[PHP] PHP Java: Apache processes

2001-06-20 Thread Jim Kirkpatrick
I have what appears to be a successful implementation of Java support compiled into PHP running on an Apache server. Specifics: PHP: 4.0.5 Java: 1.3.1 (Sun) Apache: 1.3.19 OS: Redhat 6.2 The problem I'm experiencing has to do with finding multiple Apache child processes spawned but never closed

[PHP] Announcement: Smarty 1.4.3 now available

2001-06-20 Thread Monte Ohrt
Smarty now has a built in debugging console, and security features for third party template editing, and many numerous fixes and enhancements. Let me know if there are any problems. Monte http://www.phpinsider.com/php/code/Smarty/ Version 1.4.3 - - added regex_replace

Re: [PHP] php and flash 5 books?

2001-06-20 Thread Jay Paulson
Yeah the flash 5 dynamic content studio by friends of ed is one of the books I have found.. but it seems to me that most of the books I've seen / browsed through only have a small chapter about php and flash.. but the FOE book has the most about it.. a short intro to php (which I skipped all

[PHP] Maestro and PHP

2001-06-20 Thread Jay Paulson
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 Thanks, Jay Paulson Internet Program Director LBJS

Re: [PHP] Code check please

2001-06-20 Thread Andreas Skarin
I'm sorry guys, neither of the snippets work. I must have screwed something else up too. Is there any way I can provoke an error message from your code examples below? If anyone manages to find out what's wrong, please tell me. I'm not giving up until I smash this bug :-) // Andreas Rich

[PHP] php/mysql CTO needed

2001-06-20 Thread Marcin Miszczak
Small, profitable online travel company in Alexandria, VA needs a hands-on CTO with experience in php/mysql who will: - manage our IT team - structure to our development process/document/outline workflow - plan out and implement infrastructure needs for our continued growth - design/develop new

[PHP] php/mysql DBA/Sys Admin needed

2001-06-20 Thread Marcin Miszczak
Alexandria, VA online travel company needs a dba/sys admin. for more info about us please see http://www.hotelscentral.com We have one server running redhat with php/mysql database and we need somebody to maintain the smooth operation, optimize performance, help create robust infrastructure for

Re: [PHP] ***Get a piece of the #1 CASH MACHINE on the net***

2001-06-20 Thread Steve Maroney
Hmmm.. a porn site writen with PHP ? On Wed, 20 Jun 2001, [EMAIL PROTECTED] wrote: SEX SELLS!!! Enjoy the riches of the most lucrative business in the world without being in the business. If you are in need of money quickly, This is for you. You don't have to access the website if

[PHP] Slick Time Zone Coversions

2001-06-20 Thread Jason
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 it can caluculate the difference,

[PHP] Nuke

2001-06-20 Thread Clayton Dukes
Hey, Is anyone here using Nuke? I have a couple of q's, perhaps you can answer them :-) 1. On the Banner Administration: How do I include html banners with javascript in them and not just and image url and click url? 2. My language (english) file is missing a whole bunch of variables for the

[PHP] setcookie() woes

2001-06-20 Thread Chris
Hi all, I have a login script that works on one of my machines but not another, and I've determined the problem has to do with setcookie(). One machine is using IE 5.50 and another is using 5.00, and I assume therein lies the problem. I've tried to plow through the dozens (hundreds?) of

[PHP] Problem starting session

2001-06-20 Thread Ben Edwards
I am getting the following on a Windows 2000 Professional installation when I try to start a session: Warning: open(/tmp\sess_9ab091b811c5675d90fabf4392b3c110, O_RDWR) failed: m (2) in e:\inetpub\wwwroot\cd\common.inc on line 27 Any help would be much appreciated. Regards, Ben

[PHP] Problem starting session

2001-06-20 Thread Ben Edwards
I am getting the following on a Windows 2000 Professional installation when I try to start a session: Warning: open(/tmp\sess_9ab091b811c5675d90fabf4392b3c110, O_RDWR) failed: m (2) in e:\inetpub\wwwroot\cd\common.inc on line 27 Any help would be much appreciated. Regards, Ben

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

2001-06-20 Thread Johnny Smith
Hi all 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? Thanks in advance.

<    1   2   3   >