Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto
as made for. > >On Sun, 29 Apr 2001, Steven Haryanto wrote: > > > Does anyone know a rather advanced template solution in PHP? > > At least one that supports loop and if (like HTML::Template), > > and directives/commands would be nice (like Perl's Template > > To

Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto
, Michael Kimsal wrote: >No, you're asking for something with loops and IFs. That's a programming >language. > > >On Tue, 1 May 2001, Steven Haryanto wrote: > > > Actually, not using a programming language is the point of template, > > since I do not want to

Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto
At 5/1/2001 01:43 AM, Michael Kimsal wrote: >I understand completely what you're getting at already, but PHP is >designed to do what you're asking to do. > >I know there are valid reaons for stripped down implementations, but can't >think of too many. Clean separation of content and presentation?

Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto
At 5/1/2001 01:43 AM, Fabian Raygosa wrote: >Maybe this is what you are looking for >http://www.thewebmasters.net/php/FastTemplate.phtml Nope. I was looking for a template that supports loops and IFs. Someone pointed me to php dreamtime: http://www.phptemplates.org/ which is a cool project, b

Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto
#x27;ed by my PHP script. Just letting a user modify a template and changing the look of a page is sufficient for me, since that is all the user is supposed to gain access to. Regards, Steve At 5/1/2001 02:23 AM, Dave Goodrich wrote: >On Monday, April 30, 2001, at 12:02 PM, Steven Haryanto wr

Re: [PHP] template solutions?

2001-04-30 Thread Steven Haryanto
At 5/1/2001 03:05 AM, Dave Goodrich wrote: >>In PHP, if I have my database password in a global var $dbpass, >>I cannot prevent this code: >> >> eval('echo $dbpass'); >Never put your DBPass into a GLOBAL ;^) Hm, perhaps creating a function do_connect('hostname','user','pass') is safer? Good idea

RE: [PHP] template solutions?

