Re: [PHP] Sorting files in a directory

2007-08-09 Thread Chad Robinson
as an exe3rcise for the student. =) Regards, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Premature Ajax-ulation

2007-08-03 Thread Chad Robinson
it simply cannot ever be completely secured. Period. Seeing something like this just shows me a developer that trusted the client, and it doesn't particularly surprise me when they get burned. Regards, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Includes eating up my time

2007-07-31 Thread Chad Robinson
? PHP does have an auto-include system called the autoloader. We use this heavily in Blackbird ESB to load classes on the fly when they're referenced. It only works for loading classes, but since you say that's what you have... Take a look here: http://us.php.net/autoload Regards, Chad -- PHP

Re: [PHP] import spreadsheet

2007-07-27 Thread Chad Robinson
rows/columns in the sheet and use it to set up your table, and populate your grid with cells. With the above data structure, that's a few minutes' work. Regards, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Authentication

2007-07-27 Thread Chad Robinson
the user to the login page using a GET or POST query to pass in the username. If it fails to get the username the login page can then just ask for it. At least, maybe it will give you enough to Google now. Regards, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Smarty template for parent-child form

2007-07-24 Thread Chad Robinson
/language.function.foreach.php What you do is assign the items to an array called, say, items. Then you use foreach in the template to iterate the array, just like you would in PHP itself. Example 7-8 (Contacts) is pretty close to what you're doing. Regards, Chad -- PHP General Mailing List (http

[PHP] Problem Removing Text Updater Password

2004-08-04 Thread Chad Daniel
am new to PHP and I am having a problem removing a password restriction from a simple Text Updater script (below). I have a bunch of files that need to be protected and I am planning to use .htaccess, but this script calls for the password to be input before allowing the update (redundant for my

[PHP] PHP Mailing list software..

2003-06-06 Thread Chad Day
, 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 Mailing List (http

[PHP] Is the problem a server setting?

2003-03-10 Thread Chad Henderson
($this-template))); 16 } What should I look for? thanks! Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is the problem a server setting?

2003-03-10 Thread Chad Henderson
news:[EMAIL PROTECTED] You should contact the web hosting system administrator and verify that they upgraded php. From what i can tell it seems that they did upgrade php. -- Ray On Mon, 2003-03-10 at 10:58, Chad Henderson wrote: I have a number of websites that are on a hosting company, that I

Re: [PHP] Is the problem a server setting?

2003-03-10 Thread Chad Henderson
. On Mon, 10 Mar 2003, Chad Henderson wrote: Thanks for the reply. If they did upgrade PHP, which I am fairly sure they did, are there changes to the new PHP that would prevent the script from working? Or is it a matter of them not setting up the upgrade the same as the previous installation

Re: [PHP] Is the problem a server setting?

2003-03-10 Thread Chad Henderson
allow_url_fopen is set to false or php was compiled with --disable-url-fopen-wrapper. Either way, checking the output of phpinfo() should give you your answer. mh. On Mon, 10 Mar 2003, Chad Henderson wrote: Thanks for the reply. If they did upgrade PHP, which I am fairly sure they did

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

2003-02-20 Thread Chad Day
/generate_magnet?loc_id=$_SESSI ON[ZIP]code=689861destination=$_SESSION[ZIP]); echo $weatherfile; but of course it just outputs the raw image data .. I tried echoing it out in a img src tag, same result. Is there some function I'm unaware of that will help me out here? Thanks, Chad -- PHP General Mailing

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

2003-02-19 Thread Chad Day
this userid var to insert them into a variety of other tables for other things on the site, such as a phpBB account, etc. if multiple people are signing up for accounts at different places, is there the possibility that a duplicate userid could be assigned, or anything like that? Thanks, Chad

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

2003-02-11 Thread Chad Day
of people seem to have the same question.. Thanks! Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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

[PHP] Sorting multidimensional arrays..

2003-01-30 Thread Chad Day
it. Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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 Mailing List

[PHP] security question regarding including files..

2003-01-21 Thread Chad Day
to force the files to be stored offsite - they dont get to upload anything to the server. I'm just a bit paranoid about this, so I'm hoping someone more security-minded can tell me what to watch out for, what to check, if I'm missing anything.. Thanks, Chad -- PHP General Mailing List (http

