Re: [PHP] Wrong time being displayed by PHP!

2012-10-22 Thread Richard S. Crawford
On Thu, Oct 18, 2012 at 2:12 AM, Ford, Mike wrote: > > From: underp...@gmail.com [mailto:underp...@gmail.com] On Behalf Of > > Richard S. Crawford > > Sent: 17 October 2012 19:29 > > To: PHP-General > > > > You can see the current output

Re: [PHP] Wrong time being displayed by PHP!

2012-10-17 Thread Richard S. Crawford
t; be set to PDT. You can easily override this with a local php.ini file, an > .htaccess directive, or by placing date_default_timezone_set() near the top > of the code. You can see the current output of the above code here: http://projectbench.extensiondlc.net I've confirmed that the server is set to PDT. The value of date.timezone in php.ini is "America/Los_Angeles", which should be (currently) -8 hours from UTC, but it looks like the PDT offset is only set to -4. Does that even make sense? -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

Re: [PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
On Tue, Oct 16, 2012 at 2:05 PM, Daniel Brown wrote: > On Tue, Oct 16, 2012 at 4:19 PM, Richard S. Crawford > wrote: > > > > Thanks for the suggestion. Unfortunately the problem seems to be that PHP > > thinks the America/Los_Angeles timezone is the same as EDT. I'm

Re: [PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
this issue. Richard > On Tue, Oct 16, 2012 at 3:56 PM, Richard S. Crawford < > rscrawf...@mossroot.com> wrote: > > > I double checked the server time. It is set to "America/Los_Angeles" as > > well. > > > > > > On Tue, Oct 16, 2012 at 11

Re: [PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
I double checked the server time. It is set to "America/Los_Angeles" as well. On Tue, Oct 16, 2012 at 11:07 AM, Adam Richardson wrote: > On Tue, Oct 16, 2012 at 2:02 PM, Richard S. Crawford > wrote: > > The value of date.timezone in php.ini is set to "America/Los_

[PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
The value of date.timezone in php.ini is set to "America/Los_Angeles". The local time is 11:02 a.m. Yet the output of date("h:i a e") is: 02:02 pm America/Los_Angeles which is three hours ahead of the real time. Why is this? What's going on? -- Sláinte,

Re: [PHP] Friday - Return of Brain Teasers

2012-10-05 Thread Richard S. Crawford
net/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

Re: [PHP] Re: MySQL and PHP weirdness - RESOLVED

2012-02-15 Thread Richard S. Crawford
This has been resolved. A previous programmer had snuck in a function that would convert the value of the "description" field to a date value if it contained the word "Date". This has been fixed. On Tue, Feb 14, 2012 at 5:44 PM, David Robley wrote: > Richard S. Crawford

[PHP] MySQL and PHP weirdness

2012-02-14 Thread Richard S. Crawford
up how PHP is displaying the text. I've tried changing the field type from "mediumtext" to "text" but this didn't work. If anyone has any ideas as to why this might be happening -- or if I just wasn't clear -- please let me know. -- Sláinte, Richard S. Crawf

Re: [PHP] Upgrade or Die?

2011-06-24 Thread Richard S. Crawford
> Firefox periodically displays. > > I will never understand this mindset. > > > > Full story : http://www.technewsworld.com/edpick/72739.html > > > > > > > > Richard L. Buskirk > > > > -- Sláinte, Richard S. Crawford (rich...@u

Re: [PHP] WHERE field = a range of values (value

2011-05-24 Thread Richard S. Crawford
; The actual select checks more fields for this or that and gets more > complicated so I'd like to keep this as simple > as possible. I would like to do this without UNIONS (in one pass) if > possible (my > dbsql.php doesn't seem to go beyond regular query). > Try "in": where productx in (Prod1, Prod2, Prod3) -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

Re: [PHP] Odd array_push issue

2011-05-11 Thread Richard S. Crawford
On Wed, May 11, 2011 at 1:30 PM, Peter Lind wrote: > On 11 May 2011 22:23, Richard S. Crawford wrote: > > I'm encountering what appears to be a bug in array_push when I try using > > that function to add objects to an array. For example... > > > > A = Object

[PHP] Odd array_push issue

2011-05-11 Thread Richard S. Crawford
ich leads me to think that perhaps my own code is at fault. -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com

Re: [PHP] Custom function

2011-05-02 Thread Richard S. Crawford
Ron: I'm not sure what you mean by "optional flag"? Do you mean an optional parameter? Richard -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

Re: [PHP] newbie - function is undefined

2011-04-01 Thread Richard S. Crawford
On Fri, Apr 1, 2011 at 2:32 PM, Jim Giner wrote: > > function. Try something like: > ... > echo 'heaading contains: getText("h2")'; > ... > > I tried it - no better. > Did you still get the "function undefined" error? -- Slá

Re: [PHP] Script mysteriously restarting

2011-01-21 Thread Richard S. Crawford
Ah, sorry. It's a browser-based script. On Fri, Jan 21, 2011 at 1:28 PM, Jim Lucas wrote: > On 1/21/2011 12:37 PM, Richard S. Crawford wrote: > > I've got a massive PHP script which takes nearly an hour to run. > Sometimes, > > when it comes close to the end, it my

[PHP] Script mysteriously restarting

2011-01-21 Thread Richard S. Crawford
PHP5 with Apache 2 on a Linux server. -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com

Re: [PHP] Stripping carriage returns

2011-01-11 Thread Richard S. Crawford
was indeed a typo when I was copying the code over into my email. Ashley, I've already been using strip_tags to eliminate all but , , , and tags. On Tue, Jan 11, 2011 at 11:24 AM, David Harkness wrote: > On Tue, Jan 11, 2011 at 11:13 AM, Richard S. Crawford < > rich...@underp

[PHP] Stripping carriage returns

2011-01-11 Thread Richard S. Crawford
chr(10) or chr(13) to represent line breaks internally, so I decided to give those a try as well.) and $content = str_replace(array('\n','\r','\r\n'),$content) all to no avail; these all leave the line break intact, which means my preg_replace('//','',$content) line still breaks. Anyone have any ideas? -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com

Re: [PHP] Looking for open source Learning Management System suggestions

2010-08-31 Thread Richard S. Crawford
y) > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

[PHP] Database vs. Array

2010-03-16 Thread Richard S. Crawford
ript. This is not an issue I've come across before, so any thoughts would be much appreciated. Thanks in advance. -- Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

[PHP] header("Location:...") fails

2010-01-13 Thread Richard S. Crawford
command *after* this header() command, it works... but it seems pathologically inelegant to do so.) Obviously, I'm missing something incredibly basic. Can anyone help me figure this out? -- Richard S. Crawford (rscrawf...@mossroot.com) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

Re: [PHP] str_to_date equivalent in PHP

2009-07-28 Thread Richard S. Crawford
On Tue, Jul 28, 2009 at 10:09 AM, Jim Lucas wrote: > Richard S. Crawford wrote: >> 2009/7/28 Thodoris : >>> Hi gang, >>>   I've been looking for a str_to_date (mysql) equivalent in PHP. I've >>> noticed that these are matching the des

Re: [PHP] str_to_date equivalent in PHP

2009-07-28 Thread Richard S. Crawford
te-from-format.php > > but I don't have PHP 5.3.0 installed in any of my systems to test it and the > function/method is not well documented yet. So I will have to write a > workaround this. > > Has anybody tried this? Does strtotime() not work for you? -- Richard S. Crawfor

Re: [PHP] Font problem

2009-07-28 Thread Richard S. Crawford
27;s too much detail to go into and this is a PHP list, not a CSS list. -- Richard S. Crawford (rscrawf...@mossroot.com) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Making several variables into 1 variable

2009-07-28 Thread Richard S. Crawford
uot;, $pastDays); > > > And make it into one var to compare to a db field that is formatted like > 00/00/00 Try: $past_date = date("m/d/y", $pastDays) Or even: $past_date = date ("m/d/y", time() - 2592000) (where 2592000 is 30 * 86400, and 86400 is the number of sec

Fwd: [PHP] newbie: problem with $_Post[]

2009-07-27 Thread Richard S. Crawford
own on the number of pages you have to create. The way I do this is by first checking to see if the $_POST array has been set; if it has not been set, then I know that the form wasn't filled out, and so the script needs to print out the form. If the array has been set, on the other hand, then t

Re: [PHP] How to deal with identical fields in db

2009-05-05 Thread Richard S. Crawford
ou seriously want to do some normalization on this task; otherwise, you end up with a giant table of books, with multiple rows duplicating the title of the book, leading to a huge "books" table, and nobody wants that. -- Richard S. Crawford (rscrawf...@mossroot.com) http://www.moss

[PHP] Query string vanishes on header("Location: ...") redirect

2009-01-12 Thread Richard S. Crawford
anyone give me insight into what might be going on? I've checked for rogue .htaccess files which might be doing some fancy URL rewriting, but found nothing. -- Richard S. Crawford (rscrawf...@mossroot.com) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzin

[PHP] require_once dying silently

2008-04-08 Thread Richard S. Crawford
tup.php"); but this didn't help. Any assistance at all would be greatly appreciated. -- Richard S. Crawford ([EMAIL PROTECTED]) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

Re: [PHP] Making sure an include file works

2008-02-29 Thread Richard S. Crawford
ow *horrible* this is: http://www.php.net/ChangeLog-4.php Ah, if only I could. The choice of host was made by my boss, and he loves them. -- Slainte, Richard S. Crawford Editor-in-chief, Daikaijuzine (http://www.daikaijuzine.com) Personal website: http://www.mossroot.com -- PHP General Mailin

Re: [PHP] Making sure an include file works

2008-02-29 Thread Richard S. Crawford
use file_exists and is_readable for some basic checking, and hope that the included files have no syntax errors. On Fri, Feb 29, 2008 at 11:25 AM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Thu, Feb 28, 2008 at 9:58 PM, Richard S. Crawford > <[EMAIL PROTECTED]> wrote: > > I&

[PHP] Making sure an include file works

2008-02-28 Thread Richard S. Crawford
I'm trying to figure out a way to make sure an included PHP file has no syntax errors before actually including it as a part of project. Is this even possible? I'm running into brick walls. -- Slainte, Richard S. Crawford Editor-in-chief, Daikaijuzine (http://www.daikaijuzine.com

[PHP] Getting the name of a function

2008-02-27 Thread Richard S. Crawford
it simpler than that. Is there a way to do this? -- Richard S. Crawford ([EMAIL PROTECTED]) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com) Support me in Write-a-thon 2007: http://www.firstgiving.com/richardscrawford

[PHP] Dealing with MSXML2.ServerXMLHTTP objects

2008-01-23 Thread Richard S. Crawford
this case, but I'm not entirely sure how to deal with the incoming data. Any suggestions would be more than welcome. -- Richard S. Crawford ([EMAIL PROTECTED]) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

Re: [PHP] mysql_fetch_array

2007-11-02 Thread Richard S. Crawford
re all records in a 2 > dimention table so I can use it later ? > > this WHILE sentence seems to only store the last record only That is peculiar; assuming that your query is properly executed and the code you're using to display the contents of $fotos_mostrar is written properly. Can you

Re: [PHP] Moodle: Add field to user listing

2007-10-08 Thread Richard S. Crawford
e allows for custom fields in user records. I haven't yet worked with this functionality myself so I don't know much about it, but it's definitely there. Again, query the forums on http://www.moodle.org. -- Richard S. Crawford Editor-in-chief, Daikaijuzine (http://www.dai

Re: [PHP] Please recommend blog script

2007-10-08 Thread Richard S. Crawford
(MetaWebLog or ATOM). Most do that, including the Chisimba one (see > http://fsiu.uwc.ac.za as an example. Download at http://avoir.uwc.ac.za) > > --Paul I've used Wordpress like that on my own site. I have my blog set up in one directory, but I use WordPress's API through

Re: [PHP] Open New URL window

2007-09-19 Thread Richard S. Crawford
On Wednesday 19 September 2007 15:50:08 Andrew Prostko wrote: > My problem is, I do not know how to make the Else statement... > How do I get it to open a new url? > I want it IF yes open this page, else open this page Andrew, try the header() function: ...show your form... tag at th

[PHP] Problem downloading files in IE

2007-08-15 Thread Richard S. Crawford
Firefox, but not all of them are able to do so; and since they pay our bills, we don't have much of an option. If anyone has any ideas, I'd appreciate hearing them. -- Richard S. Crawford Editor-in-chief, Daikaijuzine (http://www.daikaijuzine.com) Personal website: http://www.mossroo

Re: [PHP] Strings

2007-06-05 Thread Richard S. Crawford
an't really diagnose your problem. At any rate, make sure your code looks like this: "; } ?> If that still gives you problems, you could try replacing the second print statement with this: print ""; just to see if the problem is with the string or is some strange in

Re: [PHP] People's misbehavior on the list

2007-05-18 Thread Richard S. Crawford
On Friday 18 May 2007 15:25:35 Tijnema wrote: > function sighRelief() { >  return "Thank fucking God!"; > } > ?> > > Saves you some time, and resources Yeah, but where's the fun in that? -- Richard S. Crawford (http://www.mossroot.com) Editor In Chief, Daika

RE: [PHP] Netscape Vs. IE

2002-03-11 Thread Richard S. Crawford
> > > I mean I need another command that will tell to load image as a bg. I am > trying to use background-image:file.gif, but it doesn't seem to work. > > Thanks, > Vlad > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit

Re: [PHP] Netscape vs. IE/Mozilla

2002-03-08 Thread Richard S. Crawford
or and it's giving me hard times. > > Either tables or/and cell background doesn't show up or spacing between > two tables is not what it is supposed to be. > > If anyone can give me suggestion about where to look for some hints > online > that would be appreciated. >

Re: [PHP] Javascript Parser?

2002-01-26 Thread Richard S. Crawford
I'm not entirely sure I understand your question. Are you asking if there's an easy way to convert programs from JavaScript to PHP? saif wrote: > hi, > is there any site from where i can get the php scripts which can parse the > javascript or at lest document.write(ln) part into php echo varia

Re: [PHP] Using a HTML button

2002-01-11 Thread Richard S. Crawford
t; > >-BEGIN PGP SIGNATURE- >Version: GnuPG v1.0.6 (GNU/Linux) >Comment: For info see http://www.gnupg.org > >iD8DBQE8P2ArHpvrrTa6L5oRAhPjAJ9Mv4k54bNNtu8DLGBegiD7SaQA1QCggJNl >PolIOd8coSStooSyW/mmtk0= >=MNoe >-END PGP SIGNATURE- > >-- >PHP Gen

Re: [PHP] Re: IMPORTANT about asking QUESTIONS

2002-01-11 Thread Richard S. Crawford
tion (with a different topic header) >under an existing thread rather than starting a new thread. all it takes is >a few minutes to familiarize oneself with the newsreader, but apparently a >few minutes is too much.. Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ:

Re: [PHP] Scripting events with php

2002-01-06 Thread Richard S. Crawford
anted to print out multiple >repeats of a form based upon user input. I have a user database, where >during the initial profile setup, they can specificy potentially large >amount of interests that they have. I would like for them to be able to >say: I have 5 interests, click a button the

Re: [PHP] POSTing HTML into a database

2002-01-06 Thread Richard S. Crawford
unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] "It is

Re: [PHP] How to strip off all html-comments

2001-12-31 Thread Richard S. Crawford
- >Brian Clark | Avoiding the general public since 1805! >Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 >Forget Napster. Why not really break the law? > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For add

Re: [PHP] HTML Email

2001-12-18 Thread Richard S. Crawford
ing somethign super obvious but > >I am trying to send a simple HTML email. It works in Netscape mail, >Pegasus etc however in Outlook and Outlook express it actually places the > >Content-Type: text/html; >charset=iso-8859-1 Content-Transfer-Encoding: 7bit Sliante, Rich

RE: [PHP] Opening a new window.

2001-12-14 Thread Richard S. Crawford
trols? But the radio works just fine, and that's all I'm gonna give 'ya >to play with ... we know best." Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] "It is only with the heart that we see

RE: [PHP] Opening a new window.

2001-12-14 Thread Richard S. Crawford
opups with jscript. If I can >get rid of JS that would be great. Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] "It is only with the heart that we see rightly; what is essential is invisible to the eye."

RE: [PHP] Opening a new window.

2001-12-14 Thread Richard S. Crawford
andon Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupéry "Push the button, Max!"

Re: [PHP] forms & PHP

2001-12-06 Thread Richard S. Crawford
/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] "It is

Re: [PHP] mysql update query

2001-12-04 Thread Richard S. Crawford
' where id='$id'"); > > > > It is not updating the database. All the $vars have values and I'm > > using the correct columns names. Could someone please point me in the > > correct direction because I have been trying different things for a > &

Re: [PHP] Logic

2001-12-04 Thread Richard S. Crawford
. I am trying to check to see if a certain piece of code should >be run. Here is an >example. >if ($type != "add") || ($type != "edit") || ($type != "delete") {//if this >or this or this then >then run this code >} else { >then run this >}

Re: [PHP] PHP newbie alert

2001-12-04 Thread Richard S. Crawford
, very very >worthwhile for a purchase. Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupér

RE: [PHP] header("Location:blah...") - passing variables

2001-12-04 Thread Richard S. Crawford
ust be more than 4 characters long"; > > >header("Location:http://somelocation.php";); > > >// ^-- at the location, the $err and form variables will be available > > > > > >exit; > > > } > > > > > >-- >PHP General M

Re: [PHP] Good host needed

2001-11-29 Thread Richard S. Crawford
lse Linux. I would like to be able to manage >the server from home,and not phone in every I need to do something. And I'm >looking for good bandwidth. Any recommendation will do, as I'll be looking >at all the companies, and see who offers the best. Sliante, Richard S. Crawfo

Re: [PHP] call php with javascript

2001-11-27 Thread Richard S. Crawford
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] Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y