2001-05-01 Thread Steven Haryanto
Cool. I didn't know that. Does FastTemplate support nested loop and ifs? Steve At 5/1/2001 10:33 PM, Henning Kilset Pedersen wrote: >Fasttemplate supports loops and if's. > >You set a dynamic block like so: > > > > {ROWCONTENT} > > > >And then in the PHP code that parses this html template (.t

Re: [PHP] template solutions?

2001-05-01 Thread Steven Haryanto
At 5/1/2001 06:49 PM, Michael Kimsal wrote: >The 'security' angle is the only one I consider terribly valid, an was >what I had in mind when I said I can't think of too many reasons why a >packaged' template' solution is in order. Obviously it is for you. > >I still believe that in most cases it

Re: [PHP] Please review our coding standards

2001-05-02 Thread Steven Haryanto
At 5/2/2001 12:46 PM, Anuradha Ratnaweera wrote: >Most of your guidelines match with our practices. Here are some comments. Thanks for the comments. > > 1.4 Whitespaces > > > > - No whitespace after function or method name. Example: > > > > exit() > >We also use this. But I have s

[PHP] class (not class instance) variables

2001-05-05 Thread Steven Haryanto
Am I correct that PHP does not support class variables? That is, variables that belong to a class and not copied into every object. I need to put several arrays for information about a class, and I do not want to bloat every object with this data (since potentially I will create many instances of

[PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Steven Haryanto
I have a requirement like this: - the php script should be runnable by httpd user only. - the php script will include other files. - the php script should run as the user. - the user must not be able to access the source code of the scripts. What I can think of so far: Put the script in a di

RE: [PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Steven Haryanto
Actually, We _are_ considering of buying Zend Encoder, but in the middle of thinking for alternatives... :-) However, sometimes vendors do not want user to have access to the _binary also_ (and then run it somewhere else), so that needs some extra protection other than the Encoder too. Regards,

RE: [PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Steven Haryanto
cache file and distribute it? does the file need to be run with apc also? or can the plain zend engine handle it? steve At 19/05/2001 22:45, Matthias Winkelmann wrote: > > -Original Message- > > From: Steven Haryanto [mailto:[EMAIL PROTECTED]] > > > > > >

Re: [PHP] is mod_php4 faster than mod_perl?

2001-05-19 Thread Steven Haryanto
apples & oranges. :) but mod_php without cache (e.g., zend cache) still suffers from an overhead of recompiling scripts in every request (serious overhead if the site is complex). -- sh On 19/07/2001 11:03, Christopher Leigh wrote: >i'm wondering if mod_php4 is faster than mod_perl. > >thank yo

Re: [PHP] ok, are servlets/jsp faster than php4?

2001-05-20 Thread Steven Haryanto
yes, i have discovered recently that php is not as fast as it is hyped to be. don't get me wrong. php is fast, but it depends on how you arrange your scripts. if you include a lot of library code (PEAR, etc etc), the overhead would increase and increase. i thought php has always cached compiled sc

Re: [PHP] echo "" problem NEW

2002-01-08 Thread Steven Cayford
On 2002.01.09 02:00:55 -0600 universal2001 wrote: > so I tired to use (echo) like this: > > echo " > > border="0"> > > > src="img_heading/index_r1_c1.gif" width="639" height="5" border="0"> > border="0"> > > > src="img_heading/index_r2_c1.gif" width="25" height

[PHP] test

2002-01-17 Thread Steven Maroney
mail server was down... makeing sure im still on the list steve -- 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] Splitting List - newbie & advanced

2002-01-18 Thread Steven Cayford
Right. Lets not split the list. I already follow too many lists, if this was split I would feel I needed to follow both. On 2002.01.18 20:05:48 -0600 Miles Thompson wrote: > If anyone wants to pursue this, here's the thread. > > I do not believe the list should be split, although there is a mix

RE: [PHP] Variable Problem

2002-01-18 Thread Steven Maroney
I hope im on the right track Cause im jumping in on this post. $MYCHK isn't an array cause you aren't using array syntax or simply left out the brackets. try: ( for the checkboxes ) I have done this 100's of times. Hope this helps, Steve On Sat, 19 Jan 2002, K.Tomono wrote: > Yes,

Re: [PHP] Re: Does anyone have the 'edit_member.php' script ....

2002-01-19 Thread Steven Maroney
Ahh so the \ is escaping the space and not the quote. Good one. On Sat, 19 Jan 2002, Janet Valade wrote: > The problem is on this line. > > print ("\n"); > > There is a space between the \ and the " before Submit. > > Janet > > - Original Message - > From: "Mike C" <[EMAIL PROTECTE

[PHP] newbie needs quick help with formatting dates

2002-01-23 Thread Steven Jarvis
I need to convert to mmdd so I can store them correctly in a mysql db as a date-formatted field. Does anyone have some php code that can do this for me? thanks, Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] GetImageSize and iptcparse problems

2002-02-06 Thread Steven Jarvis
However, future versions may not support this any longer. I don't understand what I need to pass to getImageSize in order to extract the IPTC info. Can someone point me in the right direction with this? Thanks, Steven -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] escaping ?>

2002-02-08 Thread Steven Jarvis
tring ends my php block. I know there's an easy answer to this, and I'm probably just suffering from Friday afternoon burnout, but can someone let me know how to escape those so that I can search for them in the string? thanks, Steven -- PHP General Mailing List (http://www.php.net/

[PHP] Cache-Control: no-cache and browser back button problem

2002-02-10 Thread Steven Haryanto
why does the cache control header generated by php (under session_cache_limiter = nocache) needs to have no-store? It makes pressing Back in the browser requests a new version of the page (which is unwanted in some situations, e.g. while filling form and needs to edit a few fields before re-su

[PHP] Form Data & History

2002-02-11 Thread Steven Walker
oing back in history, all the data that was in the form is lost. This did not occur on my regular not-secure web server. Does anyone know what may cause this? Thank you! Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Re: function? variable?

2002-02-11 Thread Steven Walker
o note that you do not need to use the PHP tags twice: echo " //incorrect echo "wtakr home"; //correct Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Monday, February 11, 2002, at 09:34 PM, Jason Whitaker wrote: > I just s

[PHP] Filling Forms with $variables

2002-02-13 Thread Steven Walker
Hi, I'm having trouble setting the value of form elements using variable values. For example: > In the browser, the name field is only filled with "Steven", and drops off everything after the space. If I echo $name outside of the form it prints fine. Any he

Re: [PHP] Filling Forms with $variables

2002-02-13 Thread Steven Walker
Adding quotes around the whole php statement works! I also tried the htmlspecialchars() function, but that did not work. It makes sense because after the preprocess of php, no quotes would be left... it's obvious now :) Thank you Steven J. Walker Walker Effects www.walkereffects.com [

Re: [PHP] character replace function

2002-02-14 Thread Steven Walker
You can also use the strtr() function: $new_data = strtr($data, "'", "`");// replaces ' with ` Also keep in mind that you can use the chr($number) to return special ascii characters. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED]

Re: [PHP] good practice

2002-02-14 Thread Steven Walker
You can also pass the data back into the form: echo ""; // using $name variable as value Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Thursday, February 14, 2002, at 11:09 AM, James Taylor wrote: > Can someone recommend a better method for doin

Re: [PHP] Sessions

2002-02-14 Thread Steven Walker
w to use sessions for authentication, something like >> this I'd >> have no idea where to start. If it is possible, could someone point >> me in >> the right direction? >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsub

[PHP] File Access & Security Issues

2002-02-14 Thread Steven Walker
w the contents of a file through PHP, rather than through HTTP. I've noticed that many file functions do not work for non-local files, which is good. But can a good hacker still get access some indirect way? Thank you! Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED]

Re: [PHP] Empty form

2002-02-15 Thread Steven Walker
ields. When the post data is verified, the page can display the next page by using an include() or header() redirect, and bypass the form. I hope this helps. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Friday, February 15, 2002, at 12:24 AM, Ben Clumeck wrote: &

Re: [PHP] modular programming

2002-02-15 Thread Steven Walker
#x27;t apply to PHP directly. Of what it's worth, that's my two cents :) I'd be interested in what others think on this matter. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Friday, February 15, 2002, at 08:24 PM, Kunal Jhunjhunwala wrote: >

Re: [PHP] form submission error trapping

2002-02-17 Thread Steven Walker
out. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Sunday, February 17, 2002, at 02:22 PM, Jason Dulberg wrote: > I am working on some error trapping for several forms on my site. After > visiting a bunch of websites, I've noticed 2 common methods of >

Re: [PHP] form submission error trapping

2002-02-17 Thread Steven Walker
Alabama This works because I've already verified the data. If the data doesn't pass verification, it would be reset and would fail the isset($state) test. Otherwise, most form elements are pretty easy to assign values to. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL

Re: [PHP] form submission error trapping

2002-02-17 Thread Steven Walker
Yeah, for buttons (radio/checkboxes) I had to put an if statement on each one: > unformatted > You're right... it's not as easy. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://

[PHP] Timed Redirect

2002-02-18 Thread Steven Walker
Is there way to have a page automatically redirect the user to another page, but with a timed delay? I'm working on a purchasing system. After a successful purchase, a thank you page is shown, and then I want to take the user to a download page a few seconds afterward. Thanks! Ste

Re: [PHP] Timed Redirect

2002-02-18 Thread Steven Walker
es work: http://www.example.com/";> Thanks for the help. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED]

[PHP] Unique Numbers

2002-02-18 Thread Steven Walker
x27;t want to take the chance. What about microtime()? Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unique Numbers

2002-02-18 Thread Steven Walker
Thanks for the input. I just replaced time() with uniqid(""), and I think that will work great. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Monday, February 18, 2002, at 01:38 PM, Lars Torben Wilson wrote: > On Mon, 2002-02-18 at 13:14, Steven

Re: [PHP] Re: Copyright

2002-02-19 Thread Steven Walker
Here is a good explanation, in laymen's terms, of intellectual property laws: 'An Intellectual Property Law Primer for Multimedia and Web Developers' http://www.laderapress.com/lib/laderapress/primer.html Steven J. Walker Walker Effects www.walkereffects.com [

[PHP] Parse Error Line Numbers

2002-02-19 Thread Steven Walker
parse error line number. In this case, the actual error was on line 83. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED]

Re: [PHP] Parse Error Line Numbers

2002-02-19 Thread Steven Walker
re- the actual line number I found it on. I understand that compile/parse-time errors do not provide a lot of accuracy... I'm just trying to understand a little better how it generally preprocesses the file. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Tuesday, Feb

[PHP] Mail Headers & Formatting

2002-02-19 Thread Steven Walker
Can someone tell me where to find documentation on defining mail headers and formatting? I've been to faqs.org, but was hoping to find something a bit more friendly. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Mail Headers & Formatting

2002-02-19 Thread Steven Walker
sages. I'd like to format them with the style of my website. I don't need too much, I just want to know what the capabilities are. Another programmer on the list said he would send me some code, so that should be a good starting point. Steven J. Walker Walker Effects www.walkereffects.

Re: [PHP] Difference between two dates

2002-02-19 Thread Steven Walker
uldn't be too hard using explode() and implode(); Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Tuesday, February 19, 2002, at 06:51 PM, Uma Shankari T. wrote: > > > > Hello, > > How can i find out the difference between two dates. > > I

[PHP] gzdoc

2002-02-19 Thread Steven Walker
Does anybody have experience using gzdoc? I can't find much information about it, and was just wondering if it is even worth the effort. For anyone interested, here is the url I found it at: http://php.weblogs.com/http_compression Steven J. Walker Walker Effects www.walkereffect

Re: [PHP] Reading the value in a cookie

2002-02-20 Thread Steven Walker
ookie. Just be sure that any code before setcookie does not create output (ie echo). Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Wednesday, February 20, 2002, at 10:04 AM, Brandon Orther wrote: > Hello, > > I know how to set a cookie. How do I read the

[PHP] getenv & $REMOTE_ADDR

2002-02-20 Thread Steven Walker
Does anybody know why the predefined variable $REMOTE_ADDR would be null, while getenv("REMOTE_ADDR") works fine? Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getenv & $REMOTE_ADDR

2002-02-20 Thread Steven Walker
What is the difference between $_SERVER and getenv()? Why should one be more reliable/better than the other? > Better: avoid globals and use $_SERVER['REMOTE_ADDR']. Sorry, if I'm asking you to repeat yourself... the documentation doesn't relate the two. Steven J

[PHP] Hyperlinks vs Buttons

2002-02-20 Thread Steven Walker
Is there a way to regular hyperlinked text to submit a form? For example, rather than having a button that says [Login], I just want underlined text: Login Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED]

Re: [PHP] Hyperlinks vs Buttons

2002-02-20 Thread Steven Walker
Thanks for the replies.. one of these methods should work. I'm not targeting the general public, so it's ok my site requires a modern browser. Web development sure would a lot more fun without all the compatibility issues!!! ;P Steven J. Walker Walker Effects www.walkereffects.

[PHP] Multiple File Download

2002-05-07 Thread Steven Walker
large part of my user base). Thanks in advance! Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple File Download

