On Sat, Nov 29, 2008 at 2:42 PM, Joe <[EMAIL PROTECTED]> wrote:
> Is it possible to use a PHP operator as a callback?
not that im aware of, even if you use the operator overloading extension, im
not sure youll find that ability.
I can use the BC library's math functions instead:
> array_map('b
On Sat, Nov 29, 2008 at 5:21 PM, Daniel P. Brown
<[EMAIL PROTECTED]>wrote:
>Any/All:
>
>For those of you who were asking about the PHP Text-To-Speech
> system I had running, it's back online now. If you have a few free
> seconds, please take a look at http://www.pilotpig.net/txt2wav.php a
On Sat, Nov 29, 2008 at 5:59 PM, Martin Zvarík <[EMAIL PROTECTED]> wrote:
> Joe napsal(a):
>
>> Is it possible to use a PHP operator as a callback? Suppose I want to add
>> two
>> arrays elementwise, I want to be able to do something like this:
>> array_map('+', $array1, $array2)
>> but this does
On Tue, Dec 2, 2008 at 1:49 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote:
> Richard Heyes wrote:
>
>> I'm a french student, sorry for my mail :
>>>
>>> I want to know how can I type my functions' arguments ?
>>>
>>> It is heavy to do :
>>> function post($id)
>>> {
>>> $id=(int)$id;
>>> //...
>>>
>>
On Tue, Dec 2, 2008 at 7:48 PM, Micah Gersten <[EMAIL PROTECTED]> wrote:
> VamVan wrote:
> > Hello All,
> >
> > I was stuck with this issue. So just felt the need to reach out to other
> > strugglers.
> > May be people might enjoy this:
> >
> > Here is the code for object to array and array to obj
On Thu, Dec 4, 2008 at 6:44 PM, ddg2sailor <[EMAIL PROTECTED]> wrote:
>
> Sorry , I did mean to mention that... But I forgot.
>
> The original error is :
>
> Fatal error: Call to undefined function do_mysql_query() in
> C:\xampp\htdocs\getdox.php on line 18
likely something to do w/ do_mysql_que
On Thu, Dec 11, 2008 at 8:25 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Thu, Dec 11, 2008 at 10:22 AM, Bastien Koert <[EMAIL PROTECTED]> wrote:
> >
> >
> > On Thu, Dec 11, 2008 at 10:15 AM, Eric Butera <[EMAIL PROTECTED]>
> wrote:
> >>
> >> On Thu, Dec 11, 2008 at 9:56 AM, Terion Miller <[EMA
On Fri, Dec 19, 2008 at 5:58 PM, Mr. Gecko wrote:
> Hey, I built my own http server, and I'm wanting to add php to it. the
> server is in Objective-C.
> I know I can use terminal commands to do it, but if I was to do that how
> would I get headers and stuff php sends, and how would I send php
> H
On Fri, Dec 19, 2008 at 11:14 PM, mike wrote:
> Also could look at using fastcgi and would not have to embed libphp and
> such.
actually, i think thats how lighttpd does it ;)
-nathan
On Sat, Dec 20, 2008 at 9:06 AM, Richard Heyes wrote:
> > i'm reading a book about PHP and i was wondering why regular expressions
> are
> > so often used to check format of variables or emails while the function
> > filter exists since version 5.2.
>
> That's not so long.
>
> > What are the plus
On Fri, Dec 19, 2008 at 11:47 PM, mike wrote:
> Yep Nginx, lighttpd, Zeus it's the only way. Apache has the option and I
> think a lot of people recommend it for various reasons.
>
> I'd recommend nginx over lighttpd :)
>
well now ill have to go scope out nginx :D
anyways, major diff between c
2008/12/22 Martin Zvarík
> Martin Zvarík napsal(a):
>
>> Hello,
>> anyone has a good function for getting a user's browser, OS and crawler
>> detection ?
>>
>> I have looked at google etc, but I ran only into long list of ineffective
>> ereg()s functions or not checking if it's crawler...
>>
>> I
On Mon, Dec 22, 2008 at 9:06 PM, German Geek wrote:
> Hi All,
>
> The following problem:
>
> Our client is converting pdfs to images with a web interface. At the moment
> I'm using convert from imagemagick with shell_exec (i know i could use the
> imagick module, but this would require quite a bi
On Mon, Dec 22, 2008 at 3:10 PM, Clancy wrote:
> On Mon, 22 Dec 2008 10:20:09 +1100, dmag...@gmail.com (Chris) wrote:
>
> >I'd call this a micro-optimization. If changing this causes that much of
> >a difference in your script, wow - you're way ahead of the rest of us.
>
> Schlossnag
On Mon, Dec 22, 2008 at 11:34 PM, German Geek wrote:
> cron is a good idea, havent thought about that. One could use the nice
> program then to give it the lowest priority, because other requests are more
> important than this and another server gives the issue of transfering files
> back and for
On Mon, Dec 22, 2008 at 11:43 PM, Lars Torben Wilson
wrote:
> 2008/12/22 German Geek :
> > agree, ++$i wont save u nething, it just means that the variable is
> > incremented after it is used:
>
> You meant ". . .before it is used:", right?
i hope so, coming from an individual who likes to optim
On Tue, Dec 23, 2008 at 6:07 AM, Heysem Kaya wrote:
> Hi,
> I would like to configure the interfaces from a web page. What I should do
> is (AFAIK) writing reading /etc/network/interfaces and writing it. Rebooting
> networking after writing process.
>
> How can I do it in a practical way?
you ca
On Tue, Dec 23, 2008 at 1:18 AM, German Geek wrote:
> We can live with the fact that it will take a little longer to process the
> images. The image processing is only done by 2 people, about once a month,
> just to save them time (they would do it with photoshop otherwise and it is
> really bori
On Tue, Dec 23, 2008 at 11:19 AM, Juan Kinunt wrote:
> Hi!
> I'm looking for the PHP 5 grammar specification. I'm studying the
> possibility of implementing an abstract interpretation tool with flex/bison
> in order to find security vulnerabilities (Injection vulnerabilities, XSS)
> in the code i
On Tue, Dec 23, 2008 at 12:34 PM, Dan Osipov wrote:
> Hello,
>
> I have a CLI PHP script I'm running on a Debian Etch server every 15
> minutes, that downloads messages from NNTP server using PHP imap functions.
> The script is working fine on several Windows systems, and other Linux
> servers, bu
On Tue, Dec 23, 2008 at 1:42 PM, Dan Osipov wrote:
> Everything matches. The only thing that's different is that the server
> that's having the problem has been running the script every 15 mins for the
> past 2 months - which leads me to believe there might be a memory leak
> somewhere...
if th
On Tue, Dec 23, 2008 at 5:30 PM, Dan Osipov wrote:
> Script takes about 5 minutes to run (average). On other servers I've seen
> it run over 2 hours without segfaults... All depends on how many messages
> are in the NNTP mailboxes.
ok, so this is def a long running script then.
After applying
On Tue, Dec 23, 2008 at 8:59 PM, German Geek wrote:
> Merry xmas to everyone! Thanks for the support and fun discussions.
word
On Wed, Dec 24, 2008 at 12:36 AM, Heysem Kaya
wrote:
> Hi Nathan,
>
> Thanks for your response. Is there such a way to reconfigure the interface
> IP,dns and gateway as well?
>
please keep responses on-list, so that others may benefit.
yes, you can do anything (almost?) you can on the cli w/ t
On Fri, Dec 26, 2008 at 6:53 PM, Larry Garfield wrote:
> Excuse me a moment while I delve into complex OO. :-)
>
> I have an object to which I want to add behavior (methods). I cannot use
> inheritance here because the object is already of a type or subtype (vis, I
> am
> already using inheritanc
On Sat, Dec 27, 2008 at 12:08 AM, Robert Cummings wrote:
> On Fri, 2008-12-26 at 22:02 -0800, Kenton P. Kammer wrote:
> > I'm trying to make something to redirect people to my home page if they
> some how access my include pages. For example, I have a generic copyright
> .htm with links in it tha
On Sat, Dec 27, 2008 at 12:54 AM, Murray wrote:
> Hi Larry,
>
> You're absolutely right, I'm talking about constants rather than variables.
>
> I guess in my very crude way, I'm trying to ask about the following:
>
> UserA goes to the site via index.php, which defines several helpful
> constants.
On Sat, Dec 27, 2008 at 12:02 AM, Larry Garfield wrote:
> On Friday 26 December 2008 11:06:07 pm Nathan Nobbe wrote:
>
> > to summarize, using your example above, i would most liely add doThings()
> > to Baz, or create another decoration interface for doThings() if you plan
&g
If you're talking about tracking the number of visitors with presently open
sessions at your website...
>
> I was just browsing the tutorials form at PHP Developer Network and saw
> this : http://forums.devnetwork.net/viewtopic.php?f=28&t=29342
>
> Looks like it does what (I think) you were trying
On Sat, Dec 27, 2008 at 12:56 PM, phphelp -- kbk wrote:
> On Dec 26, 2008, at 7:53 PM, Larry Garfield wrote:
>
> I have an object to which I want to add behavior (methods). I cannot use
>> inheritance here because the object is already of a type or subtype (vis,
>> I am
>> already using inherita
On Sat, Dec 27, 2008 at 12:35 PM, Larry Garfield wrote:
> On Saturday 27 December 2008 2:49:22 am Nathan Nobbe wrote:
>
> > > Thanks, Nathan. Unfortunately, what you describe is impossible. It
> > > requires
> > > me to know all the possible decorator
On Dec 27, 2008, at 3:31 PM, "John Papas" wrote:
Lately I've been hearing a lot of people evangelizing that PHP with
Resin is actually much faster than with mod_php, but I cannot find any
benchmark anywhere.
well of course it is, but faster than what.., regular php. Be the
jvm; what do you
Hey,
How do you structure your web applications? I am thinking in terms
of separating presentation and logic. How is that done in PHP?
mvc is pretty popular, but php is so flexible you often don't need it
for smaller applications.
For example, if you take a page-controller approach, a
On Sun, Dec 28, 2008 at 12:40 PM, Ryan O'Sullivan wrote:
> Hello all,
>
> I am using system to convert some files using a binary in linux. My code
> looks like this:
> $response = system('gpsbabel -p "" -r -t -i gpx -f "test.gpx" -o kml -F
> "test2.kml"', $retval);
> echo "Response: ", $
On Sun, Dec 28, 2008 at 3:29 PM, Michael C. Yates wrote:
> Nathan Nobbe wrote:
>
>>
>>
>> Hey,
>>>
>>> How do you structure your web applications? I am thinking in terms of
>>> separating presentation and logic. How is that done in PHP?
>
On Sun, Dec 28, 2008 at 11:02 AM, John Allsopp wrote:
> Hi
>
> I'm sure this is simple for yous all but I'm not sure I know the answer.
>
> $myFileLast = "http://www.myDomain.com/text.txt";;
> if (is_readable($myFileLast))
> {
> $fh = fopen($myFileLast, 'r');
>
On Sun, Dec 28, 2008 at 10:41 AM, Michelle Konzack <
linux4miche...@tamay-dogan.net> wrote:
> Hello,
>
> I have to code a compatibility layer under PHP5 for PostgreSQl and
> MySQL, which mean, I have to code something like db_query() which then
> can be used with mysql_query() and pg_query
On Sun, Dec 28, 2008 at 6:49 PM, Daniel Brown wrote:
> On Sun, Dec 28, 2008 at 18:10, Rick Pasotto wrote:
> >
> > You overlooked the ampersand in front of $retval. The syntax for
> > 'system' is:
> >
> > string system ( string $command [, int &$return_var ] )
> >
> > You have to pass a pointe
On Sun, Dec 28, 2008 at 6:37 AM, paragasu wrote:
> do you have any idea how to do this. i have a small vps about 10GB
> space. i live somewhere is south east asia where solutions like Amazon
> S3 is incredibly slow. (500ms ping time).
>
> i have a simple php gallery. But dedicated server is quite
On Sun, Dec 28, 2008 at 8:40 PM, Micah Gersten wrote:
> Nathan Nobbe wrote:
> > good point dan, and just to add further clarification, thats b/c the
> > function specifies $return_var is passed by reference in the formal
> > parameter. when you include the & along w/ an
On Mon, Dec 29, 2008 at 12:01 AM, Carlos Medina wrote:
> Manuel Lemos schrieb:
>
>> Hello,
>>
>> on 12/27/2008 09:40 PM Michael C. Yates said the following:
>>
>>> How do you structure your web applications? I am thinking in terms of
>>> separating presentation and logic. How is that done in PHP?
On Mon, Dec 29, 2008 at 9:05 PM, Manuel Lemos wrote:
> Hello,
>
> on 12/30/2008 01:13 AM Sancar Saran said the following:
> >> How do you structure your web applications? I am thinking in terms of
> >> separating presentation and logic. How is that done in PHP? And how
> >> many architecture pat
On Tue, Dec 30, 2008 at 12:26 AM, Manuel Lemos wrote:
> Hello,
>
> on 12/30/2008 05:07 AM Nathan Nobbe said the following:
> >>>> How do you structure your web applications? I am thinking in terms of
> >>>> separating presentation and logic. How i
On Tue, Dec 30, 2008 at 1:05 AM, Nathan Nobbe wrote:
>
> plus did you see the part about 'cleaning up the include path'. moving to
> require at the outer layer and as far in as possible, basically. thats a
> really good idea, and it looks like this 'includes'
On Tue, Dec 30, 2008 at 10:15 AM, Eric Butera wrote:
> On Tue, Dec 30, 2008 at 2:07 AM, Nathan Nobbe
> wrote:
> >> on 12/30/2008 01:13 AM Sancar Saran said the following:
> >> > and please read this why
> >> >
> >> > http://talks.php.net
On Tue, Dec 30, 2008 at 11:07 AM, Robert Cummings wrote:
> On Tue, 2008-12-30 at 12:53 -0500, Eric Butera wrote:
> > On Tue, Dec 30, 2008 at 12:42 PM, Nathan Nobbe
> >
> > I was following the blog tutorial on cake and here's what I got from
> > hitting the post/ind
On Tue, Dec 30, 2008 at 11:24 AM, Eric Butera wrote:
> On Tue, Dec 30, 2008 at 1:07 PM, Robert Cummings
> wrote:
> > On Tue, 2008-12-30 at 12:53 -0500, Eric Butera wrote:
> >> On Tue, Dec 30, 2008 at 12:42 PM, Nathan Nobbe
> >>
> >> I was following the
On Wed, Dec 31, 2008 at 12:41 PM, wrote:
>
> We have code like this:
>
> try
> {
> $details = $this->__client->getData($email); //Line 274
> }
> catch (SoapFault $sf)
> {
> //do stuff
> }
> catch (Exception $e)
> {
> //do more general stuff
> }
>
> SoapFault: No data found in C:\classes\Client
On Wed, Dec 31, 2008 at 1:12 PM, wrote:
>
> I'm afraid I wasn't clear enough.
>
> I thought the "catch" block was not actually 'catching' anything, since I'm
> seeing an error message with the line of code that is causing the Fault.
oic. yeah xdebug will do things like that, you may want to ex
On Wed, Dec 31, 2008 at 7:03 PM, Micah Gersten wrote:
> Nathan Nobbe wrote:
> >
> >
> > On Sun, Dec 28, 2008 at 8:40 PM, Micah Gersten > <mailto:mi...@onshore.com>> wrote:
> >
> > Nathan Nobbe wrote:
> > > good point dan,
On Wed, Dec 31, 2008 at 9:40 AM, TG wrote:
> Ok.. so I know about CVS and SVN and unfortunately haven't had as much
> experience with them as I'd like. I've used them, but always in a really
> basic sense and always on systems that have already been set up. A friend
> recently mentioned GIT ( h
On Thu, Jan 1, 2009 at 12:01 AM, Daniel Brown wrote:
> On Thu, Jan 1, 2009 at 01:57, Jim Lucas wrote:
> >
> > Getting in some practice for new little one? :)
>
> Damn kids ;-P
>
> > Happy New Year to all, and to all a safe night!
>
> To you as well, Mr. Lucas! And now that I am don
On Thu, Jan 1, 2009 at 7:33 AM, TG wrote:
> Thanks for the recommendations, everyone. I decided to give Subversion
> another try, since I had a server already set up from when I tried this a
> while ago. Reinstalled TortoiseSVN for Windows and got it all configured.
> But I couldn't figure o
On Wed, Jan 7, 2009 at 6:49 AM, Zechim wrote:
> anyone who works with php-gtk2 and can tell me if I can make something like
> msn, skype, a little chat (is it possible to connect to a webserver and sabe
> in my local server using gtk2?)
>
since gtk is just a gui layer, i would imagine you can do
On Wed, Jan 7, 2009 at 11:21 AM, Rene Veerman wrote:
> Hi..
>
> I have created a setup between my shared hoster and my home debian box,
> where the shared hosting accepts video uploads, and forwards them to the
> home server for video-conversion (which isn't allowed on shared hosting).
>
> In ord
On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern wrote:
> Hi there,
>
> I am justing walking my first steps on XML and PHP. As I learned from a
> tutorial adressing is very simple:
>
> echo $xml->anbieter->immobilie->preise->kaufpreis;
this is meaningless unless we know which xml library you a
On Wed, Jan 7, 2009 at 1:42 PM, Merlin Morgenstern wrote:
> Hello Nathan,
>
> I upgraded to PHP 5, so I am using nativ support.
>
> Best regards, Merlin
>
please keep replies on-list so others may benefit from the archives.
OK, native support; so in php5 you can use DOM or SimpleXML, i assume y
On Thu, Jan 8, 2009 at 4:02 PM, Merlin Morgenstern wrote:
> Hello nathan,
>
> I am unsing simplexml as it looks really simple :-) However, I could still
> not figure out how to adress data inside tags with attributes. For example:
>
>
>bla blub
>
> $xml->anhang[intern][titelbild]->data wi
On Thu, Jan 8, 2009 at 4:38 PM, Nathan Rixham wrote:
> Nathan Nobbe wrote:
>
>> On Thu, Jan 8, 2009 at 4:02 PM, Merlin Morgenstern > >wrote:
>>
>> Hello nathan,
>>>
>>> I am unsing simplexml as it looks really simple :-) However, I could
>&g
On Sat, Jan 10, 2009 at 4:31 PM, Nathan Rixham wrote:
> Evening All,
>
> Not too often I ask a question here, but here goes;
>
> I'm making an "Object" class which all of my other classes extend, and I
> need each instance to have it's own unique id, seemed simple but it's harder
> than I thought
On Wed, Jan 14, 2009 at 6:18 AM, Edgar da Silva (Fly2k) <
silva.ed...@gmail.com> wrote:
> Did you try:
>
> $a = new ArrayObject;
> $a['sometest'] = 'somevalue';
>
its also worth pointing out, the above syntax is available b/c ArrayObject
implements the ArrayAccess interface.
http://www.php.net/~
On Wed, Jan 14, 2009 at 9:20 AM, Edmund Hertle <
edmund.her...@student.kit.edu> wrote:
> > Edmund Hertle schrieb:
> >
> > Hey,
> >> I've just discovered the ArrayObject class, but it seems to not be well
> >> documented, so here is my problem:
> >>
> >> You can use ArrayObject::append() to add a
On Thu, Jan 22, 2009 at 8:35 AM, Frank Stanovcak
wrote:
> I'm trying to build a prepared statment and dynamically bind the variables
> to it since I use this on severaly different pages I didn't want to build a
> huge bind statement hard coded on each page and then have to maintain it
> every time
On Thu, Jan 22, 2009 at 12:06 PM, Frank Stanovcak
wrote:
>
> "Nathan Nobbe" wrote in message
> news:7dd2dc0b0901221048g2f089cf9s36ecb9a5b35ab...@mail.gmail.com...
> > On Thu, Jan 22, 2009 at 8:35 AM, Frank Stanovcak
> > wrote:
> >
> >> I'm tryin
On Tue, Feb 3, 2009 at 4:19 PM, Daevid Vincent wrote:
> On Wed, 2009-02-04 at 08:58 +1100, Chris wrote:
>
> > >> the question is what is __set() doing, if it's throwing an exception
> > >> for undefined properties then obviously it with 'blow up'.
> > >
> > >
> > >
> > > But why should __set() ev
On Mon, Feb 9, 2009 at 8:46 AM, Andrew Williams
wrote:
> Hi,
>
> I am working on a back end OOP project with about about 18 classes of
> Object
> but some of the Objects shear one or two functions in common, like external
> login system . What is the best way to avoid a repeatable function among
>
On Tue, Feb 10, 2009 at 4:10 PM, Jamie Krasnoo wrote:
> Hey all,
>
> I'm new to the list. I came here because I couldn't find the answer to
> my question and I'm hoping I can find it here. I compiled the APC
> plugin as a shared library and activated it through the php.ini. I ran
> 'make test' an
On Tue, Feb 10, 2009 at 5:03 PM, Jamie Krasnoo wrote:
> Yes, I'm using Apache 2.2.11 and I do believe that threading could be
> enabled. Apache was compiled through cPanel with Easy::Apache. I
> didn't see any options to disable threading unless I missed it.
a lot of php extensions are not thre
On Tue, Feb 10, 2009 at 5:19 PM, Jamie Krasnoo wrote:
> I did compile Apache with mpm_prefork though.
hmm, i doubt thats the problem then. maybe another module not playing nice
w/ apc, xdebug perhaps (just guessing now)?
have you tried other caching solutions like eaccelerator to see if you
e
On Tue, Feb 10, 2009 at 5:34 PM, Jamie Krasnoo wrote:
> Here's the modules I do have running:
>
> extension="suhosin.so"
> extension="ffmpeg.so"
> extension="imagick.so"
> extension="magickwand.so"
> extension="memcache.so"
> extension="pdo.so"
> extension="pdo_sqlite.so"
> extension="sqlite.so"
On Tue, Feb 10, 2009 at 5:53 PM, Jamie Krasnoo wrote:
> Hmm, I'll try taking down the optimizer and seeing if it segfaults or
> not. If that's what it is it's a crying shame that apc and
> zend_optimizer can't get along.
maybe give eaccelerator a shot, i believe theyve got an optimizer in there
On Wed, Feb 11, 2009 at 9:54 AM, brian wrote:
>
> with php.ini in /apps/local/php5/lib, readable by all:
>
> phpinfo says : "configuration file path /apps/local/php5/lib"
> phpinfo also says: "loaded configuration file: (none)"
>
> so i'm not getting anything from php.ini.
>
> can someon
On Tue, Feb 17, 2009 at 12:40 PM, mike wrote:
> Pardon the messy code, but I got this working like a charm. Then I
> went to try it on some Russian content and it broke. The inbound was
> utf-8 encoded Russian characters, output was something else
> unintelligible.
>
> I found a PHP bug from year
On Mon, Feb 23, 2009 at 9:31 AM, Ryan Panning wrote:
> I have discovered that when I foreach over a RecursiveDirectoryIterator
> (see example below) the $item actually turns into a SplFileInfo object. I
> would expect it to be a RecursiveDirectoryIterator. How do I do a
> hasChildren() on SplFile
On Mon, Feb 23, 2009 at 10:27 AM, Ryan Panning wrote:
> Nathan Nobbe wrote:
>
>> if youre trying to do recursive iteration whereby you 'flatten' the tree
>> structure, drop the RecursiveDirectoryIterator into a
>> RecursiveIteratorIterator (its for iterating
On Wed, Mar 4, 2009 at 11:51 AM, Robert Cummings wrote:
> On Wed, 2009-03-04 at 12:46 -0600, Shawn McKenzie wrote:
> > Robert Cummings wrote:
> > > On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote:
> > >> Robert Cummings wrote:
> > >>> On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote
On Wed, Mar 4, 2009 at 7:01 PM, Michael A. Peters wrote:
> Robert Cummings wrote:
>
>> On Wed, 2009-03-04 at 15:21 -0800, Michael A. Peters wrote:
>>
>>> Robert Cummings wrote:
>>>
>>> To punt what is repeated over and over during runtime to a single
compilation phase when building the temp
On Mar 5, 2009, at 4:16 AM, Robert Cummings
wrote:
On Thu, 2009-03-05 at 03:08 -0800, Michael A. Peters wrote:
Robert Cummings wrote:
function hiddenInput($document,$name,$value) {
$input = $document->createElement("input");
$input->setAttribute("type","hidden");
$input->setAttri
On Sat, Mar 7, 2009 at 7:10 PM, Sashikanth Gurram wrote:
> Hello everyone,
>
> I am using a WAMP server for my coding purposes. My MySQL Version is
> 5.0.51b, PHP version is 5.2.6 and Apache version is 2.2.8
>
> I have created a database with one of the tables containing a location of
> the image
On Sat, Mar 7, 2009 at 3:20 PM, PJ wrote:
> Jochem Maas wrote:
> > PJ schreef:
> >> Seems it should be simple, but how does one extract values from an array
> >> and assign them to a variable?
> >> foreach ($categoriesIN as $category) {
> >
> > 1. if $categoriesIN comes from a POST, use $_POST['c
On Sat, Mar 7, 2009 at 8:12 PM, Sashikanth Gurram wrote:
> I am just storing the location of the image(as a varchar type), not the
> image itself. For example for a particular image, the location is stored as
> C:\wamp\bin\apache\apache2.2.8\htdocs\Bldgs_lots\Burruss.jpg
>
echo "\n";
$err=1;
if
On Sat, Mar 7, 2009 at 3:56 PM, Andrew Williams
wrote:
> Dear All,
>
> I have written a back end php program that update live stream database and
> this data is streamed 24 hours a day. Please, what is the best way to make
> sure this program execute or runs 24 hours day.
is this running as a da
On Sat, Mar 7, 2009 at 9:36 PM, Sashikanth Gurram wrote:
> The thing is, I do not have a website or a place where I am storing my
> images. I am storing the images on my local PC in folder as mentioned in my
> earlier post. I have tried using only the
>
> else {
> header('Content-Type: image/jpeg
On Sat, Mar 7, 2009 at 10:35 PM, Richard Lynch wrote:
> I'm interfacing PHP with an Asterisk server, and would like to pipe
> audio into PHP, through sox, and back out, in real-time, thus with
> *minimal* overhead in PHP.
>
> Any suggestions on what would be the best architecture?
not sure if i
On Sun, Mar 8, 2009 at 11:29 PM, Sashikanth Gurram wrote:
> Hi Nathan,
>
> Thanks a lot for the suggestion. It is working fine for an example code I
> have used to test it. The code I have written after your suggestion is as
> follows.
> $location="C:\wamp\bin\apache\apache2.2.8\htdocs\Bldgs_lot
On Mon, Mar 9, 2009 at 7:32 AM, Sashikanth Gurram wrote:
> Hi,
>
> Yes, the problem was solved, but It did not work fine when I used the same
> code in my larger file. Now it makes sense.
right, just track down where you started sending the output, and remember if
youre going to use header() ca
On Tue, Mar 10, 2009 at 5:54 AM, shahrzad khorrami <
shahrzad.khorr...@gmail.com> wrote:
> Hi all :-)
>
> I want to use of *soft phone* application in my php codes..First is it
> possible? has php a module for this purpose?
> if it hasn't... By the way I think I must use of something else such as
On Thu, May 28, 2009 at 2:31 AM, HELP! wrote:
> now I have been able to telnet to the server IP but it defaulting to port
> 23
> instead of the port I specified ( telnet ip port). How do u correct this
> problem
rtfm telnet
translates to
man telnet
which says
telnet host port
so put the po
On Thu, May 28, 2009 at 2:40 AM, HELP! wrote:
> I have done that.
>
> o host port
> or
> telnet host port
>
thats pretty odd.. a quick test on my box, looks like it works fine,
phdelnnobbe:~ nnobbe$ telnet host 22
Trying xx.xx.xx.xx...
Connected to host.
Escape character is '^]'.
SSH-2.0-OpenSS
On Thu, May 28, 2009 at 1:05 PM, Ashley Sheridan
wrote:
> .Net does run on Linux servers, through a project called Mono. I've yet
> to see it offered by a hosting company yet though.
im sure its come a long way since the beginning days, or w/e. but about 3
or 4 years back when i was teaching at
On Thu, May 28, 2009 at 9:25 AM, Tony Marston wrote:
>
> "Eddie Drapkin" wrote in message
> news:68de37340905280801m6964d355l2d6d8ef773f3b...@mail.gmail.com...
> > There's a huge difference between laziness and opting in to use an
> > incredibly useful (and easy to properly deploy) feature to sa
On Thu, May 28, 2009 at 5:31 AM, Julian Muscat Doublesin <
opensourc...@gmail.com> wrote:
> Hi Everyone,
>
> This is the first time that I am posting in the PHP forum, so hope that I
> am
> osting in the right place.
>
> I would like to say that before submitting to this forum I have done some
> r
On Thu, May 28, 2009 at 2:42 PM, Eddie Drapkin wrote:
> autoloading doesn't do anything but follow a set of logic rules to decide
> what file to require, so it doesn't mess with opcode caches at all.
umm.., right, but what do you think happens at the center of that logic ?
require / include ca
On Thu, May 28, 2009 at 4:28 PM, Luke wrote:
> Right I've read the manual on this and all that so hopefully you find
> people
> can help.
> I have an abstract class with three children. The abstract is ForumObject
> and the three children are Thread, Category and Post and each have their
> own
>
On Thu, May 28, 2009 at 4:28 PM, Luke wrote:
> Any ideas? Perhaps there is a different way I could implement the classes -
> I would rather not have getObjectIds repeated three times!
just make the classes instance-based, thats your easiest bet.
(sorry for the extra noise)
abstract class Forum
On Sat, May 30, 2009 at 1:51 PM, Eddie Drapkin wrote:
> Hey, I'm looking to start playing with 5.3.0, and thus by extension,
> namespaces. One of the things that I definitely need support for is
> autoloading, and the docs aren't exactly explicit in some (obvious to me)
> cases.
>
> I have an au
On Sun, Jun 21, 2009 at 2:01 PM, Lars Nielsen wrote:
> Hey List
>
> Is there any good approach to share code between multiple sites? The
> code might be on the same server but on different domains.
put your common code outside the web root, and use the include_path ini
setting in all the variou
On Sun, Jun 21, 2009 at 3:25 PM, Tobias Krieger <
tobias.krie...@teamfrednet.org> wrote:
> Hi,
>
> I've recently written an eMail regarding I2C and PHP - since I haven't
> found a nice solution yet, I'm considering writting the I2C part (opening
> device, writing, reading,...) in C (that's simple)
On Sun, Jun 21, 2009 at 3:44 PM, Tobias Krieger <
tobias.krie...@teamfrednet.org> wrote:
> This would be a nice and fast solution, but unfortunatelly, it's like that
> the C programm needs to surveilance the hardware all the time (controlling
> values,...) hence, it would run more as a "daemon".
>
On Sun, Jun 21, 2009 at 5:56 PM, James McLean wrote:
> (Resend from around 1 week ago, because of no responses)
>
> Hi All,
>
> Over the weekend I setup a test of APC intending to benchmark a Moodle
> installation with various APC settings to see how well I could get it
> to perform. I successfull
1 - 100 of 1136 matches
Mail list logo