Re: [PHP] Installing PHP with windows

2001-11-21 Thread Richard S. Crawford
ll Apache? It's free and much, much more secure than PWS. At 12:55 PM 11/21/2001, Rob Bennion wrote: >Hi >I want to try out PHP and wanted to know if it is possible to install it >on a windows machine and use it with personal web server. > >Any help would be appreciated. &g

Re: [PHP] Deleting from MySQL with more than one 'where' variable?

2001-11-21 Thread Richard S. Crawford
sel'"; >$result = mysql_db_query("f6", $query); >} > >This was code for two variables: > > >function delete_one_sub($sel, $field, $update) >{ >$query = "delete from usr_stats where sel='$sel' and spec='$field'"; >$r

RE: [PHP] Re: auto form submit

2001-11-20 Thread Richard S. Crawford
; >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] > > >-- >PHP General Mailing List (http://www.php.net/

Re: [PHP] Re: Cookies and Variables

2001-11-20 Thread Richard S. Crawford
ely ignore environment >variables, cookies and server variables, and to overwrite any GET method >variables with POST-method variables of the same name. > >Fred Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED

Re: [PHP] Re: Testing for the presence of HTML

2001-11-20 Thread Richard S. Crawford
ey filled in the form. In my experience, it is highly unlikely >that a user will write their own as they fill in a form, even if they >do enter other html such as links. > >Fred > >Richard S. Crawford <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">ne

[PHP] Cookies and Variables

2001-11-20 Thread Richard S. Crawford
ime I load page2.php, someWord tells me that it is a cookie. How do I get the value of the variable to override the value of the cookie? Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] "It is only with the hea

