[PHP] Steps to installin PHP on apache 2

2004-02-16 Thread Philip J. Newman
Can someone send me a link to where i can find easy to read docs on getting php set up on Apache ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session, loging users in.

2004-02-13 Thread Philip J. Newman
Whats the best information to add to a session to say a user is logged in? I currently have $siteUserLogIn=true; anything else that I could add to beef up security? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] E-Commerce

2004-02-12 Thread Philip J. Newman
I just about wet my self laughing. Just look around the net, PHP is used in about 40% of the online shopping sites. - Original Message - From: PHP Email List [EMAIL PROTECTED] To: Jimmy [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, February 13, 2004 6:48 PM Subject: RE: [PHP]

[PHP] $PHP_SELF AND INFORMATION.

2004-02-04 Thread Philip J. Newman
$_SERVER[PHP_SELF]; returns /c/hosting/newman/hello.php is there an easy way to get get hello.php? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] read file only half the file loads ...

2004-02-02 Thread Philip J. Newman
' load at all. Any Ideas what the problem could be? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Script Needed

2004-01-14 Thread Philip J. Newman
payme $80 a hour and i can write one ... (o; - Original Message - From: Eric Belardo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 15, 2004 2:33 PM Subject: [PHP] Script Needed Good evening all, I am designing a website were different users will be posting their

[PHP] Hiding files away from /public_html/

2004-01-09 Thread Philip J. Newman
Hi, just wanted to pick someones brain. I want to store some images outside the /public_html/ how ever my isp has decided that i'm not aloud to write files in that area. Would the next best solution that wold be as secure to maybe put them in a folder with a .htaccess file in it? --- Philip J

[PHP] counting charactors

2004-01-06 Thread Philip J. Newman
can someone point me to the right place for a thing that would count charactors in a string? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A simple instruction

2004-01-01 Thread Philip J. Newman
echo$PHP_SELF; maybe? - Original Message - From: Dino Costantini To: PHP Mailing List [EMAIL PROTECTED] Sent: Friday, January 02, 2004 11:30 AM Subject: [PHP] A simple instruction i have a file name with the path ex food/italy/pizza/margherita.php. how can i obtain the name of the

Re: [PHP] PHP New Year

2003-12-31 Thread Philip J. Newman
yes HNY to you too - Original Message - From: Larry Brown To: PHP List [EMAIL PROTECTED] Sent: Thursday, January 01, 2004 1:37 PM Subject: [PHP] PHP New Year Happy New year all! Looking forward to bigger better things this year. Larry -- PHP General Mailing List

[PHP] Best place to search archives

2003-12-20 Thread Philip J. Newman
Hay guys, Where is the best place to search the general-php archives (o; --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] Ph: +64 9 576 9491 Fx: +64 9 576 2532 Mob: +64 21 0483 999 - This communication

[PHP] Best way to store data.

2003-12-18 Thread Philip J. Newman
Hi, is the best way to store data in a mysql database in the text it was submitted, or in HTML format ... changing all the \r's and things to br --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] $_POST[]

2003-12-18 Thread Philip J. Newman
?php if ($_POST[formReviewBy]==Cade Lloyd) { echo selected; } ? Should $_POST[formReviewBy] have quotes or dose it not matter? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Line breaks in PHP.

2003-12-16 Thread Philip J. Newman
Question: When you hit enter in a text box is that classified as a \n? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Line breaks in PHP.

2003-12-16 Thread Philip J. Newman
, at 03:10 PM, Philip J. Newman wrote: Question: When you hit enter in a text box is that classified as a \n? generally, yes. depending on the client platform, it might be an \r\n or \r (I've heard)... justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] What would the best way to veladate a URL string?

2003-12-13 Thread Philip J. Newman
What would the best way to veladate a URL string? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Whats wrong with this statement.

2003-12-13 Thread Philip J. Newman
]) { $exists_hContactEmail = 1; break; } } Echo $exists_hUrl, $exists_hContactEmail; ? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Trying to check for a valid URL String.

