[PHP] urlencoding.

2003-12-31 Thread Chris W
a note validation of the UserID has to be done on the server side, to check for duplicates in the MySQL db. I would also welcome insight on standard techniques to make sure the user isn't trying to break the code by sending bogus data. I am already checking that the data isn't longer than I am expecting. Chris W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] returning early from a function.

2003-12-31 Thread Chris W
any ideas on how to make this work or why it doesn't work? Chris W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] urlencoding.

2003-12-31 Thread Chris W
I don't know why I didn't look at the html source before I posted that question. The source looks like this VALUE=""jhgfhjf"" which tells why the field is showing blank. So now the question is what to do about it. I guess htmlspecialchars will take care of that? Thanks for hint on sessions,

[PHP] Redirecting and get length problems

2004-01-07 Thread Chris W
the data? The only other Idea I have is to put the information in a temporary table and just send a get with the key for the record in the table. Chris W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Odd strtotime behavior

2004-01-09 Thread Chris W
The following code doesn't do what I expect and I was wondering if someone could tell me why and how to make it do what I want. $NowT = strtotime("January 9 2004"); $EventT = strtotime("June 1 2004"); print ($EventT - $NowT)/86400; I get 143.95833 Why don'

[PHP] How do I do this select?

2004-01-11 Thread Chris W
I sent this to the mysql list but it doesn't seem to be working so I was hoping someone here could help. I have the following 2 tables. CREATE TABLE User ( UserKey INT NOT NULL AUTO_INCREMENT, UserIDCHAR(16) NOT NULL UNIQUE , Name VARCHAR(20), PRIMARY KEY (UserKey) ); CREATE T

[PHP] Security issues

2004-01-14 Thread Chris W
I wanted to run by everyone what I am doing in my application to help prevent someone from inadvertently or intensionally breaking the system and compromising security. First some quick background. This is an Apache/php/mysql project. It is a wish list database where people can create an account

Re: [PHP] Security issues

2004-01-14 Thread Chris W
[EMAIL PROTECTED] wrote: Hi Chris, First of all, thanks a lot for sharing your "modus operandi" with us. On 14 Jan 2004 at 7:32, Chris W wrote: I then verify that every character in the string is with in the ascii range of a space to the ~ which is basically all the characters

Re: [PHP] Please reply as fast as possible..

2004-01-18 Thread Chris W
SASSINC Internet Solutions - Arabic Department wrote: I want to make a PHP page that reads from a mySQL Database.. This page displays two fields for the user : 1- Username. 2- Password. Now in the database there are many columns.. each one has many fields : Username, Password, Serial, Phone No.,

[PHP] Re: how to check the form filled all

2004-01-19 Thread Chris W
do what ever you do when they don't fill out a required field; } Chris W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] another mysql question, sorry

2004-01-19 Thread Chris W
join between tables in different databases so they must think there is a good reason to do allow it. Even if it is an out of the ordinary case that calls for it. Chris W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cookie Guestion

2004-01-20 Thread Chris W
e are paranoid about cookies. I don't really see much of anything that can be done with cookies to invade someones privacy. Am I missing something here? Chris W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cookie problem with old browser.

2004-01-21 Thread Chris W
stripslashes($UserID), 0, '/', $mydomain); I know that $UserID and $mydomain are set right because it works in other browsers. BTW $mydomain is set to "thewishzone.com" but you need to use port 8086 on my testing machine to get at it. Could that be the reason netscape 4.79

Re: [PHP] Odd Code Error.

2004-01-21 Thread Chris W
way to compare 2 strings with out the old C function strcmp(), then use operator overloading like in C++. I also think that not forcing the user to declare variables and types before they are used is also a very bad idea and will lead to far more subtle bugs than if you do use type declarat

Re: [PHP] Odd Code Error.

2004-01-21 Thread Chris W
disadvantage in forcing decelerations of variables and functions, other than having to type more. I am sure there will be some but I am also reasonably sure I can counter all of them except the extra typing, which I have never found to be a significant factor. Chris W -- PHP General Mailing

Re: [PHP] Question about array limits & practicallity

2004-01-21 Thread Chris W
icacy of Boyc-Codd normal form from memory, just learn enough to have a good grasp on everything up to 3rd normal form, which isn't all that hard. Chris W I'm waiting till tomorrow to respond on all the challenges to my last post, so I can respond to all of them at once. -- PHP Gener