[PHP] Testing for the presence of HTML

2001-11-20 Thread Richard S. Crawford
hat's the best way to check and see if HTML is present in the field? Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] "It is only with the heart that we see rightly; what is essential is invisible to the eye.

RE: [PHP] Segmented Code/HTML VS. ECHO??

2001-11-18 Thread Richard S. Crawford
any noticable >differences between the two. > >Sometimes the code it more readable with raw html, sometimes with echos. Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] "It is only with the heart that we see ri

Re: [PHP] Transfer variable to next web-page

2001-11-17 Thread Richard S. Crawford
er books, php-manual nor HTML-specification does tel me. > >Olav > > > > >-- >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-mai

[PHP] Anyone ever done this - sort a multi-dimensional array

2001-11-15 Thread Richard S. Crawford
quot;; such that you sort on the value of the y-column? In this case, it would end up as: +--+--+ | row of a's | | | a row of b's | | | !row of c's | | +--+--+ Strange that I've

RE: [PHP] I suck at regular expressions! -- not as bad, now

2001-11-15 Thread Richard S. Crawford
t;/title> but what I was trying to find was: < title >BLAH BLAH BLAH< /title > It's all good now. Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart th

Re: [PHP] Re: I suck at regular expressions!

2001-11-15 Thread Richard S. Crawford
Actually, that does work when I'm using a string with that content. The only thing I can figure is that there is a problem with the way the the file is being read. Hmm. Ah, well. I'll make it work. Where's my hammer? At 12:18 AM 11/15/2001, Johan Holst Nielsen wrote: >R