2002-05-09 Thread Steven Walker
thout the proper bit flag set. I posted a brief message on the Zend site on the zip file article stating what I found. I still have some testing to do to make sure this is all going to work out, but it looks very promising. Thanks for offering your help! Steven J. Walker Walk

[PHP] Getting substring of text for first paragraph

2002-05-12 Thread Steven Jarvis
, then doing a while loop inside a for loop, but it was taking WAY too long to execute (it was timing out). Is there an easy way to do this that I'm just overlooking? Thanks, Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Accessing Variables by Name

2002-05-14 Thread Steven Walker
o this? I know about associative arrays, but they do not solve my particular problem. TIA. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Striphigh in PHP?

2002-05-15 Thread Steven Apostolou
Greetings, -- Steven Apostolou <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IF Statements

2002-05-15 Thread Steven Apostolou
if (($this->checkReferralCB($this->benefitRef, $this->benefitNo, $this->childDOB)) && (!$this->checkLocation($this->post, "W")) && (!empty($this->childDOB)) || ($this->checkPregnancy($this->benefitRef, $this->benefitNo)) ) -- Steve

[PHP] Current URL is http or https?

2002-05-17 Thread Steven Walker
Any ideas? Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Current URL is http or https?

2002-05-17 Thread Steven Walker
Thanks! I got it: $_SERVER['HTTPS'] == "on" Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Friday, May 17, 2002, at 01:09 PM, Philip Hallstrom wrote: > I would guess you want $_SERVER["SERVER_PROTOCOL"] which returns > &