Re: [PHP] Question about array limits & practicallity

2004-01-22 Thread Chris W
werKey, QuestionKey) could be confusing. Maybe TestID, AnswerID, QuestionID would be better. Feel free to ask for more details or critique my and fix anything in my design. Chris W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] reverse http authentication

2007-02-16 Thread Chris W
I want to read a page that is protected with http authentication. How do I pass the user name and password to be authenticated with my php code? -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm&quo

[PHP] MySQLi and prepared statements

2009-10-19 Thread Chris W
If I am using the mysqli extension and prepared statements, after I execute bind_param, is there a away to print the actual query that gets sent to the server? -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesig

[PHP] simple xml object

2009-10-26 Thread Chris W
22133104871678' Attr: lastinspected = '9/29/2009 0:00' SimpleXMLElement Object ( [...@attributes] => Array ( [id] => 20080922133104871678 [lastinspected] => 8/28/2009 0:00 ) [0] => 1.1 ) Attr: id = '20080922133104871678' At

[PHP] sending mail with php on a linux box

2004-04-16 Thread Chris W
hat config file do I need to look at to do this? Chris W http://thewishzone.com:8086 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Bookmark server

2004-04-17 Thread Chris W
#x27;t work. Then I thought I could use the history array with javascript, but that only works if your script is signed and I don't want to go there. So now I am out of ideas and was wondering if anyone here had any. Chris W http://thewishzone.com:8086/ -- PHP General Mailing List (http://w

Re: [PHP] Bookmark server

2004-04-18 Thread Chris W
Justin French wrote: On 18/04/2004, at 10:35 AM, Chris W wrote: So now I am out of ideas and was wondering if anyone here had any. We're getting a little OT, but it's possible that a bookmarklet (a JavaScript bookmark) installed on all browsers you use could act as the method of gr

[PHP] security and extended ascii characters

2004-05-12 Thread Chris W
x27;t have these problems? Chris W Bring Back the HP 15C http://hp15c.org:8080 If you don't get the gifts you "really want", maybe The Wish Zone can help. http://thewishzone.com:8086 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] phpmyadmin

2004-05-24 Thread Chris W
s for time specification, extension will be automagically added. Any other text will be preserved." It sounds like this is for adding the date and time to file name for the backup but I can't figure out how it works. Chris W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP] Call to undefined function: mail() with SUSE 9.1

2004-06-02 Thread Chris W
I just moved my site to a new install of SUSE 9.1 and get the error.. Call to undefined function: mail() when ever I try to send a message. What is the easiest way to fix this since suse used postfix instead of sendmail. -- Chris W Bring Back the HP 15C http://hp15c.org Not getting the gifts

[PHP] mail

2004-06-15 Thread Chris W
]: C6EDA23A2F: uid=30 from= Jun 15 14:58:09 WebServer postfix/cleanup[2617]: C6EDA23A2F: message-id=<[EMAIL PROTECTED]> Jun 15 14:58:09 WebServer postfix/cleanup[2617]: C6EDA23A2F: to=, relay=none, delay=0, status=bounced (No recipients specified) -- Chris W Bring Back the HP 15

Re: [PHP] mail

2004-06-15 Thread Chris W
e is on the mta side or your php (and i assume database) code side. the only change I made was move the code from a suse 9.0 machine to an suse 9.1 machine at a different location. The code I am uisng to test is very simple -- Chris W Bring Back the HP 15C http://hp15c.org Not getting the gifts

[PHP] xml processing cdata

2008-05-09 Thread Chris W
( [id] => 2 [display-name] => 207069.pdf [file-name] => 207069.pdf [obj-type] => 1 [system] => 0 ) ) -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defecti

[PHP] Re: Division [maybe a bug]

2008-05-10 Thread Chris W
2,147,483,648 if you are dealing with numbers that large, consider using some arbitrary precision math functions that can work with as large of numbers as you need. http://us3.php.net/manual/en/refs.mathcrypto.math.php -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM,

[PHP] Re: Division [maybe a bug]

2008-05-11 Thread Chris W
jo opp wrote: 2008/5/11 Chris W <[EMAIL PROTECTED]>: jo opp wrote: Hello! $var1= 2155243640%31104000; $var2= 2147309244%31104000; echo $var1 // Return -24651656 echo $var2 // Return 1133244 $var2 return the correct result, but $var1 is wrong (the correct result is 9067640) Pr