[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] Recommend payment processors?

2003-01-03 Thread Chad Day
=102165623600464w=2 Reading that, it sounds like it's not possible to use Payment Pro, or possibly other systems, with PHP .. is this correct? Some of the other posts in the archive sounded like people were using it, so I'm not really sure what is possible at this point. Thanks, Chad -- PHP General

RE: [PHP] Recommend payment processors?

2003-01-03 Thread Chad Day
? 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 [EMAIL PROTECTED] To: php

[PHP] Round robin script revisited..

2002-12-30 Thread Chad Day
direction, I'd appreciate it. Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Warning?

2002-12-30 Thread Chad Day
to check that as well.. Chad -Original Message- From: Doug Coning [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 12:25 PM To: php general Subject: [PHP] Warning? Hi everyone, I'm using Dreamweaver to create an insert page and after the record is inserted I receive this error

RE: [PHP] Round robin script revisited..

2002-12-30 Thread Chad Day
- 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 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

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

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

2002-12-27 Thread Chad Day
far in some cases with ceil). Perhaps this function I found is just not the right way to go about it, but if anyone has any more insight, it's greatly appreciated. Chad -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 2:48 AM To: Chad Day

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

2002-12-26 Thread Chad Day
, and I've confirmed the dates I've entered are correct.. echo weekdaysBetween($nowdate, $futuredate, 2); Returns 4 .. can anyone assist? Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Creating access DB in PHP ..

