John Hinton wrote:
Greg Donald wrote:
On 4/26/05, Lester Caine [EMAIL PROTECTED] wrote:
I have had exactly the same problem with a number of
home brew applications.
What's that mean, 'home brew' ?
Applications I have made myself - to sell !
The application seems very professional to me, even
[EMAIL PROTECTED] (René Fournier) wrote in
news:[EMAIL PROTECTED]:
I need to convert a binary number of arbitrary length to a signed
integer.
This is how I'm doing it now:
CODE
function bin2int ($bin) {
if (substr($bin,0,1) == 1) {
$val = 0 -
This is what I do to force excel docs to be downloaded...
Header(Content-Type: application/vnd.ms-excel);
This tells the browser that it's an Excel file.
Header(Content-Disposition: attachment; filename=general-data.xls);
This tells Microsoft browsers (who I think made up all the stuff in this
Since you'll have many pictures per category, category should be in a
separate table and linked to a picture via an id (i.e. auto
increment).
On Apr 26, 2005, at 1:47 PM, Ryan A wrote:
Hey,
am a bit stumped as to how to do this:
We are allowing users to make categories , then they upload their
I apologize in advance if I'm asking basic questions...
When you hit the back button, won't the browser just take the page
from the cache?
I haven't switched my POSTs to GETs and this is what I'm seeing.
I have a list of images. There are check boxes next to the images.
When the user checks
Hello,
I cannot figure out how to read a specific cell in a result i got from
a SQL request.
I have a SQL request on a database:
SELECT nameAttribute, fr, de, en
FROM traduction
WHERE nameTable = 'whatever'
AND idTable = 1
ORDER BY nameAttribute
and i am suppose to get something like this :
On Tue, 2005-04-26 at 17:05, Sebastien Pahud wrote:
Hello,
I cannot figure out how to read a specific cell in a result i got from
a SQL request.
I have a SQL request on a database:
SELECT nameAttribute, fr, de, en
FROM traduction
WHERE nameTable = 'whatever'
AND idTable = 1
ORDER BY
Hi,
I haven't yet started with gettext, but I consider to use it.
Is it possible to use several text domains of gettext together?
For example: I got 2 basic GUIs with their own text domains. I want to
combine both the GUIs together, so is it possible to use the text
domains of both the GUIs
Ok Greg:
I changed everything to GET and it's behaving better! Thanks.
I guess when the user clicks the back button they should just get
back the last state of the browser...no if, and or but's.
-James
At 1:59 PM -0500 4/26/05, Greg Donald wrote:
On 4/26/05, James [EMAIL PROTECTED] wrote:
What
Brian V Bonini wrote:
On Tue, 2005-04-26 at 17:05, Sebastien Pahud wrote:
Hello,
I cannot figure out how to read a specific cell in a result i got from
a SQL request.
I have a SQL request on a database:
SELECT nameAttribute, fr, de, en
FROM traduction
WHERE nameTable = 'whatever'
AND idTable
I changed everything to GET and it's behaving better! Thanks.
I guess when the user clicks the back button they should just get
back the last state of the browser...no if, and or but's.
This is because when you click the back button on the browser it pulls
up the URL from it's history
I would do it like this :
if (mysql_data_seek($result, $rownum))
$a_row = mysql_fetch_row($result);
echo $a_row[$column_int];
--Codefox
-Original Message-
From: Sebastien Pahud [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 5:52 PM
To: php-general@lists.php.net
David Tucker wrote:
[OP]
I have a MySQL database with about a million records. I'd like to use the
SQL command order by RAND() but my ISP won't let me: whenever the server
gets spidered, Google overloads their MySQL server because of all the
overhead of that command. I can't just cloak the spiders
seb,
it would help to post the actual table structure
jozef
Sebastien Pahud wrote:
Hello,
I cannot figure out how to read a specific cell in a result i got
from a SQL request.
I have a SQL request on a database:
SELECT nameAttribute, fr, de, en
FROM traduction
WHERE nameTable = 'whatever'
Thanks David,
Exactly what i was looking for !
Seb
David Tucker wrote:
I would do it like this :
if (mysql_data_seek($result, $rownum))
$a_row = mysql_fetch_row($result);
echo $a_row[$column_int];
--Codefox
-Original Message-
From: Sebastien Pahud [mailto:[EMAIL PROTECTED]
Sent:
Mario de Frutos Dieguez wrote:
Hi!
I'm back hahaha :D
I'm making functions to calculate the duration (only laboral days)
between 2 dates and the initial and final date between a duration give
me in laboral days.
I use the following function to make the diference between 2 dates:
function
Sebastian, just a guess, but maybe when you do $table['de'] it is
assuming the first element in the array. i.e. $table['de'][0].
Perhaps if you tried $table['de'][2] it might work. Just an idea.
Also, how does your code look to convert the result set to an array?
That might help to decipher
That's great, thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
on 04/26/2005 03:25 PM Ryan A said the following:
several classes that provide different kinds of Flash integration:
http://www.phpclasses.org/browse/class/102.html
True, but going there has become a real pain in the ...you know where
coz you get a crapload of popups,
snip
I understand
Here's what I want to do..
I want to take Credit card details from customers number, expiry,
security number and send them to my client who will put these through his
card terminal in his place of business.
Any suggestions how to do this?
Secure Email, SSL any ideas will be gratefully
On 4/27/2005 1:29:02 AM, Manuel Lemos ([EMAIL PROTECTED]) wrote:
Hello,
Hi,
Thanks for replying.
I know I can take you up on a number of points that you have written that
just dont add up,
for example:
It is not a matter of greed but rather of keeping the site open
dedicating full time to its
On Tue, April 26, 2005 5:10 pm, Ross said:
Here's what I want to do..
No, you just *THINK* you want to do that :-)
I want to take Credit card details from customers number, expiry,
security number and send them to my client who will put these through his
card terminal in his place of
On Tue, April 26, 2005 2:05 pm, Sebastien Pahud said:
\ I cannot figure out how to read a specific cell in a result i got from
a SQL request.
http://php.net/mysql_result
You don't want to use that a hundred times instead of mysql_fetch_row, but
it's fine for what you want.
If you are only
Hi,
I know this is not the forum, but I googled and couldn't find it, so
please try to help me with this.
/*/
function MyCls(name)
{
this.name=name;
}
function SayHi()
{
alert('Hi, '+this.name+'!');
}
var obj=new MyCls('PHP');
obj.name='JavaScript'; //this will call SayHi()
* James [EMAIL PROTECTED]:
Currently I have an application with PHP scripts that passes POST
variables to keep track of ID's of records, the processing mode and
such.
I totally didn't design it to handle when a user hits the Back button
in the browser...everything is tightly
hi
lately, I'm finding myself reordering large amounts of rows populated
from a database query ...with an order_id field
this is a bit tedious re-entering every order_id for a found set :(
Is there a php class out there that allows you to arbitrarily order
rows in a found setgraphically ?
* James [EMAIL PROTECTED]:
I apologize in advance if I'm asking basic questions...
When you hit the back button, won't the browser just take the page
from the cache?
I haven't switched my POSTs to GETs and this is what I'm seeing.
I have a list of images. There are check boxes next to the
On Tue, April 26, 2005 11:51 am, James said:
What have people done in the past to deal with states and such and
keeping these things straight when the user hits the BACK button?
Best Option:
Don't design your application like that :-)
People use the browsers they use because they like its
On Tue, April 26, 2005 9:56 am, René Fournier said:
I've looked in the docs and don't see anything for this per se...
I need to convert a binary number of arbitrary length to a signed
integer.
No matter what you do, a PHP integer is going to be 32-bit.
So artbitrary length is not gonna
On Tue, April 26, 2005 7:55 am, Brian Dunning said:
I have a MySQL database with about a million records. I'd like to use
the SQL command order by RAND() but my ISP won't let me: whenever
the server gets spidered, Google overloads their MySQL server because
of all the overhead of that
On Tue, April 26, 2005 6:48 am, kioto said:
Hi all i have problem with safe_mode i don't understand the logic to
apply to avoid owners
problem with script.
Can you step by step ho to solve ?
http://php.net/features.safe-mode
may have your answer.
Be sure to read the User Contributed notes.
On Tue, April 26, 2005 3:11 am, Amir Mohammad Saied said:
i want to extract the data from my DB (it's an articles database) and
want to show them in 2 columns way, like zend.com's articles section,
could any one help me?
Do you want them in column order or row order?
(left-right or up-down)
On Mon, April 25, 2005 7:43 pm, The Disguised Jedi said:
another process tries to do something, phpDesigner shrinks into the
background, and uses almost no CPU, only to crawl back up to 100% after
the
other process is finished.
Not to be alarmist, but that almost sounds like some kind of
On Tue, April 26, 2005 7:05 pm, Graham Anderson said:
lately, I'm finding myself reordering large amounts of rows populated
from a database query ...with an order_id field
this is a bit tedious re-entering every order_id for a found set :(
Do different users get to order differently, or is
On Tue, April 26, 2005 7:02 pm, Matthew Weier O'Phinney said:
1. Display form on page 1. Page 1 has Cache-Control: no-cache header.
2. User submits form to page 2
3. Page 2 processes form, stores required variables in session, and then
redirects to page 3.
4. Page 3 displays results
On Tue, April 26, 2005 7:51 pm, Eli said:
I know this is not the forum, but I googled and couldn't find it, so
please try to help me with this.
/*/
function MyCls(name)
{
this.name=name;
}
function SayHi()
{
alert('Hi, '+this.name+'!');
}
var obj=new MyCls('PHP');
Hi
I am allready using a 'rank' field now... with 1 to N :) There are
just so damned many of them to order manually
the up/down button solution...is there a tutorial or php class out
there I could take a look at...
where you:
give the class a query...
get a found set back as html with these
Hi folks,
I'm working on a component system for php forms and all, and I'm
wondering about an issue I have. I have a few ideas on how to fix this
problem, but I would like to hear your oppinions about it.
These are my classes:
Component
FormElement extends Component
ComboBox extends FormElement
Hi All,
this page,
http://webmonkey.wired.com/webmonkey/99/21/index3a_page3.html?tw=programming
has code that is supposed to pass an id via the url string to the same
page, and display info of a particular product, based on the id being
passed. Everything works fine, until I click the link, and
101 - 139 of 139 matches
Mail list logo