Re: [PHP] validating textarea using php

2008-05-13 Thread Chris W
php6? From the article I read, that isn't one of them. -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm"; Ham Radio Repeater Database. http://hrrdb.com -- PHP General Mailing List (http://www.php.ne

[PHP] Validating Form input

2008-05-14 Thread Chris W
is it will cut down on the errors in data that get to the server and then in turn reduce the number for resubmits and keep traffic down a little. However since none of the projects I have worked on are very high traffic sites, that hasn't been much of a concern. Any thoughts? -- Chris W K

[PHP] Re: question about validation and sql injection

2008-05-15 Thread Chris W
var. If magic_quotes_gpc is off, you can and should remove the strip slashes function call. Note the only reason I use trim is to get rid of any white space that may be at the ends of the string. magic_quotes_runtime is OFF magic_quotes_sybase is OFF These should both be off too. -- Ch

[PHP] Re: changing order of items

2008-05-15 Thread Chris W
$TempID = $row['ID']; $TempPriority = $row['Priority']; $query = "UPDATE `todolist` SET `Priority` = '$Order' \n"; $query .= "WHERE `ID` = '$TempID' " run query $query = "UPDATE `todolist` SET `Priority` = '$TempPriority&

[PHP] String searching

2008-05-16 Thread Chris W
part must be only in the set described above. What is the easiest way to do this? -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm"; Ham Radio Repeater Database. http://hrrdb.com -- PHP General Ma

[PHP] urlencode and urldecode

2008-05-17 Thread Chris W
retty sure, that at one time on a server I used in the past, that I had to manually call urldecode to decode GET vars. Is there a setting to change this or is it something that changed in php in the last few years? -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate

[PHP] Re: array recursion from database rows

2008-05-24 Thread Chris W
nt "[li][a href='$URL']$Title[/a][/li]\n"; PrintMenu($MenuID, $MenuItemID); } print "[/ul]\n"; } } -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm"; H

[PHP] preg_match_all

2008-05-29 Thread Chris W
aren't any but just in case. preg_match_all("/(< *a[^>]*href[^>]+>)(.*)<\/a>/", $Line, $matches, PREG_PATTERN_ORDER); -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_dr

[PHP] module loading problems

2007-07-25 Thread Chris W
exif module and now it doesn't load either. Anyone have any idea why these 2 modules won't load when the others do? -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm"; Gift Giving Made Ea

Re: [PHP] module loading problems

2007-07-25 Thread Chris W
led to a halt, while other sites on my server work perfectly. Most annoying! Cheers, Rich -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm"; Gift Giving Made Easy Get the gifts you want & giv

[PHP] DOMDocument Size limit

2006-12-18 Thread Chris W
100k or maybe even more.| -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm"; Gift Giving Made Easy Get the gifts you want & give the gifts they want One stop wish list for any gift, from anyw

Re: [PHP] DOMDocument Size limit

2006-12-18 Thread Chris W
he job. I looked for something in the php.ini file but the only thing I found was output_buffering = 4096 and that doesn't seem like it would be a problem. -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/w

Re: [PHP] Why are my style sheets all listed on one line?

2004-01-30 Thread Chris W
Freedomware wrote: I'm still fairly new to PHP, so there may be a simple fix for my relatively trivial complaint. I'm using an included page as a head section. It works fine, except that when preview a page and view the source, all the style sheets are displayed on one long line, like this

Re: [PHP] Logging on to a web based application

2004-01-30 Thread Chris W
gin for users to view the content they paid for and don't make your honest users pay the price of putting up with annoying security mechanisms that the dishonest will always find a way around. Chris W. BTW IMO Flash is the most annoying on the net, far more so that pop adds. -- PHP General Ma

Re: [PHP] Recommendation on PHP encoder please

2004-02-04 Thread Chris W
your php scripts on your servers, who are you trying to prevent from seeing your code? It doesn't get sent to the client, only the output of the script gets sent. So what is the point? Chris W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] postfix and php on suse 9.1

2004-11-13 Thread Chris W
y=0, status=sent (delivered to mailbox) Nov 13 11:50:34 WebServer postfix/qmgr[3547]: 2CA3DD5AF: removed Here is the simple mail script that I am using to test Message sent. Thanks for the help. -- Chris W Bring Back the HP 15C http://hp15c.org Not getting the gifts you want? The Wish Zone can help.