2003-12-13 Thread Philip J. Newman
so far i got ... ?php if (!ereg(^http:\/\/([_\.0-9a-zA-Z-]+\.)+[a-zA-Z]/i,$websiteUrl) { echoNot Valid; } else { echovalid; } ? and i can't get it to work --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: What would the best way to veladate a URL string?

2003-12-13 Thread Philip J. Newman
Hay that works better thanks - Original Message - From: Paul Chvostek [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 14, 2003 2:17 PM Subject: [PHP] Re: What would the best way to veladate a URL string? On Sun, Dec 14, 2003 at 11:23:25AM +1300, Philip J. Newman wrote

[PHP] Checking a URL string.

2003-12-12 Thread Philip J. Newman
I would like to check if i have a correct url enterend ?php eregi(^http://[([0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$, $websiteUrl); ? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] The best way ...

2003-12-12 Thread Philip J. Newman
what is the best way to remove extra \'s from strings ... would be ? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Call to undefined function: imagecreatefromjpeg()

2003-11-28 Thread Philip J. Newman
http://www.php.net/manual/en/function.imagecreatefromjpeg.php After using this code for some time it suddenly returns ... Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/crushme/public_html/includes/inc_members.php on line 564 ?Php // SNIP $quality=70; // JPEG

Re: [PHP] Call to undefined function: imagecreatefromjpeg()

2003-11-28 Thread Philip J. Newman
() Philip J. Newman wrote: http://www.php.net/manual/en/function.imagecreatefromjpeg.php After using this code for some time it suddenly returns ... It's not suddenly, someone must have recompiled php without gd/jpg support. Fatal error: Call to undefined function

[PHP] Changing Bytes to KB, to megs, to gigs.

2003-07-26 Thread Philip J. Newman
My goal is to input the amount of Bytes used by a user as $inputbox and calculate how many kbs,megs,gigs along with $cost for the price per meg. ? $inputbox = 414478244; // PROCESS DATA $kbs = $inputbox/1024; $megs = $kbs/1024; $gigs = $megs/1024; // CALC COST OF MEGS cost = $megs * 0.05;

Re: [PHP] Re: Failed to Receive in E:\...\mailscript.php on line 25

2003-07-19 Thread Philip J. Newman
thanks - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 06, 2003 7:06 PM Subject: Re: [PHP] Re: Failed to Receive in E:\...\mailscript.php on line 25 On Sunday 06 July 2003 14:59, HÃ¥kon Strandenes wrote: This is not my server, so I

[PHP] Small problem with date and location information?

2003-06-21 Thread Philip J. Newman
I run a website from New Zealand. The problem is when ?php echo date(F j, Y, g:i a); ? it shows the time of the server, that just happens to be located in Dallas USA. Is there a way that I can change the time so it matchs New Zealand Time?

[PHP] Email Valadation

2003-06-17 Thread Philip J. Newman
How would i valadate an email string to see if it has invalid charactors? / Philip

Re: [PHP] / [Newman] When i send an email it ...

2003-06-15 Thread Philip J. Newman
My code is this ... ?php // MAIL HEADERS. $headers = X-Priority: 1\n; $headers .= Return-path: [EMAIL PROTECTED]\n; $headers .= From: \Philip Newman\ [EMAIL PROTECTED]\n; $headers .= Reply-To: \[EMAIL PROTECTED] [EMAIL PROTECTED]\n;

Re: [PHP] / [Newman] When i send an email it ...

2003-06-15 Thread Philip J. Newman
Geier [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED] Cc: PHP [EMAIL PROTECTED] Sent: Monday, June 16, 2003 2:56 PM Subject: Re: [PHP] / [Newman] When i send an email it ... The error is your answer. The server is setup to relay mail for specific domains/users. Evidently, the user

[PHP] Documents on Images.

2003-06-10 Thread Philip J. Newman
Can someone point me to some documents about pulling images from out side the doc root? thanks / Phil

[PHP] Loading an image file as a PHP file.

2003-06-10 Thread Philip J. Newman
To Do: I would like to call image /user/mysite/image_01.jpg using something like /user/mysite/public_html/loadimage.php?image=1 is this a simple procedure or hard ... any suggestions or someone want to point me in the right direcion/ Phil

[PHP] Newman Asks, Changeing to CAPS?

2003-06-08 Thread Philip J. Newman
Is there a way of changing only the 1st letter of a string to caps and the rest to lower? eg: foo bar to Foo Bar ?? / Phil PhilipNZ.com [EMAIL PROTECTED]

[PHP] Checking for Valid Charactors.

2003-06-08 Thread Philip J. Newman
I would liek to check for 0-9 and . charactors i'm using ... $email = 60.00; if eregi(^[0-9.])?$,$email) { echovalid; } else { echonot valid; } Its not working well. umm ... help ...

Re: [PHP] Checking for Valid Charactors.

2003-06-08 Thread Philip J. Newman
thanks - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 08, 2003 8:57 PM Subject: Re: [PHP] Checking for Valid Charactors. On Sunday 08 June 2003 16:22, Philip J. Newman wrote: I would liek to check for 0-9 and . charactors i'm using

[PHP] [Newman] How to pass an image through PHP.

2003-06-07 Thread Philip J. Newman
I would like to know where i should be looking to pass an image through PHP Thanks / Phil

[PHP] Newman's Problem with Images.

2003-06-05 Thread Philip J. Newman
My problem is this: I have a site that has 3 levels of access. 1,2,3 when i upload files to say $unixtimestamp/image1.jpg anyone can list the images in this directory $unixtimestamp/. I would like to hide the images out side the doc root ... is this possable .. so i can load something

Re: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Philip J. Newman
Mummy and Daddy sto fighting. - Original Message - From: Dan Rossi [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED]; Leif K-Brooks [EMAIL PROTECTED] Cc: Peter Houchin [EMAIL PROTECTED]; Dan [EMAIL PROTECTED]; php-general [EMAIL PROTECTED] Sent: Friday, March 28, 2003 7:04 PM

[PHP] Random Password Making.

2003-03-28 Thread Philip J. Newman
Whats the best way to make a random password with 4 letters and 2 numbers? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Time stamp and changing to a date.

2003-03-28 Thread Philip J. Newman
$mydate = 20030328231154; $myPrintDate=date (l dS of F Y h:i:s A,$mydate); echo $myPrintDate; Whats wrong -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Checking a string for # of charactors.

2003-03-28 Thread Philip J. Newman
I would like to check that a string as more than 20 charactors in it. Can someone point me in the right direction. Thanks .. -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] logging ip address when submitting a form

2003-03-27 Thread Philip J. Newman
$HTTP_X_FORWARDED_FOR phpinfo(); Check that its in your PHP Info. $REMOTE_ADDR will return the Remote Address. I use This small loop. if (!$HTTP_X_FORWARDED_FOR) { $HTTP_X_FORWARDED_FOR=$REMOTE_ADDR; } / Phil - Original Message - From: Joakim Larsson [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Uploading Files Via PHP

2003-03-27 Thread Philip J. Newman
You could chnage the permissions when you want to write something then change it back when your done. Thats what i do. / Phil - Original Message - From: Jennifer Goodie [EMAIL PROTECTED] To: Dan Rossi [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, March 28, 2003 6:17 AM Subject: RE:

Re: [PHP] Re: Internet Explorer toolbar

2003-03-27 Thread Philip J. Newman
Now Now children. - Original Message - From: Dan Rossi [EMAIL PROTECTED] To: Leif K-Brooks [EMAIL PROTECTED] Cc: Peter Houchin [EMAIL PROTECTED]; Dan [EMAIL PROTECTED]; php-general [EMAIL PROTECTED] Sent: Friday, March 28, 2003 6:47 PM Subject: RE: [PHP] Re: Internet Explorer toolbar

Re: [PHP] Re: Internet Explorer toolbar

2003-03-27 Thread Philip J. Newman
Again ... Now Now Kiddies your all way out of line. - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: Dan Rossi [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 28, 2003 7:55 PM Subject: Re: [PHP] Re: Internet Explorer toolbar Correct, but he asked for a PHP

[PHP] How do i valadate an email address?

2003-03-26 Thread Philip J. Newman
How would i check that an e-mail has the right parts in it. for example. username @ domain . ext Thanks / Jim Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Formatting code.

2003-03-25 Thread Philip J. Newman
Is there any documents on how code should be layed out? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Send Mail Main headers.

2003-03-24 Thread Philip J. Newman
: iCEx Networks HTML-Mailer v1.0; Is this about all i need to send a mail in PHP excluding the mail(); -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Wrapping text output

2003-03-21 Thread Philip J. Newman
$my_data = This is a really long string that could go on for ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and ever and don't wrap to my table it makes it bigger; echo $my_data; How can I make this wrap to the table? -- Philip J

[PHP] $siteGalleryUserPath when it is made by PHP dose not give 0777 access for $destination to be made.

2003-03-20 Thread Philip J. Newman
); } //Code to Add the gallery photoset directory here.. //(add a directory $datestamp under the username dir.. mkdir($destination,0777); // LINE 72 from error above. end snip -- Philip J. Newman. Head Developer [EMAIL PROTECTED]

[PHP] LIsting all the Members who have not loged in for 60 days ...

2003-03-18 Thread Philip J. Newman
$lastDate is a unix time stamp in mySql ... how can i list ONLY the users who have not logged in for 60days? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File System

2003-03-16 Thread Philip J. Newman
How do i delete a file ... ? kill?? dele *srugs* -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File System

2003-03-16 Thread Philip J. Newman
(Operation failed!'); On Monday, March 17, 2003, at 12:58 AM, Philip J. Newman wrote: How do i delete a file ... ? kill?? dele *srugs* -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- PHP General Mailing List (http

[PHP] Confused a little with = to and grater than ...

2003-03-15 Thread Philip J. Newman
HERE. { -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- Friends are like stars You can't allways see them, but they are always there. -- Websites: PhilipNZ.com - Design. http://www.philipnz.com/ [EMAIL PROTECTED] Philip's Domain

[PHP] File upload Stuff ... well kinda.

2003-03-15 Thread Philip J. Newman
RIghto then. Just make a nice website, on my windows box and everything and when i moved it to the live server, the things that didn't work where file uploads. What (if any) settings do i have to use for a Linux dir .. to allow access for the file to be uploaded? -- Philip J. Newman. Head

[PHP] My PHP mysql Command

2003-03-14 Thread Philip J. Newman
an error in your SQL syntax near 'WHERE (gAccessLevel = 'level-1' OR gAccessLevel = 'level-2' OR gAccessLevel = 'l' at line 1 as gAccessLevel = level-3 ... Any Ideas why this is weong? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- Friends

Re: [PHP] mysql_connect issue

2003-03-14 Thread Philip J. Newman
try mysql_connect(loghost:3306,$username,$password); - Original Message - From: Steve Shead [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 15, 2003 12:14 PM Subject: [PHP] mysql_connect issue I'm trying to get a small PHP based log reader to run but get this error

[PHP] Crypting Passwords for storage.

2003-03-13 Thread Philip J. Newman
I have a user admin for a site, how ever passwords are stored in plane text. Is there away to crypt and then read the crypt when verifying that string vs the plane text in the password box? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http

[PHP] Making a Loop.

2003-03-12 Thread Philip J. Newman
? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- Friends are like stars You can't allways see them, but they are always there. -- Websites: PhilipNZ.com - Design. http://www.philipnz.com/ [EMAIL PROTECTED] Philip's Domain // Internet Project. http

Re: [PHP] Making a Loop.[Scanned]

2003-03-12 Thread Philip J. Newman
assuming the value is 10, I stall can't get it to work - Original Message - From: Michael Egan [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:29 PM Subject: RE: [PHP] Making a Loop.[Scanned] Philip, I might be missing

[PHP] Checking for a Valid Email String.

2003-03-11 Thread Philip J. Newman
Required: Help for checking for a valid email string. -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- Friends are like stars You can't allways see them, but they are always there. -- Websites: PhilipNZ.com - Design. http

Re: [PHP] Checking for a Valid Email String.

2003-03-11 Thread Philip J. Newman
how ever i don't think most ISPs let users pick names with the + sign in it - Original Message - From: Paul Chvostek [EMAIL PROTECTED] To: David E.S.V. [EMAIL PROTECTED] Cc: Philip J. Newman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 2:37 PM Subject: Re: [PHP

Re: [PHP] Checking for a Valid Email String.

2003-03-11 Thread Philip J. Newman
You have used the ' in sted of the i assume that there is no difference? - Original Message - From: Paul Chvostek [EMAIL PROTECTED] To: David E.S.V. [EMAIL PROTECTED] Cc: Philip J. Newman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 2:37 PM Subject: Re: [PHP

[PHP] Join

2003-03-09 Thread Philip J. Newman
-- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- Friends are like stars You can't allways see them, but they are always there. -- Websites: PhilipNZ.com - Design. http://www.philipnz.com/ [EMAIL PROTECTED] Philip's Domain // Internet

[PHP] Images out side the wwwroot

2003-03-09 Thread Philip J. Newman
If i was to use PHP to call all my images from out side the wwwroot, dose anyone have a method that they use? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- Friends are like stars You can't allways see them, but they are always

Re: [PHP] PHP SQL Code

2003-03-02 Thread Philip J. Newman
This one returns a 'Could not get Query' warning ... so thats out. - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: 'Philip J. Newman' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 03, 2003 5:31 AM Subject: RE: [PHP] PHP SQL Code I would like yo show

[PHP] Checking Access to a directory Via a PHP/MYSQL Databace.

2003-03-01 Thread Philip J. Newman
Is there a way that i can restrict access to an entire directory using PHP/MYSQL so only valid users in the Database can have access to a resource? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- Friends are like stars You can't allways see

[PHP] Upper and lower case.

2003-03-01 Thread Philip J. Newman
Question: is it better to store user names as upper and lower case? should they bee converted to one case? I have a script the checks for names and ... Mark is not the same as mark, or MaRk ... is there a way of making a string into lower case? -- Philip J. Newman. Head Developer [EMAIL

Re: [PHP] Upper and lower case.

2003-03-01 Thread Philip J. Newman
LOL got a reply to this before i ever got the message my self ... - Original Message - From: Philip J. Newman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 10:56 AM Subject: [PHP] Upper and lower case. Question: is it better to store user names as upper

[PHP] PHP SQL Code

2003-03-01 Thread Philip J. Newman
I would like yo show the users in a list that have a date that is more than 60 days old. $sql = SELECT * FROM stompers WHERE sUpdated from_unixtime(unix_timestamp(now())-(15760*60)) AND sActive = 'Y' ORDER BY sUpdated DESC; This don't quite work .. Any suggestions? -- Philip J. Newman

[PHP] Checking for HTTP:// at the start of a string and more ////

2003-02-28 Thread Philip J. Newman
I would like to check for HTTP:// at the start of a string and for at least 1 . and a / at the end of a string. I have tried ereg, but the documentation is not too clear how to format. -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- Friends

[PHP] IS there a way.

2003-02-28 Thread Philip J. Newman
Is there a way to PING a URL and check if it returns a valid code like 200 ... ?? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- Friends are like stars You can't allways see them, but they are always there. -- Websites: PhilipNZ.com

[PHP] I would like to display a list of the same products only if productPublic = staff or members.

2003-01-31 Thread Philip J. Newman
I would like to list 2 possable items in a mysql queary. SELECT * FROM products WHERE productType = '$productType AND Where productPublic = 'staff' OR productPublic = 'members' ORDER BY productId DESC LIMIT 10 I would like to display a list of the same products only if productPublic = staff or

Re: [PHP] test

2003-01-12 Thread Philip J. Newman
this was a functional email - Original Message - From: Karl James [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 13, 2003 12:24 AM Subject: [PHP] test test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Loading Information into an array.

2003-01-10 Thread Philip J. Newman
I have a table with images and comments. if i have $x amout of images that each have a comment. the comments are displayed in the center colum of the table with the images loading left and right of each comment. http://www.philipnz.com/example.jpg I can get the images to load in their left

[PHP] makeing an array

2002-12-31 Thread Philip J. Newman
--- Philip J. Newman. Head Developer. PhilipNZ.com New Zealand Ltd. http://www.philipnz.com/ [EMAIL PROTECTED] Mob: +64 (25) 6144012. Tele: +64 (9) 5769491. VitalKiwi Site: Philip J. Newman Internet Developer http://www.newman.net.nz/ [EMAIL PROTECTED] * Friends are like

Re: [PHP] makeing an array

2002-12-31 Thread Philip J. Newman
So in saything that I could do this ... $s = 10 $comment[1] = '$comment_1'; $comment[2] = '$comment_2'; $comment[3] = '$comment_2'; for($i = 0; $i = $s; $i++) { echo $comment[$i].br; } - Original Message - From: Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] To: Philip J. Newman

[PHP] XML into PHP

2002-11-12 Thread Philip J. Newman
How would i call a page in PHP that is XML? eg; if i had a file that was like below. http://www.philipnz.com/news/rss.xml and i wanted to include it onto a page. HELP (looking through the docs now) --- Philip J. Newman. Head Developer. PhilipNZ.com New Zealand Ltd. http://www.philipnz.com

[PHP] Showing online users!

2002-09-24 Thread Philip J. Newman
()); while ($row = mysql_fetch_array($sql_result)) { $sUser=$row[sUser]; echoba href=\/actual/thesite.php?startWeb=profilesUser=$sUser\$sUser/a/b, ; } ? Is this the best way to do this? --- Philip J. Newman. Head Developer. PhilipNZ.com New Zealand Ltd. http://www.philipnz.com/ [EMAIL PROTECTED

Re: [PHP] Installing php in windows 95

2002-09-24 Thread Philip J. Newman
windows 95 your jokeing right? - Original Message - From: Uma Shankari T. [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 4:13 PM Subject: [PHP] Installing php in windows 95 Hello, I need to install php for windows under particular folder namely

[PHP] Ah ha ... confirm delete.

2002-09-24 Thread Philip J. Newman
) { } ? --- Philip J. Newman. Head Developer. PhilipNZ.com New Zealand Ltd. http://www.philipnz.com/ [EMAIL PROTECTED] Mob: +64 (25) 6144012. Tele: +64 (9) 5769491. Family Site: Philip J. Newman Internet Developer http://www.newman.net.nz/ [EMAIL PROTECTED

Re: [PHP] Mail problem with more than 1k users

2002-09-23 Thread Philip J. Newman
I suggest you get a mailing list program if your sending to more than 1k of users Philip - Original Message - From: Justin French [EMAIL PROTECTED] To: Research and Development [EMAIL PROTECTED]; PHP General List [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 1:57 PM Subject: Re:

[PHP] return the amount of records in a mysql databace

2002-09-22 Thread Philip J. Newman
Can someone point me in the right direction to find out how i can return the amount of records in a mysql databace ? --- Philip J. Newman. PhilipNZ.com New Zealand http://www.philipnz.com/ [EMAIL PROTECTED] Mob: +64 (25) 6144012. Tele: +64 (9) 5769491. Family Site: Philip J. Newman Internet

Re: [PHP] return the amount of records in a mysql databace

2002-09-22 Thread Philip J. Newman
); - Original Message - From: Mark Charette [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, September 23, 2002 1:28 AM Subject: RE: [PHP] return the amount of records in a mysql databace select count(*) as n from ... where ... -Original

Re: [PHP] return the amount of records in a mysql databace

2002-09-22 Thread Philip J. Newman
Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED]] Can someone point me in the right direction to find out how i can return the amount of records in a mysql databace ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Enhancement of script

2002-09-07 Thread Philip J. Newman
Looks good if your keen to shear the code we could have a tinkle with it and see if we can work it out. Phil - Original Message - From: Ray Healy (Data Net Services) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 07, 2002 10:11 PM Subject: [PHP] Enhancement of script

Re: [PHP] Re: Proposal for securing PHP sessions

2002-09-07 Thread Philip J. Newman
You could use a SUB NET (o; to block a group of users ie 202.*.*.* would kill most of New Zealand and Oz - Original Message - From: Dave at Sinewaves.net [EMAIL PROTECTED] To: PHPlist [EMAIL PROTECTED]; M1tch [EMAIL PROTECTED] Sent: Sunday, September 08, 2002 8:34 AM Subject: RE: [PHP]

Re: [PHP] How to program very basic chat on PHP?

2002-09-07 Thread Philip J. Newman
You could create a scema, or module that is called with each page load, that checks for messages when the user is logged in. So when the message is stored into the databace, when the user loads the anypage while logged in it checks for new messages, and if the user has messages then the window

[PHP] The page before for newman.

2002-07-25 Thread Philip J. Newman
I'm looking for the global veriable that lists the page before the page that i just came from. Anyone know what i'm talking about? --- Philip J. Newman. PhilipNZ.com Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] Mob: +64 (25) 6144012. Tele: +64 (25) 6144012. Personal Site

[PHP] Newman Asks, Do i have to use session_name('sid') every ...

2002-07-25 Thread Philip J. Newman
session_name('sid'); session_start(); Do i have to use session_name('sid'); every time i use session_start(); or can session_name be used once? --- Philip J. Newman. PhilipNZ.com Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] Mob: +64 (25) 6144012. Tele: +64 (25) 6144012

[PHP] Newman's PHP sessions management.

2002-07-24 Thread Philip J. Newman
One question. When i start a new session i get the veriable PHPSESSID=what ever added to links that I want PHPSESSID to be called sid. How can i do this? --- Philip J. Newman. PhilipNZ.com Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] Mob: +64 (25) 6144012. Tele: +64 (25

[PHP] Newman and his session management.

2002-07-23 Thread Philip J. Newman
I have started a session on the server, and now would like to add a user name and password, and some other information to the session to carry it across all the other pages that are in this session. Any hints on where to start? --- Philip J. Newman. PhilipNZ.com Design Solutions http

[PHP] Newman and sessions.

2002-07-23 Thread Philip J. Newman
I have started a session on the server, and now would like to add a user name and password, and some other information to the session to carry it across all the other pages that are in this session. Any hints on where to start? --- Philip J. Newman. PhilipNZ.com Design Solutions http

Re: [PHP] Newman and sessions.

2002-07-23 Thread Philip J. Newman
so how would i get the $username and $password into the session session_register('$username','$password'); ?? - Original Message - From: Wee Keat [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED] Sent: Wednesday, July 24, 2002 5:43 PM Subject: Re: [PHP] Newman and sessions. I

[PHP] Newman Says: Only one value from a msSQL field.

2002-06-01 Thread Philip J. Newman
Only one value from a msSQL field. I have many values the same in a field and would like to know how i can select one of each (not mating). $sql = SELECT * FROM brands WHERE 1 ORDER BY `sId` DESC LIMIT 6; lists everything .. ANy help would be cool. Phil

[PHP] Newman Says: Error when starting sessions.

2002-03-31 Thread Philip J. Newman
I'm trying to start a session, and I get this error. I have been told its something to do with a missing dir is my php dir? Warning: open(1\sess_0513b5c5d7021f1acdcf9f732032081f, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Philip J. Newman PhilipNZ :: Design Solutions

[PHP] Re: Newman Says: Error when starting sessions.

2002-03-31 Thread Philip J. Newman
so it should be session.save_path = c:\php\temp at the moment it says session.save_path = 1 - Original Message - From: Yasuo Ohgaki [EMAIL PROTECTED] Newsgroups: php.general To: Philip J. Newman [EMAIL PROTECTED] Sent: Monday, April 01, 2002 2:16 PM Subject: Re: Newman Says: Error

Re: [PHP] Some Problems that Newman has with PHP since reinstall.

2002-03-30 Thread Philip J. Newman
with PHP since reinstall. On Saturday 30 March 2002 14:26, Philip J. Newman wrote: Hi People, I just installed PHP again, and am having some problems with a few things. When Posting to a form, veriables do not travel across the pages. I have checked the PHP.INI for something but nothing

[PHP] From Newman: Just installed, get this error message.

2002-03-29 Thread Philip J. Newman
leave doc_root undefined. If you are running IIS, you may safely set cgi.force_redirect=0 in php.ini. Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012

[PHP] From Newman: Redirect function not working.

2002-03-29 Thread Philip J. Newman
I have just updated my copy of PHP and changed the INI file. Some of my redirect commands no longer work. Any Suggestions. Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012

[PHP] Some Problems that Newman has with PHP since reinstall.

2002-03-29 Thread Philip J. Newman
?? Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >