[PHP] 1st 100 charactors that are pulled from a mySql Database

2002-01-17 Thread Philip J. Newman
Would like to know if there is away that I can only print out the 1st 100 charactors that are pulled from a mySql Database, anyone help? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Whats the best way.

2002-01-24 Thread Philip J. Newman
Whats the best way that I can let users upload single .jpeg and gif files, renaming then with a time stamp? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] A link

2002-01-24 Thread Philip J. Newman
http://fusion.wha.la/~fusion Don't click the above link.

[PHP] Resalution Dection

2002-01-24 Thread Philip J. Newman
I'm trying to display an image only if the user has a hi resolution? can anyone help? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Variables Limit

2002-01-26 Thread Philip J. Newman
Is there any limit on the amount of variables that you can use? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Changeing Dates.

2002-01-26 Thread Philip J. Newman
I have had no luck changing: 20020124020555 into 24 01 2002 @ 0205h 55s Can anyone put some light on this, I'm going nuts Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

Re: [PHP] Variables Limit

2002-01-26 Thread Philip J. Newman
* and then Philip J. Newman blurted Is there any limit on the amount of variables that you can use? Well I certainly agree with Craig, but I'm interested to know why you ask? Is it just idle curiosity or some interesting project you're involved in? - -- Nick Wilson Tel: +45 3325 0688 Fax: +45

Re: [PHP] Variables Limit

2002-01-26 Thread Philip J. Newman
cool - Original Message - From: Nick Wilson [EMAIL PROTECTED] To: PHP-General [EMAIL PROTECTED] Sent: Sunday, January 27, 2002 8:51 AM Subject: Re: [PHP] Variables Limit -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Philip J. Newman blurted I have to exchage

[PHP] Any Ideas

2002-01-26 Thread Philip J. Newman
Any Ideas how I can remove !@#$%^*()_+=-';:/.,? charactors from a string? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Hints Feedback

2002-01-26 Thread Philip J. Newman
I know this isn't the right place to add this, but can someone check this out ... http://www.philipsdomain.com/hyperlinks/search.php ... and gimme some tips of what I could do ... Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64

[PHP] Arrrr The Space is gone.

2002-01-26 Thread Philip J. Newman
$q=preg_replace(/[_\W]/,,$q); I have this to remove all the bad things, but it takes out the space to ... )o; why? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

Re: [PHP] Re: Arrrr The Space is gone.

2002-01-26 Thread Philip J. Newman
The Space is gone. In article 002801c1a6ed$1a9c10a0$0401a8c0@philip, [EMAIL PROTECTED] (Philip J. Newman) wrote: $q=preg replace(/[ \W]/,,$q); I have this to remove all the bad things, but it takes out the space to ... )o; why? There's a space in your character class, so of course

[PHP] Only one value.

2002-01-27 Thread Philip J. Newman
like to call: Bob, Jan, Mike, James ... Any Idenas Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Trying to remove bad charactors.

2002-01-27 Thread Philip J. Newman
I'm trying to replace !@#$%^*() with nothing how ever every thing that I try it takes out the space too which is bad. Siggestions $q=preg replace(!,,$q); Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Ouch that hurts

2002-01-27 Thread Philip J. Newman
Warning: open(/tmp\sess_00fe5002ea636ad76223e15f3841da02, O_RDWR) failed: m (2) in d:\website\index.php on line 2 What dose this mean? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] PHP SITE ERROR

2002-01-27 Thread Philip J. Newman
. However, future versions may not support this any longer. in /www/sites/nz.php.net/htdocs/quickref.php on line 41 hehe Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] One error after another.

2002-01-27 Thread Philip J. Newman
) in d:\website\myphp\fitness\config.php on line 3 A Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Server Communication.

2002-01-27 Thread Philip J. Newman
I'm trying to get the following ingotmation from my server. The Actual ip# that the user has connected to the server with; The Prioxy ip# that the user has connected to the server with; The DNS name that the user has connected to the server with; Is this possable with PHP? Philip J. Newman

[PHP] getmxrr() is not supported

2002-01-27 Thread Philip J. Newman
I'm running PHP Version 4.0.5 Php Says this: Warning: getmxrr() is not supported in this PHP build in d:\website\myphp\test1.php on line 5 The documents say: (PHP 3, PHP 4 = 4.0.0) I'm condused. Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL

[PHP] Basic Password Protection.

2002-01-28 Thread Philip J. Newman
Can someone point me to a section in the manual where I can read about basic Authentication? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Change Text to CAPS.

