On Fri, Mar 1, 2013 at 7:04 PM, Sebastian Krebs wrote:
> 2013/3/2 tamouse mailing lists
>
> > On Fri, Mar 1, 2013 at 11:53 AM, Matijn Woudt wrote:
> > > On Fri, Mar 1, 2013 at 11:49 AM, Richard Quadling > >wrote:
> > >
> > >> Hi.
> > >>
> > >> My heads trying to remember something I may or may
On Fri, Mar 1, 2013 at 6:32 PM, tamouse mailing lists <
tamouse.li...@gmail.com> wrote:
> On Fri, Mar 1, 2013 at 11:56 AM, Daniel Brown wrote:
> > On Fri, Mar 1, 2013 at 12:54 PM, Jim Giner
> wrote:
> >>
> >> What gives you such optimism? I recently saw a list of languages in
> use and
> >> PHP
Do you have a backtace for this?
What is the gender class doing?
Have u done a global search for keyword "clone"?
On Friday, May 10, 2013, Richard Quadling wrote:
> Hi.
>
> I'm having an issue where I get ...
>
> Fatal error: Trying to clone an uncloneable object of class Smarty_Variable
> in
OO comes from the heart. You know you have it when everything you look at
turn into objects, attributes, accessors, mutators, and constructors.
When IBM transitioned from functional to OO level programming, they had their
top level engineers walk into a room and tell their employees that 80% of th
interface Shape {
public double getArea();
}
class Circle implements Shape {
double radius;
public Circle(int double radius) {
this.radius = radius;
}
public double getArea() {
return (radius * radius * 3.1415);
}
}
class Square implements Shape {
double side;
public
number 1-30 for my site.
> >>>
> >>> function rand_from_1_to_30() {
> >>> return 4;
> >>> }
> >>>
> >>
>
> Did you actually try that?
>
> Thanks,
> Ash
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
- Nick
This will not work.
As stated in the PHP documentation "Static closures cannot have any bound
object "
A static Closure has no context of "this" just as with any other static
object.
A workaround is to pass in the Closure as a parameter to achieve a similar
result.
class TestClass {
public
Ok, so I know this might start flame wars, but... here goes ;)
It seems suhosin is dead as far as 5.4 goes, now, some make
allegations that it is no longer needed since php has allegedly
incorporated much of its safe guards, but these claims are from self
proclaimed experts (a term i use very loo
I have successfully and efficiently used MySQL-based database session storage
for years, even on a website with 5,000 (very) active simultaneous users. I
would highly recommend it.
N
On Mar 17, 2011, at 9:44 AM, Dan Joseph wrote:
> On Thu, Mar 17, 2011 at 12:06 AM, Alessandro Ferrucci <
> ales
Interesting. When I went to it I got no such 404 error. Came right up.
Thought-provoking article, too.
N
On Mar 17, 2011, at 10:22 AM, Richard Quadling wrote:
> On 17 March 2011 15:18, Stuart Dallas wrote:
>> On Thursday, 17 March 2011 at 15:15, Nathan Nobbe wrote:
>> On Wed, Mar 16, 2011 at 1
ql
support, but actually mysql is installed on a different server?
Can I download a precompile mysqli anywhere? The PHP version is 5.1.49
as noted earlier.
Thanks in Advance,
Nick
ql
support, but actually mysql is installed on a different server?
Can I download a precompile mysqli anywhere? The PHP version is 5.1.49
as noted earlier.
Thanks in Advance,
Nick
* mysqli.max_linksUnlimitedUnlimited mysqli.max_persistentUnlimited
Unlimited mysqli.reconnectOffOff
However, there is no mysqli.so or mysql.so found anywhere? Please help, I
have fallen behind because of this.
Nick.
I was just going to try recompilign with mysql instead of mysqli... I hope
this fixes it.
In terms of mysql being compiled into the core, does this mean I do not have
to add
extension=mysqli.so
extension_dir=/usr/local/php/
include/php/ext/
Thanks in Advance,
Correct. Extensions, such as those found in the PECL repository,
are added in that manner. Things compiled into the core, such as what
you're doing with MySQLi, are automatically loaded regardless, because
they're statically-built into the PHP binary itself.
-Deepak
..But be careful! -If the user is going via a proxy to access your server
that will be the IP address of the cache server, not the originating client.
- Nick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
urned on.
Should I worry about any of this? The pages seem to be working fine? Is
this going to slow things down? Should I just turn off the logging of such
errors, if I can?
Thanks for any help. My log files are in the gigabytes with 90% of that
over the last month.
Nick
--
PHP G
Sorry, as I said, I just joined and I didn't notice that it's set to
reply-to the original sender rather than the list. A bit annoying.
Thanks again.
Nick
-Original Message-
From: Jason Barnett [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 06, 2005 1:10 PM
To: p
Sorry if this is too DB oriented.
PHP 4.3, MySQL 3.23
I've got a somewhat complex search of a MySQL database I'm trying to make.
(At least it's complex to me.) And I'm wondering if it's better to try to
handle it in MySQL or to split it up into multiple processes using PHP.
Essentially, I have
There is a lot of information like this at nukecops.com, too, btw. You'll
want to start here:
http://nukecops.com/forum2.html
Nick
-Original Message-
From: Armando Afa [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:19 PM
To: php-general@lists.php.net
Subject: [PHP] PHP
Plus I can't
discern what they are and in trying to parse them with str_replace I've had
no luck searching for \r \n \r\n or anything else.
Anyone else had this misfortune?
TIA,
Nick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just tried a str_replace using chr(29) and it didn't work. Thanks for
trying so quickly, though.
Nick
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 12:43 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Filemaker Checkbox Data Pr
$mystring = str_replace("
", ", ", $mystring);
It breaks the line up, apparently creating a carriage return. Ugh. I'd
sure like to find a less hacky way to do it. I've done a lot of googling
and haven't found anything yet.
Nick
-Original Message-
Fro
ed ands and ors out the wazoo.
Is there something I'm not seeing? Is there a better way? If not, which of
these seems like less of a strain on the server?
TIA. Hopefully I'm not just being an idiot here.
Nick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thx!
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to the very end of each
html page, one short peice of text.. not a footer, just an adition to
every page.
How do I do that? - Do I need to select the body, then add the text to
it, then UPDATE it, or can i just appened somthing to what's already
there?
Many thx!
--
Nick W
--
PHP Gen
* and then Stuart declared
> Nick Wilson wrote:
> >I have a DB that has a field called 'body' -> it holds the body of html
> >pages of course... What I need to do, is add to the very end of each
> >html page, one short peice of text.. not a footer
* and then Matt Matijevich declared
> [snip]
> Do I need to select the body, then add the text to
> it, then UPDATE it
> [/snip]
>
> that is what you want to do
That's what I figured 2, but check the post above ;-)
thanks mate..
--
Nick W
--
PHP Gen
* and then Nick Wilson declared
> > >pages of course... What I need to do, is add to the very end of each
> > >html page, one short peice of text.. not a footer, just an adition to
> > >every page.
> >
> > UPDATE table SET body = body + "text to
* and then Nick Wilson declared
>
> * and then Matt Matijevich declared
> > [snip]
> > Do I need to select the body, then add the text to
> > it, then UPDATE it
> > [/snip]
> >
> > that is what you want to do
>
>
> That's wha
* and then Tim Traver declared
> If you know exactly what you need to append, then you can just do the
> update query directly.
>
> UPDATE tablename
> SET body=concat(body,'string to add')
Awesome, that did it. Thanks for taking the time to show me dude ;-)
--
Hi everyone,
I am trying to work within someone elses modular system so my
flexibility is rather limited.
I'm trying to do this:
header("Location: javascript:this.print()");
Which of course does not work. Anyone know how I might do it?
Many thanks...
--
Nick W
--
PHP Gener
Thanks Torsten, I have managed to do that, but it's in the
like this:
Right in the middle of the body. It doesnt work LoL! - Seems to me that
it should do...?
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* and then Nick Wilson declared
>
>
> Right in the middle of the body. It doesnt work LoL! - Seems to me that
> it should do...?
Ah... XHTML Strict - Gotta remove the comment tags ;-)
Thanks mate..
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubs
> I don't believe you need a semi-colon after this.print within the
> javascript script.
Cool, thanks Dennis that's great ;-)
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi everyone,
Can anyone recommend a good debugger for *nix?
Many thx!
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ies enabled:
Use JS,
if (cookies are enabled) {
set the damn coookie
} else {
use sessions...
}
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On June 18, 2004 10:26 pm, cory wrote:
> ok, someone please lend me some advice here. I am trying create a upload
> form for my site.
>
> Sure that sounds easy right? well I have tried at least 10 different php
> scripts as well as a handful of cgi. Same resuls with everyone of
> them...nothing
On June 24, 2004 10:36 am, Matthew Holmen wrote:
> I am looking for a way to retrieve data from another website, parse
> through it and then display it as I would like to. Basically a screen
> grab from say espn.com, then I take the data that is there and form it
> to fit on my site.
>
> The catch
On the page
http://www.php.net/manual/en/language.oop5.visibility.php
the first part reads:
The visibility of a member or method can be defined by prefixing the
declaration with the keywords: public, protected or private. Public declared
items can be allow access to any caller. Protected limit
regards,
Nick Gasparro
Managing Partner, REMY Corp.
1637 Wazee Street
Denver, CO 80202
303-539-0448 Direct
303-547-7469 Cell
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
<http://www.remycorp.com> www.remycorp.com
$NAMEFORMAT . $data[0] . ""; // print the name
echo $MESSAGEFORMAT . $data[1]; // print the text
}
fclose($boardFileHandle);
?>
If you have any questions regarding the implementation I suggest the
following reading material:
http://us3.php.net/manual/en/function.f
Adil Drissi wrote:
> Hi everybody,
>
> I need help with sessions.
> I have a simple authentification relying only on
> sessions (i don't use cookies). After the user submits
> his username and password, the script checks if that
> corresponds to a record in a mysql table. If this is
> the case "$_S
the relatively weak encryption
provided by standard zipfile
utilities.)
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Petrus Bastos wrote:
> Hi Nick,
>
> Sorry, but I forgot to tell you that I can't use this exec neither
> system commands because they are disabled for security precautions. So, Do
> you have any other ideas on how can I do that?
>
> Thanks for your help,
> Petrus
John Meyer wrote:
> Børge Holen wrote:
>> On Monday 18 February 2008 00:10:30 John Meyer wrote:
>>
>>> Daniel Brown wrote:
>>>
On Feb 17, 2008 5:37 PM, nihilism machine
<[EMAIL PROTECTED]>
>> wrote:
>>
> i am using this code to get the extension of a filename:
>
>>>
ge/File_Archive
>>
>> --
>> Postgresql & php tutorials
>> http://www.designmagick.com/
>>
>>
>
>
I'm sure you know what you're doing, but maybe you'd be better off
letting us know the task / process to better understand wh
Richard Lynch wrote:
> On Sun, February 17, 2008 1:57 pm, Nick Stinemates wrote:
>
>> Petrus Bastos wrote:
>>
>>> Hi Nick,
>>>
>>> Sorry, but I forgot to tell you that I can't use this exec
>>> neither
>>> system com
o get creative, Petros. You're in a bind, and I
assume you need to get this done, so you have the following options (in
the order I would do it in..)
-> Turn on exec()
-> You can use/modify an app I wrote (in python) which accepts UDP
packets and executed commands based off of it.
invent the wheel to a square, just in case they got it
wrong. [=
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
orking/looking for the
exact type, it's time to use MIME as it is more reliable than something
like a filename.
http://us2.php.net/manual/en/ref.mime-magic.php
Good luck.
======
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL P
>
> Thanks again and sorry for the inconvenience,
> Petrus Bastos.
>
> On Feb 18, 2008 2:37 PM, Nick Stinemates <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Petrus Bastos wrote:
> > Richard,
> >
> > Unfortunately, I can
e
testing...
test();
?>
Definitely works.
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Petrus Bastos wrote:
> I'm testing on FreeBSD. I can use any command through system(), but the zip
> command doesn't works! I don't know why.
>
>
> On Feb 18, 2008 4:06 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>
>
>> Petrus Bastos wrote:
&
t;;
> }
> }
> ?>
>
> Outputs the expected. Must be an error, maybe fatal or parse before the
> method call or maybe your method does execute you just are expecting
> something different?
>
> -Shawn
>
>
What part of my example was unclear?
--
==
thunderbird for looking like you responded to me.
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> HTH
>
Thats a good example, and a good reason for passing values by Reference
instead of by Value.
I have found, however, that if I ever need to return /multiple/ values,
it's usually because of bad design and/or the lack of proper encapsulation.
--
==
N
Robert Cummings wrote:
> On Mon, 2008-02-18 at 18:06 -0800, Nick Stinemates wrote:
>
>> C.R.Vegelin wrote:
>>
>>> >> $in = 4;
>>> calcpows($in, $pow2, $pow4);
>>> echo "in = $in pow2=$pow2 pow4=$pow4";
>>>
>>
al page for that function - it will tell you how to detect
>> errors.
>>
>> -Stut
>>
>> --
>> http://stut.net/
>>
>>
>
>
http://php.net/fopen
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemat
Nathan Rixham wrote:
> Robert Cummings wrote:
>> On Mon, 2008-02-18 at 21:09 -0600, Larry Garfield wrote:
>>> On Monday 18 February 2008, Nick Stinemates wrote:
>>>
>>>>>> I have found, however, that if I ever need to return /multiple/
>>>>
Greg Donald wrote:
> On 2/18/08, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>
>> I have found, however, that if I ever need to return /multiple/ values,
>> it's usually because of bad design and/or the lack of proper encapsulation.
>>
>
> Yeah, t
Nathan Nobbe wrote:
> On Feb 19, 2008 11:52 PM, Greg Donald <[EMAIL PROTECTED]> wrote:
>
>
>> On Feb 19, 2008 9:27 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>>
>>> Support != good design habits.
>>>
>> So you pr
ille
fwrite($fp, $out); //send the headers
while (!feof($fp)) {
$buff .= fgets($fp, 128); //read the response
}
fclose($fp); //close the socket
if (strstr($buff, "404")) { //analyze.
echo "no alerts";
} else {
echo "alerts";
}
?&g
n use:
$result = $xml->xpath('//coordinates');
I have a feeling you'll want to do more parsing than that, thought.
In the case of your example, I believe it should be the following:
$result = $xml->xpath('Folder/Placemark/LineString/coordinates'); _or_
$
Robert Cummings wrote:
> On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote:
>
>> I said, simply, returning an array of objects was usually an indication
>> of poor design.
>>
>
> Please elaborate as to the "why" of it being an indication of
Robert Cummings wrote:
> On Tue, 2008-02-19 at 21:51 -0800, Nick Stinemates wrote:
>
>> Robert Cummings wrote:
>>
>>> On Tue, 2008-02-19 at 21:24 -0800, Nick Stinemates wrote:
>>>
>>>
>>>> I said, simply, returning an array
Jim Lucas wrote:
> Nick Stinemates wrote:
>> Nathan Rixham wrote:
>>> Robert Cummings wrote:
>>>> On Mon, 2008-02-18 at 21:09 -0600, Larry Garfield wrote:
>>>>> On Monday 18 February 2008, Nick Stinemates wrote:
>>>>>
>>>
Nathan Nobbe wrote:
> On Mon, Feb 18, 2008 at 9:06 PM, Nick Stinemates <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Thats a good example, and a good reason for passing values by
> Reference
> instead of by Value.
>
> I have fo
channel for your users to interact with
you, and for you to (potentially) respond to them.
You're looking for SMPP packages.
--
==
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greg Donald wrote:
> On 2/19/08, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>
>> I said, simply, returning an array of objects was usually an indication
>> of poor design.
>>
>
> No it's not. Nearly every MVC framework in existence implements som
at if you are
interested.
Nick Gasparro
Managing Partner, REMY Corp.
1637 Wazee Street
Denver, CO 80202
303-539-0448 Direct
303-547-7469 Cell
[EMAIL PROTECTED]
www.remycorp.com
e would you
> recommend?
Depends on the task, but based on this e-mail I have a feeling you'll
encounter the same problem.
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
> Hello!
>
> Seems that PHP gets more and more object oriented, which is good.
>
> I am now running a course in PHP, using PHP 5, where we are going to
> use the *DOM* interface. I am trying to teach them good OO practices,
> meanin
anks for the consideration and
> looking into those.
>
> At this point some of you may encourage me to go to C++ so i stop with this
> question...but I'd like to hear if you all agree that perhaps it is time to
> pull out the 50 lbp lump hammer?
Still disagree. I have
quite a few questions my self.. You can't do a
> progress bar in PHP since by the time it gets to the browser, PHP is done
> doing what it does.
This is actually false, at least on my system(s).
Try this out:
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
--
On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote:
> On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates <[EMAIL PROTECTED]>
> wrote:
>
> > On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote:
> > > Hello!
> > >
> > > Seems th
On Fri, Apr 18, 2008 at 09:58:14AM -0600, Nathan Nobbe wrote:
> On Thu, Apr 17, 2008 at 5:46 PM, Nick Stinemates <[EMAIL PROTECTED]>
> wrote:
>
> > > If I wrote the console application in a c language (and compiled) would
> > one
> > > expect to see any i
h the event processing
> end loop
> }
>
> the other, probably better option would be to have a progress area, that
> was/is a jscript/ajax based, that talked/polled the server to determine the
> overall status of the "action" as it's being performed.
>
> w
s/method,
> what data is actually allowed to be injected into that variable. Whereas
> the second example would allow you to stuff any type of data into that
> class variable. That might not be a good thing.
>
That's a relatively narrow minded response to my point, since I gave
otype, Scriptaculous, Moo
* OOP, SQL, Linux, HTML
Nick Gasparro
Managing Partner, REMY Corp.
1637 Wazee Street
Denver, CO 80202
303-539-0448 Direct
303-547-7469 Cell
[EMAIL PROTECTED]
www.remycorp.com <http://www.remycorp.com/>
Nick Gasparro
Managing Partner, REMY Corp.
Denve
have some
interest and I would be happy to set up a time to talk.
Best,
Nick Gasparro
Managing Partner, REMY Corp.
Denver, CO 80202
303-539-0448 Direct
303-547-7469 Cell
[EMAIL PROTECTED]
www.remycorp.com
Come visit our booth!!!
Web 2.0 Expo San Francisco 2008 http://www.web2expo.com/sf
San
'Can you just add XXX' :(
>
> So they actually ask for a porn site?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
:D lol
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
--
PH
ething else!
> }
> }
> }
>
>
> Why is this useful? Because you can add functionality to your save
> page without touching it. This is very powerful when you have a
> shared code base and need to add some parts to it without breaking
> other sites. Since it is ex
#x27;t imagine working with someones code where they
liberally use these types of lazy things. I like structured, ordered
code, and, somehow, using something like this technique doesn't seem
structured or ordered.
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
-
On Fri, Apr 25, 2008 at 11:29:05AM -0600, Nathan Nobbe wrote:
> here we are back at the classic syntactic sugar argument. at least weve
> moved past abstract classes and interfaces !
for now :)
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
--
PHP General M
.
Software Development Experience with the Following:
* Linux, Apache, PHP 4, PHP 5, MySQL
* Object-oriented design and distributed systems
* Open source development tools, languages and application servers.
* Competent with JavaScript, Prototype, Scriptaculous, Moo
Best,
Nick
lt;<<
Regards,
--
Nick
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
_encode ( $hmac );
return urlencode ( $encoded_hmac );
}
any thoughts?
--
Nick Wilson
http://performancing.com/user/1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* and then Jochem Maas declared
> Nick Wilson wrote:
> > hi all,
> >
> > can anyone tell me if it might be possible to do an mhash() without
> > actually having the mhash library installed? for various reasons it's
> > very impracticle to have a
ion foobar() {
global $foo;
print(" -- " . $foo);
exit;
}
foobar();
It prints *nothing*. Does anyone have an idea as to what might stop this
from functioning as expected?
--
Nick Wilson
http://performancing.com/user/1
--
PHP General Mailing List (htt
* and then Robert Cummings declared
> On Wed, 2006-07-12 at 18:52, Nick Wilson wrote:
> > hi all,
> >
> > After upgrading a CMS, im having a problem with global variables not
> > showing up anymore -- configs and things could have changed, but search
> > as
kind of cgi capability).
I was considering using exec() and scp to do this, but thought i'd ask
and see if anyone had any better suggestions?
many thanks
--
Nick Wilson
http://performancing.com/user/1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
* and then Google Kreme declared
> On 30 Sep 2006, at 03:29 , Nick Wilson wrote:
> >I need to let users upload to the regular LAMP box, but then copy the
> >image over to the custom image server (which does not have php or any
> >kind of cgi capability).
> >
>
r/', $argh);
print_r($argh);
I can only surmise there is some setting todo with ssh/scp that im
unaware of?
any ideas welcomed, thanks!
--
Nick Wilson
http://performancing.com/user/1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ure on it is all, whereas simply scp/sftp'ing files into
the image server dir is about as simple as it gets right?
--
Nick Wilson
http://performancing.com/user/1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* and then Ray Hauge declared
> On Saturday 30 September 2006 7:22 am, Nick Wilson wrote:
> > hi all,
> >
> > i've searched and racked my brains, checked config files and all sorts
> > but cannot work out why the following command would give me an empty
>
* and then Colin Guthrie declared
> Nick Wilson wrote:
> >> Do you use generated keys without a password for logging in? Otherwise
> >> exec()
> >> is just going to sit there while the scp command waits for a password.
> >
> > Tha'ts exact
* and then Colin Guthrie declared
> Nick Wilson wrote:
> > Right, im with you. The keyfile is mine though, and i know i can ssh
> > from this box to that without any problem.
> >
> > I've made a test script for htis and it's returning some very we
* and then Colin Guthrie declared
> Nick Wilson wrote:
> > I think you're on the right track Col. I did a whole bunch more
> > searching and the one thing I kept hearing was that no matter what you
> > try, you just cant get the webserver to exec the script as anot
* and then Colin Guthrie declared
> /usr/bin/transfer_image.sh:
> #!/bin/bash
>
> if [ -z "$1" ]; then
> echo "No input file."
> exit 1
> fi
> scp "$1" [EMAIL PROTECTED]:/var/www/images/
>
>
> And then in apache:
> exec
601 - 700 of 756 matches
Mail list logo