Re: [PHP] newbie question regarding URL parameters

2007-01-11 Thread Jochem Maas
Dave Goodchild wrote: Wow, there are some really bitchy, unattractive people here. No wonder some not to mention some very judgemental people as well. :-) it's pretty funny that someone who purports to aspire to buddhahood is so stuck in complaining about other people's bitchiness and

Re: [PHP] newbie question regarding URL parameters

2007-01-09 Thread tedd
At 9:17 PM -0500 1/5/07, [EMAIL PROTECTED] wrote: You'll probably get 50 answers to this, but here's probably what happened. There's a setting called register globals that will turn your name=me and age=27 into $name = me and $age = 27. It used to be turned ON by default. This was generally

Re: [PHP] newbie question regarding URL parameters

2007-01-09 Thread Dave Goodchild
Wow, there are some really bitchy, unattractive people here. No wonder some people bail out of IT. Don't confuse knowledge for wisdom. On 1/9/07, tedd [EMAIL PROTECTED] wrote: At 9:17 PM -0500 1/5/07, [EMAIL PROTECTED] wrote: You'll probably get 50 answers to this, but here's probably what

Re: [PHP] newbie question regarding URL parameters

2007-01-09 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-09 17:36:55 +: Wow, there are some really bitchy, unattractive people here. No wonder some people bail out of IT. Don't confuse knowledge for wisdom. I don't see anything bitchy in the whole email. Don't confuse terseness with bitching. Oh, and also don't

Re: [PHP] newbie question regarding URL parameters

2007-01-09 Thread Dave Goodchild
Read the reponses.

Re: [PHP] newbie question regarding URL parameters

2007-01-09 Thread Robert Cummings
On Tue, 2007-01-09 at 18:41 +, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-09 17:36:55 +: Wow, there are some really bitchy, unattractive people here. No wonder some people bail out of IT. Don't confuse knowledge for wisdom. I don't see anything bitchy in the whole email.

Re: [PHP] newbie question regarding URL parameters

2007-01-09 Thread tedd
At 5:36 PM + 1/9/07, Dave Goodchild wrote: Wow, there are some really bitchy, unattractive people here. No wonder some people bail out of IT. Don't confuse knowledge for wisdom. Dave: I don't understand your comment. What I said below is good coding. Never trust any input to be what you

Re: [PHP] newbie question regarding URL parameters

2007-01-06 Thread Robert Cummings
On Sat, 2007-01-06 at 13:31 +1100, Ryan Fielding wrote: Robert Cummings wrote: On Fri, 2007-01-05 at 20:57 -0500, Jim the Standing Bear wrote: Hello, I have a newbie question regarding URL parameters. The PHP script I wrote need to read parameters passed in from a URL, so as an

[PHP] newbie question regarding URL parameters

2007-01-05 Thread Jim the Standing Bear
Hello, I have a newbie question regarding URL parameters. The PHP script I wrote need to read parameters passed in from a URL, so as an example http://my.domain/myscript.php?name=meage=27 and my script would use $name to get the value for name and $age to get the value for age. Everything

Re: [PHP] newbie question regarding URL parameters

2007-01-05 Thread Nicholas Yim
Hello Jim the Standing Bear, register_global try use $name=$_GET['name']; $age=$_GET['age']; Best regards, === At 2007-01-06, 10:05:40 you wrote: === Hello, I have a newbie question regarding URL parameters. The PHP script I wrote need to read parameters passed in from a

Re: [PHP] newbie question regarding URL parameters

2007-01-05 Thread tg-php
You'll probably get 50 answers to this, but here's probably what happened. There's a setting called register globals that will turn your name=me and age=27 into $name = me and $age = 27. It used to be turned ON by default. This was generally considered to be bad security, so it now defaults

Re: [PHP] newbie question regarding URL parameters

2007-01-05 Thread Robert Cummings
On Fri, 2007-01-05 at 20:57 -0500, Jim the Standing Bear wrote: Hello, I have a newbie question regarding URL parameters. The PHP script I wrote need to read parameters passed in from a URL, so as an example http://my.domain/myscript.php?name=meage=27 and my script would use $name to

Re: [PHP] newbie question regarding URL parameters

