Hello,
I have a question (what a surprise :-) )
I browsed the archives, but didn't find what I'm looking for.
I have an object instance stored in some variable (like $myobject). I want
to save this instance into another variable (like $tempobject). I thought,
this will be the way:
$myobject
I forgot to tell you that I have to use PHP4.2 because of my web provider.
Anything besides of _clone?
SanTa
- Original Message -
From: Hamza Saglam
To: "Sándor Tamás (GMail)"
Sent: Tuesday, August 07, 2007 10:49 AM
Subject: Re: Object reference into variable?
2006/12/29, Arpad Ray <[EMAIL PROTECTED]>:
Angelo Zanetti wrote:
> So is there a way to test for \r\n? or what else can I use to delimit
> these two values (last column of row and first column of next row)?
>
mmm what about open the file with and hex editor?.. or mmm notepad++
have a option to
Hi, i have a problem using regex, i want to get all the text between " "
so i try this...
$subject = 'menu "Archer?",-,"Chief?",L_Menu2,"Big Mouth?",L_Menu3;';
if (ereg('"([^"]*)"', $subject, $regs)) {
print_r($regs);
}
but just return me:
Array
(
[0] => "Archer?"
[1] => Archer?
CRE)...
anyway, PCRE is better that ereg?
On Sat, Feb 03, 2007 at 12:36:59PM -0500, Manolet Gmail wrote:
> Hi, i have a problem using regex, i want to get all the text between " "
>
> so i try this...
>
> $subject = 'menu "Archer?",-,"Chi
r alternative to ereg()."
On Sat, Feb 03, 2007 at 01:58:50PM -0500, Manolet Gmail wrote:
> anyway, PCRE is better that ereg?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi, i install 4 IP cameras and i want to extract the images from their
web interface that is protected be a username and password (HTTP AUTH)
and show it into another system. so i do a function to connect to it
and get the image...
function subd($host,$port,$ownername,$passw,$request) {
$sock =
2007/3/12, Richard Lynch <[EMAIL PROTECTED]>:
Instead of trying to re-invent the authentication wheel, just use
http://php.net/curl
wow!! Thanks you A LOOOT!!! thats amazing!!!
On Thu, March 8, 2007 4:51 pm, Manolet Gmail wrote:
> hi, i install 4 IP cameras and i want t
curl_exec($ch);
curl_close($ch);
2007/3/13, Manolet Gmail <[EMAIL PROTECTED]>:
2007/3/12, Richard Lynch <[EMAIL PROTECTED]>:
>
> Instead of trying to re-invent the authentication wheel, just use
> http://php.net/curl
>
wow!! Thanks you A LOOOT!!! thats amazing!!!
hi, i want a php script to create htdigest file...
the correct file is:
username:admin
digest:trac
pass:admin
admin:trac:71ea86385b35d5e2575b0baec1904ded
i try to do it on php with this:
echo "admin:trac:".md5("admin");
but i receive this:
admin:trac:21232f297a57a5a743894a0e4a801fc3
how is
hi, i want to do a svn update (subversion) from php using exec (or system)
now, this works:
exec("ls; pwd",$out);
foreach($out as $line)echo"$line\n";
and this also works and print me the help from subversion:
exec("svn help",$out);
foreach($out as $line)echo"$line\n";
but this doesnt work:
2007/5/28, Greg Donald <[EMAIL PROTECTED]>:
On 5/28/07, Manolet Gmail <[EMAIL PROTECTED]> wrote:
> but this doesnt work:
>
> exec("svn update",$out);
> foreach($out as $line)echo"$line\n";
>
> dont print anything... dont update the file
e 2>&1", $out);
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
> -Original Message-
> From: Manolet Gmail [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 29, 2007 5:45 PM
>
2007/5/30, Richard Lynch <[EMAIL PROTECTED]>:
On Tue, May 29, 2007 10:44 am, Manolet Gmail wrote:
> 2007/5/28, Greg Donald <[EMAIL PROTECTED]>:
>> On 5/28/07, Manolet Gmail <[EMAIL PROTECTED]> wrote:
>> > but this doesnt work:
>> >
>> > exe
Hello,
using function getimagesize();
I am trying to get channels attribute value of image, it returns 3 for
cmyk image actually it should return 4, can you tell me why it happens so?
regds.
dmt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
Hi all,
I have been using a mailto() script for the last three years and from April
25, 2012 incoming HTML email in Goggle mail is displaying as Plain Text.
Something clearly changed with Google. Perhaps there is some change I need
to make with my script??
// First set up some variables for reci
Dear Ethan,
It would be useful to see what code you are using.
The syntax is:
UPDATE table_name
SET column1=value, column2=value2,...
WHERE some_column=some_value
The data that you are required to enter is for Intake3. I am assuming that
the only change is the History and/or Phone that you nee
Haluk,
After you retrieve the date from the database you still have to convert it
from a string to time and then to a date. Try:
Terry
On 2 May 2012 22:36, Haluk Karamete wrote:
> This is my code and the output is right after that...
>
> $PDate = $row['PDate'];
> //row is tapping into ms-sq
Tom,
Here is how you would paginate in PHP.
//
// Number of records to show per page:
$display = 4;
// Determine how many records there are.
if (isset($_GET['np'])) {
$num_pages = $_GET['np'];
} else {
$query = "SELECT * FROM mytable";
$query_result = mysql
at 5:14 PM, Marco Behnke wrote:
>
> >
> >
> > Am 29.04.2012 22:31, schrieb Terry Ally (Gmail):
> >
> >> Hi all,
> >>
> >> I have been using a mailto() script for the last three years and from
> >> April
> >> 25, 2012 incoming HTML ema
just the distance. I need the distance so that I can calculate cost
of a trip.
http://maps.googleapis.com/maps/api/distancematrix/json"; method="get">
Get
Distance
On 4 May 2012 15:08, David OBrien wrote:
> Google is still your friend
>
> On Fri, May 4, 20
ovember 2012 18:48, shiplu wrote:
> You can always use timestamp which is integer.
>
> $todaydate = time();
> $showenddate = strtotime($showsRecord['end_date']);
>
>
> On Mon, Nov 12, 2012 at 12:30 AM, Terry Ally (Gmail)
> wrote:
>
>> Hi all,
>&
Stuart,
I reversed it as you suggested and every future show is displaying as
having ended.
Terry
On 11 November 2012 19:11, Stuart Dallas wrote:
> Please include the list when replying.
>
> On 11 Nov 2012, at 19:08, "Terry Ally (Gmail)"
> wrote:
>
> > What I
must convert both $todaydate and $showendate with strtotime()
> function, then you can compare them.
>
> On Mon, Nov 12, 2012 at 1:30 AM, Terry Ally (Gmail)
> wrote:
>
>> Hi all,
>>
>> I am having a problem with comparing time. I am using the following:
>>
>
_**date']);
>
>
>> if ($todaydate< $showenddate):
>> echo "The date of the show has not yet arrived";
>> else:
>> echo "The show has ended";
>> endif;
>>
>> You must convert both $todaydate and $showendate with strt
You could echo HTML code e.g.
Number:
*Submit*
or include it as one of your form attributes:
**
First name:
Last name:
On 4 March 2013 07:16, Maciek Sokolewicz wrote:
> On 4-3-2013 6:44, John Taylor-Johnston wrote:
>
>> I have many different submit button.
>>
>>
>>
>> When php
I was using an example and NOT intended to show ASP.
On 4 March 2013 08:35, Maciek Sokolewicz wrote:
> On 4 March 2013 09:32, Terry Ally (Gmail) wrote:
> > You could echo HTML code e.g.
> Which is still purely HTML and has nothing whatsoever to do with PHP.
>
> >
> &g
has
been a significant reduction in emails from legitimate SEO companies.
However there is an upsurge in fly-by-night individuals who are all using
Gmail addresses and originating in the USA. It seems as though someone is
selling them a database of websites to contact.
I wish there was a way of
28 matches
Mail list logo