[PHP] Re: postfix and php on suse 9.1

2004-11-13 Thread Chris W
://www.phpclasses.org/mimemessage Wouldn't it be easier to just fix the PHP config problem on the standard suse 9.1 install? Surely someone knows what the config error is and can tell me how to fix it/ -- Chris W Bring Back the HP 15C http://hp15c.org Not getting the gifts you want? The Wish Zon

Re: [PHP] Re: postfix and php on suse 9.1

2004-11-13 Thread Chris W
pache <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: test message This is a Test Message -- Chris W Bring Back the HP 15C http://hp15c.org Not getting the gifts you want? The Wish Zone can help. http://thewishzone.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP postfix mail problem no recipient problem on SUSE 9.1

2004-11-14 Thread Chris W
core PHP isn't a solution. If you want to see the error on your own SUSE 9.1 install just run the PHP test mail program and look at the mail logs. -- Chris W Not getting the gifts you want? The Wish Zone can help. http://thewishzone.com -- PHP General Mailing List (http://www.ph

[PHP] Re: PHP postfix mail problem no recipient problem on SUSE 9.1

2004-11-15 Thread Chris W
everything. ; 0: No overload ; 1: Overload mail() function ; 2: Overload str*() functions ; 4: Overload ereg*() functions ;mbstring.func_overload = 0 -- Chris W Bring Back the HP 15C http://hp15c.org Not getting the gifts you want? The Wish Zone can help. http://thewishzone.com -- PHP Genera

[PHP] Re: PHP postfix mail problem no recipient problem on SUSE 9.1

2004-11-15 Thread Chris W
t problem. I am confused as to why you needed to see that one line of the php.ini file before you could make the suggestion to add the -t. Now that I Know what the -t option is for, that would be the first thing I would suggest if I hear of someone getting the same errors. Any way thanks fo

Re: [PHP] phpmyadmin problems with quoting exported text

2005-11-09 Thread Chris W
Richard Lynch wrote: On Sun, November 6, 2005 2:17 am, Chris W wrote: I just tried to use the output of the export function on phpmyadmin and got a million errors. After looking at the file I found that certain columns that are strings were not quoted at all. I can't find any reaso

[PHP] can't restart session

2003-07-21 Thread Chris W. Parker
Hello, PHP 4.2.2 I'm working on a cart program right now and I can't properly log the user out. The only way I've been able to get a different session id is by closing all browser windows and reloading the site. Scenario: I go the site I'm working on and click the login page. I have 'echo sessi

RE: [PHP] can't restart session

2003-07-21 Thread Chris W. Parker
CPT John W. Holmes on Monday, July 21, 2003 12:39 PM said: > You have the same session id, but there is no data in it, so what's > the problem? The problem is that the server is still regarding it as the same session even if a different user comes along and logs in.

RE: [PHP] can't restart session

2003-07-21 Thread Chris W. Parker
CPT John W. Holmes on Monday, July 21, 2003 1:05 PM said: > Then something is wrong in your code. If you properly clear the > session of all of it's contents, then even if I pass the same session > id on the next page request, it should see me as a new user since > t

RE: [PHP] can't restart session

2003-07-21 Thread Chris W. Parker
CPT John W. Holmes on Monday, July 21, 2003 1:32 PM said: > Well, it can, and it does. I guess it's all in how you use it. If my > session id is "abcd", then when I log out, your program should erase > all of the data in the session and forget that it ever knew about

RE: [PHP] Re: How to..

2003-07-21 Thread Chris W. Parker
ComexEP on Monday, July 21, 2003 1:48 PM said: >> this is the problem, i have thought of the solution i.e. divide the >> functions into files. and then include only that file that has the >> function. but i thought i would ask you people how you handle this. >> may b

RE: [PHP] IE Issues

2003-07-22 Thread Chris W. Parker
Pete Morganic on Tuesday, July 22, 2003 7:39 AM said: > so which tag should i use .. ??? You should use proper mark up is what you should use. Or I think some people call it "the semantic web". Not exactly sure. But here is an example. You might normally have: H

RE: [PHP] can't restart session

2003-07-22 Thread Chris W. Parker
Adrian Portsmouth on Tuesday, July 22, 2003 12:19 AM said: > As I said, you are not calling your session user_info, the only way > to name a session is to use session_name() BEFORE session_start() if > you are not using a session_name call then change your setcookie