Re: [PHP] Re: I suck at regular expressions!

2001-11-15 Thread Richard S. Crawford
Not quite. I have the same problem. At 11:36 PM 11/14/2001, Johan Holst Nielsen wrote: >Richard S. Crawford wrote: > > > I am trying to get the title of an html file... you know, the string > > between the < title > and < /title > tags... > > >

[PHP] I suck at regular expressions!

2001-11-14 Thread Richard S. Crawford
dless of whether the file has a title defined in the header or not. I suspect I'm doing something fundamentally wrong. Can anyone set me straight? Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only w

Re: [PHP] javascript to php ???????

2001-11-13 Thread Richard S. Crawford
to the php page. >I mean... > test.php - (make an html page)---> question.html ---(submit > form)> test.php > >I populated an array but now I need to pass this array to the same >starting php page again. > >can I do this? > > >--Patricio >

Re: [PHP] executing another php.script

2001-11-11 Thread Richard S. Crawford
his done? > >Setting a link and clicking is not the answer .. one script loops >through all the 'selected' rows and I want to 'execute' another script >for each row .. can this be done? > >thanks > >DSig >David Sliante, Richard S. Crawford http://w

Re: [PHP] HTTP Headers

2001-11-09 Thread Richard S. Crawford
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] Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2

Re: [PHP] close windows