Re: [PHP] Need help

2002-02-20 Thread Steven Walker
$new_data = str_replace(",(i) ", "\t", $data); You can then use explode() to put it into an array. You'll have to figure out the details, but that should get you started. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Wednesday, February 20, 2

Re: [PHP] text box truncate

2002-02-20 Thread Steven Walker
How about wordwrap()? http://www.php.net/manual/en/function.wordwrap.php Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Wednesday, February 20, 2002, at 06:02 PM, Michael P. Carel wrote: > Hi there, > > I have here a problem regarding how to truncate the

Re: [PHP] wordwrap not working

2002-02-20 Thread Steven Walker
This may be a nl2br() problem. If you are setting \n as your newline character, it probably needs to be if your just echoing it. Depending on where it ultimately gets displayed, you'll want one or the other. For example, sending an email message you want \n. Steven J. Walker Walker Ef

Re: [PHP] Trouble with Sessions

2002-02-20 Thread Steven Walker
tton, they get hosed what can you do? Any one else know? Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Wednesday, February 20, 2002, at 07:36 PM, Phillip S. Baker wrote: > Hey All, > > I just converted my login process to sessions. > It works great.

Re: [PHP] getting the "right" REMOTE_ADDR

2002-02-20 Thread Steven Walker
et to prevent other users from accessing my files. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Wednesday, February 20, 2002, at 08:28 PM, [EMAIL PROTECTED] wrote: > Hi all, > > I need to know the exact ip of who is entering a site and I'm worried