2002-12-19 Thread Chad Day
). Is this possible in any way, even if I have to go some route like creating it as a MySQL DB, doing a conversion to mdb (I've seen conversion tools for vice versa), etc? .. Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-12-10 Thread Chad Day
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, 2002 5

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

2002-12-10 Thread Chad Day
. :( 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 it http://www.domain.com

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

2002-12-10 Thread Chad Day
So, basically... cookies aren't going to work in NS 4.x if I specify a domain and need to do a redirect afterwards. (I tried the dot at the end, also no go) ... wow, that sucks. :\ Thanks, Chad -Original Message- From: Jaime Bozza [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10

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: [PHP] Cookie handling, NS 4

[PHP] Cookie handling, NS 4.x?

2002-12-09 Thread Chad Day
fine. In NS 7, this works fine. In NS 4.7 and 4.8 .. nothing is returned. No cookie is set in the cookies.txt file at all. Can anyone tell me why? I've been poking around the PHP manual pages but haven't come across anything let. Thanks, Chad -- PHP General Mailing List (http://www.php.net

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

2002-12-09 Thread Chad Day
, 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: setcookie(NSUSERNAME, 'cday', time()+2592000, '/', .mydomain.com

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

2002-12-06 Thread Chad Day
be available from basically anything.. apparently I was wrong. Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: upload files

2002-10-26 Thread Chad Cotton
I just wrote a file upload script and all the information that I needed was here in the manual: http://www.php.net/manual/en/features.file-upload.php There were a couple of common pitfalls that it points out, which you should check. Make sure you've defined the various configuration variables

[PHP] Commenting out characters?

2002-09-21 Thread Chad Winger
Simple question for the newbie...I hope... The following line is returning an error, and I can't figure out what and how to comment out. I assumed I had to \ the parentheses...but it doesnt work... any suggestion? echo 'TDA HREF=#IMG SRC=image.gif WIDTH=62 HEIGHT=15 BORDER=0

[PHP] Re: Commenting out characters?

2002-09-21 Thread Chad Winger
I figured it out...was the single quotes Disregard Chad Winger [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Simple question for the newbie...I hope... The following line is returning an error, and I can't figure out what and how to commen

[PHP] New problem - preg_match?

2002-09-18 Thread Chad Winger
Yes, I'm STILL a newbie :) I've gotten pretty far in a few days thanks to you all. I have a new question for you, maybe this is a bit easier than my last issue. Still using my text file example, which has lines such as: 0706010102|01.01.02|16:00|Serie C2|02|Forlì|Florentia Viola|

[PHP] Re: alphabetical order?

2002-09-17 Thread Chad Winger
Hello Rudolf, Thank you for responding to my post, I really appreciate it. I ran the script you sent me, and then I tried looking up the syntax to try to figure out what it means. As it would be pointless for me just to take suggestions that people send me and then not learn what they mean. The

[PHP] Help.....still stuck after 3 days :/

2002-09-17 Thread Chad Winger
Hello Rudolf, Thank you for responding to my post, I really appreciate it. I ran the script you sent me, and then I tried looking up the syntax to try to figure out what it means. As it would be pointless for me just to take suggestions that people send me and then not learn what they mean. The

[PHP] Cry for help

2002-09-12 Thread Chad Winger
thoughts, please reply via email or this forum. I sincerely appreciate it. Cheers, Chad in Florence, Italy [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Cry for help

2002-09-12 Thread Chad Winger
havent been able to resolve. So I have been trying to just have some of my fellow netizens to just point me to the right door in the HUGE hallway of doors that will get me into the proper room in which to learn. So thanks again -Tree Chad Winger [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED

Re: [PHP] Re: Cry for help

2002-09-12 Thread Chad Winger
go to the manual, and then learn how to write it. So this is my problem right now, basically not knowing WHAT to learn first. Thoughts? Thanks again -Tree - Original Message - From: Jay Blanchard [EMAIL PROTECTED] Newsgroups: php.general To: 'Chad Winger' [EMAIL PROTECTED]; [EMAIL

Re: [PHP] Re: Cry for help

2002-09-12 Thread Chad Winger
command cut to do the operations on the file. Use another exec() or system() and have it run cut -d | -f 4 yourfile.txt and then return you the output. Adam On Thu, 12 Sep 2002, Chad Winger wrote: Thanks for the reply :P I found it actually. Now I have the apache and php running, and

Re: [PHP] Re: Cry for help

2002-09-12 Thread Chad Winger
of tags in your head and visualize what its going to end up looking like on screen - you're going to have a hard time coding scripts to generate the stuff. 0.02 - actual mileage may vary - insert coin to generate more bs Cheers Will -Original Message- From: Chad Winger [mailt

RE: [PHP] How to handle multiple value checkboxes

2002-08-29 Thread Short, Chad
Use the [] along with the type of input you are using. Example: Select NAME=THING[] MULTIPLE This will send php an array of $thing with whatever is selected. Hope this helps. Chad. -Original Message- From: Lon Lentz [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 4:07 PM

[PHP] Pairing algorithm?

2002-08-12 Thread Chad Day
of it. Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Pairing algorithm?

2002-08-12 Thread Chad Day
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 want in pseudo code? Op maandag 12 augustus 2002 16:24, schreef Chad Day: Has anyone written any sort of pairing

[PHP] ldap_modify parameters?

2002-08-01 Thread Chad Day
the dn is right, but I'm not 100% sure now. Any ideas? Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ldap_modify parameters?

2002-08-01 Thread Chad Day
/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 the output of ldap_get_entries

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

2002-07-25 Thread Chad Day
? Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-07-25 Thread Chad Day
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 it would

[PHP] Sessions / logins / cookies / security

2002-07-16 Thread Chad Day
someone just change that ID value and 'become' another user? Thanks for any advice, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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] Dumb session / cookie / password questions

2002-07-10 Thread Chad Day
from spoofing that cookie? I obviously don't want to put the password in a cookie .. can someone point me in the direction of an article about this? I've searched around, but I'm not finding stuff about in a preventing spoofing / security aspect. Thanks, Chad -- PHP General Mailing List (http

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

2002-07-09 Thread Chad Day
in this yet, just been messing with the HTML form array stuff.. Sorry if this is confusing.. if any part needs clarification, please let me know. Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP to Excel?

2002-06-18 Thread Chad Day
a field bold, stuff like that? Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP to Excel?

2002-06-18 Thread Chad Day
Annoying doesn't begin to describe it. I'm going with the HTML/Excel Header bit, since Biffwriter costs way too much for a for-profit business to use. Thanks anyway.. looks pretty neat, and I'll probably use it for some other projects I do. Thanks, Chad -Original Message- From: 1LT

[PHP] Mailing list software recommendation?

2002-05-23 Thread Chad Day
seen anything addressing the virtual domain issue.. I'm sure there's something out there, ISPs and such have to be using something, I just don't know what it is.. Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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 2:52 PM To: Rasmus Lerdorf Cc

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

2002-04-02 Thread Chad Day
comment out the Header and echo $image; lines, the script works fine, it reads in the file with no problem it seems. But when I turn those 2 lines back on, it totally hangs. does anyone have any ideas? I am totally stumped. Thanks, Chad -- PHP General Mailing List (http://www.php.net

[PHP] Session Variables

2002-03-25 Thread Chad Gilmer
/public_html/php/login.php on line 11 Any Ideas??? Cheers Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] exec()

2002-02-18 Thread Chad
Does anyone know if I can exec a perl script from a php script even if my isp doesn't allow me to run perl scripts from the command line?

[PHP] Multi-dimensional nested arrays in Smarty

2001-10-27 Thread Chad Guilette
I've asked a few questions before on Smarty here and I've worked through them but this one really has me. I checked the Smarty lists for answers and couldn't find a clear answer. Here is my problem. i want to do something to this effect {section name=loop_index loop=$DATA_ARRAY}

[PHP] Multi-dimensional nested arrays in Smarty

2001-10-27 Thread Chad Guilette
I've asked a few questions before on Smarty here and I've worked through them but this one really has me. I checked the Smarty lists for answers and couldn't find a clear answer. Here is my problem. i want to do something to this effect {section name=loop_index loop=$DATA_ARRAY}

[PHP] Multi-dimensional nested arrays in Smarty

2001-10-26 Thread Chad Guilette
I've asked a few questions before on Smarty here and I've worked through them but this one really has me. I checked the Smarty lists for answers and couldn't find a clear answer. Here is my problem. i want to do something to this effect {section name=loop_index loop=$DATA_ARRAY}

[PHP] php or perl bug when execing php scripts?

2001-10-21 Thread Chad Cunningham
... -- Chad Cunningham [EMAIL PROTECTED] Well, once again my friend, we find that science is a two-headed beast. One head is nice, it gives us aspirin and other modern conveniences,...but the other head of science is bad! Oh beware the other head of science, Arthur, it bites! -- PHP General Mailing List

[PHP] include error with no includes

2001-09-05 Thread Chad Cunningham
-prepend file defined. Why is it trying to include the page from an Unknown file? Why aren't all the pages doing this? I have seen this on two different machines, both Linux, both were running php 4.0.4p1 and updating both to 4.0.6 didn't fix it... -- Chad Cunningham [EMAIL PROTECTED] Well, once again

Re: [PHP] include error with no includes

2001-09-05 Thread Chad Cunningham
I could be way off, but it sounds like a permissions problem. The user that your webserver runs as probably no longer has access to the page. Allright, how did I not think of that :) Seems someone has been messing around with permissions on the server, thanks! -- Chad Cunningham [EMAIL

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
I wish it did. Still the same problem. ?php session_start(); global $count; session_register (count); $count++; ? Hello visitor, you have seen this page ?php echo $HTTP_SESSION_VARS[count]; ? times.p http://www.militarycity.com/classified/realtors/count.php Chad -Original Message

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
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 anything .. Chad -Original Message- From: Brian Dunworth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 10:37 AM

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
/realtors/count.php Chad -Original Message- From: Bjorn Van Simaeys [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 1:09 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Session problem Maybe you have your cookies turned off in your browser? Something that is easily forgotten.. Greetz

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

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
to it .. Like, this will happen: You've seen this page 1 times (not gonna repeat the text) 2 3 4 5 1 // lost 1st session here 2 6 // regain 1st session 3 // switch 7 8 9 4 // switch no matter how many times I reload that page, it seems to generate a max of 2 sessions. wtf is going on? Chad -Original

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
Done, still not working. I know that usually has to be there, I was just going to copy the example from the manual directly, since the session should automatically kickoff when it hits the session_register bit. This truly has me baffled. Chad -Original Message- From: hassan el

[PHP] Session problem

2001-08-06 Thread Chad Day
: session_start(); echo Welcome, $NAME; So like, what the hell. Why would it keep losing track of $NAME? Thanks, Chad -- 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

RE: [PHP] Apache

2001-08-03 Thread Angerer, Chad
add yourself to the apache group in the groups file. This will allow you to do a chmod for the group on the apaceh dir so you are able to write to it. chmod +775 I think you would want to do on the directory. C -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

RE: [PHP] Re: FAQ

2001-08-01 Thread Angerer, Chad
Isn't it Personal Home Pages? Chad -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 10:55 AM To: php Subject: RE: [PHP] Re: FAQ Does anyone know what PHP stands for? PHP = People Hate Perl. No, that's just a joke, no flames please

RE: [PHP] HELP!! What wrong with this code...

2001-07-31 Thread Angerer, Chad
escape the double quotes around the href... with \ PHP thinks youe are ending the echo string prematurely. -Original Message- From: Steve Wright [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 11:13 AM To: PHP List Subject: [PHP] HELP!! What wrong with this code... Hey, i am

RE: [PHP] auto link?

2001-07-16 Thread Chad Day
$o; } Hope this helps, Chad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 1979 4:01 PM To: [EMAIL PROTECTED] Subject: [PHP] auto link? On Ray's advice I've given up on letting the users put html into my form. But I would like any http

[PHP] GD help

2001-07-13 Thread Angerer, Chad
td align=\center\$pctrd/td /tr /table; } On the page I get a broken image. If I view the source I see the image is being called with params. Any help would be appreciated. Thanks. Chad -- PHP General Mailing List (http

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

2001-07-10 Thread Chad Day
this? Thanks, Chad -- 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] addslashes problem ..

2001-07-06 Thread Chad Day
kinda merged all the strings together, no line breaks (or br's) at all. Thanks, Chad -- 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] string formatting help

2001-07-06 Thread Chad Day
I've tried replacing the br's with blank spaces or new line characters, but in the html code it still breaks on those breaks when I echo it back out. How can I force this string to be all on one line? Thanks, Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] Re: string formatting help

2001-07-06 Thread Chad Day
]); $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:29 PM To: Chad Day; [EMAIL PROTECTED

RE: [PHP] problems with round ..

2001-06-27 Thread Chad Day
Yes, it is. I've tried it on a couple different php4 servers, I've never gotten it to work. Chad -Original Message- From: CC Zona [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 8:00 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] problems with round .. In article [EMAIL

[PHP] problems with round ..

2001-06-26 Thread Chad Day
, Chad -- 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] Compiling .. or Re-Compiling.

2001-05-17 Thread Angerer, Chad
and and running. Now I want to add gd support and a few other options to PHP. Can I just recompile PHP and it will continue to function as normal or would I have to start at the beginning with openssl and recompile everything along with PHP? Any help is appreciated. Thanks Chad -- PHP General

[PHP] help with header/cookies ..

2001-05-17 Thread Chad Day
to search? What is wrong with my code? Is there something I'm missing about how I'm handling my headers/cookies? I have the check_cookie function working on several other parts of the site, but for some reason I can't get this to work .. :( Thanks, Chad -- PHP General Mailing List (http

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

[PHP] compile with apxs

2001-05-17 Thread Angerer, Chad
-l shows mod_so.c and apxs is pointing to the current path of my apache bin directory. I am not sure what else to try. Can someone help me out please. Thanks in advance. Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] Forms and PHP_SELF

2001-05-10 Thread Chad Guilette
baffled...how can I have a self-submitting form page that has a display message and a meta redirect but if the user refreshes the page stop the resumission of data? Regards, Chad Guilette -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] PHP Book?

2001-04-27 Thread Angerer, Chad
Professional PHP by WROX. Great book. It provides you with some real world examples. Chad Angerer HTML Programmer Internet Broadcasting Systems 651.365.4006 -Original Message- From: Hamed Nik [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 8:10 AM To: [EMAIL PROTECTED

[PHP] FTP problem..

2001-04-24 Thread Chad Day
; } } } } chDir('c:\inetpub\wwwroot\php\xfer'); ftp_cdup($conn_id); closedir($handle); } Does anyone see the problem? Thanks! Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] print and echo

2001-04-23 Thread Angerer, Chad
This has been answered several times I think check here http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40 CAA -Original Message- From: Wade [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 10:43 AM To: [EMAIL PROTECTED] Subject: [PHP] print and echo What's the

  1   2   >