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:
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
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
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.
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
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
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
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
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
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
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
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,
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
-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
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
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
... 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
++ )
{
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
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
$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
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
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
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
23 matches
Mail list logo