Re: [PHP] getting the "right" REMOTE_ADDR

2002-02-20 Thread Steven Walker
etenv(HTTP_CLIENT_IP); } else { $ip=getenv(REMOTE_ADDR); } ==== Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Wednesday, February 20, 2002, at 10:56 PM, [EMAIL PROTECTED] wrote: > My problem is a touch different, I know the IP's of the

Re: [PHP] Re: how to build an array

2002-02-22 Thread Steven Walker
Also, for adding items onto an array use array_push() Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Friday, February 22, 2002, at 07:41 PM, Jim Winstead wrote: > Jtjohnston <[EMAIL PROTECTED]> wrote: >> Where/How do I start in building a new arra

Re: [PHP] adding 'vote' mechanism

2002-02-23 Thread Steven Walker
I personally prefer voting mechanisms that display how many votes have been cast. If you keep the thumbs_up separate from thumbs_down, you can figure the total number of votes. Otherwise, you will not be able to know whether the author is *really* average or just never voted for. Steven J

Re: [PHP] problem while loop.

2002-02-24 Thread Steven Walker
Jeff, The problem is most likely with incrementing $event_data. It's hard to say without seeing the rest of the code. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] > I have a problem while loop that isn't terminating when it's supposed > to. I

[PHP] Email Verification

2002-02-24 Thread Steven Walker
Does anybody know any good ways (or available code) for verifying email addresses? Checking syntax is not enough.. I'd like to actually be able to test whether the email address exists. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] Re: Email Verification

2002-02-24 Thread Steven Walker
time trying to fix a problem that occurs 10% (or less) of the time ;) Thanks for the Zend referral. I'll give it a try. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Sunday, February 24, 2002, at 11:31 AM, Michael Kimsal wrote: > Steven Walker wrote: >> Do

Re: [PHP] problem while loop.

