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:

[PHP] Novice question

2011-10-30 Thread John Allsopp
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 web host is saying I'll need URL file access enabled but that it's a) a security risk

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

[PHP] Novice Question - Viewing Errors

2007-06-19 Thread revDAVE
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 lines of code to my page -

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

[PHP] Novice Question

2002-10-03 Thread ThinkNetSolutions
Hello, I don't know if I'm in the right place to ask for help or not... 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

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

[PHP] novice question

2002-02-28 Thread me us
Hi Id reelly like to know the syntax for returning results from a called function to the program that called it;) ? program add($a,$b); echo$ab; ? === ? function add($a,$b) { $ab =$a+$b; } return?? ? Many many thanks JD

RE: [PHP] novice question

2002-02-28 Thread Cal Evans
, February 27, 2002 3:23 PM To: [EMAIL PROTECTED] Subject: [PHP] novice question Hi Id reelly like to know the syntax for returning results from a called function to the program that called it;) ? program add($a,$b); echo$ab; ? === ? function add($a,$b) { $ab =$a+$b

Re: [PHP] novice question

2002-02-28 Thread Jason Cox
://www.php.net/manual/en/functions.php Regards, Jason Cox - Original Message - From: me us [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 2:23 PM Subject: [PHP] novice question Hi Id reelly like to know the syntax for returning results from a called

[PHP] Novice question

2002-02-23 Thread brendan conroy
Hi, thanks for reading this, Im just going to say it cos i dont want to waste your time. Im looking for a really big favour here(cos I think it may take time to spot this, although it might only take five seconds to spot, but I dunno,the problem area of code is only four lines long), so dont

[PHP] novice question -- array_push($real[$i][$j],$s[$j]);????????

2002-02-20 Thread brendan conroy
Hi, thanks for reading this, Iam trying to push elements into a two dimentional array, but I cant find the proper syntax, I'd be grateful if someone could email me the proper method. Iam using the normal method, which worked fine for a one dimentional array, but when I use it for a two

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

[PHP] Novice Question

2002-02-18 Thread brendan conroy
Hi thanks for reading this. This problem is difficult to get across, this is what happens: A) On a html page I ask users how many inputs they wish to enter, say 3. The 3 is stored as a variable called $NoPols. B) Then in the code below, a loop creates $NoPols (3) forms to take the users

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

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

[PHP] Novice question

2002-02-15 Thread brendan conroy
Hi,thanks for reading this! This problem has got me beat! I cant figure out how to insert a minus sign into each element in an array of strings. I keep getting the error that the first element in array_push has to be an array, no matter what method I've tried, and I cant think of any more! Im

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

[PHP] Novice question - Please Help

2002-01-30 Thread brendan conroy
Hi, thanks for reading this. Ive looked at every php site and cant find an answer, youre my last hope!(ok so its not that serious, but pretty close!). Could someone please email me and tell me how to split a string into different arrays and save what they were split on? Also I cant get the

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