On Sun, Dec 28, 2008 at 3:29 PM, Michael C. Yates wrote:
> Nathan Nobbe wrote:
>
>>
>>
>> Hey,
>>>
>>> How do you structure your web applications? I am thinking in terms of
>>> separating presentation and logic. How is that done in PHP?
>
PT_RETURNTRANSFER, TRUE);*
* $theDataLast = curl_exec($ch);
echo ("The dataLast: ".$theDataLast."\n");*
* curl_close($ch);*
*}
obviously, youll need the curl extension installed for this to work. i know
the fopen wrappers will allow you to get a read-only handle to an http url,
but im not sure what is_readable() will do w/ that, it may be limited to the
local filesystem.
-nathan
ith mysql_query() and pg_query().
OK. i would stop right there and ask yourself why.. there are tons of
stable, working solutions out there that already do this, most notably for
php5, PDO,
http://us.php.net/manual/en/pdo.drivers.php
which btw, is written in C ;)
-nathan
oint dan, and just to add further clarification, thats b/c the
function specifies $return_var is passed by reference in the formal
parameter. when you include the & along w/ an actual parameter (during
function invocation) thats referred to as call-time-pass-by-reference in
php, and its typically frowned upon. in fact, i think its being removed
from a future version of php.
-nathan
e you tried photobucket ? we have an api in php which is freely
available and we use a CDN for caching all around the globe. in fact, id be
interested to find out how it stacks up over there, in your neck of the
woods.
-nathan
On Sun, Dec 28, 2008 at 8:40 PM, Micah Gersten wrote:
> Nathan Nobbe wrote:
> > good point dan, and just to add further clarification, thats b/c the
> > function specifies $return_var is passed by reference in the formal
> > parameter. when you include the & along w/ an
nternet for my information.
i find this list to me a most excellent supplement to these other resources,
in fact in many ways its often times better.
this topic is no less relevant than most ive seen since ive joined the list,
which most likely is the reason for the several long, well thought
responses.
-nathan
-nathan
27; extension, ill probly check it
out. you know some of us yougin's never really got too much pratical
exposure to tools like that =/ im still ramping up on these low level
utilities myself.
-nathan
On Tue, Dec 30, 2008 at 12:26 AM, Manuel Lemos wrote:
> Hello,
>
> on 12/30/2008 05:07 AM Nathan Nobbe said the following:
> >>>> How do you structure your web applications? I am thinking in terms of
> >>>> separating presentation and logic. How i
On Tue, Dec 30, 2008 at 1:05 AM, Nathan Nobbe wrote:
>
> plus did you see the part about 'cleaning up the include path'. moving to
> require at the outer layer and as far in as possible, basically. thats a
> really good idea, and it looks like this 'includes'
On Tue, Dec 30, 2008 at 10:15 AM, Eric Butera wrote:
> On Tue, Dec 30, 2008 at 2:07 AM, Nathan Nobbe
> wrote:
> >> on 12/30/2008 01:13 AM Sancar Saran said the following:
> >> > and please read this why
> >> >
> >> > http://talks.php.net
On Tue, Dec 30, 2008 at 11:07 AM, Robert Cummings wrote:
> On Tue, 2008-12-30 at 12:53 -0500, Eric Butera wrote:
> > On Tue, Dec 30, 2008 at 12:42 PM, Nathan Nobbe
> >
> > I was following the blog tutorial on cake and here's what I got from
> > hitting the post/ind
On Tue, Dec 30, 2008 at 11:24 AM, Eric Butera wrote:
> On Tue, Dec 30, 2008 at 1:07 PM, Robert Cummings
> wrote:
> > On Tue, 2008-12-30 at 12:53 -0500, Eric Butera wrote:
> >> On Tue, Dec 30, 2008 at 12:42 PM, Nathan Nobbe
> >>
> >> I was following the
TG wrote:
Ok.. so I know about CVS and SVN and unfortunately haven't had as much
experience with them as I'd like. I've used them, but always in a really
basic sense and always on systems that have already been set up. A friend
recently mentioned GIT ( http://git.or.cz/ ) too.
But here's my
#x27;ve done anything particularly fancy/tricky with the class
> hierarchy.
>
nobody said you did, but that has no bearing on the fact that the Soap
extension throws exceptions. as i said you dont have to catch them, but the
idea is they provide opportunities for your code to degrade gracefully in
the event of a problem occurring.
-nathan
w what is happening, I'm feeling silly
> for asking.
i wouldnt worry about it; i dont think theres a spot in the xdebug docs
where they discuss how it can screw up some things you might want to leave
alone :D
-nathan
On Wed, Dec 31, 2008 at 7:03 PM, Micah Gersten wrote:
> Nathan Nobbe wrote:
> >
> >
> > On Sun, Dec 28, 2008 at 8:40 PM, Micah Gersten > <mailto:mi...@onshore.com>> wrote:
> >
> > Nathan Nobbe wrote:
> > > good point dan,
:)
im not sure how well git works on windows atm, but if youre interested in a
dcvs that works on windows, ive heard good things about mercurial; its
written in python.
http://www.selenic.com/mercurial/wiki/
-nathan
well, Mr. Lucas! And now that I am done with work (for
> the most part), this is my official adieu to 2008. Thanks for the
> memories.
>
merry new year to all you folks out there, wherever you hail from!
-nathan
Ashley Sheridan wrote:
On Wed, 2008-12-31 at 20:41 +, Ólafur Waage wrote:
Short: Is it possible to see the PHP code that is going to be
processed in whole?
Long: I love to see things visually, and while programming i create
all kinds of debugging variables i keep on the side for each
page/r
Anders Norrbring wrote:
On Thu, Jan 1, 2009 at 02:35, Anders Norrbring
wrote:
I'm a bit stuck.. I'm using the PEAR http_Request to send files and
data as
HTTP POST, which is working fine if I in fact have the files on disk
on the
server. Just using the method addFile..
Okay
But w
not to
commit certain files to the repository out of practice. these can also be
hidden from view, essentially by placing filenames / patterns via the
svn:ignore property
My web host supports rsync, but I don't think I've seen any version control
> options for rsync.
does your webhost support svn clients? you can do svn co then svn up, svn
switch etc.
-nathan
rob, are you suggesting that the solution to the problems in the middle
east is to be found lurking somewhere on the php.net site? perhaps with
a little code example to show us how it's done?
lolol great
Robert Cummings wrote:
I find the PHP site to be one of the best resources around. Maybe
oooh oooh found it, there's a few solutions actually!
array_merge($christianity,$islam);
unset($religion);
//loads more
Nathan Rixham wrote:
rob, are you suggesting that the solution to the problems in the middle
east is to be found lurking somewhere on the php.net site? perhaps with
a l
Eduardo wrote:
Hi, I am Eduardo, a new PHP programmer and an old Cobol veteran.
I know that
$tastes=$_POST["tastes"];
moves the content of "tastes" from
to
$tastes
How do I move the content of $tastes to X of
echo "\n";
?
Thanks,
Eduardo
echo "\n";
echo "this
Merlin Morgenstern wrote:
Hi everybody,
I am running a real estate portal and would like to allow users to
upload their listing from their existing software. They do this with a
XML file which they will upload on a ftp server that places this xml
file into a seperate directory on the file sys
Richard Heyes wrote:
i'm new to RSS Feeds, but how would it be possible to have a BBC News Feed
added to my website?
You can read and parse an RSS feed just like any other webpage. Magpie
RSS will probably make life easier though.
and http://rssphp.net will make it ultra simple :)
--
PHP Ge
Richard Heyes wrote:
Also I could be missing
something, but I can't see the advantage in VARCHAR since space is not
really a concern these days.
char is fixed length and padded. If you don't fill up the space, the
db does it for you (even though it seems it's internal only).
http://dev.mysql.co
Ashley Sheridan wrote:
On Mon, 2009-01-05 at 16:16 +0100, Merlin Morgenstern wrote:
Is there a good FTP Daemon that can be recommended for this purpose?
pure-ftpd seams out of development since 2006.
Jason Pruim wrote:
On Jan 5, 2009, at 9:55 AM, Merlin Morgenstern wrote:
Yes, it would be
chris smith wrote:
It may be worth mentioning that, IIRC, CHAR is faster due to the fixed
length. If you can make your table use a fixed length row size (ie no
variable length columns), it'll be faster.
I'd be interested in seeing tests about this.. I doubt there's any difference.
quote: http
Frank Stanovcak wrote:
So what I'm taking away from this is that I can index a text column, but
that is relatively new. Based on experience with technology I'm going to
guess it's not a very efficient index or search function yet. CHAR seems to
be well entrenched, and the favorite for any col
Frank Stanovcak wrote:
I know!
This ranks up there with redirecting people to www.ratemypoo.com when an
intrusion attempt is detected as part of the security measures.
ahh i redirect them to the endless sixapart atom stream seing as it's
normally spiders/bots - slows them down a bit :p
--
Jack Bates wrote:
How do I get the file where a class is defined, from an instance of that
class?
you could hack around with exceptions or simply use Reflection.. it's
all provided for you
$testObject = new YourClass();
$class = new ReflectionClass( $testObject );
echo $class->getFileName(
Nathan Rixham wrote:
Jack Bates wrote:
How do I get the file where a class is defined, from an instance of that
class?
you could hack around with exceptions or simply use Reflection.. it's
all provided for you
$testObject = new YourClass();
$class = new ReflectionClass( get_
Sn!per wrote:
Let's say I have these URLs
http://example.com/index.php?q=gallery
http://example.com/index.php?q=gallery&g2_itemId=81
http://example.com/index.php?q=gallery&g2_itemId=100
I want to have a line of code that will extract just the
"http://example.com/index.php?q=gallery"; part of t
Christoph Boget wrote:
I'm running through a large dataset and am generating/manipulating XML
documents for each record. What's happening is that after a while, I
get a fatal error saying:
Fatal error: Allowed memory size of 167772160 bytes exhausted (tried
to allocate 32650313 bytes)
Each XML
Zechim wrote:
anyone who works with php-gtk2 and can tell me if I can make something
like msn, skype, a little chat (is it possible to connect to a webserver
and sabe in my local server using gtk2?)
probably best off asking on the php gtk list ;)
--
PHP General Mailing List (http://www.php.ne
Richard Heyes wrote:
but, I'm more concern does client has to pay the changes/upgrade or it's still "my
obligation"?
Of course you charge him. Christ if I was expected to maintain stuff
gratis that I wrote 7 years ago I'd be mullahed.
concurred, personally I'd be tempted to offer to find or
gine you can do anything php cli
can do in a php-gtk2 app.
-nathan
required
(unset and no references to it?)
because of the way we use domdocument often we have many variables referencing
existing or created nodes within the document; as well as xpath and suchlike;
thus it stands to reason that unless all of these are also unset the
DOMDocument will not b
t; Apache2 ofcourse.
>
> If you want to see any config files or logs please tell me..
have you tried to ping or traceroute your box from the shared hosting server
since the os upgrade?
-nathan
we know which xml library you are using. i
believe you said youre running php4 earlier, right?
so which xml library have you settled on?
btw; php4 has DOMXML as a native extension, but the api is a bit cumbersome.
-nathan
On Wed, Jan 7, 2009 at 1:42 PM, Merlin Morgenstern wrote:
> Hello Nathan,
>
> I upgraded to PHP 5, so I am using nativ support.
>
> Best regards, Merlin
>
please keep replies on-list so others may benefit from the archives.
OK, native support; so in php5 you can use DOM or S
Richard Heyes wrote:
That's for a single table.
I've not come across many databases where 20-50 tables have 10 million
rows each. And with a table of that size, then I might be coerced into
thinking about the storage requirements a little more. Maybe.
Now add another 20 to 50 tables d
Carlos Medina wrote:
Allan Arguelles schrieb:
Yeah, I was reluctant to open the attachment, but then again I'm on
gentoo :)
I've forgotten about these "threats" eversince I switched over, didn't
even notice the bounced email(to the sender) as an indication.
-Allan
Robert Cummings wrote:
On
Robert Cummings wrote:
On Thu, 2009-01-08 at 10:51 +, Richard Heyes wrote:
until you have to dump it, zip it, ssh it over to another box and then
import it back in
That's what fag breaks are for... :-) Well, that and smoking.
So... when you're forgetful... have you ever had to bum a fag?
I keep hitting reply all in thunderbird and double posting; apologies
for the additional noise (can't promise i won't keep doing it though :p)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
viraj wrote:
i have this query..
$sql = "SELECT `id` FROM `modules_permissions` WHERE `id` = '" .
$permissionId . "';";
when i pass the value 31 to permissionid, it returns me the 31st row
of the table. and it's fine. but when i pass '31asasa' as the
permissionid it returns me the same row! how
tedd wrote:
At 11:16 AM + 1/8/09, Nathan Rixham wrote:
I keep hitting reply all in thunderbird and double posting; apologies
for the additional noise (can't promise i won't keep doing it though :p)
That's Okay.
Usually what you have to say is important enough to read
changing the title; but nobody else does it which leads to some great
out of context discussions :)
Terion Miller wrote:
SOLVED: Thanks everyone I got it working it was the loop...took it out and
now it works like a charm!! Is there a way to mark things solved?
On Wed, Jan 7, 2009 at 1:46 PM,
Frank Stanovcak wrote:
I've been a microshaft punk for some time now, and am just getting ready to
try to step over to unix on one of my own boxes.
Does anyone have any suggestions on which flavor would be a good idea to
start with? I'm looking mostly for compatibility with php, mysql, and ot
Daniel Brown wrote:
On Thu, Jan 8, 2009 at 10:31, Skip Evans wrote:
From my reading I get the impression that the above statement, "Linux is
just as susceptible to viruses, worms, and other malware", is inaccurate.
Unfortunately, Skip, it's 100% accurate. No operating system is
completel
Gary wrote:
Just installed Apache 2.2 and PHP 5.2.8, am able to test, works fine.
I am no able to get the mysql extensions to install. I have gone in to
reinstall, the dialog box says that 0bytes to be installed.
Have searched, several forums have suggested to remove the ; from in front
of
Daniel Brown wrote:
On Thu, Jan 8, 2009 at 13:34, Robert Cummings wrote:
He didn't say it had no insecurities... he said it's hard to believe
it's "JUST AS insecure". Please provide factual sources to indicate the
validity of your statement.
Counter: please provide factual sources that it
Gary wrote:
Ok, I C/P the code and uploaded a link
http://www.paulgdesigns.com/phpini.html
Any help would be appriciated.
Gary
uncomment ;extension=php_mysql.dll (remove the ;) in your php.ini then
restart apache
.so is for nix not windows :)
--
PHP General Mailing List (http://www.php.
Gary wrote:
Thanks much, but I do not have a line that says extension=php_mysql.dll
What I do have is a line that says extension=mysql.dll
Should I add the php_?
Thanks again
Gary
check in the php/ext/ directory, if you have a dll called mysql.dll then
you're fine, if it's php_mysql.dll then
c...@l-i-e.com wrote:
Fact is if you want to be secure just disconnect you're machine from
the internet, remove cd/dvd/floppy drives and unplug the keyboard.
You forgot to cut the internal USB cables.
:-)
when I was younger my friend got a virus on his mothers computer; his
mother promptly
Robert Cummings wrote:
On Thu, 2009-01-08 at 19:18 +, Nathan Rixham wrote:
Daniel Brown wrote:
On Thu, Jan 8, 2009 at 13:34, Robert Cummings wrote:
He didn't say it had no insecurities... he said it's hard to believe
it's "JUST AS insecure". Pleas
Ashley Sheridan wrote:
On Thu, 2009-01-08 at 08:57 +0200, Paul Scott wrote:
On Wed, 2009-01-07 at 22:51 -0800, It flance wrote:
The message is to webhosting companies,
This is not a web hosting company.
Israel is killing palestinian children. Some sites are are showing the fotos of israel's
Gary wrote:
Nathan
Thanks for all your help, but it is not working. The files were/are named
php_mysql.dllso I replace them.
I did the advanced install, choosing only those extensions I wanted,
including mywsql and mysqli
I have already reinstalled the php5.2.8
Again, thanks, but
Ashley Sheridan wrote:
On Thu, 2009-01-08 at 19:53 +, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Thu, 2009-01-08 at 08:57 +0200, Paul Scott wrote:
On Wed, 2009-01-07 at 22:51 -0800, It flance wrote:
The message is to webhosting companies,
This is not a web hosting company.
Israel
Ashley Sheridan wrote:
On Thu, 2009-01-08 at 20:06 +, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Thu, 2009-01-08 at 19:53 +, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Thu, 2009-01-08 at 08:57 +0200, Paul Scott wrote:
On Wed, 2009-01-07 at
Gary wrote:
I like it...thanks for the suggestion It gives me 3 choices, the
installer, the zip and the exe. The zip is 82 megs, the largest, is that
the better choice?
Thanks again for your help.
Gary
keep it simple for yourself and go with the installer
--
PHP General Mailing List
2009/1/8 Robert Cummings
> On Thu, 2009-01-08 at 19:46 +0000, Nathan Rixham wrote:
> > Robert Cummings wrote:
> > > On Thu, 2009-01-08 at 19:18 +, Nathan Rixham wrote:
> > >
> > >> Daniel Brown wrote:
> > >>
> > >>> On Thu, J
Skip Evans wrote:
Nathan Rixham wrote:
yup.. all OS's are equally insecure; each OS is as insecure as the
next; no
one OS is more insecure than any other
Wrong, and there is experimental data to prove it. Read the first URL
I posted that documents the creation of Linux viruses an
Ashley Sheridan wrote:
On Thu, 2009-01-08 at 22:38 +, Nathan Rixham wrote:
Skip Evans wrote:
Nathan Rixham wrote:
yup.. all OS's are equally insecure; each OS is as insecure as the
next; no
one OS is more insecure than any other
Wrong, and there is experimental data to prove it.
Skip Evans wrote:
Ashley Sheridan wrote:
think about it for a minute; an OS can either be secure (0
vulnerabilities) or insecure (1 or more vulnerabilities); as all OS's
have 1 or more vulnerabilities they are all equally insecure; because
they are all insecure.
What you are saying, in rea
On Thu, Jan 8, 2009 at 4:02 PM, Merlin Morgenstern wrote:
> Hello nathan,
>
> I am unsing simplexml as it looks really simple :-) However, I could still
> not figure out how to adress data inside tags with attributes. For example:
>
>
>bla blub
>
> $xml->a
Nathan Nobbe wrote:
On Thu, Jan 8, 2009 at 4:02 PM, Merlin Morgenstern wrote:
Hello nathan,
I am unsing simplexml as it looks really simple :-) However, I could still
not figure out how to adress data inside tags with attributes. For example:
bla blub
$xml->anhang[intern][titelb
On Thu, Jan 8, 2009 at 4:38 PM, Nathan Rixham wrote:
> Nathan Nobbe wrote:
>
>> On Thu, Jan 8, 2009 at 4:02 PM, Merlin Morgenstern > >wrote:
>>
>> Hello nathan,
>>>
>>> I am unsing simplexml as it looks really simple :-) However, I could
>&g
Nathan Nobbe wrote:
On Thu, Jan 8, 2009 at 4:38 PM, Nathan Rixham <mailto:nrix...@gmail.com>> wrote:
Nathan Nobbe wrote:
On Thu, Jan 8, 2009 at 4:02 PM, Merlin Morgenstern
mailto:merli...@fastmail.fm>>wrote:
Hello nathan,
I am u
John Corry wrote:
I don't know about Geany, but you should definitely check out:
PDT/Eclipse
^^my fav, but only when coupled with RSE (remote system explorer),
php debugger for eclipse and subversive svn
Zend Studio for Eclipse <- my favorite
^^ I liked but was a memory hog on my windows mach
Merlin Morgenstern wrote:
ok... it seems that I am doing something fundamentally wrong. I get no
output at all with this:
$xmlStr = file_get_contents($filename);
$xmlelement = new SimpleXMLElement($xmlStr);
echo
'$xmlelement->xpath("//anbieter/immobilie/anhaenge/anha...@location='INTERN'
and
Merlin Morgenstern wrote:
ok... it seems that I am doing something fundamentally wrong. I get no
output at all with this:
$xmlStr = file_get_contents($filename);
$xmlelement = new SimpleXMLElement($xmlStr);
echo
'$xmlelement->xpath("//anbieter/immobilie/anhaenge/anha...@location='INTERN'
and
Daniel Brown wrote:
On Thu, Jan 8, 2009 at 19:21, Mattias Thorslund wrote:
I thought this was the PHP list, not the OS vs. OS list?
Is this type of discussion now considered OK here? I recall people getting
flamed for borderline off-topic posts even, just a few years ago.
You're right, M
Jehan Pagès wrote:
Hi,
I have a question about opening a normal socket, then negotiating a TLS
layer in PHP (through another protocol, which is XMPP in my case, in plain
text at the beginning). I am currently using a socket created by
"socket_create ()". But there seems not to be any way of swit
Stephen wrote:
I have a form to accept free text in a textarea field. The entry is
stored in a database.
If the user enters:
abc
def
ghi
I want it to finally display like that.
If they enter
abc
def
ghi
I want it to display with the line gaps.
I use CSS so in the first case I would stor
tedd wrote:
At 7:18 PM + 1/8/09, Nathan Rixham wrote:
if it's a computer thats on, with an os, a keyboard and a network card
connected to the internet it's insecure.
It doesn't even have to be connected to the Internet to be insecure.
Cheers,
tedd
hence the mention o
Brian Dunning wrote:
I have one server that's pretty busy and runs into "Too many
connections" from MySQL from time to time, and needs to have MySQL
restarted to clear it up.
I've tried everything I can think of to have PHP take note of this error
but continue executing with other stuff, but
Christoph Boget wrote:
Does anyone know if it's possible, using PHP, to take HTML (either as
an input or from a URL) and generate an image (essentially, create a
screenshot) of that HTML/page? I've looked around but was unable to
find anything and I'm just not sure if it's that there really is
n
Daniel Brown wrote:
On Fri, Jan 9, 2009 at 11:17, Nathan Rixham wrote:
tedd wrote:
At 7:18 PM + 1/8/09, Nathan Rixham wrote:
if it's a computer thats on, with an os, a keyboard and a network card
connected to the internet it's insecure.
It doesn't even have to be c
Bastien Koert wrote:
1. Make sure you are freeing up all resources as soon as you can ->
mysql_close();
little thing I've done for some time that's stuck with; (php5+ only)
on all of my database connection classes, I have the db close function
in the destructor just to make sure
dbHandle))
Daniel Brown wrote:
On Fri, Jan 9, 2009 at 11:56, Nathan Rixham wrote:
a few years ago when I first met my rach (we met online), we'd have random
conversations stretching several pages on various forums and social site
profiles we had - i'd find it massively amusing to then go in
Tim Donnelly wrote:
Hello list,
I have a PHP (5.2.1) installation on an openSUSE 10.1 server. PHP was
initially compiled from source and I have the original config.nice file,
so I know what options were used. l need to add an extension to this
running installation, specifically I need to a
Gary wrote:
I've done a number of sites in html and am now venturing into php.
Can I create a page in html and insert php code that will work? (for
example, take an existing page and insert a date command)
if it has the file extension .php then it will be passed through php and
compiled; oth
Andrew Ballard wrote:
On Fri, Jan 9, 2009 at 12:35 PM, Daniel Brown wrote:
On Fri, Jan 9, 2009 at 12:34, Andrew Ballard wrote:
Now... you'd have really freaked out if that had actually worked! LOL
Hey, good point, Andrew.
Nate, you do know that was only pseudo-code, right? Don't run
Daniel Brown wrote:
On Fri, Jan 9, 2009 at 12:43, Nathan Rixham wrote:
actually i ran it in a debugger, in an ide, in a virtual machine :p
in Siberia.
scotland in winter; same thing really
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Jason Pruim wrote:
mysqli_stmt_prepare($stmt, "UPDATE database.table (
UPDATE database.table SET (
think that should fix it
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Gary wrote:
Ok, not yet...
If the file I want to test resides in My Documents\Sites\nameofsite, I set
my "Test server folder" in DW to map to here...correct?
Now down to URL prefix, I have tried
http://localhost
http://localhost/sitename
C:/xampp/apache,( which btw is the Site Root as describ
Gary wrote:
Ok, I believe I have it workingmeaning when I click on Live Data View, I
see the date appear in my datetest.php page
But Im still confused...
The succesful configuration (providing I am not suffering from premature
exhuberation) is
Testing server folder: c:\xampp\htdocs\barr
tedd wrote:
At 11:43 AM -0800 1/9/09, VamVan wrote:
Rule #1.
Never, ever, ever, alter the user's input, EXCEPT for
sanitizing/filtering.
Specifically, do NOT add tags in place of newlines.
Store the newlines.
100% I agree. Thats called the act of defensive programming. We have no
right over
tedd wrote:
At 2:19 AM +1100 1/11/09, Ross McKay wrote:
On Sat, 10 Jan 2009 09:58:24 -0500, tedd.sperling wrote:
Never store any html whatsoever in a database.
HTML is presentation and is NOT data.
Except when HTML is data, e.g. CMS. And it's better to let people input
that using something
Robert Cummings wrote:
On Sat, 2009-01-10 at 16:14 -0500, Daniel Brown wrote:
On Sat, Jan 10, 2009 at 16:06, Robert Cummings wrote:
Snowball hits sandcastle... promptly melts... washes sandcastle away.
*throws another snowball at you*
I've got LOTS more where they came from.
*danbrown cast
Daniel Brown wrote:
On Sat, Jan 10, 2009 at 16:21, Nathan Rixham wrote:
are you three flirting?
Are you jealous?
*throws snowball too* "shut p"
when in rome..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 but it's
harder than I thought (the difficulty is when it comes to deciding the
syntax).
so
Colin Guthrie wrote:
'Twas brillig, and Nathan Rixham at 10/01/09 23:31 did gyre and gimble:
all I need is a completely unique id for each object instance that can
never be repeated at any time, even in a multiserver environment (and
without using any kind of incremented value from a db
Ross McKay wrote:
Nathan Rixham wrote:
HTML is a markup language used to describe the structure of a document;
presentation of HTML is controlled by either a client, with optional
instructions via attributes (bad) or css (good)
I almost agree, except that there are attributes that
On Sat, Jan 10, 2009 at 4: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,
Ashley Sheridan wrote:
On Sun, 2009-01-11 at 10:16 -0500, tedd wrote:
At 3:02 PM + 1/11/09, Ashley Sheridan wrote:
On Sun, 2009-01-11 at 09:46 -0500, tedd wrote:
At 1:49 PM + 1/11/09, Ashley Sheridan wrote:
> >
>Unless it's something like this:
>
>echo "$whatever";
> >?>
>
Ashley Sheridan wrote:
On Sun, 2009-01-11 at 14:36 +, Ashley Sheridan wrote:
On Sun, 2009-01-11 at 08:59 -0500, MikeP wrote:
Hello,
I am trying yo get THIS:
where ref_id = '1234'
from this.
$where="where ref_id="."'$Reference[$x][ref_id]'";
but i certainly have a quote problem.
Any help?
301 - 400 of 2379 matches
Mail list logo