2001-10-30 Thread Richard S. Crawford
t;André Castanheira >Carioca Engenharia S.A. >+55 21 3891-2200 r; 2325 > >-- >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: [E

Re: [PHP] spaces vs   in form fields

2001-10-29 Thread Richard S. Crawford
#x27;t render that way in IE/Opera. Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupéry &quo

Re: [PHP] downloading images

2001-10-29 Thread Richard S. Crawford
7;d like it to work without having the user to right >click and choose 'save image as'. >Any ideas?! >Thanks, >Heidi Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart t

Re: [PHP] Best [non-PHP] way to redirect a browser

2001-10-26 Thread Richard S. Crawford
php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawfo

Re: [PHP] how can I do this !!

2001-10-25 Thread Richard S. Crawford
o convert the code that are between [phpcode] and [/phpcode] >to colorized code .. >How I can do that Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart that we see rightly; what is essent

Re: [PHP] Can PHP do what this javascript does...

2001-10-24 Thread Richard S. Crawford
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] Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 1

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Richard S. Crawford
ven at the function >call (without the default value). > Arpi Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart that we see rightly; what is essential is invisible to the eye

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Richard S. Crawford
blah"; > > } > > > Arpi > >-- >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] Sliante, Richard S. Craw

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Richard S. Crawford
gt;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] Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] A