RE: [PHP] Array Simplification

2003-07-22 Thread Chris W. Parker
jwulff on Tuesday, July 22, 2003 3:58 PM said: > I've got a nested array below that I'm having some trouble simplyfing. > Here is an example of how the array is now: [snip] How are you creating the array in the first place? c. -- PHP General Mailing List (http:

RE: [PHP] arguments against moving site from Linux/Apache/PHP server to Windows/IIS/PHP needed

2003-07-23 Thread Chris W. Parker
Chris Shiflett on Wednesday, July 23, 2003 8:27 AM said: > ...the Gartner > Group (suits typically respect their opinion) has recommended that it > not be used in production > (http://www3.gartner.com/DisplayDocument?doc_cd=101034). Interesting. > If you receive pr

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Chris W. Parker
Petre Agenbag on Wednesday, July 23, 2003 12:55 PM said: > If you want to "use PHP", then you must use the headers() function. > BUT, with the header function, you MUST make sure that there will be > absolutely NO output to the page before the header() function is >

RE: [PHP] I'm really getting annoyed with PHP

2003-07-24 Thread Chris W. Parker
Pushpinder Singh Garcha on Thursday, July 24, 2003 11:10 AM said: > hello everyone, > > Can somebody tell me why meta-refresh is not preferred to do > re-directs ? I think because it breaks the back button (explained in more detail later). > using headers in php r

RE: [PHP] ARRAY QUESTION

2003-07-24 Thread Chris W. Parker
Dale Hersh on Thursday, July 24, 2003 12:41 PM said: > Lets pretend I have this array called myStuff. If I add two elements > to myStuff and call the count function, I will get a result of 2. My > question is how do I re-initialize the array after adding elements so

RE: [PHP] Include Problems

2003-07-24 Thread Chris W. Parker
Jay Blanchard on Thursday, July 24, 2003 1:12 PM said: > I just cleaned it up some, used non deprecated formatting tags and sis > it all in one shot. Yeah but Jay, you didn't allow for an else. Your code should have an else in there so that even if he's not at home

RE: [PHP] arguments against moving site from Linux/Apache/PHP server to Windows/IIS/PHP needed

2003-07-24 Thread Chris W. Parker
Jim McNeely on Thursday, July 24, 2003 1:57 PM said: > If you have to move to Windows, at least use Apache. I note in my > server access logs on my Windows test machine that people are trying > to hack in every day and I have a very obscure site just to test my > own

RE: [PHP] PHP should know my data!

2003-07-24 Thread Chris W. Parker
John Manko on Thursday, July 24, 2003 3:04 PM said: > Sometimes I wonder how long this > "innovative" technology will last when there are incompetent > languages like PHP, Perl, and Java. Color me disappointed. Color me ignorant, but what the heck are you talking a

RE: [PHP] Are left joins more efficient?

2003-07-25 Thread Chris W. Parker
[EMAIL PROTECTED] on Monday, August 25, 2003 9:59 AM said: > At the moment, all queries on the website follow the same format when > joining tables: > SELECT * FROM table1,table2 WHERE table1.id=table2.id; > > My question is, would this format be more efficient? > S

RE: [PHP] Detecting If A Variable Arrives At A Page From A Get Or A Post...

2003-07-25 Thread Chris W. Parker
[EMAIL PROTECTED] on Thursday, July 24, 2003 12:47 PM said: > I was wondering if there is a way to detect if any given variable > came in to a page via post, or a get from a form. if(empty($_GET['var'])) { if(empty($_POST['var'])) echo "varia

RE: [PHP] Odd escape code behavior

2003-07-25 Thread Chris W. Parker
Meeta Bhaduri on Friday, July 25, 2003 12:33 PM said: > Correct php code would be : > /mypath/my.gif > Works only if I remove the ">" : > > Can someone point out where I'm goofing up? Do this instead: > Also, I'm not on this list, so I'd appreciate replies > to

RE: [PHP] Script Execution Time

2003-07-28 Thread Chris W. Parker
Petya A Shushpanov on Monday, July 28, 2003 3:41 PM said: > class jTimer { [snip] > } > $timer = new jTimer; > $timer->start(); > > #your code here > > $timer->stop(); > echo round($timer->elapsed(),5); You could one up this class by creating another method

RE: [PHP] DHCP web interface. New version.

2003-07-28 Thread Chris W. Parker
Daevid Vincent on Monday, July 28, 2003 9:41 PM said: > Heya. I've just put up a new version of the DHCP web front end if > anyone is using it or has a need for this type of thing. New version? I din't even know you HAD a version. So for us people that have never h

RE: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Chris W. Parker
Peter James on Tuesday, July 29, 2003 9:33 AM said: > Just forwarding this reply back to the list. Damn that Reply button!! Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Chris W. Parker
Gabriel Guzman on Tuesday, July 29, 2003 9:44 AM said: > A tip on avoiding errors cause by not enough }'s is to close any > bracket immediately after you open it, so if I were writing a block > of code: Good tip. I do this too. > I would write the above first, and

RE: [PHP] PHP/MySQL best practice tutorial

2003-07-29 Thread Chris W. Parker
Tony Crockford on Tuesday, July 29, 2003 10:23 AM said: > I have a mySQL database containing items that are categorised four > levels deep. [snip] > can anyone point me to a tutorial that would help me switch from > nested select statements to something more elegan

RE: Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Chris W. Parker
Ford, Mike on Tuesday, July 29, 2003 11:00 AM said: > I know the braces vs. end-token debate is almost on the scale of a > holy war, and I admit to hating the curly-brace style with a passion, > but when I see code like this: > > function doit() > { > for() > { >

RE: [PHP] DHCP web interface. New version.

2003-07-29 Thread Chris W. Parker
Daevid Vincent on Tuesday, July 29, 2003 11:53 AM said: > Well, a quick click on the URL I gave > (http://daevid.com/examples/dhcp/) would immediately show you what it > was (live on my server) Actually, no, it doesn't "immediately show you what it was". That's why

RE: [PHP] help with php

2003-07-29 Thread Chris W. Parker
Billy on Tuesday, July 29, 2003 4:25 PM said: > hi im new to php. but i need help with a form. ive made an html form > but the thing is i needed it to send all the info from the boxes > above to an e-mail. this is my first time with this type of web > design could so

RE: [PHP] Re: help with php

2003-07-29 Thread Chris W. Parker
DvDmanDT on Tuesday, July 29, 2003 5:06 PM said: > I agree to Parker's post, but I think I understand you... Whoops... I should apologize. I missed the keyword "email" and read it as "another page". Sorry Billy. Chris. -- PHP General Mailing List (http://www.php.

[PHP] looking for scheduling program

2003-07-30 Thread Chris W. Parker
Hello, I'm looking for a fairly simple program. What I want is a program that will send an email to a predetermined address at a predetermined time. For example, I forget my family and friends birthdates very easily. I'd like to enter a "task" or a "note" for each person and tell the program to r

RE: [PHP] looking for scheduling program

2003-07-30 Thread Chris W. Parker
Richard Baskett on Wednesday, July 30, 2003 10:44 AM said: > Or just go to http://www.birthdayalarm.com/ and have them do it for > you :) That is a very cool idea, except that I want to schedule anything at all and have access to the code. But still that's a great t

RE: [PHP] List Administrator

2003-07-30 Thread Chris W. Parker
Johnny Martinez on Wednesday, July 30, 2003 11:07 AM said: > Google spidered the web view to the list and is indexing our email > addresses. Any chance you can edit the code to change > "[EMAIL PROTECTED]" to show as "user at domain dot com" as many of the > public m

RE: [PHP] List Administrator

2003-07-30 Thread Chris W. Parker
Lars Torben Wilson on Wednesday, July 30, 2003 11:15 AM said: > 'Until' is a bit optimistic. They've been doing that for quite some > time now. :) In that case my point is proven. You could also liken this to the idea that security through obscurity is not security

RE: [PHP] textbox+database

2003-07-30 Thread Chris W. Parker
Patrik Fomin on Wednesday, July 30, 2003 3:46 PM said: > and when i retrive the text from the database it looks like this: > TestTestHello > > is there anyway to save (enter formattions)? Well you've left out some important information so I'm going to use my detect

RE: [PHP] splitting content into pages

2003-07-30 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, July 30, 2003 6:35 PM said: > hi there , i have an issue trying to split content into pages , we > have a popup with content and a background image with a set height , > when there is more content the background repeats , theoretically

RE: [PHP] splitting content into pages

2003-07-30 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, July 30, 2003 7:04 PM said: > ok let me explain , its straight up text content from the database , > say its scrolls for ages , i need to split it into pages , so i get > the length of the string up to the last paragraph which fits i n

RE: [PHP] splitting content into pages

2003-07-30 Thread Chris W. Parker
Evan Nemerson on Wednesday, July 30, 2003 7:17 PM said: > Is there a reason this can't be solved with a CSS background-repeat: > repeat-y; ? Or is download time of individual pages an issue? That can look funny of course if the picture doesn't tile well. > The math

RE: [PHP] splitting content into pages

2003-07-31 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, July 30, 2003 9:33 PM said: > your example doesnt work Then fix it, don't complain to him. He spent his own time (either work time or personal time) to write it for you. Do you expect him to fully test it before he sends it? > and th

RE: [PHP] splitting content into pages

2003-07-31 Thread Chris W. Parker
skate on Thursday, July 31, 2003 9:44 AM said: > althought not the most cross browser effective, you could also try > some css to fix the background... > > style="background-repeat=none" > > should do the job. The problem is not fixing the background in place. The

RE: [PHP] Opinions on Micro$oft .NET

2003-07-31 Thread Chris W. Parker
Jay Paulson on Thursday, July 31, 2003 10:36 AM said: > Are > their any links to show the cost benifits of using Open Source vs > Micro$oft .NET? (I know Open Source is free but I have no clue where > to find how much .NET is). .NET is free as well. It's just a fram

RE: [PHP] Opinions on Micro$oft .NET

2003-07-31 Thread Chris W. Parker
Dan Joseph on Thursday, July 31, 2003 10:55 AM said: > Visual Studio > gives you added languages like C#, J# and C++. I thought the basic framework had both VB.NET and C# included? Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

RE: [PHP] load the PHP script last on the page

2003-07-31 Thread Chris W. Parker
DougD on Thursday, July 31, 2003 11:18 AM said: > If it were possible I want the include to occur after the rest of the > page is loaded. Maybe instead of including the file that does the processing and waiting forever for it to finish, you might consider setting up

RE: [PHP] Please Help

2003-08-01 Thread Chris W. Parker
John Manko on Thursday, July 31, 2003 11:26 PM said: > umm... ok. > > www.google.com > www.php.net > > that should get you started. It's always funny how people think these kinds of posts are helpful. c. -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Please Help

2003-08-01 Thread Chris W. Parker
Jay Blanchard on Friday, August 01, 2003 8:54 AM said: > It's always funny how people think these kinds of posts are helpful. > [/snip] > > They're not? Yes, they are not. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] Please Help

2003-08-01 Thread Chris W. Parker
Jay Blanchard on Friday, August 01, 2003 9:02 AM said: > Hmmm, let's see. The post had no clarity in the subject line, the post > showed no sense of "I tried to look it up", the post was vague You have three options: 1. Explain to them how they could have made thei

RE: [PHP] Please Help

2003-08-01 Thread Chris W. Parker
Jay Blanchard on Friday, August 01, 2003 9:24 AM said: > Sigh. What happened to the two *'s? I'm going to take this opportunity to be the bigger man and say I respect your opinion. ;) Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

RE: [PHP] _GET question

2003-08-01 Thread Chris W. Parker
Pushpinder Singh Garcha on Friday, August 01, 2003 11:11 AM said: > action="full_profile_1.php?val=$company"> Use a hidden form element instead. > Can some one tell me if the action parameter of the form is correct ? > Since in the first part of the if() stateme

RE: [PHP] Test a zip file for validity

2003-08-01 Thread Chris W. Parker
Ivo Pletikosic on Friday, August 01, 2003 5:10 PM said: > Wrapping the zipinfo utility in php did not help since it does not > return an exit code whether it succeeded or not. Well if zipinfo returns anything at all it's probably valid. If it doesn't then it's proba

RE: [PHP] PHP Name of Script -0-T-

2003-08-06 Thread Chris W. Parker
Ryan A on Wednesday, August 06, 2003 6:33 AM said: > I want to have an index of services available on my site.. [snip] I have no idea what you're talking about. Well, actually, I have a /guess/ but I'm not sure if it's correct. Are you saying you want to have a lis

  1   2   3   4   5   6   7   8   9   10   >