2002-01-29 Thread Philip J. Newman
Is there anyway that I can change a string with lettle letters to caps? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Testing Hyperlinks on in a database.

2002-01-30 Thread Philip J. Newman
Is there anyway using PHP to send a command to a server to get the get eather a 404 or 200 reply? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Grabing Meta Tag information.

2002-02-04 Thread Philip J. Newman
can help (o; Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Collecting Meta Tags and Traping Errors

2002-02-04 Thread Philip J. Newman
\myphp\test1.php on line 4 Most sites that have meta tags that I have tried the meta tags do not come up. Is there a way to trap these errors? and give common out put? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] Picking a random record from a database.

2002-02-04 Thread Philip J. Newman
I have a database of Jokes. I have 30 Jokes I would like (each time the page is loaded) to have a random Joke appear. Can anyone help. Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED]

Re: [PHP] Collecting Meta Tags and Traping Errors

2002-02-04 Thread Philip J. Newman
Warning: get_meta_tags(http://www.philipsdomain.com/;) - No error in d:\website\myphp\test01.php on line 5 even with the changes i get the error ?php $get_url = http://www.philipsdomain.com/;; $metatags = get_meta_tags($get_url,1); echo $metatags['keywords']; echo $metatags[description]; ?

[PHP] Colecting IP information

2002-02-09 Thread Philip J. Newman
Trying to colect ip, and name server, dns name from a user how do I do this? can you point me to the right place? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

Re: [PHP] file redirect?

2002-02-10 Thread Philip J. Newman
what about this? ?php header(Location: $url_to); exit; ? http://server/download.php?url_to=/myfile.zip check out http://www.philipsdomain.com/hyperlinks/ for a redirect sample. - Original Message - From: Ed Lazor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] configuring webhost

2002-02-10 Thread Philip J. Newman
You could hire me! then pay me. - Original Message - From: mm fernandez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 11, 2002 8:34 PM Subject: [PHP] configuring webhost hi. i'm new here and i'm also new to php. thing is though, i'd like to ask something with regard

RE: [PHP] How do I send a POST request?

2002-02-12 Thread Philip J. Newman
://www.php.net/unsub.php;http://www.php.net/unsub.php/A ___ Philip J. Newman ___ Powered by http://www.philipsdomain.com/ Newman Online. Verified account: newmanpj

[PHP] Mailing text from a text file.

2002-02-12 Thread Philip J. Newman
I have the need to be able to mail out a text file. whats the best way that I could do this? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] I have a PHP and Flash5 Problem.

2002-02-12 Thread Philip J. Newman
I know that you can generate images with PHP, is there away of generating FLASH docs? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

Re: [PHP] Setting up group mailer

2002-02-14 Thread Philip J. Newman
that you have $url_to listed\n; $msg .= with Philip's Domain. http://www.philipsdomain.com/\n;; $msg .= Thanks.\n; $mailheaders = From: Philip's Domain :: Hyperlinks.\n; $mailheaders .= Reply-To: [EMAIL PROTECTED]\n\n; mail($email, Philip J. Newman, $msg, $mailheaders

[PHP] searching key words from a database field

2002-02-14 Thread Philip J. Newman
not for big and trees can anyone help? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

Re: [PHP] searching key words from a database field

2002-02-14 Thread Philip J. Newman
a database field On Thursday 14 February 2002 16:38, Philip J. Newman wrote: I'm trying to make a search engine for my database of links. I have been using the following. SELECT * FROM `hyperlinks` WHERE 1 AND `keywords` LIKE '%$getme%' ORDER BY `id` ASC LIMIT 0, 30 if $getme

Re: [PHP] searching key words from a database field

2002-02-14 Thread Philip J. Newman
Subject: Re: [PHP] searching key words from a database field On Thursday 14 February 2002 16:38, Philip J. Newman wrote: I'm trying to make a search engine for my database of links. I have been using the following. SELECT * FROM `hyperlinks` WHERE 1 AND `keywords` LIKE '%$getme

Re: [PHP] good practice

2002-02-14 Thread Philip J. Newman
WHo really cares, if it works it don't matter what they call it. - Original Message - From: Peter J. Schoenster [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 15, 2002 5:36 PM Subject: Re: [PHP] good practice On 14 Feb 2002, at 16:40, Michael Kimsal wrote: On that

[PHP] I need a random number eather one or two

2002-02-23 Thread Philip J. Newman
I'm trying to make a random number kind of a coin toss, heads = 1 = left tales = 2 = right any solutions Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

[PHP] [NEWMAN] Collecting information from a my sql table.

2002-02-24 Thread Philip J. Newman
[pub_dateline]; $pub_info = $row[pub_info]; $pub_image = $row[pub_image]; } ? When I want to get just one record is there an easyer way than using the while loop that I have been using? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25

