(radio_.$result_from_mysql) ; ?
value=1
Now, when I submit this form to another page for processing, how would I catch
the above radio-button's $_POST name since I do not know the name, only that it
starts with radio_ ?
Thank You
Danny
--
PHP General Mailing List (http://www.php.net
on a more updated way of
starting my sessions?
My php.ini file is stock-standard. I am running version 5.2.6-1 with apache
2.2.9 on a Debian 5.04 machine.
Thank You
Danny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
path
instead of using a session variable like I do?
Thnks again guys
Danny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Gaurav,
Creating a local folder solved the problem. I can now catch the session
varaibles.
I think that I am too familiar with setting up everything on a local server and
forgot that there are other things to consider when you work on the internet.
Thank You
Danny
On Jun 25 10, Gaurav Kumar
Hi Jim,
I followed Gaurav's tips on creating a folder to store the session info in and
it got solved. I can now catch the session variables but I got A LOT of
include()
file errors which was solved by following your suggestion on expanding my URL's.
Thank You
Danny
On Jun 24 10, Jim Lucas
Hi Guys,
Thanks to all of you who helped me with my problem. I can now continue with my
life :) . I'm happy and the customer is happy ...
Thank you once again.
Danny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Mari,
I used localhost as a substitute for the real url. My mistake I should've told
you guys. Thanks anyway for your input.
Danny
On Jun 24 10, Mari Masuda :
Maybe you need to change
$_SESSION['server'] = http://localhost/~user/new_project; ;
to be not localhost.
--
PHP General
I have about 10 csv files I need to open to access data. It takes a lot
of time to search each file for the values I need. Would it be best to
just dump all the cvs files to an SQL db and then just grab what I need
from there? I'm starting to think it would make a lot of sense. What do
you guys
On Mon, 2008-03-10 at 22:36 -0400, Wolf wrote:
Danny Brow wrote:
I have about 10 csv files I need to open to access data. It takes a lot
of time to search each file for the values I need. Would it be best to
just dump all the cvs files to an SQL db and then just grab what I need
from
Wintec makes a nice unit. http://www.wintec.com.tw/en/home.php
But you are screwed if the system is in doors. I doubt you would get a
GPS signal inside a building.
Dan
On Tue, 2008-03-04 at 10:18 -0600, Jay Blanchard wrote:
Howdy group!
I know that this is not a PHP question (but it will
Just wondering if anyone could tell me how reliable the DESC order
option is going to be when I am parsing thousands of records where they
are multiple ChartNo's for the same clientNo. Or is there a better way
to grab the most recent ChartNo.
$link = mysql_connect('localhost', 'myuser',
Thanks for the answer, didn't think of asking this in a MySQL forum,
sorry.
Dan
On Sun, 2008-01-13 at 20:28 +0100, Jochem Maas wrote:
Danny Brow schreef:
Just wondering if anyone could tell me how reliable the DESC order
option is going to be when I am parsing thousands of records where
Hi Everyone,
I'm trying to compare a value to the first field in a csv fILE (example
of the data below). Using while takes too long and I can't figure out
how to compare just one row at a time. I've tried some variations of the
following.
//Common for all trials
$demoID = fopen(newDemoID.csv,
, Chris wrote:
Danny Brow wrote:
Hi Everyone,
I'm trying to compare a value to the first field in a csv fILE (example
of the data below). Using while takes too long and I can't figure out
how to compare just one row at a time. I've tried some variations of the
following.
So are you
Um, I've read the manual.
On Wed, 2008-01-09 at 20:11 -0500, Bastien Koert wrote:
http://ca.php.net/manual/en/function.fgetcsv.php
_
Discover new ways to stay in touch with Windows Live! Visit the City @ Live
today!
the fgetcsv inside the while loop to get past
the first row... :-)
On Wed, January 9, 2008 6:09 pm, Danny Brow wrote:
I need to compare the first field of each row. But this idea is shot
to
hell, i've been running one of the examples on the file and it's been
about an hour+ already... 6500
Hi,
It's been a while since I've used php and I'm trying to organize some data
by date. The problem I'm having is that when the data changes from say
2006 to 2005 the first few rows of 2005 data goes into my 2006 data and
the date for 2006 is lost. My code for separating dates is below with some
Seems my problem was a data issue and I needed to compensate for missing
dates.
thanks,
Dan
On Thu, January 11, 2007 2:31 pm, Danny Brow wrote:
Hi,
It's been a while since I've used php and I'm trying to organize some
data by date. The problem I'm having is that when the data changes from
Hi All,
Time ago, somebody sent a sample to the list about how to do an infinite
subcategories, based on parent field. I´ve been googling, and searching my
mail history, but cannot find it.
The objective is to create a tree with categories and subcategories of
documents, but with no limit
Hi,
I´ve got a web project that daily offers 4 o 5 mp3 files recorded by me.
From an web based interface I populate a database with titles, descripcion,
images and the path for the mp3 file in the server
The cuestion is I would like to offer the content for Ipod, using
ipodcasting. Then I have
device? I´ve been googling
around, but I don´t know much about those devices, and IPodCasters
simulators for PC
Thanks again,
Best Regards.
On 12/9/05, Michael Hulse [EMAIL PROTECTED] wrote:
On Dec 9, 2005, at 3:45 AM, Danny wrote:
How to proceed
I recently set-up my first Podcast... Every
Hi there,
There´s a lot of manufacturers, about PHP code generators. What do you think
about that?
I mean, it seems like PHP Nuke fashion or other portal systems. Everybody
has its portal, but all web pages seems to be the same, because all are
under the same design.
I would like to gather
Hi there,
I´m familiar with PHP syntax, but I´ve been reading some sample scripts, in
PHP5 and i´ve seen some strange things, like diferent ways to read a
collection of rows, magic functions, wrapers, and operators like :: and
-. I know that all is the manual, but before that anyone nows, a
Thanks.
Any other source (some resume pdf or something like What´s new)
On 11/15/05, Raz [EMAIL PROTECTED] wrote:
-. I know that all is the manual, but before that anyone nows, a
website
or a simple tutorial or explained samples, in order that the transition
from
PHP4 and PHP5 were
Hi,
Let me open a discussion about php5 / php4
Why upgrade? It worth? Benefits? Code programming changes?
Is there and end-of-life for php4, in the near/medium future?
What about MySQL and SQLite. What is the future of both? I would like to
open a discussion about the future of both related to
http://www.phpguru.org/TextualNumberExample.php?number=3450
Regards.
Salu2
On 10/29/05, Linda H [EMAIL PROTECTED] wrote:
Hi,
Does anyone know of a function for translating a decimal number into an
English number. In other words, if you pass it 1 it will return 'one', if
you pass it 127 it
Hi,
I need to extract 50 words more or less from a description field. How can i
do that?. Substr, cuts the words. Is there any other way to that, without
using and array? I mean and implemented function in PHP 4.x
I´ve been googling around, but wordwrap, and substr is driving me mad...
Thanks
){ $trimed .= ; }
else { $trimed .= ...; }
}
$trimed = trim($trimed);
return $trimed;
}
Usage
$string = one two three four;
echo trim_text($string, 3);
-- Forwarded message --
From: Danny [EMAIL PROTECTED]
Date: Oct 29, 2005 1:36
Hi Gurus,
I´ve got a problem with the result displaying a TEXT type field
The data is inserted into db in this way:
Hello,
This is a sample of first line.
This is another paragraph, blah
blah blah
Bye
But the result is in one paragraph:
Hello, This is a sample of first line.
This is
Hi All,
I´ve got a connection, to a MySQL db, and get the following
ResultSet(Category | Name | Code | City)
Customers | John | A36 | New York
Customers | Jason | B45 | Los Angeles
Customers | Max | A36 | Paris
Providers | John | A36 | London
Providers | Mark | B67 | Madrid
And I need the report
, MYSQL_NUM)){
echo$row[0] | $row[1] | $row[2];
}
Hope this helps,
Ade
Danny wrote:
Hi All,
I´ve got a connection, to a MySQL db, and get the following
ResultSet(Category | Name | Code | City)
Customers | John | A36 | New York
Customers | Jason | B45 | Los Angeles
Customers | Max
| John | A36 |LA .
It may not be a perfect way of doinig it but this is what i would
generally try:
while ($row = mysql_fetch_array($resultset, MYSQL_NUM)){
if($row[0] == $group){
echo $row[1] | $row[2];
}
else{
echo$row[0]br/br/$row[1] | $row[2] | $row[3];
}
$group = $row[0];
}
Ade
Danny
On Tue, 2005-06-07 at 14:46 +0200, Hans J.J. Prins wrote:
test
Failed.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2005-06-06 at 18:09 -0800, Clive Zagno wrote:
the truth is Ive been developing on windows, because of some .net
developments.
Ive been starting most new projects as web applications and using
php/mysql. On windows I used ultredit, then I found a product called
phpedit, which I
down is selected?
Thanks,
Dan.
-Original Message-
From: Danny Brow [mailto:[EMAIL PROTECTED]
Sent: 01 June 2005 07:08
To: PHP-Users
Subject: Re: [PHP] dynamic drop down
On Tue, 2005-05-31 at 22:08 -0700, Richard Lynch wrote:
On Tue, May 31, 2005 8:48 pm, Danny Brow said
On Thu, 2005-06-02 at 15:32 -0400, GamblerZG wrote:
Sebastian wrote:
yea.. takes hours... sometimes 6+ or more.
i dont post that much to the list for this reason.. if it stays like
this i'll just unsubscribe.. its pointless... this is suppose to be
E-mail, not post office mail.
I
On Thu, 2005-06-02 at 17:15 -0700, Rasmus Lerdorf wrote:
We found a problem caused by a recent disk failure that wiped out a
named pipe qmail needed. I am hoping the mailing list delays should be
fixed now.
-Rasmus
test
signature.asc
Description: This is a digitally signed message part
On Tue, 2005-05-31 at 22:08 -0700, Richard Lynch wrote:
On Tue, May 31, 2005 8:48 pm, Danny Brow said:
Could someone point me to an example with code for dynamic drop downs in
PHP? I would like to be able to have drop downs like Select Country
and another drop down show the states/provinces
signature.asc
Description: This is a digitally signed message part
If this gets to the list it's just a test.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Could someone point me to an example with code for dynamic drop downs in
PHP? I would like to be able to have drop downs like Select Country
and another drop down show the states/provinces based on the selected
country.
Thanks,
Dan.
signature.asc
Description: This is a digitally signed message
On Tue, 2005-05-17 at 15:34 -0400, Brent Baisley wrote:
Zend sells a compiler to speed up your PHP code. Since it's compiled,
it also does not contain the source code in readable form. You should
visit the Zend website.
Any free ones?
--
PHP General Mailing List (http://www.php.net/)
To
I'm about to start writing a big web app (mostly in PHP). But I'm not
sure if I should layout the DB first then write the app, or should I
just start writing the app and add stuff to the DB as I need it. How do
you guys go about it?
Thanks,
Dan.
--
PHP General Mailing List (http://www.php.net/)
.
Just figuring out what is better, DB layout - Write App, or Write app
DB at the same time. Mike sent a real good answer, exactly what I was
looking for.
Thanks for you reply, I'm going to read up on propel even though I will
probably not use it for this project.
Thanks,
Dan
On 5/1/05, Danny Brow
On Mon, 2005-03-28 at 15:19 -0500, Phil Neeb wrote:
I'm lookin for some opinions on this one ...
What do you think the best OS is for running a server with PHP and
MySQL? If you're going to say Linux, please, which Linux OS, there are
so many.
Slackware.
Dan.
--
PHP General Mailing
On Mon, 2005-03-28 at 15:58 -0500, Mike wrote:
I personally like OpenBSD - though many of the BSDs are similar at many
tasks and only have notable differences in a few areas (and it's those areas
you should look to find which works best for you).
I wonder who will get bored and stir up the
On Mon, 2005-03-28 at 23:28 +0200, M. Sokolewicz wrote:
Danny Brow wrote:
On Mon, 2005-03-28 at 15:58 -0500, Mike wrote:
I personally like OpenBSD - though many of the BSDs are similar at many
tasks and only have notable differences in a few areas (and it's those areas
you should look
Any recommendations on books for postgresql PHP usage.
Thanks,
Dan.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2005-03-16 at 16:50 +1000, Ligaya Turmelle wrote:
assuming you are using PEAR DB -
$result = $db-query(UPDATE items SET (item_name, item_desc,
item_price, extraprice) VALUES (?,?,?,?) WHERE item_id = 3,
array($_POST['title'], $_POST['description'], $_POST['price'],
Can any one recommend a good book that discusses MVC design patterns with
PHP (and mySQL)?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for looking,
I figured it out, after RTFM for db, I found that I needed to do field=?
instead of using VALUES ().
Example:
$db-query('UPDATE items SET item_name=?, item_desc=?, item_price=?,
extraprice=? WHERE item_id = 3',
array($_POST['title'], $_POST['description'],
I'm trying to update some form data with this db update query and it's
not working, I'm not getting an error either.
$db-query(UPDATE items SET item_name = $_POST[title], item_desc =
$_POST[description], item_price = $_POST[price], extraprice =
$_POST[extraprice] WHERE item_id = 3);
I've
On Tue, 2005-03-15 at 18:45 -0500, Jason Barnett wrote:
Danny Brow wrote:
Thanks for looking,
I figured it out, after RTFM for db, I found that I needed to do field=?
instead of using VALUES ().
Example:
$db-query('UPDATE items SET item_name=?, item_desc=?, item_price
On Fri, 2005-02-25 at 11:13 +, Lester Caine wrote:
Nothing on list over night?
It's a PHP fast :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.org don't work but www.phpeclipse.de does.
Dan.
On Fri, 2005-01-21 at 12:06 +1100, [EMAIL PROTECTED] wrote:
I havent used Homesite in years, I am now an Eclipse advocate :)
www.phpeclipse.org :)
OMG!
This is quite possibly the coolest thing I've found in a while, and it
On Thu, 2005-01-13 at 18:02 +0200, William Stokes wrote:
Hello,
I'm quite new with writing php code. I was considering of using some kind of
php editor program to help with the syntax. Know any goog ones?
Thanks
-Will
I like Komodo.
Dan.
--
PHP General Mailing List
Wow I just wasted 10 minutes of my day reading half these post. This is
one long thread. And man is it hard to follow.
Dan.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2004-12-09 at 18:17 -0600, Brad Ciszewski wrote:
i need help to figure out the isp of a user. can anyone help me with this?
http://www.arin.net/whois/
It will give you the owner of the IP address, i.e. Bell, AOL, etc.
Whats the reason you need the uses ISP?
-Brad
Below is a snip of a program I am writing, I am a little new to php.
Any how, I can't for the life me figure out why one of my functions
cannot grab the item_pics1 variable. I have tried passing the variable
to the function, tried using $GLOBALS['item_pic1']. So I guess my
question is, does PHP in
I'm getting it too.
On Thu, 2004-12-09 at 09:49 -0800, Justin Palmer wrote:
Hi,
Every time I send a response to the list I get a auto-reply from:
[EMAIL PROTECTED]
Is there someone that I could email that can delete this user from the
list?
Thanks for any information.
Regards,
On Thu, 2004-12-09 at 13:41 -0500, John Nichel wrote:
Danny Brow wrote:
Below is a snip of a program I am writing, I am a little new to php.
Any how, I can't for the life me figure out why one of my functions
cannot grab the item_pics1 variable. I have tried passing the variable
On Thu, 2004-12-09 at 12:40 -0800, Richard Lynch wrote:
My best guess from skimming your code is that you need:
global $_POST;
should I put this at the top of my code with the rest of my variables?
in the function that uses $_POST.
Or is $_POST always global anyway?
No.
I always
On Thu, 2004-12-09 at 15:39 -0500, Roger Spears wrote:
Danny Brow wrote:
On Thu, 2004-12-09 at 13:41 -0500, John Nichel wrote:
Danny Brow wrote:
Below is a snip of a program I am writing, I am a little new to php.
Any how, I can't for the life me figure out why one of my functions
On Thu, 2004-12-09 at 12:40 -0800, Richard Lynch wrote:
My best guess from skimming your code is that you need:
global $_POST;
in the function that uses $_POST.
Or is $_POST always global anyway?
I always forget, because they changed it around on POST/GLOBALS/etc at
some point, but
On Fri, 2004-12-10 at 05:52 +0800, Jason Wong wrote:
On Friday 10 December 2004 04:52, Danny Brow wrote:
OK, you never said what your problem was except to say everything works but
the str_replace item_pics1.
Did you check $GLOBALS['errors'] after calling this function?
No but I'm doing
What's the best way to create a directory with PHP, I tried using:
if (array_exists('dir',$_POST)) {
$dir_name = test123;
shell_exec('mkdir $dir_name');
I don't want to have to declare a variable, I would like to do this all
on one line. Like:
shell_exec('mkdir
Thanks, I should have looked that up. 4am, time for bed.
Thanks again,
Dan.
On Fri, 2004-11-12 at 18:01 +0900, Pluance wrote:
Use mkdir in PHP Functions.
See Also: http://www.php.net/manual/en/function.mkdir.php
On Fri, 12 Nov 2004 03:54:52 -0500, Danny Brow [EMAIL PROTECTED] wrote
On Fri, 2004-11-12 at 17:12 +, Jason Wong wrote:
On Friday 12 November 2004 08:54, Danny Brow wrote:
What's the best way to create a directory with PHP, I tried using:
if (array_exists('dir',$_POST)) {
$dir_name = test123;
I'm 99% sure you mean 'test123'.
I meant $dir_name
On Fri, 2004-11-12 at 15:08 -0500, Robert Sossomon wrote:
I have a form that sends 20 rows of data into a script, instead of having to
write 20 separate add functions, I wrote this piece of code...
$i=1;
while ($i20)
{
if ($_POST[book_title_$i]' != )
// One problem maybe the quote you
On Fri, 2004-11-12 at 14:35 -0600, Jay Blanchard wrote:
[snip]
Did that and it fixed only that piece (saw it right after I sent the
email out
to the group). I am thinking that it is still somewhat of the
iterations that
are causing problems. I am waiting on the server guy to get back
On Sun, 2004-11-07 at 07:55 +0200, Jyry Kuukkanen wrote:
On Sun, 7 Nov 2004, raditha dissanayake wrote:
David wrote:
I need a PHP accelerator but am not sure which one to use. I would
highly prefer to not use a commercial accelerator and need one that
works with PHP 5. Does
On Tue, 2004-11-02 at 10:50 -0700, Grant wrote:
I can't wait for the replies...
Here's a reply:
Don't vote for Bush.
- Grant
I'm Canadian, please stop wasting my bandwidth.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2004-10-28 at 15:03 -0700, Matthew Sims wrote:
About a week ago someone was asking where are beginner can go to learn
PHP5? This book was just advertised on Slashdot.
Learning PHP 5
Only $20 on Amazon.com
On Thu, 2004-10-28 at 20:20 -0500, Greg Donald wrote:
On Thu, 28 Oct 2004 19:12:12 -0400, Michael Lauzon [EMAIL PROTECTED] wrote:
Unfortunately the PHP.net are not really for beginners, you have to
have some programming knowledge to get started using their
tutorials...this is just my
Try this, or nothing!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is it better to use apache 1.3.29 or apache 2.0.48?
i am having the worst trouble ever trying to get this thing to work
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i have installed apache 2 and mysql 3 on my pc (running xp home) i have
installed php 4.3.4 but have hit a snag. the php doesnt seem to gel with
apache at all. any help please? how do i configure apache and php to mix?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
available
3)pick the item
4)pick quantity
If anybody can point me to a tutorial or examples, I would be most
appreciative.
Danny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of just use mysql_foo() instead, it does the same
thing as that function that isn't in 4.2.2
Thanks,
Danny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be stumbling over escaping everything properly.
Is there a better way to do what I am trying to do?
Thanks,
Danny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
! Is there a work around for this? Apache will start fine if I
don't try to enable php via LoadModule in the Apache configuration file.
Any comments and suggestions appreciated.
Thanks,
Danny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I was wondering where the printing support has gone
in php5? Is it still possible? Is is better to use
mysql or sqlite with the new (and improved) php5?
Thanks in advance,
Best regards,
Danny Schalken.
Atrion Information Technology.
--
PHP General Mailing List (http://www.php.net
Try:
$strMailServer = {domain.co.uk:110/pop3}INBOX;
As per the manual.
HTH
Danny.
-Original Message-
From: Alec Wallis [mailto:[EMAIL PROTECTED]
Sent: 03 April 2003 18:35
To: [EMAIL PROTECTED]
Hi
I am currently experiencing some problems connecting to POP3 accounts using
imap_open
Hello,
It doesn't look like it - a note in the constants manual entry reads:
PHP has no way of recognizing the constant from any other string of
characters within the heredoc block
Danny.
-Original Message-
From: Daniel R. Hansen [mailto:[EMAIL PROTECTED]
Sent: 01 March 2003 15:57
Hi,
Well it's hardly rocket science - a flick through the manual and I came up
with :
$name=ucwords(strtolower($name));
HTH
Danny.
- Original Message -
From: Geoff Caplan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 28, 2003 10:31 AM
Subject: [PHP] Capitalising
I'd say an even simpler workaround would be to add '[EMAIL PROTECTED]' as
the fifth parameter to the mail function - just as in example 3 of the docs.
Danny.
- Original Message -
From: Scott Fletcher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 3:43 PM
The latest cvs snapshots for PHP4.3.x and PHP5.0.x can be found at
http://snaps.php.net
Danny.
- Original Message -
From: Leif K-Brooks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 8:50 PM
Subject: [PHP] What's the scoop on PHP 5?
Anyone know what
There is actually an NTLM Auth module available for Apache.
(http://modntlm.sourceforge.net/).
If you really need to do it though PHP I'd suggest running a packet sniffer
to see what headers IIS sends and what to expect back from IE.
HTH
Danny Shepherd.
- Original Message -
From
Well, Yahoo! have moved/are moving to Smarty and they get a few million
views a day.
The killer part with smarty is that it converts the Smarty tags, in your
template, to real PHP code - that's what makes it so fast. It's also very
easy to extend.
Danny.
- Original Message -
From: John
and no body) or send HTTP/1.0 requests.
HTH
Danny.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why are you opening the file in append mode?
As the manual says: a+' - Open for reading and writing; place the file
pointer at the end of the file.
Try using 'r+' instead or rewind the file pointer before reading.
Danny.
- Original Message -
From: Daniel Page [EMAIL PROTECTED
Don't make life difficult for yourself :)
SELECT * FROM myTable ORDER BY RAND() LIMIT 0,1
HTH
Danny.
- Original Message -
From: Brian McGarvie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 16, 2003 9:37 AM
Subject: [PHP] Random Row...
$sql =
select count
(if this isn't set then they probably aren't behind a proxy so you
can use the remote_addr instead)
HTH
Danny.
- Original Message -
From: Kyle Lampkin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 11:41 PM
Subject: [PHP] Getting a dynamic IP address
Hello
Try
$query = SELECT Newsheadline, News, Contact FROM news WHERE Newsid =
{$_GET['id']};
HTH
Danny.
- Original Message -
From: Frank Keessen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 10:50 AM
Subject: [PHP] Question about $_GET
Hi All,
Can you please
Hi,
No, I wouldn't rely on it at all, I couldn't find a browser that *does* have
that mime-type in it's header! - Here's what IE6 sends :
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/msword, */*
Accept-Language: en-gb
Accept-Encoding: gzip, deflate
Flash, along with
://www.php.net/ZEND_CHANGES.txt.
HTH
Danny.
- Original Message -
From: electroteque [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 11, 2003 6:50 PM
Subject: [PHP] php5 cvs
hi guys just noticed php5 cvs in the snaps page , does this have the zend
2.0 engine ? more specific question
in Windows would probably be the best bet - I
think Windows has built in support for mapping WebDAV and FTP servers as
shares so this may be a good starting point.
HTH
Danny.
- Original Message -
From: Maxim Maletsky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday
http://www.php.net/manual/en/function.number-format.php
- Original Message -
From: Wilbert Enserink [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 10:44 AM
Subject: [PHP] money
Hi all,
I'm busy making a swebstore. I have troubles with the format of money.
I
In short - looks as if your version of Apache 2 is out of date.
You're using a version from 28th June, the PHP dll was built against a
version from 3rd September.
Danny.
- Original Message -
From: Horst Gassner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 16, 2002 12
Actually, GD2 can be compiled (after a patch) to read/write GIFs with LZW
compression (the LZW algorithm is the root of the legal iffyness), but
(AFAIK) you're only legally allowed to enable it if you live outside the US
Canada. AFAIK only FreeBSD's ports system does this atm.
- Original
1 - 100 of 204 matches
Mail list logo