2007-01-05 Thread Jim the Standing Bear
Thanks, everyone. Yeah, I really need to dig myself out of the sand. :D On 1/5/07, Robert Cummings [EMAIL PROTECTED] wrote: On Fri, 2007-01-05 at 20:57 -0500, Jim the Standing Bear wrote: Hello, I have a newbie question regarding URL parameters. The PHP script I wrote need to read

Re: [PHP] newbie question regarding URL parameters

2007-01-05 Thread Ryan Fielding
Robert Cummings wrote: On Fri, 2007-01-05 at 20:57 -0500, Jim the Standing Bear wrote: Hello, I have a newbie question regarding URL parameters. The PHP script I wrote need to read parameters passed in from a URL, so as an example http://my.domain/myscript.php?name=meage=27 and my script

Re: [PHP] newbie problem - extraneous newlines inserted in PHP-generated HTML form source

2006-11-22 Thread Mark White
Thanks to Richard Lynch and Edward Kay for their help. The var_dump() showed unwanted whitespace appearing in the array data from record 2 onwards. The trim() worked a treat to get rid of it. Now all I have to do is work out what's wrong with my original handler functions that caused the

Re: [PHP] [newbie in session] Is is right behavior???

2006-11-08 Thread clive
Mariusz Topczewski wrote: Hi, I just start in using session, but unfortunatly I meet first problem right now :-( On some PC when i load the page, the is no content, and on other PC the page is loaded properly. On computer where the page is blank i have to press F5 (refresh), and the page

Re: [PHP] [newbie in session] Is is right behavior???

2006-11-08 Thread Sumeet
clive wrote: Mariusz Topczewski wrote: Hi, I just start in using session, but unfortunatly I meet first problem right now :-( On some PC when i load the page, the is no content, and on other PC the page is loaded properly. On computer where the page is blank i have to press F5 (refresh),

Re: [PHP] [newbie in session] Is is right behavior???

2006-11-05 Thread Jürgen Wind
Mariusz Topczewski wrote: On some PC when i load the page, the is no content, and on other PC the page is loaded properly. On computer where the page is blank i have to press F5 (refresh), and the page appear ?. this problem can also be observed on some win boxes when running

Re: [PHP] newbie php tutorial question

2006-10-02 Thread J R
run this bit of code to check if everything is working. ?php phpinfo(); ? On 10/2/06, Stut [EMAIL PROTECTED] wrote: srdaniel wrote: I setup Apache 2.2.3.0 and PHP 5.1.6.6. When I run this PHP file: html head titlePHP Test/title /head body ?php echo 'pHello

Re: [PHP] newbie php tutorial question

2006-10-02 Thread Satyam
[EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Sunday, October 01, 2006 10:49 PM Subject: Re: [PHP] newbie php tutorial question srdaniel wrote: I setup Apache 2.2.3.0 and PHP 5.1.6.6. When I run this PHP file: html head titlePHP Test/title /head body ?php echo 'pHello

Re: [PHP] newbie php tutorial question

2006-10-02 Thread Richard Lynch
On Sun, October 1, 2006 1:27 pm, srdaniel wrote: I setup Apache 2.2.3.0 and PHP 5.1.6.6. When I run this PHP file: html head titlePHP Test/title /head body ?php echo 'pHello World/p'; ? /body /html Any ideas why I get this for output?

Re: [PHP] newbie php tutorial question

2006-10-01 Thread Stut
srdaniel wrote: I setup Apache 2.2.3.0 and PHP 5.1.6.6. When I run this PHP file: html head titlePHP Test/title /head body ?php echo 'pHello World/p'; ? /body /html Any ideas why I get this for output? Hello World

Re: [PHP] Newbie question about ?= ?

2006-09-10 Thread Satyam
- Original Message - From: Mike Borrelli [EMAIL PROTECTED] To: Ray Hauge [EMAIL PROTECTED] Cc: php-general@lists.php.net; Mike Borrelli [EMAIL PROTECTED] Sent: Sunday, September 10, 2006 6:52 AM Subject: Re: [PHP] Newbie question about ?= ? Okay, after thinking about it, and looking

[PHP] Newbie question about ?= ?

2006-09-09 Thread Mike Borrelli
Good day, While I've been using php for more than a little while now, I've never understood why the use of the ?= ...? short tag is noted to be avoided. Or rather, I understand that there's an option to disable it, and that's why it's noted in this way, but I don't understand why it's disabled?

Re: [PHP] Newbie question about ?= ?

2006-09-09 Thread Dave Goodchild
To be gained: less typing To be lost: short_open_tag may be disabled in some environments, making your code less portable. If you are only ever going to run your code in one environment and can enable short_open_tag (or if it is already on), there's no issue. --

Re: [PHP] Newbie question about ?= ?

2006-09-09 Thread Christopher Weldon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Borrelli wrote: Good day, While I've been using php for more than a little while now, I've never understood why the use of the ?= ...? short tag is noted to be avoided. Or rather, I understand that there's an option to disable it, and

Re: [PHP] Newbie question about ?= ?

2006-09-09 Thread Satyam
- Original Message - From: Mike Borrelli [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, September 09, 2006 3:19 PM Subject: [PHP] Newbie question about ?= ? Good day, While I've been using php for more than a little while now, I've never understood why the use

Re: [PHP] Newbie question about ?= ?

2006-09-09 Thread Ray Hauge
On Saturday 09 September 2006 08:19, Mike Borrelli wrote: Good day, While I've been using php for more than a little while now, I've never understood why the use of the ?= ...? short tag is noted to be avoided. Or rather, I understand that there's an option to disable it, and that's why

Re: [PHP] Newbie question about ?= ?

2006-09-09 Thread Mike Borrelli
Okay, after thinking about it, and looking at the replies, it seems as though there is only one situation where the short tags break things, and that's in XML with the ? ? pair being valid for XML. Yes, enabling the short tags is in the ini file, but is it on by default and require effort to

Re: [PHP] Newbie Form Question

2006-08-07 Thread David Dorward
Richard Lynch wrote: ?php if (isset($_REQUEST['email'])){ $success = mail($_REQUEST['action'], 'un/subscribe', 'un/subscribe', From: $_REQUEST[email]\r\nReply-to: $_REQUEST[email]); if ($success) echo Status Change Sent; else echo Unable to send Status Change; } ? What

Re: [PHP] Newbie Form Question

2006-08-07 Thread Richard Lynch
On Mon, August 7, 2006 2:37 am, David Dorward wrote: Richard Lynch wrote: ?php switch($_REQUEST['email']){ case '[EMAIL PROTECTED]': case '[EMAIL PROTECTED]': //Do nothing. break; default: die(Hack attempt.); break; } if (isset($_REQUEST['email'])){ $success =

Re: [PHP] Newbie Form Question

2006-08-07 Thread Andrew Kreps
Better yet, don't allow the user to enter a From address. Simply give them subscribe and unsubscribe radio buttons, and make sure the un/subscribe-ee gets a confirmation email. And certainly check your input fields for newlines. :) On 8/7/06, Richard Lynch [EMAIL PROTECTED] wrote: On Mon,

[PHP] Newbie Form Question

2006-08-04 Thread David Ellsworth
I was wondering how simple it would be to set up a script to provide a subscribe/unsubscribe form for a list serve. The form would send an email to the subscribe address or unsubscribe address as selected. Thanks David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Newbie Form Question

2006-08-04 Thread Jay Blanchard
[snip] I was wondering how simple it would be to set up a script to provide a subscribe/unsubscribe form for a list serve. The form would send an email to the subscribe address or unsubscribe address as selected. [/snip] I wondered about that the other day myself and came to the conclusion that

Re: [PHP] Newbie Form Question

2006-08-04 Thread Duncan Hill
On Friday 04 August 2006 13:27, Jay Blanchard wrote: [snip] I was wondering how simple it would be to set up a script to provide a subscribe/unsubscribe form for a list serve. The form would send an email to the subscribe address or unsubscribe address as selected. [/snip] I wondered about

Re: [PHP] Newbie Form Question

2006-08-04 Thread Russell Jones
In most cases, your PHP build is set up with mail() attached to whatever SMTP you have on the server. you would just use the following... mail($recipientemail,$subject,$message); On 8/4/06, Duncan Hill [EMAIL PROTECTED] wrote: On Friday 04 August 2006 13:27, Jay Blanchard wrote: [snip] I

Re: [PHP] Newbie Form Question

2006-08-04 Thread David Ellsworth
requirements.] - Rick Original Message Date: Friday, August 04, 2006 08:14:58 AM -0400 From: David Ellsworth [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Newbie Form Question I was wondering how simple it would be to set up a script

Re: [PHP] Newbie Form Question

2006-08-04 Thread David Ellsworth
what I need is what I would use after the form is submitted - responding to whether the form sent the value (post likely from a dropdown field) of subscribe or unsubscribe to the posted page for processing. On 8/4/06 8:52 AM, Duncan Hill [EMAIL PROTECTED] wrote: On Friday 04 August 2006 13:27,

Re: [PHP] Newbie Form Question

2006-08-04 Thread Richard Lynch
On Fri, August 4, 2006 7:14 am, David Ellsworth wrote: I was wondering how simple it would be to set up a script to provide a subscribe/unsubscribe form for a list serve. The form would send an email to the subscribe address or unsubscribe address as selected. It's pretty simple: ?php if

RE: [PHP] [NEWBIE] PHP General List Guide Other Good Stuff

2006-06-30 Thread Jay Blanchard
[snip] This was listed in another thread but I think would be a great tool and online refference for any one who is programming in PHP and especially for NEWBIES. http://www.hudzilla.org/phpbook/ [and snip] If you have a question about any of the pear packages, join the appropriate list here:

Re: [PHP] [NEWBIE] PHP General List Guide Other Good Stuff

2006-06-30 Thread tedd
At 9:16 AM +1000 6/30/06, Chris wrote: Jay Blanchard wrote: Recommended reading http://zirzow.dyndns.org/php-general/NEWBIE Should we add a link to the pear support page for pear related questions? Something as simple as: If you have a question about any of the pear packages, join the

Re: [PHP] [NEWBIE] PHP General List Guide Other Good Stuff

2006-06-30 Thread tedd
At 4:45 PM -0700 6/29/06, Scott Heinrichs wrote: This was listed in another thread but I think would be a great tool and online refference for any one who is programming in PHP and especially for NEWBIES. http://www.hudzilla.org/phpbook/ Also, in similar fashion:

RE: [PHP] [NEWBIE] PHP General List Guide Other Good Stuff

2006-06-30 Thread Jay Blanchard
[snip] Also, in similar fashion: http://www.htmlgoodies.com/beyond/php/article.php/3472391 http://www.w3schools.com/php/default.asp http://www.weberdev.com/ViewArticle/433 http://www.weberdev.com/Manuals/ http://www.unf.edu/~rita0001/eresources/php_tutorials/index.htm There's lot's of links we

RE: [PHP] [NEWBIE] PHP General List Guide Other Good Stuff

2006-06-30 Thread tedd
At 8:09 AM -0500 6/30/06, Jay Blanchard wrote: [snip] Also, in similar fashion: http://www.htmlgoodies.com/beyond/php/article.php/3472391 http://www.w3schools.com/php/default.asp http://www.weberdev.com/ViewArticle/433 http://www.weberdev.com/Manuals/

[PHP] [NEWBIE] PHP General List Guide Other Good Stuff

2006-06-29 Thread Jay Blanchard
Recommended reading http://zirzow.dyndns.org/php-general/NEWBIE http://phpsec.org/ http://www.php.net/manual/en/security.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [NEWBIE] PHP General List Guide Other Good Stuff

2006-06-29 Thread Chris
Jay Blanchard wrote: Recommended reading http://zirzow.dyndns.org/php-general/NEWBIE Should we add a link to the pear support page for pear related questions? Something as simple as: If you have a question about any of the pear packages, join the appropriate list here:

Re: [PHP] [NEWBIE] PHP General List Guide Other Good Stuff

2006-06-29 Thread Scott Heinrichs
This was listed in another thread but I think would be a great tool and online refference for any one who is programming in PHP and especially for NEWBIES. http://www.hudzilla.org/phpbook/ note: This is one of the best reads I have seen, both online and in print. On 6/29/06, Chris [EMAIL

[PHP] Newbie, PHP Script not sending email in WinME and PWS

2006-04-19 Thread verci
Hi I've installed PHP version 5 in my machine running WinME, Personal Web Server and Internet explorer 6.0.2800.1106, 128 Bit, to have my site on the net, the script I use (below) in my web page named feedbak.php ? // - CONFIGURABLE SECTION $mailto =

[PHP] php newbie having trouble going to detail page

2006-04-08 Thread David Doonan
I'm having trouble getting the correct results on a display page. The first query is pulling the name of active authors from the d/b and sending a request to only return essay titles by the requested author. The list page however is displaying essay titles by all authors. No doubt

[PHP] php newbie having trouble going to list page

2006-04-08 Thread David Doonan
I'm having trouble getting the correct results on a list page. The first query is pulling the name of active authors from the d/b and linking to a list page that is supposed to return essay titles by the requested author. The list page however is displaying essay titles by all authors.

Re: [PHP] php newbie having trouble going to detail page

2006-04-08 Thread John Hicks
David Doonan wrote: I'm having trouble getting the correct results on a display page. The first query is pulling the name of active authors from the d/b and sending a request to only return essay titles by the requested author. The list page however is displaying essay titles by all

Re: [PHP] php newbie having trouble going to detail page

2006-04-08 Thread David Doonan
On Apr 8, 2006, at 11:24 AM, John Hicks wrote: So your solution is this: Include a PHP variable in your SQL query to specify which author you want to select. You probably want something like this: WHERE Author.Author_Name = Writings.Author_Name AND Author.ID = '$MySelectedAuthorID' (but

Re: [PHP] php newbie having trouble going to detail page

2006-04-08 Thread John Hicks
David Doonan wrote: On Apr 8, 2006, at 11:24 AM, John Hicks wrote: So your solution is this: Include a PHP variable in your SQL query to specify which author you want to select. You probably want something like this: WHERE Author.Author_Name = Writings.Author_Name AND Author.ID =

Re: [PHP] php newbie having trouble going to detail page

2006-04-08 Thread David Doonan
On Apr 8, 2006, at 12:55 PM, John Hicks wrote: $recordID = $_GET['recordID']; Note that your request URL has a value for 'ID' whereas your program is looking for a value for 'recordID'. Changed above to: $recordID = $_GET['ID']; And all was right with the world. Thanks John! david --

Re: [PHP] php newbie having trouble going to list page

2006-04-08 Thread chris smith
On 4/9/06, David Doonan [EMAIL PROTECTED] wrote: I'm having trouble getting the correct results on a list page. The first query is pulling the name of active authors from the d/b and linking to a list page that is supposed to return essay titles by the requested author. The list page however

Re: [PHP] php newbie having trouble going to list page

2006-04-08 Thread David Tulloh
David Doonan wrote: I'm having trouble getting the correct results on a list page. The first query is pulling the name of active authors from the d/b and linking to a list page that is supposed to return essay titles by the requested author. The list page however is displaying essay

Re: [PHP] php newbie having trouble going to list page

2006-04-08 Thread Richard Lynch
On Sat, April 8, 2006 10:12 am, David Doonan wrote: I'm having trouble getting the correct results on a list page. The first query is pulling the name of active authors from the d/b and linking to a list page that is supposed to return essay titles by the requested author. The list page

[PHP] newbie question

2006-04-05 Thread David Doonan
I'm developing my first php mysql site and have hit a stumbling block regarding how text is being returned out of the database. This is the code that I'm using on the display page. It is displaying the returned text as one long paragraph, instead of mulitiple paragraphs: p?php echo

RE: [PHP] newbie question

2006-04-05 Thread Jay Blanchard
[snip] I'm developing my first php mysql site and have hit a stumbling block regarding how text is being returned out of the database. This is the code that I'm using on the display page. It is displaying the returned text as one long paragraph, instead of mulitiple paragraphs: p?php echo

RE: [PHP] newbie question

2006-04-05 Thread Jay Blanchard
[snip] Read this http://www.php.net/nl2br The page stops writing once it hits this line: p?php echo n12br($row_Recordset1['Writings_Text']); ?/p [/snip] And? What is the content of 'Writings Text'? Is there anything there? [helpful hint] When responding to e-mails on the list you must hit

Re: [PHP] newbie question

2006-04-05 Thread Evan Priestley
On Apr 5, 2006, at 11:41 AM, Jay Blanchard wrote: p?php echo n12br($row_Recordset1['Writings_Text']); ?/p ^ Not sure if this is just a transcription error, but that should be an 'l' (ell), not a '1' (one) in nl2br. Evan -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] newbie question

2006-04-05 Thread David Doonan
Writings_Text is the field in the d/b that contains the text I'm trying to return. I've done a couple of dozen ColdFusion sites and would format like this: cfoutputp#ParagraphFormat(Writings_Text)#/p/cfoutput and the results would be retuned exactly as stored in the d/b. What I'm searching

Re: [PHP] newbie question

2006-04-05 Thread David Doonan
On Apr 5, 2006, at 11:51 AM, Evan Priestley wrote: On Apr 5, 2006, at 11:41 AM, Jay Blanchard wrote: p?php echo n12br($row_Recordset1['Writings_Text']); ?/p ^ Not sure if this is just a transcription error, but that should be an 'l' (ell), not a '1' (one) in nl2br.

Re: [PHP] newbie question

2006-04-05 Thread John Wells
On 4/5/06, David Doonan [EMAIL PROTECTED] wrote: The only difference is the textarea tag from the form. What am I missing? nl2br is short for newline to br. If you pass a string of content that contains newline characters (these signal the ending of a line of text) to nl2br(), it will replace

[PHP] Newbie question

2006-03-17 Thread Alexander Bauza
Hi there, I'm on WinXP, I got IIS installed, I downloaded and installed PHP 5.1.2 installer, I edited the php.ini file, I got documentation, I've been red and I'm kind of FRUSTATED!!! because I can't run PHP code. I need help please!!! Thanks for any help Alexander -- PHP General Mailing

RE: [PHP] Newbie question

2006-03-17 Thread Jay Blanchard
[snip] I'm on WinXP, I got IIS installed, I downloaded and installed PHP 5.1.2 installer, I edited the php.ini file, I got documentation, I've been red and I'm kind of FRUSTATED!!! because I can't run PHP code. [/snip] Uninstall what you have and then go to

[PHP] [NEWBIE GUIDE] For the benefit of new users

2006-03-15 Thread Jay Blanchard
= Please feel free to add more points and updates. 20050322jb - Note the new location of PHP Editors list. = Topics: === - Where to Find More Information - Diagnosing the problem.

Re: [PHP] [NEWBIE GUIDE] For the benefit of new users

2006-03-15 Thread John Nichel
Jay Blanchard wrote: snip And of course everyone that ever posted to php-general. /snip Even the people who top post? *ducks* -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List

RE: [PHP] [NEWBIE GUIDE] For the benefit of new users

2006-03-15 Thread Jay Blanchard
[snip] Even the people who top post? *ducks* [/snip] ...you cannot be hit by someone who top posts. If you duck... You know what struck me as funny about this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] newbie problem

2006-02-21 Thread Jay Blanchard
[snip] [snip] When working with an HTML file with a form with form action=somename.php method=post the somename.php file is served (completely) to my browser as plain text after the 'submit' button is clicked on my machine (MacOS X). On the external webhost though everything is

Re: [PHP] newbie problem

2006-02-21 Thread tedd
Hi all, I have a page that lets people upload images - they are then resized for use throughout my site. It all works fine, but I need to reduce the jpg size (without reducing image size) Is there a php function that lets you compress the jpg? Thanks Jules No -- my understanding is

[PHP] [NEWBIE GUIDE] - suggestions for new list members

2006-02-21 Thread Jay Blanchard
= Please feel free to add more points and updates. 20050322jb - Note the new location of PHP Editors list. = 1. If you have any queries/problems about PHP try

RE: [PHP] newbie problem [SOLVED]

2006-02-21 Thread Robert Voogdgeert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Have you installed PHP on the localhost and is it running properly? Jay (and others), I solved the problem. I need to use 10.0.1.3/somedir/somedir/somefile.html and not localhost/somedir/somedir/somefile.html, something I don't

RE: [PHP] newbie problem [SOLVED]

2006-02-21 Thread Jay Blanchard
[snip] Have you installed PHP on the localhost and is it running properly? Jay (and others), I solved the problem. I need to use 10.0.1.3/somedir/somedir/somefile.html and not localhost/somedir/somedir/somefile.html, something I don't understand (probably because of lack of

Re: [PHP] newbie problem

2006-02-21 Thread Richard Lynch
On Mon, February 20, 2006 1:14 pm, Robert Voogdgeert wrote: When working with an HTML file with a form with form action=somename.php method=post the somename.php file is served (completely) to my browser as plain text after the 'submit' button is clicked on my machine (MacOS X). On the

[PHP] newbie problem

2006-02-20 Thread Robert Voogdgeert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear php-users, When working with an HTML file with a form with form action=somename.php method=post the somename.php file is served (completely) to my browser as plain text after the 'submit' button is clicked on my machine (MacOS X). On

RE: [PHP] newbie problem

2006-02-20 Thread Jay Blanchard
[snip] When working with an HTML file with a form with form action=somename.php method=post the somename.php file is served (completely) to my browser as plain text after the 'submit' button is clicked on my machine (MacOS X). On the external webhost though everything is processed

Re: [PHP] newbie problem

2006-02-20 Thread John Nichel
Robert Voogdgeert wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear php-users, When working with an HTML file with a form with form action=somename.php method=post the somename.php file is served (completely) to my browser as plain text after the 'submit' button is clicked

Re: [PHP] newbie problem

2006-02-20 Thread Robert Voogdgeert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Voogdgeert wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear php-users, When working with an HTML file with a form with form action=somename.php method=post the somename.php file is served

Re: [PHP] newbie problem

2006-02-20 Thread Ray Hauge
On Monday 20 February 2006 15:32, Robert Voogdgeert wrote: Robert Voogdgeert wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear php-users, When working with an HTML file with a form with form action=somename.php method=post the somename.php file is

Re: [PHP] newbie problem

2006-02-20 Thread julian haffegee
Hi all, I have a page that lets people upload images - they are then resized for use throughout my site. It all works fine, but I need to reduce the jpg size (without reducing image size) Is there a php function that lets you compress the jpg? Thanks Jules -- PHP General Mailing List

Re: [PHP] Newbie Question Can't insert values into MySQL DB via PHP

2006-02-11 Thread Duggles Temple
An update to my (former) problem: Hi, I've taken all your advice on debuggin, netequitte and the like. It works now and I would like to thank you all for your help in my stupidly newbie question. Thanks :)

[PHP] Newbie Question Can't insert values into MySQL DB via PHP

2006-02-10 Thread Duggles Temple
Hi, I'd like to say in advance that I am sorry about the silly and very newbie question I'm asking. I am having a problem with a shop system. I can't add values into the MySQL DB via a PHP statement. The values are being transferred from one page to another (know that from the echo statement),

Re: [PHP] Newbie Question Can't insert values into MySQL DB via PHP

2006-02-10 Thread Jochem Maas
Duggles Temple wrote: Hi, I'd like to say in advance that I am sorry about the silly and very newbie question I'm asking. don't be - life's too short. I am having a problem with a shop system. I can't add values into the MySQL DB via a PHP statement. The values are being transferred from

Re: [PHP] Newbie Question Can't insert values into MySQL DB via PHP

2006-02-10 Thread Tom Rogers
Hi, Friday, February 10, 2006, 8:16:41 PM, you wrote: DT Hi, DT I'd like to say in advance that I am sorry about the silly and very newbie DT question I'm asking. DT I am having a problem with a shop system. I can't add values into the MySQL DT DB via a PHP statement. The values are being

Re: [PHP] Newbie Question Can't insert values into MySQL DB via PHP

2006-02-10 Thread Duggles Temple
...I knew I would forget something... The echo statement show the values that I would input from the last page. The MySQL error would be Query was empty.

Re: [PHP] Newbie Question Can't insert values into MySQL DB via PHP

2006-02-10 Thread Jochem Maas
Duggles Temple wrote: ...I knew I would forget something... The echo statement show the values that I would input from the last page. I don't think so - you should be echo'ing a SQL statement that _contains_ the (sanitized???) The MySQL error would be Query was empty. how do you know? (I

Re: [PHP] Newbie Question Can't insert values into MySQL DB via PHP

2006-02-10 Thread Duggles Temple
I WOULD tell you the exact string that the echo statement outpus, but the SQL has chrashed and now PHP ownt interact (damn tin of worms i've opened here). But, I know that if i send the data from the other page, it will arrive to the addvalue.php page and be echoed successfully (do you really

Re: [PHP] Newbie Question Can't insert values into MySQL DB via PHP

2006-02-10 Thread Barry
Duggles Temple wrote: I WOULD tell you the exact string that the echo statement outpus, but the SQL has chrashed and now PHP ownt interact (damn tin of worms i've opened here). But, I know that if i send the data from the other page, it will arrive to the addvalue.php page and be echoed

RE: [PHP] Newbie Question Can't insert values into MySQL DB via PHP

2006-02-10 Thread Jim Moseby
There must be a problem between [Form of the page] [PHP code] For me the problem is usually between [Keyboard] [Chair] ;-) JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie Question Can't insert values into MySQL DB via PHP

2006-02-10 Thread Kevin Kinsey
Jochem Maas wrote: Duggles Temple wrote: I am having a problem with a shop system. I can't add values into the MySQL DB via a PHP statement. The values are being transferred from one page to another (know that from the echo statement), but the SQL statement isn't working. The statement

[PHP] [NEWBIE GUIDE] - suggestions for new list members

2006-01-23 Thread Jay Blanchard
= Please feel free to add more points and updates. 20050322jb - Note the new location of PHP Editors list. = 1. If you have any queries/problems about PHP try

Re: [PHP] Newbie question: need to transfer directory contents fr om my local machine to my website

2006-01-06 Thread Jochem Maas
ghood stuff Jon Westcot wrote: Jochem: My most sincere apologies for not replying to your questions. I've been suffering with a rather dibilitating head cold the last few days and somehow glossed over your questions. 1. what is the local machine? Just my local workstation.

Re: [PHP] Newbie question: need to transfer directory contents from my local machine to my website

2006-01-05 Thread Jochem Maas
Jon Westcot wrote: Hi all: Thanks to those who replied to my earlier question. I understand now that what I really need to do is to set up a local server and MySQL for my project, as PHP seems rife with ways to query the local server's folder structure. I am assuming that you are only

Re: [PHP] Newbie question: need to transfer directory contents fr om my local machine to my website

2006-01-05 Thread Jon Westcot
Jochem: My most sincere apologies for not replying to your questions. I've been suffering with a rather dibilitating head cold the last few days and somehow glossed over your questions. 1. what is the local machine? Just my local workstation. 2. where does the DB live? (is it a

RE: [PHP] Newbie question: need to transfer directory contents fr om my local machine to my website

2006-01-04 Thread Jim Moseby
Hi Jon, welcome. I'm really new at PHP and will probably embarrass myself many times over asking questions that have been asked gazillions of times before, so let this serve as a blanket apology. You will get a cold response from the regulars on this list if you ask questions that have

Re: [PHP] Newbie question: need to transfer directory contents from my local machine to my website

2006-01-04 Thread Miles Thompson
At 02:18 AM 1/4/2006, Jon Westcot wrote: Hi all: I'm really new at PHP and will probably embarrass myself many times over asking questions that have been asked gazillions of times before, so let this serve as a blanket apology. Now, to my question. Here's what I'm trying to do. I

Re: [PHP] Newbie question: need to transfer directory contents from my local machine to my website

2006-01-04 Thread Jason Pappin
Hi, You should perhaps look at setting up a web server on your computer. PHP as stated works server-side and if those folders/files you wish to transfer reside in the web root, then PHP can process those files. Perhaps look at how a web based FTP client written in PHP works for how to

Re: [PHP] Newbie question: need to transfer directory contents fr om my local machine to my website

2006-01-04 Thread Jochem Maas
Jim Moseby wrote: Hi Jon, welcome. I'm really new at PHP and will probably embarrass myself many times over asking questions that have been asked gazillions of times before, so let this serve as a blanket apology. You will get a cold response from the regulars on this list if you ask

RE: [PHP] Newbie question: need to transfer directory contents frommy local machine to my website

2006-01-04 Thread Duffy, Scott E
I would take a look at glob. http://us2.php.net/manual/en/function.glob.php Scott -Original Message- From: Jason Pappin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 10:48 AM To: Jon Westcot; PHP General Subject: Re: [PHP] Newbie question: need to transfer directory

<    1   2   3   4   5   6   7   8   9   10   >