Re: [PHP] [NEWMAN] Collecting information from a my sql table.

2002-02-24 Thread Philip J. Newman
RE: [PHP] [NEWMAN] Collecting information from a my sql table.Dang, thanks (o; - Original Message - From: Martin Towell To: 'Philip J. Newman' ; [EMAIL PROTECTED] Sent: Monday, February 25, 2002 12:22 PM Subject: RE: [PHP] [NEWMAN] Collecting information from a my sql table

[PHP] Checking for and @ and a .

2002-02-27 Thread Philip J. Newman
I'm trying to make an email field and I would like to check that its valid by checking for an @ and a . can someone point me in the right direction for this. THanks Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

Re: [PHP] Checking for and @ and a .

2002-02-27 Thread Philip J. Newman
Yo thanks this dose work. (o; haven't got to functions in the book yet - Original Message - From: Chris Burnett [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, February 28, 2002 8:25 AM Subject: Re: [PHP] Checking for and @ and a . On 2/27

[PHP] getting a files time and date.

2002-02-28 Thread Philip J. Newman
Is there any way that PHP can grab the time and date of a file ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OMG your right ... $REMOTE_ADDR don't work in Samber 5.1, PHP4

2002-02-28 Thread Philip J. Newman
OK yah, this is a pain in the butt, $REMOTE_ADDR Dose not work in Sambar 5.1. Anyone have anyone have any solutions that can be used insteard? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

Re: [PHP] OMG your right ... $REMOTE_ADDR don't work in Samber 5.1, PHP4

2002-02-28 Thread Philip J. Newman
[EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, March 01, 2002 11:15 AM Subject: Re: [PHP] OMG your right ... $REMOTE_ADDR don't work in Samber 5.1, PHP4 Philip J. Newman wrote: OK yah, this is a pain in the butt, $REMOTE_ADDR Dose

[PHP] What dll files do I need to go in my SYSTEM32 dir on the server?

2002-02-28 Thread Philip J. Newman
Someone tell me what DLL files you actually need to run PHP on isapi, do I need to have all the files in the /php/ dir? Takes up heaps of HDD space. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MacOS-style pager

2002-02-28 Thread Philip J. Newman
We'll for give you - Original Message - From: James Arthur [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 01, 2002 12:39 PM Subject: Re: [PHP] MacOS-style pager Sorry -- that was supposed to go to the KDE list :) On Monday 25 Feb 2002 20:12, James Arthur wrote: Hi

[PHP] Passing verables along from Java Scripts

2002-03-02 Thread Philip J. Newman
Hi there, I have a few java scripts that have some verables that I wish to pass along to my PHP scripts. Any ideas where to start. Oh yah and noting to do with PHP -- Can anyone give me a small java script that will pop up a 400x400pix window when a button is clicked ... can't wortk that

Re: [PHP] Upload a CSV file to MySQL

2002-03-04 Thread Philip J. Newman
- Original Message - From: DL Neil [EMAIL PROTECTED] To: Ben C. [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, March 05, 2002 8:04 AM Subject: Re: [PHP] Upload a CSV file to MySQL Ben, Is there an easy way to upload a CSV file into a MySQL table? Is there also a way to

[PHP] Help with a search array.

2002-03-06 Thread Philip J. Newman
].%'; $sql .= ORDER BY `id` ASC LIMIT 0, 30; ... This should send to my sql ... SELECT * FROM `hyperlinks` WHERE 1 AND `keywords` LIKE green AND `keywords` LIKE eggs ORDER BY `id` ASC LIMIT 0, 30 How ever it really down't want to work. Any Suggestions Philip J. Newman PhilipNZ :: Design Solutions http

[PHP] Makeing $string into CAPS

2002-03-06 Thread Philip J. Newman
How can I make a $string = hello into $string = HELLO? Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012

Re: [PHP] Help with a search array.

2002-03-06 Thread Philip J. Newman
[EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 10:21 AM Subject: Re: [PHP] Help with a search array. $words = explode( ,$keywords); foreach($words as $word) { Create your sql. } .. or $words[0] = 'first word', $words[1]='second

Re: [PHP] Help with a search array.

2002-03-06 Thread Philip J. Newman
(o; thanks http://www.philipsdomain.com/hyperlinks/search.php (o; Thanks buddy (o; - Original Message - From: Hank Marquardt [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED] Cc: Hank Marquardt [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 10:54 AM Subject: Re

[PHP] writing data to a file, pointers

2002-03-15 Thread Philip J. Newman
can someone point me in the right direction for writing data to a file. d:/site/file.txt infomation: [DATE] Information Please point me right. Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012

[PHP] From: Newman, using and ' or ` in My Sql

2002-03-15 Thread Philip J. Newman
hyperlinks ORDER BY clicks DESC LIMIT 0, 10; Any Comments on this? Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012

[PHP] From: Newman, PHP on non PHP servers?

2002-03-16 Thread Philip J. Newman
is requested from another server page. Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012

Re: [PHP] From: Newman, PHP on non PHP servers?

2002-03-16 Thread Philip J. Newman
and javatopten.php returns document.write(' Blar Blar'); - Original Message - From: Michael Geier [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, March 17, 2002 9:06 AM Subject: Re: [PHP] From: Newman, PHP on non PHP servers? create a page

[PHP] [NEWMAN] make an if or else if statement from mysql.

2002-03-19 Thread Philip J. Newman
in the table then it is added. I have yet to start on the code, so would some direction. Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012

Re: [PHP] Re: [NEWMAN] make an if or else if statement from mysql.

2002-03-19 Thread Philip J. Newman
? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Philip J. Newman [EMAIL PROTECTED] wrote in message 003401c1cf85$1afe54c0$0401a8c0@philip">news:003401c1cf85$1afe54c0$0401a8c0@philip... I have a log of IP numbers that come to WEBSITE A $sql

Re: [PHP] Re: [NEWMAN] make an if or else if statement from mysql.

2002-03-20 Thread Philip J. Newman
this - Original Message - From: Philip J. Newman [EMAIL PROTECTED] To: Julio Nobrega Trabalhando [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 8:46 AM Subject: Re: [PHP] Re: [NEWMAN] make an if or else if statement from mysql. if (db_num_rows() 0) { mysql_query

[PHP] [Newman] updating a mysql record if IP # is the same.

2002-03-20 Thread Philip J. Newman
What I'm trying to do: I have a log table called 'access'. When a user comes to my website there IP is logged, along with there DNS name. When they return with the same IP number the accessVIEW is updated +1 and the last number is assigned to them. Heres the Code: ?php requireconfig.php;

[PHP] [newman] This don't work, if else if

2002-03-20 Thread Philip J. Newman
= mysql_query($sql); } ? Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012

[PHP] [newman] Whats wrong with this MySql Statement?

2002-03-22 Thread Philip J. Newman
mysql_query(UPDATE access SET accessVIEW = accessVIEW+1 WHERE accessIP = $proxy_ip); is there anything wrong with this? Philip J. Newman PhilipNZ :: Design Solutions http://www.philipnz.com/ [EMAIL PROTECTED] ICQ# 20482482 +64 25 6144012

Re: [PHP] [NEWMAN] Why?

2002-03-24 Thread Philip J. Newman
Good good question? - Original Message - From: Alberto Wagner [EMAIL PROTECTED] To: Php General Mailling List [EMAIL PROTECTED] Sent: Sunday, March 31, 2002 2:39 PM Subject: [PHP] Why? Why everyone uses $foo or $foobar as examples? -- PHP General Mailing List

[PHP] [Newman] PHP causing exceptions in ntserver.

2002-03-26 Thread Philip J. Newman
hay everyone can someone recommend a good solution for stopping my server from crashing. I have 4. something installed on my server and something nuts happens with the memory causing the server to crash and generate an exception. The only way I can fix this is to re-start. I run the isapi

[PHP] [Newman] Help Needed with a redir script.

2002-03-26 Thread Philip J. Newman
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

[PHP] Problem sending email message, from Newman.

2002-03-26 Thread Philip J. Newman
'ihug.co.nz' [250] received: 550 Syntax error in 'From' header: missing or malformed local part (expected word or ): failing address is: Philip J. Newman] Can anyone help with this $msg = Thanks, $name. Your entry had been added, Good Luck.; $msg .= Email: $email.\n; $msg .= Text: $address, $suburb.\n

Re: [PHP] Problem sending email message, from Newman.

2002-03-26 Thread Philip J. Newman
$email = [EMAIL PROTECTED] example - Original Message - From: Miguel Cruz [EMAIL PROTECTED] To: Philip J. Newman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, March 27, 2002 11:14 AM Subject: Re: [PHP] Problem sending email message, from Newman. Can you

[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

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

[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'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] 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 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

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

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

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

[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;

[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

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

  1   2   >