[PHP] Configuration of IIS 5 with PHP4_2_3 : problems!

2002-11-07 Thread day
ew xtension php with script engine on set ISAPI too IUSR_MyUser is the default user I'm stuck in there.. could somebody help me?Don't know if it is the right place to ask ? Thanks day day [EMAIL PROTECTED] 2002-11-07 -- PHP General Mailing List (http://www.php.net/) To

[PHP] Confused about $_SESSION and $_COOKIE scope..

2002-12-06 Thread Chad Day
I'm not sure why this isn't working, been banging my head at it for a couple hours now. I have a file (index.php), which calls a function that draws the header to my page. Inside that function (site_header), is an include to a file (menu.php) which draws dynamic javascript menus based on cookie o

[PHP] Cookie handling, NS 4.x?

2002-12-09 Thread Chad Day
I am having a fairly confusing problem with setcookie() in NS 4.x. My script: nscookie.php: setcookie("NSUSERNAME", 'cday', time()+2592000, '/', ".mydomain.com"); Header("Location: nscookie2.php"); exit(); nscookie2.php: echo $_COOKIE[NSUSERNAME]; In IE (all versions I have tested), this

RE: [PHP] Cookie handling, NS 4.x?

2002-12-09 Thread Chad Day
ECTED]] Sent: Monday, December 09, 2002 4:31 PM To: Chad Day; php general Subject: Re: [PHP] Cookie handling, NS 4.x? --- Chad Day <[EMAIL PROTECTED]> wrote: > I am having a fairly confusing problem with setcookie() > in NS 4.x. > > My script: > > nscookie.php: > &

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Chad Day
nd of a pain, but this is what I get for trying to make a site NS 4.x compatible I guess. Is there any way to specify the domain of a cookie with NS 4.x in this kind of situation? Thanks, Chad -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09,

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Chad Day
rap. >:( Chad -Original Message- From: Jaime Bozza [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 9:07 AM To: 'Chad Day' Cc: 'php general' Subject: RE: [PHP] Cookie handling, NS 4.x? Hello, By any chance, is your website named http://domain.com or is

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Chad Day
er 10, 2002 9:33 AM To: 'Chad Day' Cc: 'php general' Subject: RE: [PHP] Cookie handling, NS 4.x? The original cookie specifications required that the domain in the cookie has at least 2 (or 3 for domains not in the primary tlds) periods in it. (So as to stop someone from usin

RE: [PHP] Cookie handling, NS 4.x?

2002-12-10 Thread Chad Day
, and I can continue using Header: calls .. hmm. Thanks for all the help, Jaime and Chris, much appreciated. Chad -Original Message- From: Jaime Bozza [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 10:22 AM To: 'Chad Day' Cc: 'php general' Subject: RE: [P

[PHP] Creating access DB in PHP ..

2002-12-19 Thread Chad Day
Not sure if this is possible, and I haven't turned up what I'm looking for in my searches yet.. I am running PHP on a FreeBSD box .. I need to create an Access database, fill it in with some data, and have a client download it (as the software the client is using only imports mdb files). Is this

[PHP] Finding # of weekdays between 2 dates..

2002-12-26 Thread Chad Day
I found this function in the list archives while searching on how to find the number of a weekday (say, Tuesdays) between 2 dates.. function weekdaysBetween ($timestamp1, $timestamp2, $weekday) { return floor(intval(($timestamp2 - $timestamp1) / 86400) / 7) + ((date('w', $timestamp1)

RE: [PHP] Finding # of weekdays between 2 dates..

2002-12-27 Thread Chad Day
getting around it is setting futuredate to mktime(23, 59, 59, $month, $day, $year), but I still come up short .. those two timestamps, after all the math before the floor(), equals 4.71, which still results in a 4. I've tried ceil and round, but with similar inaccuracies in other dates (going 1 da

[PHP] Round robin script revisited..

2002-12-30 Thread Chad Day
I was trying to find a script to do round robin pairings for a sports schedule generator.. I was able to come across one in Perl, and am in the process of trying to convert it to PHP, but since my perl knowledge is a bit (well, a lot) lacking, I was hoping someone could help.. Perl script: http:

RE: [PHP] Warning?

2002-12-30 Thread Chad Day
You can't have any text output to the browser before a redirect. Make sure you have nothing abouve line 58 echoing out text (specifically whatever is in line 2, judging by your error) .. I believe I've had the problem when I've included a file where the 1st line was blank, so you may want to check

RE: [PHP] Round robin script revisited..

2002-12-30 Thread Chad Day
array_push($teamarray, $last_team); } */ } // echo ''; print_r($games); ?> -Original Message- From: Chad Day [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 10:57 AM To: php general Subject: [PHP] Round robin script revisited.. I was trying to find a scri

RE: [PHP] Round robin script revisited..

2002-12-30 Thread Chad Day
, $last_team); if ($even) { array_push($teamarray, $last_team_save); } Hope this helps anyone else who needs it. Chad -Original Message- From: Chad Day [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 2:03 PM To: php general Subject: RE: [PHP] Round robin

[PHP] Recommend payment processors?

2003-01-03 Thread Chad Day
Just wondering what people are using/recommend out there.. I'm going to be getting a merchant account and let people purchase services through my website on a secure server, all in PHP. What concerns me is this archived post I came across: http://marc.theaimsgroup.com/?l=php-general&m=10216562360

RE: [PHP] Recommend payment processors?

2003-01-03 Thread Chad Day
processors? I use PayPal. Does not require a merchant account. PHP payment interface and interaction is easy to implement. Via HTML in your webpage, you pass to PayPal the URL of the PHP script to be executed when a payment is received. - Original Message - From: "Chad Day" &l

[PHP] Template tutorials?

2003-01-10 Thread Chad Day
I'm googling around for template tutorials and such after seeing a link to the Smarty template engine .. can anyone point me to any particularly good ones? I've always been going with the 'one-file' approach .. which I think it's time I changed. Thanks, Chad -- PHP General Mailing List (http:/

[PHP] array_sum, multidimensional arrays?

2003-01-21 Thread Chad Day
Is it possible to use array_sum to add up values in multidimensional arrays? I have an array like: $array[0]["VALUE"] = 10; $array[1]["VALUE"] = 8; $array[2]["VALUE"] = 5; $array[0]["OTHERVALUE"] = 20; $array[1]["OTHERVALUE"] = 15; $array[2]["OTHERVALUE"] = 9; Thanks, Chad -- PHP General Mail

[PHP] security question regarding including files..

2003-01-21 Thread Chad Day
I want to give my users the ability to submit a URL to a database, then when they pull up their page, their photo is included .. what I'm worried about is them pointing the link to some malicious code or something.. Obviously I can validate the file extension (.gif or .jpg) .. and I'm going to for

[PHP] Sorting multidimensional arrays..

2003-01-30 Thread Chad Day
I'm struggling with array_multisort, was hoping someone could give me some help. I have a multidim array, such as: $myarray[0][FIRSTNAME] = JOE $myarray[1][FIRSTNAME] = TIM $myarray[2][FIRSTNAME] = BOB $myarray[0][LASTNAME] = SMITH $myarray[1][LASTNAME] = BROWN $myarray[2][LASTNAME] = JONES $my

[PHP] setcookie() in various browsers..

2003-02-07 Thread Chad Day
This is with PHP 4.2 and register_globals off. I am setting cookies and starting a session in the following fashion: setcookie("EMAILADDR", $row[EMAIL], time()+2592000, '/', ".$dn"); where $dn = mydomain.com I want the cookies accessible sitewide .. at www.mydomain.com, mydomain.com, forums.myd

RE: [PHP] Limit the amount of returns in a MySQL query

2003-02-07 Thread Chad Day
if (!isset($startlimit)) { $startlimit = 0; } $endlimit = $startlimit + 10; $yourquery = "your query data LIMIT $startlimit, $endlimit" that should give you enough insight on how to work it. Chad -Original Message- From: Daniel Page [mailto:[EMAIL PROTECTED]] Sent: Friday, Febr

RE: [PHP] setcookie() in various browsers..

2003-02-10 Thread Chad Day
Following up from Friday.. no replies over the weekend.. can anyone help? Thanks, Chad -Original Message- From: Chad Day [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:02 PM To: php general Subject: [PHP] setcookie() in various browsers.. This is with PHP 4.2 and

RE: [PHP] setcookie() in various browsers.. 3rd followup.. anyone?

2003-02-11 Thread Chad Day
This is with PHP 4.2 and register_globals off. I am setting cookies and starting a session in the following fashion: setcookie("EMAILADDR", $row[EMAIL], time()+2592000, '/', ".$dn"); where $dn = mydomain.com I want the cookies accessible sitewide .. at www.mydomain.com, mydomain.com, forums.myd

[PHP] problem with mysql / auto increment fields.. ?

2003-02-19 Thread Chad Day
On my website there are a couple places where people can sign up .. The querys after the sign up process look like $blahblah = query(insert firstname lastname) values (blah blah blah) $userid = mysql_insert_id($blahblah); $insertintoothertable = query(userid, blah blah blah) etc. it then uses t

[PHP] Reading remote image into a file and displaying..

2003-02-20 Thread Chad Day
I'm trying to get weather channel information without using their form to submit the zip code .. the url format is : http://oap.weather.com/fcgi-bin/oap/generate_magnet?loc_id=$ZIP&code=689861&; destination=$ZIP so I tried: $weatherfile = readfile("http://oap.weather.com/fcgi-bin/oap/generate_ma

[PHP] omitting the #!

2003-07-18 Thread Rob Day
First of all, I apologize if I'm asking a question with an obvious answer. I do my php development on a Windows 2000 machine. Whenever I move php apps to the production server I have to add the path to php (#!/usr/bin/php) to the top of every php file. Is there some way I can configure the Apache

[PHP] PHP Mailing list software..

2003-06-06 Thread Chad Day
form, which would require a u/p stored in mysql, preferably in md5 format. I know I'll have to do a lot of customization to get it to integrate into my site, but I'm looking for a solid script that I need to tweak the least. Any suggestions? Thanks, Chad Day -- PHP General Mai

[PHP] FreeBSD 4.6 / PHP 4.2.2 / Apache 2.0.39 install trouble

2002-07-25 Thread Chad Day
Simple build, no real complicated configure options (--with-mysql, --with-apxs2..) .. During make: php_functions.c:93: syntax error *** Error code 1 Stop in /usr/local/php-4.2.2/sapi/apache2filter. etc etc Any idea what the problem would be? I googled around for a little and heard there mig

RE: [PHP] FreeBSD 4.6 / PHP 4.2.2 / Apache 2.0.39 install trouble

2002-07-25 Thread Chad Day
ifficult to get working. :\ Chad -Original Message- From: Tech Support [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 2:49 PM To: Chad Day Subject: Re: [PHP] FreeBSD 4.6 / PHP 4.2.2 / Apache 2.0.39 install trouble Without seeing exactly what steps you took in building both apache and

[PHP] ldap_modify parameters?

2002-08-01 Thread Chad Day
I think something is wrong with the way I am calling ldap_modify, but I'm not sure exactly what, from the scripts and tutorials I've been looking at/experimenting with: $ds=ldap_connect("online-leagues.com"); if ($ds) { $r=ldap_bind($ds, 'username', 'password');

RE: [PHP] ldap_modify parameters?

2002-08-01 Thread Chad Day
ites/online-leagues.com/htdocs/ldapform.php on line 31 Chad -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 9:41 AM To: Chad Day Cc: [EMAIL PROTECTED] Subject: Re: [PHP] ldap_modify parameters? I think your problem is that you are passing

[PHP] Pairing algorithm?

2002-08-12 Thread Chad Day
Has anyone written any sort of pairing algorithm for a round robin sports schedule, or something similar? I couldn't find anything in the archives surprisingly, and I'm looking around google and not turning up much except some PDFs and white papers addressing the mathmatical complications of it.

RE: [PHP] Pairing algorithm?

2002-08-12 Thread Chad Day
oundcount++; } ?> -----Original Message- From: Bas Jobsen [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 12:19 PM To: Chad Day Subject: Re: [PHP] Pairing algorithm? Hi Never Seen it in php. There are many variants, mostly depending on your needs. Do you have the algorithm you

[PHP] PHP to Excel?

2002-06-18 Thread Chad Day
I'm trying to get data from my MySQL database into Excel using PHP. I know and I am doing it right now by generating a CSV file, but is there any way I can do formatting, like make certain cells bold, etc etc? Is there a list of codes somewhere I can use to put before my field output to make a f

RE: [PHP] PHP to Excel?

2002-06-18 Thread Chad Day
- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 11:47 AM To: Martin Lucas; 'Chad Day'; [EMAIL PROTECTED] Subject: Re: [PHP] PHP to Excel? The layout on that site is so annoying. Yeah, it looks pretty, but it's annoying. It's PHP2Excel BiffW

[PHP] multi dimensional arrays / radio buttons / mass confusion on my part

2002-07-09 Thread Chad Day
Ok.. what I have is a database of first names and last names, and some other columns that don't matter here. A form is presented to a user, lets them enter a bunch of names, attributes of the person, etc. After submission, each record is checked against the current database to see if the name cu

[PHP] Dumb session / cookie / password questions

2002-07-10 Thread Chad Day
I am a little confused about storing stuff in cookies/sessions and how to prevent spoofing of them. A user logs in, his e-mail address or user id and password(md5'ed) is checked against my database. Assuming it matches, I then set a cookie with the users id + email. What is to stop someone from

[PHP] Sessions / logins / cookies / security

2002-07-16 Thread Chad Day
I asked something similar a little while ago, but didn't do a good job clarifying. What I'm looking to do is when a user logs in, I start up the session.. I then have the registered session var to verify they are authenticated as they move throughout the site. Now, when they close the browser an

RE: [PHP] Sessions / logins / cookies / security

2002-07-16 Thread Chad Day
Anyone? Can someone at least point me to some web article for recommendations? I saw some examples where a password variable was stored, but is that really safe (as long as I MD5 it first?) Chad -Original Message- From: Chad Day [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002

[PHP] Returning part of a string, ereg..

2001-04-17 Thread Chad Day
I'm horrible at regex's, maybe someone can help me out. What I'm trying to do is parse a string in the format: number-number-number (ex. 1-23123-312039128) I need to pull that second number, regardless of length This code returns nothing: $part = ereg("([0-9]{1})-([0-9])-", $f, $regs); but

[PHP] FTP problem..

2001-04-24 Thread Chad Day
I'm trying to write a script to ftp the contents of one directory structure onto another server.. I'm having problems recursing the directories, either it a) doesn't do it or b) gets stuck in a loop. Here's the function I'm having the problem with.. function recurseUp() { global $conn_i

[PHP] help with header/cookies ..

2001-05-17 Thread Chad Day
I'm submitting a form to a search page that performs different searches based on what engine was selected. One of these searches is restricted, and runs a function that checks for a cookie. If the user has no cookie, they are redirected to a login page. I've used echo tests to make sure the fun

RE: [PHP] help with header/cookies ..

2001-05-17 Thread Chad Day
Sweet, thanks! Fixed it .. learn something new every day .. Chad -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 12:19 PM To: Php-General@Lists. Php. Net Subject: RE: [PHP] help with header/cookies .. Add an exit(); immediately following

RE: [PHP] Problems upgrading PHP..

2002-05-02 Thread Chad Day
php.ini didn't exist before apparently on this server I'm on.. or rather, it was a 0 byte file. Thanks, Rasmus. Chad -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 2:58 PM To: Chad Day Cc: [EMAIL PROTECTED] Subject: Re: [PHP

RE: [PHP] Problems upgrading PHP..

2002-05-02 Thread Chad Day
reads: './configure' '--with-mysql' '--with-apxs' but I know I did ./configure --with-mysql=/usr/local --with-apxs=/mypathtoapxs etc etc .. Still really confused.. Chad -Original Message- From: Chad Day [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002

[PHP] Mailing list software recommendation?

2002-05-23 Thread Chad Day
I'm looking for PHP/MySQL based mailing list software for a project I'm doing.. I plan on hosting a bunch of virtual domains and having to set up mailing lists for all of them, and I don't want to go installing a new copy of the software for each virtual domain. The rest of the site is in PHP and

[PHP] accessing flash files using php

2002-02-25 Thread John Day
Hi Is it possible to access a flash movie and then go to a certain frame within that movie. I know that you can create flash files and then use all manner of flash related functions, but I want to access an already existing movie. Cheers JD

RE: [PHP] Problem about Reading input from a Form

2002-02-25 Thread John Day
You need to add the POST method to your form tag Cheers JD -Original Message- From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: [PHP] Problem about Reading input from a Form I can't take the variables $u

RE: [PHP] PHP Forms

2002-02-26 Thread John Day
Hi I think your mysql_query is wrong. You need to include the $db variable in the query otherwise it doesn't know where to put the stuff. $result = mysql_query($sql, $db); Cheers JD -Original Message- From: Chiew, Richard [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25

[PHP] Problem reading in and displaying an image...

2002-04-02 Thread Chad Day
I'm trying to read in a 1x1 pixel file and display it, basically to assist in setting 3rd party cookies (our other affiliated sites that don't follow under the same domain.. it's really sloppily set up, but thats another story).. The problem I have is the script is just hanging, sits there and do

[PHP] Including a URL for mailing..

2001-04-11 Thread Chad Day
What I'm trying to do is specify a URL in a form, and then take that URL, put its contents into a variable, and mail it out in an e-mail message with the body of the message being that URL. I haven't gotten anywhere so far, just getting blank messages for the body.. can anyone point me in the r

RE: [PHP] Including a URL for mailing..

2001-04-11 Thread Chad Day
Various things, but I finally hit upon something that worked. Thanks anyway. Chad -Original Message- From: Rodney J. Woodruff [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 5:03 PM To: Chad Day Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Including a URL for mailing.. What

[PHP] PHP / gd problems / compiling

2001-06-20 Thread Chad Day
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: Warning:

[PHP] problems with round ..

2001-06-26 Thread Chad Day
I'm trying a simple round in php4 and having problems .. rounding to 2 decimal places.. $BLAH = round($BLAH, 2); Spits out a wrong parameter error. I've tried quotes around the variable, the parameter, and any combinations, but it still pukes on me. Why can't I specify a precision? Thanks, Ch

RE: [PHP] problems with round ..

2001-06-27 Thread Chad Day
le <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Chad Day") wrote: > $BLAH = round($BLAH, 2); > > Spits out a wrong parameter error. I've tried quotes around the variable, > the parameter, and any combinations, but it still pukes on me. Why can't I > specify a precis

[PHP] addslashes problem ..

2001-07-06 Thread Chad Day
I have to use addslashes on a string of mine so I can use it in a javascript function, so that when a link is clicked, a html textarea box is populated with that string. The problem I have is that if there are line breaks in the string, the 's seem to get created when addslashes is run on the str

[PHP] string formatting help

2001-07-06 Thread Chad Day
I'm trying to pull a string from a database to use in a javascript function.. but it's doing line breaks on me, which in turn messes up the javascript. The string in the mysql db is like: kjdsakjadkskjdkskjkdfjdfkjfd When I pull it out, it becomes: kjdsakjadk skjdks kjkdfjdfkjfd I've tried

RE: [PHP] Re: string formatting help

2001-07-06 Thread Chad Day
PONSE]); $OVERLIBBED = str_replace(chr(13), "", $RESPONSE); $OVERLIBBED = str_replace(chr(10), "", $OVERLIBBED); is what worked for me .. Thanks all, Chad -Original Message- From: Steve Edberg [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 4:2

[PHP] Not sure how to describe this problem..

2001-07-10 Thread Chad Day
I have a chunk of code in a webpage that works like this, to rotate some ads.. : if ($row = mysql_fetch_array($getads)) { do { $POS = $row[LASTPOS]; $ID = $row[ID]; $POS++; if ($POS > $

RE: [PHP] auto link?

2001-07-16 Thread Chad Day
Here's a function I use on a text field.. function activateUrls( $s ) { $o = ''; while ($s != '') { $url = ''; $temp = split('://', $s, 2); if (count($temp)>1) { # '://' found; now extract schema $s = $temp[1]; $temp2 = split('[^[:alpha:]]', strrev($temp[0]), 2);

RE: [PHP] Example high-profile PHP sites

2001-07-26 Thread Chad Day
How about my site.. http://www.bangable.com Might not be the kind of site you want to put on your list, but we do get a lot of traffic.. 4 million page views a month. All PHP/mysql. Chad -Original Message- From: Maurice Rickard [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001

[PHP] Session problem

2001-08-06 Thread Chad Day
PHP 4.0.2 .. I have a very basic script, gets the user's name, registers it, then displays "Welcome, $NAME." $NAME is the session registered name. If I constantly reload that page that says Welcome, sometimes $NAME appears, sometimes not. Completely random. It just loses track of the variabl

RE: [PHP] Session problem

2001-08-07 Thread Chad Day
I tried this, I still have the same problem. Is this a bug in the version of PHP I am running? Chad -Original Message- From: mike cullerton [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 4:58 PM To: Chad Day; [EMAIL PROTECTED] Subject: Re: [PHP] Session problem i would try

RE: [PHP] Session problem

2001-08-07 Thread Chad Day
forkani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 9:37 AM To: Chad Day Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Session problem oh i forgot!!! you have to put this at the beginning of your page indeed it's not working properly, first of all please make sur the pages are not cashed

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
I wish it did. Still the same problem. Hello visitor, you have seen this page times. http://www.militarycity.com/classified/realtors/count.php Chad -Original Message- From: karthik [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 1:08 AM To: Chad Day Subject: Re: [PHP

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
0:37 AM To: [EMAIL PROTECTED] Cc: 'Chad Day' Subject: RE: [PHP] Session problem On Wednesday, August 08, 2001 at 9:16 AM, Chad Day said: > I wish it did. > > Still the same problem. > > session_start(); > global $count; > session_register ("count"); > $co

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
tten.. Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- Chad Day <[EMAIL PROTECTED]> wrote: > Nope. Same problem. I'm seriously thinking there's > a bug in the version of > PHP I am running at this point, but I searched > php.net and found no mention > of

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
Still not working. My script is -exactly- as you have it below, and I believe I've tried that before. (begins pulling out hair) Chad -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 2:31 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Sessi

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
ginal Message- From: Chad Day [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 2:36 PM To: Johnson, Kirk; [EMAIL PROTECTED] Subject: RE: [PHP] Session problem Still not working. My script is -exactly- as you have it below, and I believe I've tried that before. (begins pullin

[PHP] Capturing several checkbox values

2001-09-25 Thread John Day
Hi, I have a page containing about 50 different checkboxes, the user can select as few or many as they like. When they submit the form I want the values/names of the checkboxes that they selected to be displayed on the next page, i.e. a thankyou page. Any help is much appreciated. JD -- PHP Gen

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Col Day
Kranthi Many thanks, any idea on the name of the error logs? Peter, Yes, browsing to the correct location but still getting the 403. this website requires you to log in. Abah, I've gone to the httpd-userdir.conf file and replaced it with your text (not including the directory tree), restarte

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Col Day
Hi Kranthi, No, I just literally get the "HTML" line shown but absolutely nothing beneath it. "kranthi" wrote in message news:aanlktin2xnthqm-pp7qwtgo=sqtkctthtwz+08bbw...@mail.gmail.com... they should be something like error_log-[date] not sure about windows though However I have found t

[PHP] New to PHP and struggling with the basics

2010-10-04 Thread Col Day
ting PHP 5.0.0 as the latest release so not too far away really. Thanks for your help. Cheers. Col Day -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Col Day
alhost (or at least it didn't used to) Steve On Mon, 2010-10-04 at 13:51 +0100, Col Day wrote: Hi Kranthi, No, I just literally get the "HTML" line shown but absolutely nothing beneath it. "kranthi" wrote in message news:aanlktin2xnthqm-pp7qwtgo=sqtkctthtwz+08bbw...@

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Col Day
ofile. Doh! Cheers again all! ""Col Day"" wrote in message news:a2.70.25536.9a5f9...@pb1.pair.com... Steve, That's superb, many thanks for the link! I shall give it a go! Yes I did install apache then php, however I tried to follow the instructions in the Dummies b

[PHP] Continuance of the struggle (trying to understand)

2010-10-05 Thread Col Day
Hi all, After my escapades with the real basics and realizing my laptop wasn't logged on as Administrator, I now am trying to work out why this script works sometimes but not others. PHP Test This is an HTML line This is a PHP line"; phpinfo(); ?> If

[PHP] Re: Continuance of the struggle (trying to understand)

2010-10-05 Thread Col Day
""Col Day"" wrote in message news:23.81.45586.2820b...@pb1.pair.com... Hi all, After my escapades with the real basics and realizing my laptop wasn't logged on as Administrator, I now am trying to work out why this script works sometimes but not othe

Re: [PHP] Re: Continuance of the struggle (trying to understand)

2010-10-05 Thread Col Day
news:aanlkti=4ke1stf8tan7+ecjo-ux5cj=t9-0qctcfk...@mail.gmail.com... Col, Can you let us know what exactly you see when you say http://localhost:/phptest.php ? Regards, Shreyas On Tue, Oct 5, 2010 at 4:20 PM, Col Day wrote: ""Col Day"" wrote in message news:23.81.4

[PHP] Re: New to PHP and struggling with the basics

2010-10-05 Thread Col Day
Thanks Gary! Nice to know I'm not the only one who has struggled with the Basics. Hopefully I can get my brain around it sometime soon. Cheers Col. "Gary" wrote in message news:i8f1r9$j4...@dough.gmane.org... Col Day wrote: Yes I did install apache then php, however I

[PHP] Re: Continuance of the struggle (trying to understand)

2010-10-05 Thread Col Day
LOL! This is WITH xammp!! "Gary" wrote in message news:i8f26m$j4...@dough.gmane.org... Col Day wrote: ""Col Day"" wrote in message news:23.81.45586.2820b...@pb1.pair.com... PHP Test This is an HTML line This

Re: [PHP] Re: Continuance of the struggle (trying to understand)

2010-10-07 Thread Col Day
atever your web server software is) to have it spit back to a web browser client. Hopefully this makes sense, it is early here, i am just getting into work :(, and it made sense while i was typing it... but my coffee intake has not had time to work it's wonderful magic with me yet, so my though

[PHP] Please help me understand gmmktime()

2004-02-11 Thread Richard Day
Hello: Environment: Linux server PHP 4.3.4 This code: echo ''.strftime('%T %Z',mktime()).', Timestamp='.mktime(); echo ''.strftime('%T GMT',gmmktime()).', Timestamp='.gmmktime(); yields this result: 23:52:08 EST, Timestamp=1076475128 18:52:08 GMT, Timestamp=1076457128

RE: [PHP] Pricing for PHP programming???

2001-01-31 Thread Chad Day
I charge a rate of $80 an hour or so, and haven't had any problems. Chad -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 3:38 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Pricing for PHP programming??? $3000 - $10,000 cdn month depending o

RE: [PHP] contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")

2001-02-01 Thread Chad Day
Well, actually, I own phpspot.com but never got the time to actually DO anything with it. Might as well put it to good use.. if someone wants to develop a site (and I might even have time to help, woo hoo!), I'd be in on it. Chad -Original Message- From: DELAP, SCOTT F (SBCSI) [mail

RE: [PHP] To The Hacker: CodeBoy

2001-02-08 Thread Chad Day
Your momma pays full commission! (sorry, couldn't resist) >As far as hacking is concerned, I wouldn't know my arse from my elbow :) > >James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] best way to determine (MIME) content type of a stream of bytes?

2010-03-08 Thread Robert P. J. Day
rently running only PHP 5.1.6. thanks. rday -- ==== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://crashcourse.ca Twitte

Re: [PHP] best way to determine (MIME) content type of a stream of bytes?

2010-03-08 Thread Robert P. J. Day
On Mon, 8 Mar 2010, Ashley Sheridan wrote: > On Mon, 2010-03-08 at 10:57 -0500, Robert P. J. Day wrote: > > > hi, i'm interested in the most comprehensive way to determine the > > content type of a stream of bytes that's been uploaded to a PHP > > script? as

Re: [PHP] best way to determine (MIME) content type of a stream of bytes?

2010-03-08 Thread Robert P. J. Day
out my eyes with a soup spoon. :-) rday -- ======== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page:

[PHP] best way to set up an include path for a multi-level project?

2010-03-16 Thread Robert P. J. Day
g users to simply set a single env var has always worked for me. is that what others do to solve this? thanks. rday -- ==== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, T

Re: [PHP] best way to set up an include path for a multi-level project?

2010-03-17 Thread Robert P. J. Day
On Tue, 16 Mar 2010, John Black wrote: > On 03/16/2010 06:57 PM, Robert P. J. Day wrote: > >i have a project (let's call it "proj") which lives in the "proj" > > directory and which contains several subdirs, some of which might > > contain their

RE: [PHP] best way to set up an include path for a multi-level project?

2010-03-17 Thread Robert P. J. Day
ROJ_DIR depending on which one they want to pick up for their code. does that more clearly explain what i think the right approach is? rday -- ======== Robert P. J. Day Waterloo, Ontario, CANADA

RE: [PHP] best way to set up an include path for a multi-level project?

2010-03-17 Thread Robert P. J. Day
standing you? rday -- ======== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://cra

[PHP] any reason *not* to use PEAR DB module when accessing mysql?

2010-03-19 Thread Robert P. J. Day
or or against? rday -- ======== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://cr

Re: [PHP] any reason *not* to use PEAR DB module when accessing mysql?

2010-03-19 Thread Robert P. J. Day
On Fri, 19 Mar 2010, Mattias Thorslund wrote: > Robert P. J. Day wrote: > > (just a warning -- as a relative newbie to PHP, i'll probably have > > the occasional dumb question. just humour me.) > > > > i'm looking at some existing PHP code that access

[PHP] where to make observations about current PHP manual?

2010-03-19 Thread Robert P. J. Day
eird, no? rday -- ==== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://crashco

[PHP] Re: where to make observations about current PHP manual?

2010-03-19 Thread Robert P. J. Day
On Fri, 19 Mar 2010, Shawn McKenzie wrote: > Robert P. J. Day wrote: > > i don't see a separate mailing list for documentation so is this > > where i would point at oddities in the manual? as in, here: > > > > http://www.php.net/manual/en/language.variab

Re: [PHP] where to make observations about current PHP manual?

2010-03-20 Thread Robert P. J. Day
On Fri, 19 Mar 2010, Daniel Brown wrote: > On Fri, Mar 19, 2010 at 16:59, Robert P. J. Day wrote: > > > >  i don't see a separate mailing list for documentation so is this > > where i would point at oddities in the manual?  as in, here: > >

Re: [PHP] Re: where to make observations about current PHP manual?

2010-03-20 Thread Robert P. J. Day
On Fri, 19 Mar 2010, Daniel Brown wrote: > On Fri, Mar 19, 2010 at 20:57, Robert P. J. Day wrote: > > > >  i'm not sure that addresses my post -- it doesn't make grammatical > > sense to state that something is unavailable "since" something that is >

  1   2   >