> 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: http://www.flowmark
On Sun, 30 Oct 2011 17:24:07 -
"John Allsopp" 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 web host is
> s
On 2011-10-30, at 2:45 PM, Marc Guay 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.
>
>
> simplehtml
> 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
Your question is NOT Novice and I really want to know the answer like you.
On 10/30/11, John Allsopp 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 int
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 an
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 variou
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
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
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 -
> 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 ac
<>
What's an example error message that you're getting? As said, it may just be
a difference in versions.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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 tha
t;[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 function to the program that called it;
Sumthin like this...
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: me us [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 3:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] novice question
Hi
Id reelly
Hi
Id reelly like to know the syntax for returning results from a
called function to the program that called it;)
===
Many many thanks
JD
_
Chat with friends online, try MSN Messenger: http://messen
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 s
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 dimentio
> -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[]
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
cmp( "", $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
>
>
>
> }
> }
>
> -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(so
... 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 you advise
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
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 input
$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 PROTEC
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 tr
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,
>
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
');
}
/* I know it's weird, but use sizeof() for arrays, and
strlen() for strings */
echo('$arr has ' . sizeof($arr) . ' elements');
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. I
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 si
32 matches
Mail list logo