what about
if (date(m) == 11){
echo ;
}
bastien
To: php-general@lists.php.net From:
[EMAIL PROTECTED] Date: Wed, 24 Oct 2007 15:57:38 -0400 Subject: [PHP]
Question about time... Hi Everyone, I am attempting to get the logic of
something
me, too this would be interesting
bastien Date: Fri, 9 Nov 2007 09:01:09 -0600 From: [EMAIL PROTECTED] To:
[EMAIL PROTECTED] CC: [EMAIL PROTECTED]; php-general@lists.php.net Subject:
Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r On 11/9/07, Daniel
Brown [EMAIL PROTECTED] wrote:
on the local machine? no. you can simulate an explorer for files on the server
bastien
Date: Sat, 10 Nov 2007 18:10:39
+0530 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP]
explorer Hi, How if, it is possible to open a windows
Wouldn't it be simpler to add some timers in and check for yourself?
Bastien
To: php-general@lists.php.net From:
[EMAIL PROTECTED] Date: Sun, 11 Nov 2007 18:02:58 -0500 Subject: [PHP] Re:
functions versus includes No takers on this topic? Frank Lopes
try firebug for firefox, excellent tool
bastien
Date: Mon, 12 Nov 2007 13:53:55 +1100 From: [EMAIL PROTECTED] To: [EMAIL
PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] Need a hint how
to track an error Ronald Wiplinger wrote: My php program is working
with Firefox, but
What is the actual planned implemtation? Email or SMS/MMS?
if the latter, you are looking for MMS specs (send XML SMS to phone with media)
Try http://hellkvist.org/software/ for code samples
HTH
Bastien
Date: Wed, 14 Nov 2007 13:45:05 -0600 From: [EMAIL PROTECTED] To:
bugzilla or mantis
bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 15
Nov 2007 15:06:08 -0600 Subject: [PHP] Open Source BTS?? Hey, I am
needing to install a bug tracking system on a web server and looking for a
good PHP open source solution. Looking for a pretty
Well, this was just hashed out last week, again.
Its a personal thing. I am against it, having seen the slowdown and database
bloat caused when this is done. I prefer a pointer to the image to be stored in
the table and use that. I have found that after about 12Gb of binary data gets
into
have a look at www.helkvist.org he has some php classes for MMS
bastien Date: Wed, 21 Nov 2007 11:38:37 +0100 From: [EMAIL PROTECTED] To:
[EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] Sending
Pictures to Cell Phones Maybe too late. Here are some simple starting
points.
my bad
http://hellkvist.org/software/
bastien Subject: RE: [PHP] Sending Pictures to Cell Phones Date: Wed, 21 Nov
2007 11:36:58 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL
PROTECTED]; [EMAIL PROTECTED] CC: php-general@lists.php.net [snip] have a
look at www.helkvist.org
Could there be some performance gain by uploading the data to another table and
then update / insert via sql?
bastien
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Date: Sat, 24 Nov 2007 04:03:53 -0700
Subject: Re: [PHP] Performance question
you could also look at http://www.digitaljunkies.ca/dompdf/
bastien CC: php-general@lists.php.net From: [EMAIL PROTECTED] To: [EMAIL
PROTECTED] Date: Tue, 27 Nov 2007 12:16:45 +0900 Subject: Re: [PHP] Create
PDFs with a strict layout automatically On 27 Nov 2007, at 11:51, Chris
wrote:
My approach to multi lang abilities uses the following db structure
base_name is the input field name and the basic raw label for the field
lang_1
lang_2
...
lang_12
prompt_1
prompt_2
...
prompt_12
since i currently need to support 12 languages in the initial concept
when the user signs
adding a client name to the login process might make that easier
and it forces a sort of 2 factor authentication making the database 'hopefully'
harder to crack
bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 27
Nov 2007 15:30:32 -0500 Subject: [PHP] Question about
Makes sense to me...
Count me in
bastien
Date: Wed, 28 Nov 2007 10:48:57 -0500
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] PHP RFC # 0001 --- List Etiquette
Good morning (/afternoon/evening) all;
This is more or
hate to say it,but there is lots on google like
http://www.code322.com/zipcode_locator.php
bastien Date: Wed, 5 Dec 2007 20:58:52 -0500 To: php-general@lists.php.net
From: [EMAIL PROTECTED] Subject: [PHP] zip codes and lat/longs Hi gang:
I'm entertaining how to determine what zip codes
Hi Ron,
http://www.php.net/manual/en/features.file-upload.php is the page
its pretty simple
Bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 13
Dec 2007 21:03:00 -0500 Subject: [PHP] Uploading a file through PHP form
How do you upload a file using PHP? Also what
Database...in either case the data that is being searched on makes it to the
server...just store the search term in a table in the db
bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Sat, 17
Nov 2007 19:40:14 -0600 Subject: [PHP] Gathering data Hi, I have a web
site
use mysql_real_escape_string
bastien
Date: Fri, 14 Dec 2007 08:40:47 -0600 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] how to handle inserting special
characters into a mysql field I'm going to be inserting data from a PHP
form into a mysql field. The data
Sending proper SMS messges requires that you use an SMS gateway or buy a
cellular modem. SMS is essentially XML will the message body limited to 160
characters.
do some googling to get more information
bastien
Date: Sun, 23 Dec 2007 08:30:29 +0330
PDF is easy, there are many packages and classes that can convert the html to
PDFs. A quick google will give you lots of results like
www.fpdf.org
http://www.digitaljunkies.ca/dompdf/
etc
word docs will be harder to create
bastien
if you need to make the button wider, just style it with css and leave the
value to be what it needs to be
input type='text' width='100px' value='Submit' name='submit' Date: Wed, 2
Jan 2008 13:34:43 -0500 To: php-general@lists.php.net From: [EMAIL
PROTECTED] Subject: [PHP] First stupid post
no need for quotes
select date_format(contract.length_start, '%m-%d-%Y') as length_start from
contract where user_id = 1;
bastien
Date: Thu, 3 Jan 2008 08:30:55 -0600 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] mysql date question I have a
field in mysql as
lots of ways to handle this
use HTMLentities($string) to convert the apostrophes
use addslashes($string) to escape them
use mysql_real_escape_string($string) to escape them
the last is my preferred method
bastien Date: Thu, 3 Jan 2008 13:22:09 -0600 From: [EMAIL PROTECTED] To:
this would be an html / js issue...
why have a popup login in this case? just show the logon in the main window and
then do the redirect...
bastien
To: php-general@lists.php.net
From: [EMAIL PROTECTED]
Date: Sat, 5 Jan 2008 10:17:55 -0800
Andy,
try this
AddHandler php5-script .php .phtml
#AddType text/html .php .phtml
AddType application/x-httpd-php .php .phtml .html .htm
bastien
Date: Sat, 5 Jan 2008 14:39:49 +
To: php-general@lists.php.net
From: [EMAIL PROTECTED]
Subject:
http://ca.php.net/manual/en/function.fgetcsv.php
_
Discover new ways to stay in touch with Windows Live! Visit the City @ Live
today!
http://getyourliveid.ca/?icid=LIVEIDENCA006
--
PHP General Mailing List (http://www.php.net/)
To
XML is case sensitive. I notice the case of the xml is different. Try making
the PHP created xml the same case.
Bastien Date: Wed, 9 Jan 2008 13:54:36 -0800 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] PHP SOAP Client formats Hi all,
ok, I am a little bit new to the
are you base64 encoding the resultant encryption string? I have found that
there are problems with certain characters that can result from the encryption,
usually a combination of characters that approximate a null or end of line
bastien From: [EMAIL PROTECTED] Date: Tue, 15 Jan 2008 21:41:45
memory limitation in the php ini?
bastien
Date: Wed, 16 Jan 2008 16:29:53 +0900 From: [EMAIL PROTECTED] To: [EMAIL
PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] Scripts are
fast locally, but slow on remote server Per Jessen, Thank you for
responding. Might this be a
what about uploading the entire file into a [semi]temp table..then doing cross
table comparisons to load your main table with the data?
bastien Date: Mon, 21 Jan 2008 13:08:27 -0500 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: Re: [PHP] a better way to do a data
import? I
sure, why notyou can exec most of the commands and log all of the results
to a file that you can email yourself
bastien
Date: Mon, 21 Jan 2008 17:55:11 -0600
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP]
google mod10 checksum
bastien
Date: Thu, 24 Jan 2008 12:37:20 +0100 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] Verification number Hi Sorry
if this is considered off topic. Please ignore the post in that case. My
site uses ten digit numbers as ID:s for our
http://ca3.php.net/manual/en/function.copy.php
make the manual your friend
bastien Date: Thu, 24 Jan 2008 14:36:55 -0600 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] Rename Does anyone know if there
is a way to move all the files in one directory into another?
htmlentities?
urlencode?
bastien Date: Thu, 24 Jan 2008 15:20:44 -0600 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] PHP and LDAP Authentication
Hello, I have encountered a situation where a user password Contains a
space in it (in the middle). I am looking for A
check for code / systems on
www.hotscripts.com
http://sourceforge.net
hth
bastien Date: Wed, 30 Jan 2008 19:14:57 +0100 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] Help looking for inventory software
Hello, I am sorry if this is appropriate but does anyone know
unset($_SESSION['var_name']);
bastien
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Date: Sun, 3 Feb 2008 13:14:47 -0500
Subject: [PHP] Resetting a session variable
What is the command to reset a session variable --- essentially
try asking on www.flashkit.com
bastien Date: Mon, 4 Feb 2008 07:45:25 +0200 From: [EMAIL PROTECTED] To:
[EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] flash with
PHP FlashKnowledge = 0; phpKnowledge = 1; I remember some time back
finding a class for php and a
zend encoder?
http://sourceforge.net/projects/php-screw/
google for more
bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Wed, 6
Feb 2008 12:28:12 +0100 Subject: [PHP] PHP Source code protection Hi,
I'm building a C# application that connects to a server that has
Select * from wine where name = 'Silver Oak' GROUP BY wineid,size
bastien Date: Wed, 6 Feb 2008 17:46:52 -0800 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] PHP/mySQL question about groups
Let's say I have a PHP-based wine application, and it's taking a set of mySQL
smarty?
bastien
Date: Tue, 12 Feb 2008 14:01:11 +0400 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] Template system in PHP Hi, I
need to develop a website, but my management is rather unstable in his
vision for the layout. I'm thinking of developing the
Its a text file and so doesn't support markup. You could write out html into
the file that does mark it up and could be displayed to the user via the
browser...or you could use regex or str_replace to mark up certain text on the
read of the file to display to the user
bastien
char(14) is a better data type
bastien
Date: Sat, 16 Feb 2008 15:22:17 -0800
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] PHP/mySQL dropping zeros after inserting number into record
I've got a PHP script that inserts
Hey, what about placing the unzipped folder into a dir that has a process
watching it that will pick up the file, zip and protect it and then ftp (or
another delivery mechanism) to the destination?
Bastien
Date: Mon, 18 Feb 2008 08:59:02 -0300 From: [EMAIL PROTECTED] To: [EMAIL
PROTECTED]
return an array
bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 19
Feb 2008 10:31:02 +0900 Subject: [PHP] More than one values returned? Hi,
Is it possible to return more than one values in PHP? return $x;
return $y; They don't work for me. -T -- PHP General
mysql_real_escape_string()
addslashes()
htmlentities()
take your pick
bastien
From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Mon, 18 Feb
2008 23:05:10 -0500 Subject: [PHP] mysql input I have a user saving a
VARCHAR(255) field in a mysql db which has single quotes in the
, 2008-02-18 at 23:19 -0500, Bastien Koert
wrote: mysql_real_escape_string() addslashes() htmlentities()
take your pick That's a bad answer. If he's using MySQL then he SHOULD use
mysql_real_escape_string(). None of the other functions will fully protect him
from malicious input. Cheers
thats awesome
bastien To: php-general@lists.php.net Date: Tue, 19 Feb 2008 11:21:02 +
From: [EMAIL PROTECTED] Subject: Re: [PHP] Re: mysql input Zoltán Németh
wrote: 2008. 02. 19, kedd keltezéssel 11.03-kor Nathan Rixham ezt írta:
Richard Heyes wrote: Shawn McKenzie wrote: nihilism
www.roadsend.com ?
bastien
To: php-general@lists.php.net
From: [EMAIL PROTECTED]
Date: Thu, 21 Feb 2008 14:16:55 -0700
Subject: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)
I know that there's apparently some way to compile PHP to
cron
bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Fri, 22
Feb 2008 07:28:58 +0100 Subject: [PHP] Deleting all rows in a database every
24 hours? The title says it all, how do I perform an action every 24 hours?
Thank you. -- PHP General Mailing List
To: php-general@lists.php.net
Date: Sat, 23 Feb 2008 00:14:27 +
From: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: temporary error
tedd wrote:
At 3:58 PM -0500 2/22/08, Robert Cummings wrote:
On Fri, 2008-02-22 at 14:49 -0600, Greg Donald wrote:
Date: Sat, 23 Feb 2008 09:38:17 -0500
To: php-general@lists.php.net
From: [EMAIL PROTECTED]
Subject: Re: [PHP] Flash menu
At 9:46 AM +0100 2/23/08, Alain Roger wrote:
Hi,
i have a problem with my animated web flash menu (+images+sounds).
basically my menu in embedded into flash, and
From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Sat, 23 Feb
2008 16:01:08 -0300 Subject: [PHP] validate + if Hi list!I have a
form. I validated it with javascript. Do the validation, but send the
form information. How can I prevent send the information and stay in the
To: php-general@lists.php.net Date: Sun, 24 Feb 2008 09:43:20 -0600 From:
[EMAIL PROTECTED] Subject: Re: [PHP] Shopping Carts questions and help
out people who try and stumble... I'm less likely to help someone who
tries to stumble. -Shawn -- PHP General Mailing List
To: php-general@lists.php.net Date: Sun, 24 Feb 2008 20:53:03 +0200 From:
[EMAIL PROTECTED] Subject: [PHP] PHPTriad and php error hi to all, I set
up phptriad on my computer running windows xp. When I tried to test php
with the following program I got an error Parse error: parse error,
This is a good place, other include various forums and the manual
bastien To: php-general@lists.php.net Date: Sun, 24 Feb 2008 21:21:01 +0200
From: [EMAIL PROTECTED] Subject: Re: [PHP] PHPTriad and php error thanks
for the help. I am a C/C++ programmer and decide to learn php and mysql to
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC:
php-general@lists.php.net Date: Tue, 26 Feb 2008 10:40:34 -0500 Subject:
Re: [PHP] More than one values returned? On Tue, 2008-02-26 at 10:32
-0500, tedd wrote: At 1:08 PM -0500 2/25/08, Daniel Brown wrote: On
Sat, Feb 23, 2008 at
send an html email...
if you are looking to send calendar events, you could look at using the vcal or
ical standards
plain text emails you can't do much with other than separate sections with
dashes or asteriks
bastien
Date: Tue, 26 Feb 2008 09:28:06 -0500 To:
Date: Tue, 26 Feb 2008 17:39:13 -0500
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: Re: [PHP] checking for and enforcing https
On Tue, Feb 26, 2008 at 04:46:38PM -0500, Daniel Brown wrote:
Of course, getting into that is a
Date: Wed, 27 Feb 2008 14:28:30 -0600 From: [EMAIL PROTECTED] To: [EMAIL
PROTECTED]; [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: RE:
[PHP] Are these Truthful Proof about PHP ?? [snip] I thought ASP was
the language and .NET was the framework. I was under this impression as
: [EMAIL
PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] not
bleeding edge unless it's web2.0 ;)
On Wed, Feb 27, 2008 at 4:22 PM, Bastien Koert [EMAIL PROTECTED] wrote:
Date: Wed, 27 Feb 2008 14:28:30 -0600 From: [EMAIL PROTECTED] To: [EMAIL
PROTECTED]; [EMAIL PROTECTED] CC: php
UK? I was hoping for Windsor Ontario Canada
bastien
CC: php-general@lists.php.net
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Wed, 27 Feb 2008 22:21:59 +
Subject: Re: [PHP] Guidance
On 27 Feb 2008, at 21:50, Shawn McKenzie wrote:
sure, user curl (www.php.net/curl)
bastien
Date: Mon, 3 Mar 2008 15:57:19 +0800 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] Can PHP do this? -- w/o using event
handler Could PHP do.. 1. Connect and send a parameter to a remote
host 2. Wait for the host to
http://www.phpclasses.org/browse/package/3507.html
bastien Date: Tue, 4 Mar 2008 10:18:15 -0600 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] GPS Locator Howdy group! I know
that this is not a PHP question (but it will work with a PHP app) but I
thought I would ask
Date: Fri, 7 Mar 2008 23:45:51 +0530 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] SESSIOn when cookies are disabled
Hi all how can we manage session variables when cookies are disabled.
-- Have A pleasant Day Chetan. D. Rane Location: India Contact:
I have had success in running CLI php pages from a bat file fired via a
scheduled task. Since the output can be limited I would suggest adding some
logging functionality to the page to trap errors and write them to a file that
you can use to analyze any issues.
bastien To:
Is there a quote in the data?
That is the usual culprit in my situations like that...
bastien
Date: Wed, 1 Aug 2007 10:54:59 +0200 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] DOMDocument - loadHTML() cuts off
html input Hey List, In my application, I am loading
Can you post the headers that you are using...they play a role how the message
is viewed by the receiving agent
bastien
Date: Sat, 4 Aug 2007 21:06:53 -0700
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] Problem with php
This is the proper behavior for php. its supposed to only send the html down to
the client
bastien
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Date: Tue, 7 Aug 2007 20:09:51 +0700
Subject: [PHP] Problems in php
Dear Sirs,
I have installed a
Other options include
using a date calendar widget (js) to fill the field
splitting the date field into three separate selects and building the date on
the server from those three elements
Bastien From: [EMAIL PROTECTED] To: [EMAIL PROTECTED];
php-general@lists.php.net Date: Wed, 8 Aug 2007
you could use ini_set at the top of the script to turn the magic quotes
off...if you add this in a prepend file or a common included file that sits at
the top of the script, it should take care of the damn magic quotes...
failing that ask your host to turn it off
Bastien From: [EMAIL
switch to an underscore comment_id instead
bastien
Date: Fri, 10 Aug 2007 23:03:19 +0100
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] simplexml_load_file()
Hello,
I'm doing an script which it'll read the xml values,
Looks nice, but you need to have it adapt to screen resolutions...the fixed
size of the page doesn't allow for scrolling etc...does not fit well on a
1400x900 laptop screen
bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 14
Aug 2007 20:15:27 +0500 Subject: [PHP]
Can't you just embed embed the file in the page?
object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B
codebase=http://www.apple.com/qtactivex/qtplugin.cab; height=256
width=320 param name=src value=?php echo
./vids/$file ? param
what about hadding the search form elements to the results page and letting the
users search right from there
bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Wed, 15
Aug 2007 15:44:46 -0500 Subject: Re: [PHP] adding Back to Search results
link Jim and Brad. Thanks for
If cookies are not available, you can either
hide the id in the hidden form field element
or
enable trans_sid to automatically pass the session id in the url
bastien From: [EMAIL PROTECTED] To: [EMAIL PROTECTED];
php-general@lists.php.net Date: Fri, 17 Aug 2007 17:03:54 -0700 Subject: RE:
sessions and cookies either need to be set at the beginning of the page, or you
can look into the ob_start(), ob_flush() functions to use output buffering
bastien
To: php-general@lists.php.net
Date: Sat, 18 Aug 2007 11:25:54 +0200
From: [EMAIL
The commands start and use an output buffer, a chunk of memory that stores all
the output on the server until the ob_flush, the buffer flush, function is
called. You need to be aware that in high load situations this may adversly
affect performance since it loads the servers memory, also be
try doing a trim($email) to remove any whitespace, just in case
bastien Date: Wed, 22 Aug 2007 08:27:36 -0400 From: [EMAIL PROTECTED] To:
[EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] mail()
issue The . (period) is simply the end of my sentance in the email. The
From
if aborted actions are a worry, then consider using transactions in the
database, if the process is interupted at any time, the changes made will all
role back to a pre transaction start state.
bastien
Date: Thu, 23 Aug 2007 13:30:00 -0400
From:
Read them all into an array and do an array-unique on it
bastien Date: Thu, 23 Aug 2007 23:54:40 -0300 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] SQL Distinct-like behaviour How
could I iterate over the files in a directory and build a list of unique
filenames?
the closest is nl2br() which converts line breaks to tags. Other than that,
you would need to look at regex manipulation to make those changes.
Bastien
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Date: Sun, 26 Aug 2007 10:36:06 -0400
http://www.aditus.nu/jpgraph/
bastien
Date: Mon, 27 Aug 2007 10:44:01 -0700
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] A simple PHP script to generate a Pie Chart based on SQL query
Hello All,
I am looking for a
Please don't do that...autonumber should not be relied for anything other than
a unique row identifier. It should NOT matter to the application what that
value is as long as it unique. If you need a count of the number of records, do
a query (select count(*) from table...)
bastien To:
no difference
bastien
Date: Sat, 1 Sep 2007 08:00:11 -0500
From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] mail()
silly question I have a question that might be too silly for those of you who
are PHP gurus. Here it comes: I
Hotmail sucks
but try this
[code]
$counter = 1;
while ($rows=mysql_fetch_assoc($getpic))
{
//close the tr tag after 5 photos usng the mod function to check the counter
if($counter % 5 == 0) {
echo ;
//reset the counter
$counter = 1;
}
extract ($rows);
echo ;
echo ;
$counter++;
}
I just let it go...there is no need to manage that process or you'll just screw
up the mysql...
it shouldn't be relied on for anything other that uniqueness any way
bastien
Date: Mon, 3 Sep 2007 23:53:22 -0400 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP]
argh! hotmail sucks
I don't see in the script where you are using $_POST / $_GET / $_REQUEST to
access tha data from the form. Its likely that the example you are following is
old and uses 'register_globals'. Since register_globals is a huge security hole
and is not active in any new
Have you created the .php file type in the IIS and pointed IIS to the php.exe?
Bastien Date: Tue, 18 Sep 2007 22:39:07 -0400 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] setup help in IIS6 Hello, I
have installed the latest PHP on my windows server 2003 IIS6 machine.
Max file size is a hint to the browser and not all support it...you can't count
on it
bastien
To: php-general@lists.php.net Date: Thu, 20 Sep 2007 14:45:36 -0500 From:
[EMAIL PROTECTED] Subject: [PHP] MAX_FILE_SIZE not working with file
uploads The punchline question is: What am I
I just found a tool called CodeLobster, but the site seems a little funky,
mostly because the owners first language is not English...is anyone using this
tool and is it any good?
Thanks
bastien
_
Be seen when you can't be
There are any number of elements to try
htmlspecialchars
mysql_real_escape_string
addslashes
RTFM and see what works best for your situation
bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 4
Oct 2007 11:44:34 +0900 Subject: [PHP] inserting ´ in a db Hi list,
why not try searching the c:/windows folder for a copy of the php.ini file?
Maybe there is a straggler that needs to be deleted.
Bastien Date: Wed, 10 Oct 2007 17:24:54 +0100 From: [EMAIL PROTECTED] To:
[EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] IIS 6 and
php.ini
use mysql_real_escape_string
bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Wed, 10
Oct 2007 13:48:03 -0400 Subject: [PHP] How do I get PHP to save a backslash in
a Mysql table? Hi, I have a field in which a user inputs a Windows style
directory path, hence using
In the same boat here...waiting for a guinea pig to ok it
Bastien Date: Tue, 16 Oct 2007 08:56:16 -0500 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: Re: [PHP] Which PHP-Editor to use? On
10/16/07, Stut [EMAIL PROTECTED] wrote: Zoltán Németh wrote: 2007.
10. 16, kedd
Are you sure that the value is a string? If its numeric, then try the check
without the quotes around the value
bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 18
Oct 2007 19:49:55 -0500 Subject: [PHP] IF command When $component_reference
is 5 or 19 I don't want
damn hotmail blows
But if the database supports it, what about using a view that is made up of the
two tables?
Could that be a possibility?
Bastien
From: [EMAIL PROTECTED] To:
php-general@lists.php.net Date: Sat, 20 Oct 2007 21:39:03 -0400
I am sure that I am late to the party, but am sure that double or single quotes
at least are needed around the attribute values to make this work
Civil Rights
bastien
Date: Mon, 22 Oct 2007 12:20:55
-0500 From: [EMAIL PROTECTED] CC:
On Thu, Mar 27, 2008 at 9:40 AM, Rod Clay [EMAIL PROTECTED] wrote:
Hello. Does anyone use a WAMP server? And, if so, have you found one
to be better than another?
I am using a WAMP server entitled, aptly enough, WampServer (formerly
WAMP5). In the few weeks I have been using it, I
On Thu, Mar 27, 2008 at 9:10 PM, Joey [EMAIL PROTECTED] wrote:
Hi All,
I have written an app to allow a person to go online and see a picture we
take of them. When we link to the picture I don't want it to be obvious
that the URL is
Domain.Com/Pix/123.jpg because the next person we take
1 - 100 of 572 matches
Mail list logo