Re: [PHP] Novice question

2011-10-31 Thread John Allsopp
cURL is the best one in my experience, but you have to manage security yourself. Meaning: Remember to escape/encode data. http://php.net/manual/en/book.curl.php Thanks everyone, appreciated, I'll investigate .. Cheers J -- 01723 376477 Cost-free marketing:

Re: [PHP] Novice question

2011-10-30 Thread Negin Nickparsa
Your question is NOT Novice and I really want to know the answer like you. On 10/30/11, John Allsopp j...@johnallsopp.co.uk wrote: Hi I'm afraid I've fallen a little out of touch with PHP dev, so a stupid question for you. I want to write a script that requests a URL and then reads that

Re: [PHP] Novice question

2011-10-30 Thread Marc Guay
I want to write a script that requests a URL and then reads that website .. I'm interested to map web structures. My web host is saying I'll need URL file access enabled but that it's a) a security risk and b) deprecated. simplehtmldom is pretty great for this, if I understand your needs

Re: [PHP] Novice question

2011-10-30 Thread Bastien
On 2011-10-30, at 2:45 PM, Marc Guay marc.g...@gmail.com wrote: I want to write a script that requests a URL and then reads that website .. I'm interested to map web structures. My web host is saying I'll need URL file access enabled but that it's a) a security risk and b) deprecated.

Re: [PHP] Novice question

2011-10-30 Thread Rico Secada
On Sun, 30 Oct 2011 17:24:07 - John Allsopp j...@johnallsopp.co.uk wrote: Hi I'm afraid I've fallen a little out of touch with PHP dev, so a stupid question for you. I want to write a script that requests a URL and then reads that website .. I'm interested to map web structures. My

Re: [PHP] Novice Question - Viewing Errors

2007-06-19 Thread Daniel Brown
On 6/19/07, revDAVE [EMAIL PROTECTED] wrote: I am just beginning to learn about PHP. It seems as though if I make a code error... The PHP page will simply come up blank. ( Not too helpful for error checking) - I would like to see some kind of report on the page as to what went wrong. I have

Re: [PHP] Novice Question - Viewing Errors

2007-06-19 Thread Daniel Brown
On 6/19/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/19/07, revDAVE [EMAIL PROTECTED] wrote: I am just beginning to learn about PHP. It seems as though if I make a code error... The PHP page will simply come up blank. ( Not too helpful for error checking) - I would like to see some kind

Re: [PHP] Novice Question - Viewing Errors

2007-06-19 Thread Jochem Maas
revDAVE wrote: I am just beginning to learn about PHP. It seems as though if I make a code error... The PHP page will simply come up blank. ( Not too helpful for error checking) - I would like to see some kind of report on the page as to what went wrong. I have tried adding various

Re: [PHP] Novice Question

2002-10-03 Thread Justin French
Run a small phpinfo() script on both servers... take note of the version numbers being used, and take not of the config setting register_globals on both... my guess is that register_glabals is set to OFF on your local machine, being a newer install. If it isn't that, it may be an issue with the

Re: [PHP] Novice Question

2002-10-03 Thread Liam . Gibbs
First...I am not a hardcore coder...I'm a designer - so I'm still trying to learn the other side. :) I am being hosted on a Windows 2000 server. It supports PHP. I have a simple script (refer a friend) on a Linux server that works. The same script will not work on this Windows server. What's an

Re: [PHP] Novice Question

2002-10-03 Thread 1LT John W. Holmes
Question: Does PHP4 code have to be written differently for Windows servers? If so, is there a code resource describing the differences? (the only information I can find is on installation on Win servers) No, not really. There are a few functions that won't work on windows because they

RE: [PHP] novice question

2002-02-28 Thread Cal Evans
Sumthin like this... ?PHP $a=10; $b=20; echo add($a,$b) function($one, $two){ return $one + $two } // function($one, $two) ? * * Cal Evans * Journeyman Programmer * Techno-Mage * http://www.calevans.com * -Original Message- From: me us [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

Re: [PHP] novice question

2002-02-28 Thread Jason Cox
JD, This is how you would do it: ? $ab = add($a,$b); echo$ab; ? - or you could do it directly like this - ? echo add($a,$b); ? - or my personal preference - ?=add($a,$b)? === ? function add($a,$b) { $ab =$a+$b; return $ab; } ? A quick read of the section on functions in the online

RE: [PHP] Novice Question

2002-02-19 Thread Ford, Mike [LSS]
-Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: 18 February 2002 22:44 To: 'JSheble'; [EMAIL PROTECTED] window.document.frmName.elements[poly[]].value !!! This should also work (well, it has for me in the past!): window.document.frmName[poly[]].value

RE: [PHP] Novice Question

2002-02-18 Thread Rick Emery
Do you wish to create multiple forms or multiple input fields on a single form? -Original Message- From: brendan conroy [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 2:48 PM To: [EMAIL PROTECTED] Subject: [PHP] Novice Question Hi thanks for reading this. This problem is

RE: [PHP] Novice Question

2002-02-18 Thread Rick Emery
PROTECTED] To: 'brendan conroy' [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Novice Question Date: Mon, 18 Feb 2002 14:54:09 -0600 Do you wish to create multiple forms or multiple input fields on a single form? -Original Message- From: brendan conroy [mailto:[EMAIL PROTECTED]] Sent

Re: [PHP] Novice Question

2002-02-18 Thread Corey Eiseman
... do something with field ... } } -Original Message- From: brendan conroy [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 3:27 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Novice Question I wish to create multiple input fields on a single form, I think(sorry ..could yo

RE: [PHP] Novice Question

2002-02-18 Thread JSheble
++ ) { if( strcmp( , $poly[$idx] ) { ... do something with field ... } } -Original Message- From: brendan conroy [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 3:27 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Novice Question I wish to create multiple

RE: [PHP] Novice Question

2002-02-18 Thread Martin Towell
window.document.frmName.elements[poly[]].value !!! -Original Message- From: JSheble [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 9:41 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Novice Question with this type of naming convention, how would you write a javascript

RE: [PHP] Novice question

2002-02-15 Thread Rick Emery
$element[0] = -.$element[0]; $element[1] = -.$element[1]; $element[2] = -.$element[2]; $element[3] = -.$element[3]; -Original Message- From: brendan conroy [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 3:03 PM To: [EMAIL PROTECTED] Subject: [PHP] Novice question Hi,thanks

Re: [PHP] Novice question - please help

2002-02-11 Thread Adrian Murphy
use str_replace() instead of ereg_replace() ...in the same way described - Original Message - From: brendan conroy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 11, 2002 9:15 PM Subject: [PHP] Novice question - please help Hi, THANK YOU for reading this.I would

RE: [PHP] Novice question - Please Help

2002-01-30 Thread Jerry Verhoef (UGBI)
Take a look at split, explode -Original Message- From: brendan conroy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 1:10 PM To: [EMAIL PROTECTED] Subject: [PHP] Novice question - Please Help Hi, thanks for reading this. Ive looked at every php site and cant

Re: [PHP] Novice question - Please Help

2002-01-30 Thread David Otton
On Wed, 30 Jan 2002 12:10:14 +, you wrote: Could someone please email me and tell me how to split a string into different arrays ? /* this is our start string */ $str = this:is:a:test:string; /* split accepts a regular expression and a string, and returns an array