2002-02-24 Thread Steven Walker
ways echo 'GO!!'. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Sunday, February 24, 2002, at 03:00 PM, Jeff Bearer wrote: > It's all returning proper dates and the proper timestamps when I check > them inside the loop. I'm formattin

[PHP] HTML Email Has Random '!'

2002-02-24 Thread Steven Walker
so hard to read... but the point is that the '!' is not in my code. When I make subtle changes to the code, the '!' shows up in other places. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED]

Re: [PHP] writing files with php

2002-02-25 Thread Steven Walker
Try: SITE CHMOD 666 filename Also be sure that the file name in PHP matches the exact file name on disk. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Monday, February 25, 2002, at 12:36 AM, Sven Jacobs wrote: > Hey > > How can I create files with

Re: [PHP] Fetching the values from previous page

2002-02-25 Thread Steven Walker
scope. Introduced in PHP 4.1.0. I believe that you can also use getenv() if the register_globals is not on. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Monday, February 25, 2002, at 09:48 AM, Batara Kesuma wrote: > Hi all, > > I have a page that post

Re: [PHP] HTML Email Has Random '!'

2002-02-25 Thread Steven Walker
Thanks Martin, That was indeed the problem! I simply added a '\n' to the end of each line. And since html doesn't recognize it, it does no harm to the formatting. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Sunday, February 24, 2002, at 06:26 PM

Re: [PHP] maximum string length

2002-02-27 Thread Steven Walker
It may be able to store 8MB, but each line can only hold 1024 characters. I ran into this using a string variable to store the message body of an HTML email. If I did not put a '\n' at the end of each line, I would get random '!' placed through the sent email. Steven J. W

Re: [PHP] Form Annoyances

2002-02-27 Thread Steven Walker
James, Look into stripslashes(): http://www.php.net/manual/en/function.stripslashes.php and htmlspecialchars(): http://www.php.net/manual/en/function.htmlspecialchars.php Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Wednesday, February 27, 2002

[PHP] patching a lower version.

2002-02-28 Thread Steven Deaton
nk #5 failed at 247. Hunk #6 succeeded at 275 (offset -22 lines). Hunk #7 succeeded at 341 (offset 6 lines). Hunk #8 succeeded at 497 (offset -22 lines). 3 out of 8 hunks failed--saving rejects to rfctest.rej done Any help with this would be greatly appreciated.thanks.. ---S

Re: [PHP] inspiration needed on problem s

2002-03-01 Thread Steven Walker
#x27;Submit'. If it equals 'Reset', then I clear all the data. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Friday, March 1, 2002, at 10:34 AM, Nick Wilson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all > I'm

[PHP] Email MIME Support?

2002-03-01 Thread Steven Walker
like only plain text emails with no headers. Does mime support have to be enabled for sendmail? Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] inspiration needed on problem s

2002-03-03 Thread Steven Walker
I have often looked at problems and immediately thought that PHP is not capable of the solution, but then some discovery sheds light and suddenly many new things are possible. This fell into that category for me too :) Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED

Re: [PHP] Re: cursor focus

2002-03-03 Thread Steven Walker
If you -could- use Javascript, it looks something like this: document.formName.textfieldName.focus() Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Sunday, March 3, 2002, at 12:55 PM, Markas wrote: > Hi, PHP will do NOTHING with cursor position in your p

Re: [PHP] Upload a CSV file to MySQL

2002-03-04 Thread Steven Deaton
You may want to take a look at phpmyadmin, as it has this functionality. - Original Message - From: Philip J. Newman <[EMAIL PROTECTED]> To: DL Neil <[EMAIL PROTECTED]>; Ben C. <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 04, 2002 11:15 AM Subject: Re:

[PHP] FYI Using Qmail & PHP

