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:
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
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
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 -
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
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
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
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
, 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
://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
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
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
-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
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
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
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
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
$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
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
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
32 matches
Mail list logo