RE: [PHP] Include & Speed

2001-06-20 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, e

Re: [PHP] setcookie() woes

2001-06-20 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] Forum script

2001-06-20 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

[PHP] SMTP/mail question

2001-06-20 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 wil

Re: [PHP] a DOT or a BLANK SPACE

2001-06-20 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

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

2001-06-20 Thread Jason Murray
You'll also need to calculate: * the number of minutes from the start time to 17:30 * the number of minutes from the 8:00 to the end time * the number of weekends between the times -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "What'll Scorpy use wormhole technology for?" 'Fa

RE: [PHP] Code check please

2001-06-20 Thread Jason Murray
> 2. Your SQL is a bit out of whack. The "SET" clause is used for >UPDATEs, not INSERTs. > >Instead, try: > >$sql = "INSERT INTO tabell (fornamn, efternamn, email) VALUES (" . > "'$fornamn', '$efternamn', '$email');"; MySQL actually lets you use SET for INSERTS, though. J

[PHP] Your Internet Education!

2001-06-20 Thread Noel Hadfield
Take our course in computers and the Internet; and then we'll show you how to build a business with your new skills. Just hit: mailto:[EMAIL PROTECTED]?Subject=Education To be removed from this list, hit: mailto:[EMAIL PROTECTED]?Subject=Remove -- PHP General Mailing List (http://www.php.ne

Re: [PHP] protect source code

2001-06-20 Thread Rasmus Lerdorf
> 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. However, t

Re: [PHP] Problem starting session

2001-06-20 Thread Jonathan Sharp
Check your php.ini file, you should set the temp dir setting to semething like C:\tmp and make sure that C:\tmp exists and that whatever user your site is running as in IIS is set to have read/write access... /tmp\sess is for unix...it's not a valid path (/tmp is what is defined as the te

[PHP] PHP3

2001-06-20 Thread William Poarch
Hi, 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? Client's running PHP3, and I'm on 4. thanks. - - - - - - - - - - Scott Poarch www.globalhost.com - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] exec, backtics and co.

2001-06-20 Thread mailing_list
> I have a problem with a php script which contains an exec (identical > problem > with backtics and similar operators) > some programs are simply not executed > for example, having a simple 'hello world' program in c++ will work fine, > but having a program that writes 'hello world' to a file won

[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. _

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

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

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

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 >web

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

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

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 Cavan

Re: [PHP] Template Engine

2001-06-20 Thread infoz
Which reminds me, while the mailing list was down, I released the Dreamtime template engine for people to play with. More components of the system to come later this week. http://www.phptemplates.org - Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

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

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 toget

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

[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] 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.      Tha

RE: [PHP] how to install pws on win2k

2001-06-20 Thread Jerry Lake
You need IIS on win2k   Jerry Lake Interface 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 PROTECT

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-Fr

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 P

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

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

Re: [PHP] Trimming Array value

2001-06-20 Thread Lenar Lõhmus
something like this: $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 a multi-dimensional array. I want to trim every valu

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. 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 PHP code. When I > echo it then the PHP code does not

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 > pars

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 " > >" > > echo " > >" > I like the second

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

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

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 (http

Re: [PHP] General Coding Question

2001-06-20 Thread Chris Lee
im here to start a flamewar. dont use " then. why not use ' ? echo " " echo " " I like the second. it is proper html check it with w3.org. -- Chris Lee [EMAIL PROTECTED] ""scott [gts]"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

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

[PHP] Another Template Engine (code)

2001-06-20 Thread scott [gts]
i wrote a simple classified and hash-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 ins

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

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

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 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 G

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 Messa

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: >

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

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

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

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

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 $HTTP_POST_VARS[

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

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

[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: 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 for a blank space. I can't take for granted that any blank

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]

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: > > $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

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] 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 whack.

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

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

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 ent

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 > h

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

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

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 include('header.inc');

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 c

[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] 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_ w

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

2001-06-20 Thread Chris Lee
"; foreach($array as $pos => $val) if ( !(@$row++ % 2) AND $row != 1) echo " $val "; else echo " $val "; echo " "; ?> -- Chris Lee [EMAIL PROTECTED] ""McShen"" <[EMAIL PROTECTED]> wrote in message 9gqm6o$g6n$[EMAIL PROTECTED]">news:9gqm6o$g6n$[EMAIL

[PHP] PHP class

2001-06-20 Thread Martín Marqués
Can we dream of having destructors in class definition some day when programing in PHP? Saludos... ;-) -- Cualquiera administra un NT. Ese es el problema, que cualquiera administre. - Martin Marques |[EMAI

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

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 sy

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 t

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 wrot

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

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

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 se

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

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 use

[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

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

[PHP] Error Running PHP4 Under NES 3.6 SP3

2001-06-20 Thread Daryl DuLong
Hi All, I've searched through the archives for an answer to this error and I can't seem to come up with one. I am trying to run PHP4 under Netscape Enterprise Server 3.6 SP3 on an IRIX box. It compiled correctly, and, yes, I did remember to include "--enable-libgcc" to the configuration process

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

[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) "; ... ?> (2) ... ... Also, and this is personal preference, which is easier to read/debug? James -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

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

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 alre

[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] 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, etc...)

RE: [PHP] List of included file names.

2001-06-20 Thread scott [gts]
yeah. at the beginning of each include file, put: print ''; ...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 PROTECTED] > Subject: [PHP]

  1   2   3   >