Sándor Tamás (HostWare Kft.) wrote:
Hi,
I don't know if it's Firebird or PHP question.
Bit of both - probably worth moving to the firebird-php list
http://groups.yahoo.com/group/firebird-php/
I want to use remote administration on one of my pages, at least do a
backup for a Firebird database.
Sure, you're right. I wouldn't normally do this, but this is the only way.
I took a look at ibWebAdmin. It simply calls the host machine's Firebird
gbak utility. So I had to know the exact path to this utility on the linux
based web server. But I don't know. In fact I don't have any access to t
2009/1/7 L. Herbert :
> Does anyone know if it is possible to get a collection of YouTube videos
> from multiple user accounts? If so, can you provide some insight and
> direction?
>
> Someone more knowledgeable than me on this topic indicated that it is only
> possible get a collection of YouTube
Sándor Tamás (HostWare Kft.) wrote:
Sure, you're right. I wouldn't normally do this, but this is the only way.
I took a look at ibWebAdmin. It simply calls the host machine's Firebird
gbak utility. So I had to know the exact path to this utility on the
linux based web server. But I don't know.
Stuart,
Let me clarify, I am using PHP to call/receive via the YouTube API and
to format/display the return data within my PHP application. I
believe that has a little something to do with PHP. Forgive my
presumption if otherwise.
-- Eric
On Jan 7, 2009, at 4:40 AM, Stuart wrote:
200
2009/1/7 L. Herbert :
> Let me clarify, I am using PHP to call/receive via the YouTube API and to
> format/display the return data within my PHP application. I believe that
> has a little something to do with PHP. Forgive my presumption if otherwise.
As I understand it you're wanting to request
>> it' may seem like a small amount of space but when you have 8
>> char(255) columns in a table with 10 million rows you'd noticed the
>> difference considerably.
It is a small amount of space. Perhaps it was necessary in the days
when 1Gb Hdds were a luxury, but those days are long gone. In the
Stuart,
PHP can do a great many things, but it cannot remotely change the
functionality of a third party API.
Is that part of your understanding of my request? To clarify further
for you, I am simply asking my question here (in addition to other
reference/discussion forums) to see if any
Hello,
suppose there is a file at http://otherhost.com/remote.php that looks
like this:
Suppose i executed the following php file at http://myhost.com/local.php
http://otherhost.com/remote.php";);
?>
Is there any way to get local.php to display "You are in", by only
modifying local.php?
2009/1/7 Daniel Kolbo :
> suppose there is a file at http://otherhost.com/remote.php that looks like
> this:
>
> if (!isset($safe_flag))
> {
> die("hacking attempt");
> }
> echo "You are in";
> ?>
>
> Suppose i executed the following php file at http://myhost.com/local.php
>
> require_once("htt
hi Herbet,
i am interested on what your are looking for. maybe you just have to
write a PHP script to
loop through every yourtube account. btw, if you found the solutions,
please tell me or we can work on the solutions together?
On 1/7/09, L. Herbert wrote:
> Stuart,
>
>> PHP can do a great many
Hello,
I'm pleased to announce the following position in our team of talented
engineers. I personally enjoy working here and recommend this job to the
dynamic, motivated self-starter looking for his/ her next career step in
the open source world. Please feel free to forward this to anybody
interes
Thanks for the help guys, much appreciated!
--
View this message in context:
http://www.nabble.com/RSS-Feed-on-my-PHP-site-tp21293513p21330097.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
Let's say I have these URLs
http://example.com/index.php?q=gallery
http://example.com/index.php?q=gallery&g2_itemId=81
http://example.com/index.php?q=gallery&g2_itemId=100
I want to have a line of code that will extract just the
"http://example.com/index.php?q=gallery"; part of the URL.
I am
Richard Heyes wrote:
>So where's the advantage of VARCHAR ?
Less space on disc = less data retrieved from disc = faster data
retrieval - sometimes. If you have small columns, a small number of
rows, or both, then char columns may be faster. If you have large
columns of varying actual length, lots
2009/1/7 Ross McKay :
> Oh, and for a column with a limited range of values, enum beats 'em all!
Got anything to back that up?
http://www.mysqlperformanceblog.com/2008/01/24/enum-fields-vs-varchar-vs-int-joined-table-what-is-faster/
-Stuart
--
http://stut.net/
--
PHP General Mailing List (ht
Sn!per wrote:
Let's say I have these URLs
http://example.com/index.php?q=gallery
http://example.com/index.php?q=gallery&g2_itemId=81
http://example.com/index.php?q=gallery&g2_itemId=100
I want to have a line of code that will extract just the
"http://example.com/index.php?q=gallery"; part of t
I'm running through a large dataset and am generating/manipulating XML
documents for each record. What's happening is that after a while, I
get a fatal error saying:
Fatal error: Allowed memory size of 167772160 bytes exhausted (tried
to allocate 32650313 bytes)
Each XML file I generate (an mani
>>So where's the advantage of VARCHAR ?
>
> Less space on disc = less data retrieved from disc = faster data
> retrieval - sometimes. If you have small columns, a small number of
> rows, or both, then char columns may be faster. If you have large
> columns of varying actual length, lots of rows, or
Stuart wrote:
>Got anything to back that up?
>
>http://www.mysqlperformanceblog.com/2008/01/24/enum-fields-vs-varchar-vs-int-joined-table-what-is-faster/
Thanks, that'll do nicely. Even that strapped chicken test with tables
that are likely cached shows enum as the fasted, albeit only marginally.
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?)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Jan 7, 2009 at 4:54 AM, Mika Jaaksi wrote:
> I already can get the data from database to a page. Now I want to make link
> from that data to next page and on that new page it should show all the
> data
> that is related.
>
> example:
>
> data from database
> -->
> page1 where listed:
>
>
There are other factors. If a table is completely fixed in size it makes
for a faster lookup time since the offset is easier to compute. This is
true, at least, for myisam tables. All books on tuning that I have read
have said the CHAR makes for more efficient lookup and comparison that
VARCHAR.
hi guys,
I did php/mysql based website for one my client 7 years ago, in time when
register_globals was on by default.
hosting company upgraded server to php5/mysql5 and turned globals off. the site
is doesn't work any more.
I can define globals on again in .htaccess but rather not because it cou
> but, I'm more concern does client has to pay the changes/upgrade or it's
> still "my obligation"?
Of course you charge him. Christ if I was expected to maintain stuff
gratis that I wrote 7 years ago I'd be mullahed.
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www
On 1/7/09, Jim Lyons wrote:
>
> There are other factors. If a table is completely fixed in size it makes
> for a faster lookup time since the offset is easier to compute. This is
> true, at least, for myisam tables. All books on tuning that I have read
> have said the CHAR makes for more effici
Lamp Lists wrote:
hi guys,
I did php/mysql based website for one my client 7 years ago, in time when
register_globals was on by default.
hosting company upgraded server to php5/mysql5 and turned globals off. the site
is doesn't work any more.
I can define globals on again in .htaccess but rat
Lamp Lists schrieb:
hi guys,
I did php/mysql based website for one my client 7 years ago, in time when
register_globals was on by default.
hosting company upgraded server to php5/mysql5 and turned globals off. the site
is doesn't work any more.
I can define globals on again in .htaccess but rat
2009/1/7 Lamp Lists :
> hi guys,
> I did php/mysql based website for one my client 7 years ago, in time when
> register_globals was on by default.
> hosting company upgraded server to php5/mysql5 and turned globals off. the
> site is doesn't work any more.
> I can define globals on again in .htac
>
> > but, I'm more concern does client has to pay the changes/upgrade or it's
> still "my obligation"?
>
> Of course you charge him. Christ if I was expected to maintain stuff
> gratis that I wrote 7 years ago I'd be mullahed.
>
> --
> Richard Heyes
I agree with Richard.
I bought a car 7 years
From: Stuart
To: lamp.li...@yahoo.com
Cc: php-general@lists.php.net
Sent: Wednesday, January 7, 2009 8:29:48 AM
Subject: Re: [PHP] redoing website after 7 years
2009/1/7 Lamp Lists :
> hi guys,
> I did php/mysql based website for one my client 7 years ago, in tim
On Wed, Jan 7, 2009 at 9:17 AM, David Giragosian wrote:
> On 1/7/09, Jim Lyons wrote:
>>
>> There are other factors. If a table is completely fixed in size it makes
>> for a faster lookup time since the offset is easier to compute. This is
>> true, at least, for myisam tables. All books on tun
Christoph Boget wrote:
I'm running through a large dataset and am generating/manipulating XML
documents for each record. What's happening is that after a while, I
get a fatal error saying:
Fatal error: Allowed memory size of 167772160 bytes exhausted (tried
to allocate 32650313 bytes)
Each XML
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?)
probably best off asking on the php gtk list ;)
--
PHP General Mailing List (http://www.php.ne
Richard Heyes wrote:
but, I'm more concern does client has to pay the changes/upgrade or it's still "my
obligation"?
Of course you charge him. Christ if I was expected to maintain stuff
gratis that I wrote 7 years ago I'd be mullahed.
concurred, personally I'd be tempted to offer to find or
>> Does anyone know how (or even if) I can explicitly free the memory
>> used for the DOMDocument? Any help/advice would be greatly
>> appreciated!
> I've had exactly the same problem and couldn't find a way around it; even
> after unsetting every variable in my scripts inside a for/while loop; in
Dan Shirah wrote:
> On Wed, Jan 7, 2009 at 4:54 AM, Mika Jaaksi wrote:
>
>> I already can get the data from database to a page. Now I want to make link
>> from that data to next page and on that new page it should show all the
>> data
>> that is related.
>>
>> example:
>>
>> data from database
>>
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
Maybe you could find and answer here:
http://drupal.org/node/81037
Some people have the same problem, i was this trouble in the past and i fix it
increasing the memory_limit in php.ini file
Anyway read the posts in the url that i wrote.
> To: php-general@lists.php.net; jcbo...@yahoo.com
> D
Daniel Kolbo wrote:
> Hello,
>
> suppose there is a file at http://otherhost.com/remote.php that looks
> like this:
>
> if (!isset($safe_flag))
> {
>die("hacking attempt");
> }
> echo "You are in";
> ?>
>
> Suppose i executed the following php file at http://myhost.com/local.php
>
> requi
2009/1/7 Shawn McKenzie :
> Daniel Kolbo wrote:
>> Hello,
>>
>> suppose there is a file at http://otherhost.com/remote.php that looks
>> like this:
>>
>> > if (!isset($safe_flag))
>> {
>>die("hacking attempt");
>> }
>> echo "You are in";
>> ?>
>>
>> Suppose i executed the following php file at
php is delivering error messages to STDERR when i call trigger_error() in
the script. i'm using the command:
php -c /usr/local/etc/php.ini -f script.php
and the config file has log_errors and error_log set correctly afaict (it
works for scripts run via apache).
is this to be expected (and hence
Shawn McKenzie wrote:
Daniel Kolbo wrote:
Hello,
suppose there is a file at http://otherhost.com/remote.php that looks
like this:
Suppose i executed the following php file at http://myhost.com/local.php
http://otherhost.com/remote.php";);
?>
Is there any way to get local.php to display
Stuart wrote:
2009/1/7 Shawn McKenzie :
Daniel Kolbo wrote:
Hello,
suppose there is a file at http://otherhost.com/remote.php that looks
like this:
Suppose i executed the following php file at http://myhost.com/local.php
http://otherhost.com/remote.php";);
?>
Is there any way to g
Jesús Enrique Muñoz Fernández wrote:
Maybe you could find and answer here:
*http://drupal.org/node/81037
Some people have the same problem, i was this trouble in the past and
i fix it increasing the *memory_limit *in php.ini file*
Anyway read the posts in the url that i wrote.
> To: php-g
Merlin Morgenstern wrote:
> Hi there,
>
> I need pars an xml file with php 4. There seems to be a good package out
> there "active link xml". However, last development was 2004. Is there
> something new around which you would recommend over active link?
>
> Thank you for any hints.
>
> Best rega
Richard Heyes wrote:
>>> it' may seem like a small amount of space but when you have 8
>>> char(255) columns in a table with 10 million rows you'd noticed the
>>> difference considerably.
>>>
>
> It is a small amount of space. Perhaps it was necessary in the days
> when 1Gb Hdds were a luxur
It is the wrong list to ask.
The answer is that the YouTube API does not support that.
You'll have to merge and sort in PHP.
I recommend you cache the results for all external web services, as a general
principle.
For a large number of videos, you'll want to merge/sort in DB, not in P
If register_globals is "on" (ewww!) at otherhost.com, then "?safe_flag" on the
URL will get in.
This is one of the reasons why register_globals should be OFF.
NOTE:
The code you gave does not describe the circumstances whereby $safe_flag is
"set". There could be all manner of other issue
c...@l-i-e.com wrote:
If register_globals is "on" (ewww!) at otherhost.com, then "?safe_flag" on the
URL will get in.
This is one of the reasons why register_globals should be OFF.
NOTE:
The code you gave does not describe the circumstances whereby $safe_flag is
"set". There could be all man
On Wed, 2009-01-07 at 10:49 +, Richard Heyes wrote:
> >> it' may seem like a small amount of space but when you have 8
> >> char(255) columns in a table with 10 million rows you'd noticed the
> >> difference considerably.
>
> It is a small amount of space. Perhaps it was necessary in the days
Irrespective of the GTK2 bit, PHP can connect just fine with other servers
using sockets and stream wrappers and good ol' file_get_contents on a URL.
Whether you can tweak those in useful ways at fast enough speeds to do what you
want is more up to your skill than PHP's feature-set.
--
PH
On Wed, 2009-01-07 at 13:26 +, Richard Heyes wrote:
> >>So where's the advantage of VARCHAR ?
> >
> > Less space on disc = less data retrieved from disc = faster data
> > retrieval - sometimes. If you have small columns, a small number of
> > rows, or both, then char columns may be faster. If y
As I recall, PHP CLI overrides the error_log setting and uses STDERR by design.
You'll have to re-direct it elsewhere in the shell.
Or a custom error_handler that uses a specific file name in error_log call.
Using error_log alone will not help.
--
PHP General Mailing List (http://www.
On Wed, 2009-01-07 at 06:07 -0800, Lamp Lists wrote:
> hi guys,
> I did php/mysql based website for one my client 7 years ago, in time when
> register_globals was on by default.
> hosting company upgraded server to php5/mysql5 and turned globals off. the
> site is doesn't work any more.
> I can d
Hi there,
I need pars an xml file with php 4. There seems to be a good package out
there "active link xml". However, last development was 2004. Is there
something new around which you would recommend over active link?
Thank you for any hints.
Best regards,
Merlin
--
PHP General Mailing Lis
XML in PHP4? Don't. :-)
It was very painful and with all kinds of quirks, from my limited experience.
PHP5 was a breeze.
Consider hosting a quick/easy service on a PHP5 box to convert XML to PHP
serialized data or something as well. Could be less painful.
Or just upgrade, since PHP4
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 order to kick off the import process, I need the shared hoster to
>
> Thanks for the aswers, but there is still some problems.
>
> I tested this code(below) and it works but when I add it to the rest of my
> code it stops working.
>
> Here's the working code:
>
> page1:
>
> $bandname = "Someband";
> ?>
>
>
>
>
>
> and page2:
>
> Bandname is !
>
> ___
I am still struggling with getting my sessions and logins to pull just the
allotted data that each user is allowed...
I have the session working, and can echo it to see that .. what I'm having
problems with is this : I want to pull the data specific to each user
..right... so far I either get all d
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 3:01 PM, Mika Jaaksi wrote:
> Thanks! I got it working...
>
Excellent, happy to help.
^THANX: Will upgrade to php5.
c...@l-i-e.com wrote:
XML in PHP4? Don't. :-)
It was very painful and with all kinds of quirks, from my limited experience.
PHP5 was a breeze.
Consider hosting a quick/easy service on a PHP5 box to convert XML to PHP
serialized data or something as well. Could
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;
I simply just can't figure out how to adress this structure:
This does not work:
echo $xml->anbieter->immobilie->anhaenge->
$query = "SELECT * FROM admin WHERE AdminID =
".$_SESSION['your_session_name']."";
?>
that's a basic example, did u try it?
Terion Miller escreveu:
I am still struggling with getting my sessions and logins to pull just the
allotted data that each user is allowed...
I have the sess
I'm working in the same kind of environment.
Make sure you are single quoting string data in MySQL
as in
$query = "SELECT * FROM admin WHERE UserName = '" . $_SESSION['user'] . "'
";
Thats a single quote, double quote, dot, session var, dot, double quote,
single quote
I wrote that out becaus
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
Hello Nathan,
I upgraded to PHP 5, so I am using nativ support.
Best regards, Merlin
Nathan Nobbe schrieb:
On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern
mailto:merli...@fastmail.fm>> wrote:
Hi there,
I am justing walking my first steps on XML and PHP. As I learned
from a tu
Terion Miller wrote:
> I am still struggling with getting my sessions and logins to pull just the
> allotted data that each user is allowed...
> I have the session working, and can echo it to see that .. what I'm having
> problems with is this : I want to pull the data specific to each user
> ..rig
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
Merlin Morgenstern wrote:
> Hello Nathan,
>
> I upgraded to PHP 5, so I am using nativ support.
>
> Best regards, Merlin
>
> Nathan Nobbe schrieb:
>> On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern
>> mailto:merli...@fastmail.fm>> wrote:
>>
>> Hi there,
>>
>> I am justing walking my f
Jim Lucas wrote:
> Merlin Morgenstern wrote:
>> Hello Nathan,
>>
>> I upgraded to PHP 5, so I am using nativ support.
>>
>> Best regards, Merlin
>>
>> Nathan Nobbe schrieb:
>>> On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern
>>> mailto:merli...@fastmail.fm>> wrote:
>>>
>>> Hi there,
>>>
>>>
Nathan Rixham wrote:
Jesús Enrique Muñoz Fernández wrote:
Maybe you could find and answer here:
*http://drupal.org/node/81037
Some people have the same problem, i was this trouble in the past and
i fix it increasing the *memory_limit *in php.ini file*
Anyway read the posts in the url that i
> That's for a single table.
I've not come across many databases where 20-50 tables have 10 million
rows each. And with a table of that size, then I might be coerced into
thinking about the storage requirements a little more. Maybe.
> Now add another 20 to 50 tables depending on
> the database. I
Richard Heyes wrote:
That's for a single table.
I've not come across many databases where 20-50 tables have 10 million
rows each. And with a table of that size, then I might be coerced into
thinking about the storage requirements a little more. Maybe.
Now add another 20 to 50 tables d
One other thought. If you are getting a blank page with no errors or out
put at all, I've noticed that I somtimes have to get the page to load
successfully before the web server will dish out the error.
What I normally do is upload a blank php page with the same name as the one
I am working o
On Wed, 2009-01-07 at 21:18 +, Nathan Rixham wrote:
> Richard Heyes wrote:
> >> That's for a single table.
> >>
> >
> > I've not come across many databases where 20-50 tables have 10 million
> > rows each. And with a table of that size, then I might be coerced into
> > thinking about the s
On Wed, 2009-01-07 at 20:24 +0800, Sn!per wrote:
> Let's say I have these URLs
>
> http://example.com/index.php?q=gallery
> http://example.com/index.php?q=gallery&g2_itemId=81
> http://example.com/index.php?q=gallery&g2_itemId=100
>
> I want to have a line of code that will extract just the
> "
On Wed, Jan 7, 2009 at 3:33 PM, Frank Stanovcak wrote:
>
> One other thought. If you are getting a blank page with no errors or out
> put at all, I've noticed that I somtimes have to get the page to load
> successfully before the web server will dish out the error.
>
> What I normally do is uploa
""Terion Miller"" wrote in message
news:37405f850901071354p7abd0aa8i7c96cf69c81fa...@mail.gmail.com...
>> >$result=mysql_query($query) or die('Queryproblem: ' . mysql_error()
>> > .
>> > 'Executedquery: ' . $query);
>> > if (mysql_num_rows($result) >= '1'){
>> >
On Wed, Jan 7, 2009 at 4:10 PM, Frank Stanovcak wrote:
>
> ""Terion Miller"" wrote in message
> news:37405f850901071354p7abd0aa8i7c96cf69c81fa...@mail.gmail.com...
>
> >> >$result=mysql_query($query) or die('Queryproblem: ' . mysql_error()
> >> > .
> >> > 'Executedquery: ' . $quer
On Wed, Jan 7, 2009 at 4:13 PM, Terion Miller wrote:
>
>
> On Wed, Jan 7, 2009 at 4:10 PM, Frank Stanovcak
> wrote:
>
>>
>> ""Terion Miller"" wrote in message
>> news:37405f850901071354p7abd0aa8i7c96cf69c81fa...@mail.gmail.com...
>>
>> >> >$result=mysql_query($query) or die('Queryproblem: '
I will try that, thanks, I did just try to echo the $row['AddEditAdmin']
results, as I do in the query section and in that it does return YES or NO
like I expect, but when I tried to echo it down in the page where I need to
use it guess what..no echo... am I cutting my query off somewhere?
2009/1/7 Ashley Sheridan :
> Not just that, but aren't there greater overheads if the database is
> physically larger in size? I assume that char might be a bit quicker to
> work with than varchar, but I am pretty certain that using a fulltext
> index on a text field is ridiculously slow compared t
Hi,
I'm storing ANSI escape sequences in an array, stored like this:
$connections[$channel][2] = $info['colour'];
$info['$colour'] would contain something like \033[33m
Now, my problem is when I try and print it:
$pstring = $connections[$channel][2] . $connections[$channel][1] . " " .
$buffe
here is a handy little snippet of code I use. Just include it where you
want to get a snap shot of all the variables in an app.
ta ta for today boys!
- Original Message -
From: "Chris"
To: "Terion Miller"
Cc: "Frank Stanovcak" ;
Sent: Wednesday, January 07, 2009 5:29 PM
Subject:
On Wed, 2009-01-07 at 18:50 -0500, Frank Stanovcak wrote:
> here is a handy little snippet of code I use. Just include it where you
> want to get a snap shot of all the variables in an app.
>
> ta ta for today boys!
> - Original Message -
> From: "Chris"
> To: "Terion Miller"
> Cc: "F
On Thu, 2009-01-08 at 01:07 +0200, Dotan Cohen wrote:
> 2009/1/7 Ashley Sheridan :
> > Not just that, but aren't there greater overheads if the database is
> > physically larger in size? I assume that char might be a bit quicker to
> > work with than varchar, but I am pretty certain that using a fu
Ashley Sheridan wrote:
On Wed, 2009-01-07 at 18:50 -0500, Frank Stanovcak wrote:
here is a handy little snippet of code I use. Just include it where you
want to get a snap shot of all the variables in an app.
ta ta for today boys!
Is it just me, or can anybody else not see the code snippe
On Thu, 2009-01-08 at 11:09 +1100, Chris wrote:
> Ashley Sheridan wrote:
> > On Wed, 2009-01-07 at 18:50 -0500, Frank Stanovcak wrote:
> >> here is a handy little snippet of code I use. Just include it where you
> >> want to get a snap shot of all the variables in an app.
> >>
> >> ta ta for tod
Nathan Rixham wrote:
Richard Heyes wrote:
but, I'm more concern does client has to pay the changes/upgrade or
it's still "my obligation"?
Of course you charge him. Christ if I was expected to maintain stuff
gratis that I wrote 7 years ago I'd be mullahed.
concurred, personally I'd be tempte
Daniel Kolbo wrote:
>
> Shawn McKenzie wrote:
>> Daniel Kolbo wrote:
>>
>>> Hello,
>>>
>>> suppose there is a file at http://otherhost.com/remote.php that looks
>>> like this:
>>>
>>> >> if (!isset($safe_flag))
>>> {
>>>die("hacking attempt");
>>> }
>>> echo "You are in";
>>> ?>
>>>
>>> Supp
Richard Heyes wrote:
>I've not come across many databases where 20-50 tables have 10 million
>rows each. And with a table of that size, then I might be coerced into
>thinking about the storage requirements a little more. Maybe.
Not on MySQL, but I've worked on databases with hundreds of millions
because you so nicely didn't make fun of me...that much :)
I keep it in it's own file and just use it as in include to probe where I need
to.
--code follows--
keyvalue';
foreach($passed as $tkey=>$tvalue){
echo '[' , $tkey , ']';
if(is_array($tvalue)){
breakarray($tvalue);
}el
Then Ashley Sheridan said:
Why do you need a regex here? All the URL's have the same foremost
component, which is exactly 38 characters in length. Do you perchance
need a regualr expression to parse other URL's?
If you just need to extract everything before the first ampersand, then
strpos and
On Thu, 2009-01-08 at 11:37 +1100, Ross McKay wrote:
> Richard Heyes wrote:
>
> >I've not come across many databases where 20-50 tables have 10 million
> >rows each. And with a table of that size, then I might be coerced into
> >thinking about the storage requirements a little more. Maybe.
>
> No
On Wed, 2009-01-07 at 16:16 -0800, Jim Lucas wrote:
> Nathan Rixham wrote:
> > Richard Heyes wrote:
> >>> but, I'm more concern does client has to pay the changes/upgrade or
> >>> it's still "my obligation"?
> >>
> >> Of course you charge him. Christ if I was expected to maintain stuff
> >> gratis
On Wed, Jan 07, 2009 at 08:29:42PM -0500, Frank Stanovcak wrote:
> because you so nicely didn't make fun of me...that much :)
> I keep it in it's own file and just use it as in include to probe where I
> need to.
>
> --code follows--
>
> function breakarray($passed){
> echo 'keyvalue
Luke Slater a écrit :
> Hi,
>
> I'm storing ANSI escape sequences in an array, stored like this:
>
> $connections[$channel][2] = $info['colour'];
>
> $info['$colour'] would contain something like \033[33m
>
> Now, my problem is when I try and print it:
>
> $pstring = $connections[$channel][2]
On Wed, Jan 07, 2009 at 11:11:53PM +, Luke Slater wrote:
> Hi,
>
> I'm storing ANSI escape sequences in an array, stored like this:
>
> $connections[$channel][2] = $info['colour'];
>
> $info['$colour'] would contain something like \033[33m
>
> Now, my problem is when I try and print it:
>
> $p
1 - 100 of 106 matches
Mail list logo