I think there is a lot to be gained from using a framework. I have an
extremely large web app in asp ( over 1500 pages ) and maintenance is
a frigging nightmare as it's so imtertwined.
Using the code ignitor framework reduces that dramatically and I now
have 5 rules based classes that contr
Ajax is what you need to look at. JS can certainly accept the data
being posted back from the server.
Bastien
Sent from my iPod
On Dec 28, 2008, at 9:32 AM, "Alain Roger" wrote:
Hi,
basically i have a php file with several parameter received in GET
or POST.
this PHP page execute a db qu
The pup architect framework Book on zend also has excellent detail on
the mvc pattern
Bastien
Sent from my iPod
On Dec 28, 2008, at 5:38 PM, "Nathan Nobbe"
wrote:
On Sun, Dec 28, 2008 at 3:29 PM, Michael C. Yates
wrote:
Nathan Nobbe wrote:
Hey,
How do you structure your web a
The mysql forum is the best place. Note that their holiday schedule
may mean some lag in getting answers.
Bastien
Sent from my iPod
On Dec 29, 2008, at 7:51 AM, ann kok wrote:
Hi all
Do you know any websites for mysql question?
I do submit the mysql forum but I would like to have more to
I would guess that a properly salted hash would still be safe enough
for most sites. Just a hash of the password is not enough as there are
readily available hash tables where you can look up the password just
by supplying the hash.
Sha-1 is a better alternative for hashing but I would stil
In reading the license I believe it refers to the gnupg itself, not
the application it may be embedded in. You are completely free to use
gnupg as you choose including modifying it to meet your needs.
Bastien
Sent from my iPod
On Dec 30, 2008, at 10:50 PM, Edward Diener
wrote:
My clien
Try checking to see if the value was passed with var_dump($_REQUEST)
Also try (!empty($_REQUEST['style']))
Bastien
Sent from my iPod
On Dec 31, 2008, at 10:24 AM, "L. Herbert"
wrote:
Hello all,
Anyone have insight to share on the following issue:
I have a simple theme switcher script
The action attribute is left blank so the form posts to the current
page. The theme switcher script is at the top of each page and
intercepts the posted variables.
Any thoughts?
On Dec 31, 2008, at 11:02 AM, Phpster wrote:
Try checking to see if the value was passed with var_dump($_
Number_format()
Bastien
Sent from my iPod
On Jan 3, 2009, at 10:47 AM, Alec Wright wrote:
Hey all, is there a php function to punctuate a number?
eg 3482957239525 would become 3,482,957,239,525 and 274018 would
become
274,018 etc
Thanks :)
--
PHP General Mailing List (http://www.php.ne
What about just using an http upload?
Bastien
Sent from my iPod
On Jan 5, 2009, at 9:55 AM, Merlin Morgenstern
wrote:
Yes, it would be great if he could use the already existing username
and password. It should not be a one time password.
I am just now looking into mysql support for pu
-12C in Toronto
Greets from sunny Ontario
Bastien
Sent from my iPod
On Jan 9, 2009, at 5:19 PM, Simon J Welsh wrote:
On 10/01/2009, at 10:21 AM, Daniel Brown wrote:
On Fri, Jan 9, 2009 at 16:16, Robert Cummings
wrote:
We're at -13C right now without windchill and this is in Ottawa
I found a function on phpbuilder.com but can't copy it on the iPod
keyboard. I did a google on php rbg to cmyk value
Bastien
Sent from my iPod
On Jan 9, 2009, at 6:43 PM, Brian Dunning
wrote:
I think your short answer is the right one. This explains why I
didn't find that cmyk_to_rgb(
Check the httpd.conf file for the location of the web dir. It's the
documentroot directive
Bastien
Sent from my iPod
On Jan 9, 2009, at 9:13 PM, "Gary" wrote:
Not sure how to word this, but I have just installed the XAMMP
package with
Apache, PHP for the purpose of having a testing serv
That can and should be done with a simple str_replace() on the display
portion of the code.
Bastien
Sent from my iPod
On Jan 10, 2009, at 5:01 PM, Stephen wrote:
c...@l-i-e.com wrote:
Rule #1.
Never, ever, ever, alter the user's input, EXCEPT for sanitizing/
filtering.
Specifically, do
Unique()?
Bastien
Sent from my iPod
On Jan 10, 2009, at 6:31 PM, Nathan Rixham wrote:
Evening All,
Not too often I ask a question here, but here goes;
I'm making an "Object" class which all of my other classes extend,
and I need each instance to have it's own unique id, seemed simple
b
I have a fiscal calendar table that I use for the same thing, storing
the date, day of the week and a column indicating whether the day is a
weekday, a weekend or a holiday. This allows me flexibility to also
use the table to set business shutdowns as a holiday.
A simple date query can retu
What about stripping out all the 'nuances' and just reducing it to
just the text where you then control the display and using your
templates and css?
Bastien
Sent from my iPod
On Jan 13, 2009, at 9:49 PM, Daniel Kolbo wrote:
Hello,
I've been using PHP and Smarty for several years now an
Only allow a few markup tags, strip_tags() allows a limited lIst to be
kept
Bastien
Sent from my iPod
On Jan 13, 2009, at 11:18 PM, Daniel Kolbo wrote:
Phpster wrote:
What about stripping out all the 'nuances' and just reducing it to
just the text where you then control t
For what it's worth, you are on my good guys list.
Coming. From a Dba background I am in the camp of everything is a
trade off. Ease of use for speed, functionality for complexity and so
on.
My two cents: zend has an advantage because you can use the bits and
pieces without the need to ha
Core files are what my plans include too.
Bastien
Sent from my iPod
On Jan 14, 2009, at 9:26 PM, "Kyle Terry" wrote:
On Wed, Jan 14, 2009 at 6:17 PM, Paul M Foster >wrote:
On Wed, Jan 14, 2009 at 01:39:02PM -0800, Daevid Vincent wrote:
Not to start a Holy War (as these "to framework" or
Make it easy and store the date as a unix timestamp. Then it's a
simple testto do
If ((current timestamp - db timestamp) < 172,800 ){
echo '';
}
Conversely, you can use strtotime() to convert the date.
Bastien
Sent from my iPod
On Jan 14, 2009, at 10:36 PM, paragasu wrote:
i do have
That should work as well
Bastien
Sent from my iPod
On Jan 15, 2009, at 4:14 AM, paragasu wrote:
is it possible to do it like
SELECT *, UNIX_TIMESTAMP(post_date)-172,800 as is_new FROM tbl
$post = mysqli_fetch_object($sql);
if($post->is_new)
echo '';
On 1/14/09, Phpster wr
On Jan 15, 2009, at 10:19 AM, "Boyd, Todd M." wrote:
-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com]
Sent: Wednesday, January 14, 2009 8:18 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Zend Framework...where to start? -- don't.
---8<---
I agree and d
There are a number on sourceforge.net that are worth looking at
Bastien
Sent from my iPod
On Jan 18, 2009, at 9:43 AM, Skip Evans wrote:
Hey all (except Tony),
I've been using dotProject for a few years now and have been quite
happy with it, and have written my own invoicing module, and a
Dunno if it's a best practice, but I store all the translations in the
db for easy manipulation and extraction to a file for others to
translate. That obviously involves both import and export utilities.
At work we to the translation in real time thru a render page that
combined the data f
Sorry guys,
I meant that the current application database is not configured for
utf-8
Bastien
Sent from my iPod
On Jan 27, 2009, at 6:04, Per Jessen wrote:
Jan Kaštánek wrote:
Per Jessen:
The gettext db doesn't support UTF8??? Uh oh, that's a show-stopper.
It supports. We use it. B
You can set it where you are attempting to, but you need to have the
sesion_start(); at the top of the file
Bastien
Sent from my iPod
On Jan 30, 2009, at 17:20, Terion Miller
wrote:
Think I'm setting this in the wrong place...someone help ...where do
I set
the AdminID session
if (iss
Show your code, but it sounds like maybe the HTML flag is not set.
Consider using a class like phpmailer or the mime mail class from
phpclasses.org
Bastien
Sent from my iPod
On Feb 4, 2009, at 6:28, "Bulend Kolay" wrote:
I use php-5.2.6 and apache2.2.x on opensuse11
I have a file called
Yep, 3 tables is the way to go! One for tutors, one for courses and
one to join them
Bastien
Sent from my iPod
On Feb 4, 2009, at 17:24, tedd wrote:
Hi gang:
I need some fog removed.
I have a problem where I have an unlimited number of tutors teaching
an unlimited number of courses. Wh
Forget using the two windows and avoid the cross window communication
by using a couple of divs and Ajax.
Bastien
Sent from my iPod
On Feb 4, 2009, at 20:22, Clancy wrote:
I'm working on a website editor, primarily for my own use. Normally
it will be used on my
own computer, and much of
Asp(.net) has no real problems connecting to mysql. But it's slower
than php.
Bastien
Sent from my iPod
On Feb 5, 2009, at 16:39, Ashley Sheridan
wrote:
On Thu, 2009-02-05 at 16:19 -0500, Robert Cummings wrote:
On Thu, 2009-02-05 at 21:03 +, Nathan Rixham wrote:
revDAVE wrote:
Hi
My two cents,
It's not bad, but you need to be aware of collisions. We set it up
with a folder for each developer and it contains the main application
code.
The upside is that we each have our own code base so we don't affect
each other when cutting new code. The downside is that we can e
Sleep(20); will pause it for 20 secs
Bastien
Sent from my iPod
On Feb 6, 2009, at 0:37, Ron Piggott wrote:
Is there a way to pause a PHP script while it is executing? Ron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 6, 2009, at 9:12, Jônatas Zechim wrote:
Hi there, i want do read a XML like this:
Server.php
1
teste
/images/teste.jpg
";
?>
How can do this?
zechim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Remove the php
And the pentagon was not hit by a jumbo jet. check the photos and ask
yourself 'where are the wings'?
Sorry couldn't resist after the conspiracy comment
:-P
Bastien
Sent from my iPod
On Feb 6, 2009, at 19:37, Ashley Sheridan
wrote:
On Fri, 2009-02-06 at 13:13 -0500, tedd wrote:
At 1:
Check out the com [www.php.net/com] functionality
Bastien
Sent from my iPod
On Feb 6, 2009, at 15:58, Dan Shirah wrote:
Howdy,
I'm looking for a little guidance here.
I'm trying to re-write a VB function in PHP.
This is the function I'm working with:
Private Declare Function DTM_CONVDMS
A Session is stored on the user browser in a session ( in memory
cookie) and on the server as a file. The session mgmt tools will read
the file as needed.
Bastien
Sent from my iPod
On Feb 7, 2009, at 1:58, Paul M Foster wrote:
I'm not too clear on HTTP headers, cookies, and such. So here
No, it's a generic solution, should be pretty much the same across
browsers. Why not download more browsers and test?
I would also add a window.focus() to the body tag in the popup to
bring the window back on top when the user reclocks the link
Bastien
Sent from my iPod
On Feb 7, 2009,
If you're not Dutch you're not much! Holland rocks!
From a fellow dutchie,
Bastien
Sent from my iPod
On Mar 11, 2009, at 4:47, Anton Heuschen wrote:
Thanks Thijs.
My Father is from the Netherlands, but I wont try it all in Dutch
myself...
Ok slowly but surely and with your advice I sta
I don't think that fieldorder needs to be an array. I don't see you
using it as a multiselect. Does this field occur multiple times on the
form?
Bastien
Sent from my iPod
On Mar 15, 2009, at 11:56, Richard Kurth
wrote:
Shawn McKenzie wrote:
tedd wrote:
At 6:31 PM -0700 3/14/09, Ric
Qcodo and symfony both have an ORM layer that can do that. They will
provide/return and basic set of classes that interact with those tables.
Bastien
Sent from my iPod
On Mar 22, 2009, at 11:52, Nitsan Bin-Nun wrote:
Hi Guys,
I have been using cakephp for a while as a development framewor
Sorry for top posting, but here goes...
Stopping third party js from running on the client will never happen.
If so, you just killed your servers thru put in attempting to handle
things like google maps, google analytics and other fun things coming
out of companies like that ( google, zoho
Output buffering turned off?
Bastien
Sent from my iPod
On Mar 30, 2009, at 15:03, Igor Escobar wrote:
Hi guys, probably everybody goes think: "its the same problem
ever" HTML
before header() functions ... but it is not.
I has working on a project and this are a running in
"Windows" (
Zoho's project tool looks pretty good. Www.zoho.com
Bastien
Sent from my iPod
On Mar 31, 2009, at 18:20, Colin Guthrie wrote:
'Twas brillig, and George Larson at 31/03/09 20:31 did gyre and
gimble:
We've got a homebrew ToDo list (task & project) manager / mailer
that we're
thinking about
What about styling a link to look like a button with css? It won't be
an exact match style wise but you can get close. I have done this
succesfully
Bastien
Sent from my iPod
On Apr 2, 2009, at 6:04, "Angus Mann" wrote:
Hi all.
I want to have several delete buttons with just one form, an
Extract to csv/XML?
Bastien
Sent from my iPod
On Apr 3, 2009, at 5:10, 9el wrote:
On Fri, Apr 3, 2009 at 3:47 AM, Chris wrote:
9el wrote:
I found this command from one guy for importing Oracle's dump to
MySQL
Shell> mysql -uroot db_name -vvf < oracle_dump.dmp
But, v is for verbose a
On Apr 3, 2009, at 17:52, hessi...@hessiess.com wrote:
I have bean trying to right a PHP script to generate XHTML code from
the
class documentation xml files created by Doxygen(the HTML it outputs
is
invalid, messy and virtually imposable to integrate into another web
page). One thing has
On Apr 4, 2009, at 17:30, Skip Evans wrote:
Hey all,
At the risk of being told this is a PHP and not a JS list, but also
knowing the discussions on this list, to the benefit of all I
believe, very wildly, I'm posting this JS code snippet for some
advice.
As I posted earlier, my AJAX
On Apr 4, 2009, at 15:19, 9el wrote:
On Tue, Feb 24, 2009 at 1:38 PM, Per Jessen wrote:
Srinivasa Rao D wrote:
Hi all,
* How better, i can read ms-word doc files from PHP on LINUX
OS*.
[snip]
*Is there are any other softwares that can fetch text from MS-WORD
file?.*
On Apr 4, 2009, at 14:07, Skip Evans wrote:
Hey all,
I have an application that uses AJAX to submit a page created in the
FCKeditor. It builds a URL and then submits that to the server with
a JavaScript call like this:
req.open('GET', url, false);
In Firefox it works great for just ab
L down in the function
and build a proper post transaction, but my real problem is IE can't
submit, apparently, more than 2K through a GET.
Do you know if POST can handle more?
Thanks tons for your reply!
Skip
PS. I'd very interested in seeing your set of functions.
Phpster wro
Ajax can be both async and sync. Itsbthe fourth param in the open call
and I believe by default it's a sync call not async
Bastien
Sent from my iPod
On Apr 4, 2009, at 21:33, Skip Evans wrote:
But my function using GET does seem to wait.
Granted I cobbled it together from various samples
On Apr 4, 2009, at 21:33, Skip Evans wrote:
But my function using GET does seem to wait.
Granted I cobbled it together from various samples and didn't author
it from my own deep understanding of the exact process, but here's
the snippet that does the real work.
req.open('GET', url, fal
On Apr 4, 2009, at 21:51, "TG" wrote:
Had to deal with a rogue PHP based backdoor situation recently. Two
remote
management scripts were installed somehow that would allow you to do
something like what you describe.
You probably want to download a fresh copy of the entire site
(assuming
Misk.com is also good at $10/ yep
Bastien
Sent from my iPod
On Apr 6, 2009, at 23:57, Michael Kubler wrote:
DO NOT USE GO-DADDY.
Sorry, just had to say that Go-Daddy will cause all sorts of issues
when your domain expires, or if you check for a domain but don't
purchase it straight away.
And not one RTFM?
Bastien
Sent from my iPod
On Apr 8, 2009, at 20:58, Chris wrote:
Alejandro Esteban Galvez wrote:
Hi!, I am making a web system and i need known how send a mail
using PHP
http://www.php.net/manual/en/function.mail.php
--
Postgresql & php tutorials
http://www.designmagic
Roadsend is very beta when I last checked and while promising seemed
to be geared more towards taking php and moving it to the desktop
without using gtk.
I could see the uses but I think adobe air fits that model better with
less to worry about.
Personally, I am leaning more and more towa
On Apr 10, 2009, at 12:44, Al wrote:
PJ wrote:
I have a script with $_POST and to load data with text input.
Situation: enter name of author(s) for book. I have the script set
up to
enter first_name, last_name for Author1 and the same for Author 2.
Check if entry 1 exists then proceed a
On Apr 10, 2009, at 15:21, Al wrote:
Phpster wrote:
On Apr 10, 2009, at 12:44, Al wrote:
PJ wrote:
I have a script with $_POST and to load data with text
input.
Situation: enter name of author(s) for book. I have the script
set up to
enter first_name, last_name for Author1 and
On Apr 11, 2009, at 10:12, "Gary" wrote:
Is there a way to have a php include called ramdomly? For example,
I have
an area that I am using to show various quotes and I would like the
quotes
to be ramdom.
Thanks for your help
Gary
--
PHP General Mailing List (http://www.php.net/)
To
On Apr 11, 2009, at 21:38, "Michael A. Peters" wrote:
I've run into a small issue with mdb2.
I have a mysql database with a field set to longtext not null.
inserting "" into that field works just dandy when using the mysql_
functions.
However, when using mdb2 - it converts "" to NULL wh
$_GET when the form uses get or parameters are passed via the
querystring
$_POST when the form method is post
$_REQUEST does both
Bastien
Sent from my iPod
On Apr 12, 2009, at 10:23, Ron Piggott
wrote:
How do I know when to use $_GET verses $_POST?
Is there a pre defined variable tha
There are no real security issues with the $_REQUEST object. What
needs to be taken into consideration is that the order that the PHP
engine gathers data from the system ( GPCS ) and the potential issues
having cookies or session data named the same as the actual data you
are trying to acce
On Apr 17, 2009, at 1:06, wrote:
Thanks Jim. Is there a way to get the value of that unchecked box?
-rummy
-Original Message-
From: Jim Lucas [mailto:li...@cmsws.com]
Sent: Friday, April 17, 2009 10:35 AM
To: Ramesh Marimuthu (WT01 - Telecom Equipment)
Cc: geek...@gmail.com; php-ge
On Apr 20, 2009, at 17:23, Patrick Moloney wrote:
Some months ago I downloaded and installed Apache, PHP and MySql.
With only light use they seem to be working.
I have downloaded a Test Script from the VBulletin vendor that is
supposed to determine if your setup could run their product. Th
On Apr 21, 2009, at 20:32, Edward Diener wrote:
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an AT&T address, such as my own as an AT&T
ISP customer, the mail never gets to me. If the 'to' address is
anything other than an AT&T address, the ma
On Apr 24, 2009, at 18:06, Skip Evans wrote:
Hey all,
Anyone have any experience with Expression Engine? I have a new
client that wants me to use it to build a site and I must say I am
rather underwhelmed.
But I happen to be one of those people that believe in developing
your own lig
On Apr 24, 2009, at 19:00, Andrew Hucks wrote:
I've been coding PHP for about a year, and I'm running out of things
to code
that force me to learn new things. If you have any suggestions, I'd
greatly
appreciate it.
What have you coded? How about a chat app? How about a simple db based
On Apr 25, 2009, at 13:40, Andrew Hucks wrote:
If I have something like $string = '"hello" there'; (the word hello is
in double quotes, if you can't see it), how would I output it as
something like "hello" there.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
What parameters are you pasing in the link? That will be the telling
point of what you are doing wrong. You could pass the search params
( though these are best kept in a session or cookie ) and the offset
counter to get the next block of results.
Sorry for top posting.
Bastien
Sent from
There are way too many php based options to even waste time with this.
Bastien
Sent from my iPod
On May 5, 2009, at 17:54, "O. Lavell" wrote:
Kevin Kaiser wrote:
[..]
All you have to do is sign up for an API key, upload your document
templates and POST data to our server. We handle everyt
On May 11, 2009, at 16:01, "Miller, Terion" > wrote:
The error I get is from my INSERT statement
It does insert the records up to C page though...
The problem area:
// Build your INSERT statement here $query = "INSERT
into warrants (wid, name, age, warrant, bond, wnumbe
On May 11, 2009, at 17:53, "Miller, Terion" > wrote:
Bastien, could you give me an example of what you mean?
would it be $Name = ""
like that?
Thanks for the ideas everyone!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tr
Use phpmailer, makes it simple
Bastien
Sent from my iPod
On May 28, 2009, at 4:47, "Guus Ellenkamp"
wrote:
I'm trying to attach an uploaded file to an e-mail which I receive in
Outlook. Neither the first part, nor the second part displays
properly. The
header looks ok when displayed on
You can also stack the queries to run multiple rows in one insert
Insert into table values (row1col1, row1col2,'row1col3'),
(row2col1,row2col2,'row2col3'),...(rowNcol1,rowNcol2,'rowNcol3')
Bastien
Sent from my iPod
On May 31, 2009, at 8:18, דניאל דנון
wrote:
I've a file of about 500,000
That would be about it, unless you need a fancy GUI with all the bells
and whistles
Bastien
Sent from my iPod
On Jun 1, 2009, at 15:35, Tom Worster wrote:
assuming one had suitable hardware, what does it cost to start
developing
for asp? i guess you'd need to buy a copy of some windows se
H, how about some details on OS, etc
Bastien
Sent from my iPod
On Jun 2, 2009, at 17:26, "Grant Peel" wrote:
Hi all,
I am currently setting up the next generation web server for our
company and am in need of general consulting/advice on php set up
security issues.
Any one with kno
On Jun 2, 2009, at 21:13, "Daevid Vincent" wrote:
I just noticed a horrible thing.
I have a query (report) that can take 15 minutes or more to generate
with
mySQL. We have > 500 Million rows. This used to be done in real time
when we
had less rows, but recently we got a big dump of data
This is fairly simple to do as an http upload. With the folder above
the web root, it less if an issue since general users can't gain
access, a script can do all the interaction needed. Plus you can chown
the permissions with php
Bastien
Sent from my iPod
On Jun 3, 2009, at 17:24, Lamp Li
On Jun 13, 2009, at 9:11, Colin Guthrie wrote:
'Twas brillig, and Parham Doustdar at 13/06/09 09:42 did gyre and
gimble:
Hi there, I'm going to create a small chat script with PHP. The
messages you want others to see will be added to a flat file (I.E.
TXT file), and read and displayed by PH
Sleep(). ?
Bastien
Sent from my iPod
On Jun 14, 2009, at 13:52, "Parham Doustdar" wrote:
Actually, your message sparked an idea in my [slow] mind. :)
I can put the PHP code in a java script, and tell javascript to call
it
every fifteen seconds. Best option, I think. :)
Any ideas?
Thanks!
Bastien
Sent from my iPod
On Jun 27, 2009, at 4:13 PM, Daniel Kolbo wrote:
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote:
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote:
Hello,
When a MySQL table is locked a php call of mysql
On Jun 27, 2009, at 7:17 PM, Daniel Kolbo wrote:
Phpster wrote:
Bastien
Sent from my iPod
On Jun 27, 2009, at 4:13 PM, Daniel Kolbo wrote:
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote:
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 15:15 -0400, Daniel
On Jun 30, 2009, at 10:48 PM, Paul M Foster
wrote:
On Tue, Jun 30, 2009 at 06:31:54PM -0500, Flint Million wrote:
This might seem silly but here's what I'm trying to do
Suppose I have some kind of check variable - say for example
$abort_now. Or it could be a function. Something to be
On Jun 30, 2009, at 10:59 PM, Paul M Foster
wrote:
On Tue, Jun 30, 2009 at 06:38:19PM -0700, Mary Anderson wrote:
Hi all,
I have a php application for which I have a page which creates
temporary junk and puts it into a persistent store (in this case a
postgres database, but that is
On Jul 1, 2009, at 10:56 AM, "Miller, Terion" > wrote:
Why doesn't this work?
$query = "SELECT * FROM `restaurants` WHERE name ='$ucName' AND
address = '$ucAddress' " ;
$result = mysql_query($query) or die(mysql_error());
echo $result;
$row = mysql_fetch_array ($result);
$s
On Jul 3, 2009, at 7:31 PM, Govinda
wrote:
my code:
require 'DB.php';
// $db=DB::connect('db_program://user:passw...@hostname/database');
if (DB::isError($db)) { die("Can't connect: " . $db->getMessage
()); }
is returning:
"Can't connect: DB Error: connect failed"
Any advi
On Jul 9, 2009, at 5:50 PM, Govinda
wrote:
The atmosphere is weird now so you all may think I am out there. .
but this is a sincere question-
(and not due to dumb oversight of my HTML code)
I have a mysterious "f" character (Yes, just the letter " f " )
appearing in my HTML between t
On Jul 10, 2009, at 5:25 PM, "workerho...@studysite.eu" > wrote:
first thanks to all who have read ;-)
your solution looks like the method how i done it actually,
i have tested the last hours the solution with sql lite on
application server
the Solution:
3 Mysql Server ( 1 more to han
On Jul 10, 2009, at 10:12 PM, Haig Dedeyan
wrote:
Hi everyone,
I'm starting to experiment with an edit form and I am seeing the
following
behaviour:
$fname = mysql_real_escape_string($fname);
$lname = mysql_real_escape_string($lname);
$sql = "UPDATE phonedir SET fname = '$fname',l
On Jul 16, 2009, at 5:50 PM, Daniel Kolbo wrote:
Hello,
Call me a dreamer...but I got to ask.
Is there any software for helping speed up PHP by utilizing internal
PHP
caching?
I am not talking about the external php cache/header control. Smarty
caching doesn't give me the control I n
On Jul 18, 2009, at 9:45 AM, Ashley Sheridan
wrote:
On Fri, 2009-07-17 at 14:01 -0400, Bastien Koert wrote:
On Fri, Jul 17, 2009 at 1:54 PM, Jason Pruim
wrote:
On Jul 17, 2009, at 11:56 AM, Bastien Koert wrote:
On Fri, Jul 17, 2009 at 11:51 AM, tedd
wrote:
At 11:12 AM -0400 7/17/0
On Jul 21, 2009, at 3:12 PM, Guruprasad wrote:
Hi all,
I have a doubt with creating and destroying sessions in PHP using
session_destroy(). Supposing there is a PHP-based website hosted on
a web server. Now I add another site that I developed using PHP on
that web server using virtualho
On Jul 25, 2009, at 9:37 PM, Skip Evans wrote:
Hey all,
We got a new project and language translation of content is a major
priority. I've googled around and seen lots of options, but I'd like
to hear from the list about more real world experiences about what
some of you found and wh
On Jul 31, 2009, at 5:22 PM, Paul Halliday
wrote:
Whats the cleanest (I have a really ugly) way to break this:
[21/Jul/2009:00:00:47 -0300]
into:
date=21/jul/2009
time=00:00:47
Caveats:
1) if the day is < 10 the beginning of the string will look like
"[1/...
2) the "-0300" will d
On Jul 31, 2009, at 5:24 PM, "Miller, Terion" > wrote:
I'm still struggling with using ranges... Can they be passed to a
query
somehow...
I have this so far but it pulls nothing:
//Show all with $letter not between "A" and "Z"
if ($
$result = mysql_query($sql) or die(mysql_error
On Aug 3, 2009, at 7:04 AM, seb wrote:
Hey all,
i am using move_upload function to upload files to the server, but i
want to add a feature that will allow files to be archived that have
been uploaded already.
so, the problem is:
i upload a file that i want to "upgrade" and move the
On Aug 6, 2009, at 5:02 PM, "Michael A. Peters" wrote:
Ralph Deffke wrote:
and a blob field in mysql is
the right thing, however u have to have a little php scrip, however
with a
.png extention to get the browser displaying the picture.
What is the advantage to storing an image in th
On Aug 7, 2009, at 9:25 PM, Waynn Lue wrote:
Hey PHPers,
We've been doing sampled logging to the database in our
application for
awhile, and now I'm hoping eventually to blow that out to a larger
scale.
I'm worried about the performance implications of logging to our
database
on
.
On Aug 2, 2009, at 7:59 AM, Dušan Novaković wrote:
Hi,
Does anyone has any idea how to create notification system with
combination of php, mysql and javascript. It should be something
similar to facebook notification system (when someone make some action
it should be automatically reported
1 - 100 of 174 matches
Mail list logo