Re: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Richard S. Crawford
nations of apache + php4 + mysql (mysql= free very popular >web database). Just do a search on a search engine. >There are also instruction pages on how to make php work on >apache (you need to change two or three lines in a >configuration file). > >good luck. >Chris Sliante, Richar

Re: [PHP] Opening a new page when done

2001-10-24 Thread Richard S. Crawford
"include()" but couldn't figure out my syntax > >Ideas? > >THANKS!!! :-) > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list admin

Re: [PHP] aaaaaaaaaaaaaaa

2001-10-23 Thread Richard S. Crawford
, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with t

Re: [PHP] INPUT tag with default value

2001-10-23 Thread Richard S. Crawford
elated RFC : > > http://www.faqs.org/rfcs/rfc1867.html > >regards, >Philip Ollson Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart that we see rightly; what is essential is in

Re: [PHP] Disable Back Button

2001-10-19 Thread Richard S. Crawford
Can you imagine the trouble you'd get into if you could? At 09:47 PM 10/19/2001, Chip Landwehr wrote: >Is there any way to do this in PHP4? Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only w

Re: [PHP] This is driving me to drink...

2001-05-01 Thread Richard S. Crawford
Problem solved. Boy, that was easy. The database was adding trailing spaces to the codes (so that "MNE" was actually "MNE " and so on). $p_code=trim($p_code) did the trick. I could still use that Bushmill's, though. At 03:57 PM 5/1/2001 -0700, Richard S. Crawfo

[PHP] This is driving me to drink...

2001-05-01 Thread Richard S. Crawford
...But my boss won't let me keep the Bushmill's at my desk. *sigh* So, assuming that $p_code is "MNE" and $neuroKey is 2, then $hub should be 2, right? Instead, it's coming up with 1, which is the value of $coreKey. What have I missed? $hub=$coreKey; if (($p_code=="MNE")||(

Re: [PHP]OT, but dual-boot operating system question

2001-04-30 Thread Richard S. Crawford
Beware if you're using WinNT or Windows 2000. Neither one plays nice with LILO. At 01:41 PM 4/30/2001 -0400, Toby Miller wrote: >Your safest bet would probably be to look into RedHat Linux. It's a fairly >straight forward Linux distribution. It also includes the LILO boot loader >which is one w

[PHP] Arrays in Classes

2001-03-18 Thread Richard S. Crawford
I'm quite new at object-oriented programming in PHP. Here's what I want to do. I want to create a class of objects called "lists". The properties I want to have for list objects include: owner of the list number of items in the list the list itself Each item in t

Re: [PHP] PHP and the MIME type - an Apache question

2001-03-10 Thread Richard S. Crawford
Ah, sorry. Here's the deal. Our company runs Unix on Sun Solaris (sorry, don't know the numbers of the top of my head) servers. We have Apache set up to go through every HTML file which is served, and look for instances of a particular command. For example, in our HTML files, we might have

Re: [PHP] PHP and the MIME type - an Apache question

2001-03-09 Thread Richard S. Crawford
et/manual/en/ >Install Section >http://www.php.net/manual/en/installation.php > >FAQ >http://www.php.net/FAQ.php > >Regards, >Yasuo Ohgaki > >""Richard S. Crawford"" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EM

[PHP] PHP and the MIME type - an Apache question

2001-03-09 Thread Richard S. Crawford
I don't even know if this counts as a basic or an advanced question. Shows how much of a newbie I am. :) I'm trying to configure my Apache server to parse out all of my PHP scripts to run a particular CGI script when a PHP page is served. I know that in order to parse out HTML pages, I add

Re: [PHP] Dynamic Links..

2001-03-08 Thread Richard S. Crawford
Yes, I should have mentioned... we actually do develop contracts outlining co-branding agreements with our partners before we establish a frameset. I should also mention that we don't use PHP for session tracking; we use a home-grown Perl/Oracle hybrid for session tracking. But I imagine that

  1   2   >