Hi all,
Is there an easy way to remove tag from a string ?
Ive got this script and i want it to output only html...
I know i can do this with regular expression but i wonder if there are some
native function to do the job.
Test
Hello !!!
Regards !
Rémy Dufour
--
PHP General Mailing
Hi all,
Is there an easy way to connect php to rainingdata db ?
Where can i find documentation on this ?
regards.
Rémy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Im currently working with phplib template and im wondering if PEAR template class can
give me more...
Anyone got an idea ?
Rémy
Take a look at this class. I think thats what you want !
> Help
>
> I'm a newbie to indepth PHP.
>
> I want to issue an fsockopen command to pass a POST data set to a remote
server script.
>
> I understand the pricipals behind fsockopen, but I cannot figure out the
string I need to pass to POST t
I've tested thecode and there is what i've got
Proceduraltook 1.24408602715 seconds
OOtook 1.24240803719 seconds
Here is the code. Test it by yourself
took ". (getmicrotime() - $time_start) ." seconds";
class count {function icount($vs) {$var=0;
while($count < $vs) {
Try this
$a = array('one'=>1, 'two'=>2 );
$b = (object)$a;
> I have the following array:
> Array
> (
> [one] => 1
> [two] => 2
> )
> that I would like to transform into the following object
> stdClass Object
> (
> [one] => 1
> [two] => 2
> )
>
> any idea ?
--
PHP General Maili
You can use lynx as a command, just like that :
"lynx http://username:password@localhost/secure/script.php";
Rémy Dufour
> I want to set up a crontab using my hosts control panel, and when i go to
> set one up there are boxes for how frequently you want the task to run,
and
> one labelled "Comma
If you do this, it should work
function foo()
{
global $_POST;
reset($_POST);
foreach($_POST as $item => $value){
echo "$item, $value";
}
}
Thats work for me.
> I've tried this, but it's still doing the same thing. Is there something
> special about this particular var
Put reset($_POST) before foreach loop
> I'm trying to loop through $_POST vars in a function, which I understand
to
> be an autoglobal associative array. Here's the code I'm using:
>
> foreach($_POST as $item => $value){
> echo "$item, $value";
> }
>
> However, I only get the first element of th
9 matches
Mail list logo