2002-03-06 Thread Steven Walker
obscure). Simply use single '\n' rather than '\r\n'. For some reason (I don't know why) qmail doesn't like the CRLF. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Referer Is Empty

2002-03-07 Thread Steven Walker
irect, the referring url is empty. If on the other hand the user clicks the link to the new page, the referring url is fine. Is there a limitation here? I'm familiar with using header(location..), but it doesn't allow a delay time to be specified. Any ideas? Steven J. Walker

[PHP] Readfile() Download Issues

2002-03-14 Thread Steven Walker
r("Content-type: application/zip"); header("Content-Length: $len"); header("Content-Disposition: attachment; filename=$filename"); readfile($file); Other browsers appear to work fine. An thoughts? Thanks, Steven J. Walker Walker E

Re: [PHP] header("Location:") problem with Netscape

2002-03-14 Thread Steven Walker
t know what the fix is. I also tried getenv(PHP_SELF) and $_SERVER[PHP_SELF] without any luck. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Thursday, March 14, 2002, at 10:29 AM, Jeff Bearer wrote: > I'm working on a app that uses the header("Location&q

Re: [PHP] Mac Classic and PHP...

2002-03-18 Thread Steven Jarvis
her stuff you can run with Apache (perl, etc.). It's not as easy to administer as WebSTAR, but it's in some ways more flexible and more powerful. HTH, Steven -- Steven Jarvis Web Developer Arkansas Democrat-Gazette Northwest Edition -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Crypt Limitation?

2002-03-23 Thread Steven Walker
; echo $encrytped; $encrypted = crypt("3c8d15c9cfABC", "xx"); echo $encrytped; it outputs: xxsZRVVwtwY7Y xxsZRVVwtwY7Y So it appears the crypt is ignoring characters in a string after a certain point. Am I missing something here? Steven J

[PHP] Bad Email Addresses

2002-03-25 Thread Steven Walker
out, but it's tedious and won't last in the long term. Thanks, Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] new $_SESSION variables vs. session_register/unregister

2002-03-28 Thread Steven Jarvis
PHP and I'm just getting started using sessions. The book I'm using to learn sessions isn't new enough to include how to deal with the new $_SESSION global variables array, and the manual's dire warning isn't explained thoroughly enough for me. Thanks! Steven -- Stev

Re: [PHP] new $_SESSION variables vs. session_register/unregister

2002-03-28 Thread Steven Jarvis
variable and use unset() and isset() (in place of session_is_registered(). I apologize for the noise. Steven On Thursday, March 28, 2002, at 01:21 PM, Steven Jarvis wrote: > The manual says: > >> If you are using $HTTP_SESSION_VARS/$_SESSION, do not use >>

[PHP] Re: UPLOADING BLUES: Empty form variables when uploading

2001-11-11 Thread Steven Sullivan
I've tried using HTTP_POST_VARS and ..._RAW_..., but both are empty. The variables simply do not come through every time. I am running the latest version of Apache (1.3.x, not 2.x) and PHP 4.0.6. I've been unable to find any information on this problem. -

[PHP] From static to dynamic

2001-11-19 Thread Steven Katz
n 1000 catalog items (rows)? I'd be interested in hearing how you'd put this together. Steven -- 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] From static to dynamic

2001-11-19 Thread Steven Katz
w color Casio Wrist-Camera? Anyone interested in seeing (sent privately) some pictures I took with the older black & white model? It's so cool. Steven -Original Message- From: Steven Katz <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 7:03 PM To: [EMAIL PROTECTED] Subjec

[PHP] Page creation interfaces?

2001-11-20 Thread Steven Katz
Are there any existing php-driven systems out there that allow people who no nothing about html to create and maintain their own pages, such as with a forms-based administrative interface? Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Problems outputting HTML through PHP

2001-11-28 Thread Steven Marsh
Hello everyone, I have an array that holds some HTML code in each item, I shuffle this array and then output item[0] so that it is a random item chosen each page view. But, when it's outputted, it is commented out! The code I have isn't commented so I don't know why this is happening. It seems PH

Re: [PHP] Ensuring that Form is only submitted once (session vars?)

2001-12-21 Thread Steven Cayford
Your first reference to a session (usually session_start()) must come before any html is sent to the browser. A common problem is to have some white space before the tag in a preceding file. You can set up something like what you're working on using session variables. Create random numbers an

<    1   2   3   4   >