other than php.net/oop5.
Try,
Tente,
http://www.killerphp.com/tutorials/object-oriented-php/
Success!
Sucesso!
___
Francisco C Soares ( *Junior* )
403790c89847cdbe5a262146de8fb93139c4
BLOG dotjunior.blogspot.com <http://dotjunior.blogspot.com/>
The "name" and "id" attributes do not have to be the same.
Thank you, I thought it should be the same
You're probably thinking of:
http://www.w3.org/TR/html401/struct/links.html#h-12.2.3
"The id and name attributes share the same name space. This means that
they cannot both define an anchor w
How should I follow the HTML specification while having the passed
parameters automatically converted to arrays in PHP?
The "name" attribute, not the "id" attribute, is used as the key when
submitting form values.
The "name" and "id" attributes do not have to be the same.
Thank you, I thought
How should I follow the HTML specification while having the passed
parameters automatically converted to arrays in PHP?
The "name" attribute, not the "id" attribute, is used as the key when
submitting form values.
The "name" and "id" attributes do not have to be the same.
Thank you, I thought
Hi,
PHP converts x[a]=b parameter of the HTTP request as an array named x
with its item named a set to value b. So, it seems possible to have the
following (X)HTML code:
Unfortunatelly, HTML specification does not allow neither "[" nor "]"
inside the id attribute. Specifically:
* Must begin
> On 6 May 2010 10:55, Peter Lind wrote:
>
> You could parse the document with the DOM classes. Load as a
> DOMDocument, then grab what's needed with the relevant methods (you
> can use xpath to single out your divs with the right classes).
> http://dk2.php.net/domdocument
>
>
> Xpath is indeed th
Hi guys and girls,
okay, this is a dumbnut question I wouldn't bother asking but I really
did hit a spot now where I am totally wedged up in my head and can't think
straight anymore... so the, I bet easy, answer to my question escapes me.
What I am trying to do is the following:
Read the con
> -Original Message-
> From: Karl DeSaulniers [mailto:k...@designdrumm.com]
> Sent: Tuesday, April 06, 2010 10:39 AM
> To: na...@alienworkers.com
> Cc: php-general@lists.php.net
> Subject: [PHP] Re: imagecopyresize
>
> Sweet deal.
> Thanks Nadim. I think I got my script to work finally, bu
> -Original Message-
> From: Bob McConnell [mailto:r...@cbord.com]
> Sent: Wednesday, March 31, 2010 2:52 PM
> To: php-general@lists.php.net
> Subject: RE: [PHP] Audiobooks for Developers
>
> From: Auto-Deppe C. Hänsel
>
> > since I am driving 2 hrs e
>Have you consider getting an ebook (preferably PDF as Windows'
>Narrator, if you're using Windows, works really well with Acrobat) on
>the subject you're interested then use a TTS, like Windows' Narrator,
>and record it on your system as an alternative solution? Using this
>approach would be more
Good day all,
since I am driving 2 hrs each day listening to either my radio or the songs
on my USB drive, I was wondering whether there are some web dev related
audio books for download out there.
I have been searching the big G for this stuff, but haven't found anything.
Do you guys know of an
PLEASE, PLEASE, PLEASE - HELP ME GET OFF THIS LIST --- YOU PEOPLE ARE
DRIVING ME CRAZY1
Please unsubscribe: m...@honeyflowfarm.com,
wschn...@mail.honeyflowfarm.com or anyone else @honeyflowfarm.com or
wschn...@gm.com
PLEASE
At 08:32 AM 2/23/2010, you wrote:
Thanks Gaurav & Shawn,
I'll check into your suggestions.
Thanks,
c...@hosting4days.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eg":
case "jpg": $ctype="image/jpg"; break;
case "wav":
case "mp3": $ctype="application/iTunes"; break;
default: $ctype="application/force-download";
}
header("Pragma: public");
header("Expires: 0");
header
Jim Lucas wrote:
I would recommend http://www.rgraph.net/
It was written and is currently maintained by a member of this list.
Jim Lucas
Hi Jim,
rgraph looks cool... most demos I see show just a few points - do you
think this could display 500 points? (I'm looking through their docs now.
help - dave
Thanks,
c...@hosting4days.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
9 11:21:37 AM = not good for sql import
Q: any way to turn this auto reformat off in excel and keep it the
way I had it? (I saw nothing in pref's)
Thanks,
c...@hosting4days.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
& $col3 to the full contents of
each for each line (not just 1st char)?
'; // this shows the whole line ok
echo "c1 is $col1 and c2 is $col2 and c3 is $col3".''; // this
shows just 1st char of each field
}
?>
Thanks,
c...@hosting4days.com
-
On Sep 12, 2009, at 7:57 PM, kranthi wrote:
'; ?>
may b u should have
'; ?>
Thanks kranthi & HallMarc Websites
url= ... - that did the trick!
Thanks,
c...@hosting4days.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have many of these tags on a site...
They work well with all browsers i've tested - except explorer 8 (pc)
'; ?>
It just goes into an endless loop but stays on the original page -
never going to page2.php
Q: Any idea how to fix this?
Thanks,
c...@hosting4days.com
On Sep 12, 2009, at 3:47 PM, c...@hosting4days.com wrote:
I'm having a problem with mail body issue trying to use 'do while'
loop in the $mail_body var.
this line:
do { echo $row_get1['name'] } while ($row_get1 = mysql_fetch_assoc
($get1))
will show ok when i
headerfields
$fullto = $recipientname . " <" . $recipient . ">";
//$fullto = $recipientname . " <" . $recipient . ">".", ".$recip2;
ini_set('sendmail_from', 't...@test.com');
mail($fullto, $subject, $mail_body, $header); //mail command :)
?>
Thanks,
c...@hosting4days.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jul 21, 2009, at 6:17 PM, Jonathan Tapicer wrote:
That is javascript thing, not PHP.
The Yahoo UI has a nice one, here you have an example:
http://developer.yahoo.com/yui/examples/calendar/
calcontainer_clean.html,
and here the module reference:
http://developer.yahoo.com/yui/calendar/
J
newbie ...
- is there a calendar module for date fields?
- so that a small calendar pops up - then you can click on a date,
to add to a field - like google or yahoo calendars has...?
BTW: I saw this - but it doesn't seem to be the right thing ( more
meant for Converter issues) for what I'
On Thu, Jul 16, 2009 at 7:42 AM, David
Otton wrote:
>> If it's catchable, why isn't it caught in my example?
>
> It's not an exception, it's a "fatal error". Fatal errors are caught
> by error handling functions, not by catch blocks.
>
> Consequence of having (at least) two separate error handling
So, I've got a little piece of code designed to play with catching the
exception that's thrown when an object doesn't have a __toString
method.
This does not run as expected. I'd think that when the implicit string
conversion in the try block hits, the exception would be thrown,
caught by the ca
newbie question ... I have a MySQL table where I want to update
(renumber) the primary numeric key field.
- I successfully turned field off as a primary key index and UN auto
incremented it
- then created new sequential numbers for it
- then turned back on primary key index and re added auto
//optional
headerfields
$fullto = $recipientname . " <" . $recipient . ">";
ini_set('sendmail_from', 't...@test.com');
mail($fullto, $subject, $mail_body, $header); //mail command :)
?>
Thanks,
c...@hosting4days.com
Matt Neimeyer a écrit :
I'm at a complete loss... So I'm hoping someone can point me in the
right direction to even start looking.
We have an application written in PHP that lets users send out emails.
The basic process is as follows.
1. Go to "start" screen. (This resets anything currently in
Hi all,
I'm writting a little telnet client, but I've a problem with the socket_write
function
public function send($data){
$datalen = strlen($data);
$datawritten = 0;
do {
$datawritten = socket_write($this->_tnsock
On Thu, May 21, 2009 at 12:10 PM, tedd wrote:
> Could you be certain that your algorithm would figure out which way it needs
> to present the text to a blind person?
My own experience browsing the web with Lynx (which for the most part,
tends to ignore table layout, giving you the content of tabl
Is there a straightforward way (or, heck, any way) of placing mixed
html/text content into xpath-specified nodes using any of PHP's XML
tools?
So far, I've tried SimpleXML and the DOM and things aren't coming out well.
SimpleXML:
/* $filename contains path to valid XML file, $xpathxpr conta
On Thu, 2009-05-21 at 09:54 -0400, tedd wrote:
> My thoughts are -- my understanding the reason why tables have
> received such bad-press is that designers have abused tables in
> holding designs together with nested tables AND in doing so made it
> difficult for the visually disabled to pull conte
s for PHP would be cool.
Thanks
Michael C. Yates
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
dude, whatever
Daniel Brown wrote:
On Sat, Dec 27, 2008 at 18:40, Michael C. Yates wrote:
[snip!]
Micheal C. Yates
You mis-spelled your name, Michael.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey,
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP? And how
many architecture patterns are there?
Thanks
Micheal C. Yates
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On 11/22/2008 02:17 AM, Lars Torben Wilson wrote:
2008/11/21 Glen Carreras<[EMAIL PROTECTED]>:
On 11/22/2008 12:10 AM, Lars Torben Wilson wrote:
Hi Glen,
Works for me. IPv6 support was added in 2001. You didn't say what
version of PHP you are having this problem with, so it's hard to say
why
008 22:43:37] PHP Warning: gethostbyaddr()
[function.gethostbyaddr]:
Address is not in a.b.c.d form in C:\www\tests\saved\host.php on line 7
Google has not been my friend in this matter...
Any insight?
Thanks,
Glen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-:- -Original Message-
-:- From: Jochem Maas [mailto:[EMAIL PROTECTED]
-:- Sent: Thursday, August 28, 2008 1:46 PM
-:- To: [EMAIL PROTECTED]
-:- Cc: php-general@lists.php.net
-:- Subject: Re: [PHP] Manual Coding vs. CMS Systems
-:-
-:- Auto-Deppe, C. Haensel schreef:
-:- > Hi
Hi all!
And again, a slightly off topic subject for you all from yours truly :o)
I have a "customer" (helicopter company) who is willing to give me some free
flights for a small website.
Now, I have been talking to my sister in law who is a designer (note:
designer, not coder). She said I should
On Tue, Aug 19, 2008 at 9:43 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Is there a particular reason you are downgrading?
I'm pretty happy with some of the features in 5.3, but have been asked
to work with a codebase that turned out to have some issues under 5.3
that didn't show up under 5.2.x.
I recently downgraded from a build of 5.3 to 5.2.6 on OS X, and had a
bit of time figuring out what was going on when "make install" didn't
seem to actually copy the CLI binary and Apache SO to their target
spots.
Has anyone else seen this problem?
What category would a bug report for this be und
Is the a way to have an array, or use __get() to provide different data
if you are echoing a variable, rather than if you are using it in a 'if'
statement?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is it possible because you can assign $func = foo and call $func() and it
will call foo(), maybe that its creating an endless loop of assigning the
function to itself?
On Sun, Aug 3, 2008 at 11:17 AM, brian <[EMAIL PROTECTED]> wrote:
> Waynn Lue wrote:
>
>> I've been running the script below:
>>
Somehow .. I feel this isn't PHP Related.
On Sat, Aug 2, 2008 at 11:08 AM, Robert Cummings <[EMAIL PROTECTED]>wrote:
> On Sat, 2008-08-02 at 14:01 -0400, Daniel Brown wrote:
> > On Sat, Aug 2, 2008 at 1:58 PM, Robert Cummings <[EMAIL PROTECTED]>
> wrote:
> > >
> > > Sorry, I hired a profession fo
I just switched over an app from PHP 4 to PHP 5, and one of the weird
things I'm noticing initially is that some of the html output seems to
be html entitized. For example, a link that was showing up in html
output as:
"http://metaphilm.com/philm.php?id=29_0_2_0";>Is Tyler Durden
Hobbes?"
now ge
Just curious if anyone knows the rough timeline for PHP 5.3.
Also curious if anyone knows whether anon functions/closures or a
shorter JSON-ish array syntax are being considered for inclusion. I
know there were two patches announced in December/January:
http://marc.info/?l=php-internals&m=1198336
On Thu, May 29, 2008 at 7:11 PM, Chris <[EMAIL PROTECTED]> wrote:
> See http://www.php.net/dl (though a lot of hosts disable this
> functionality for security reasons).
Fortunately, I'll have full control of the hosting environment in the
context this matters. :)
dl is definitely interesting, bu
This might be a dumb question with an obvious answer somewhere, but
I'm wondering if it's possible to build php extensions as shared
objects that plug into the PHP binary much like an apache shared
module plugs into apache.
Is PECL close to this?
Sorry if this is obvious. Searches on the topic a
In a setup like you've got with a SimpleXML object, where object
properties aren't necessarily declared in the class definition but are
added on an ad hoc basis, is there any performance hit?
If not, other than the ability to mark properties as private, is there
any other particular advantage to d
Hi guys and girls
I have followed this group for quite some time now and have seen some great
tipps and tricks concerning PHP and its surroundings.
I have gotten hold of a very nice domain name ( phpstop.com ) and have
thought of something nice I could do with it. Now, my idea is to start an
E-du
Resetting all session variables or one of those session vars ?
If you need to reset all then use *session_destroy() *function.
Hope it helps..
Regards,
Feris
http://top-10.bigspacehosting.com
On Feb 4, 2008 1:14 AM, Ron Piggott <[EMAIL PROTECTED]> wrote:
> What is the command to reset a sessi
Yes you can.
Just mirror the additional domains and in your PHP app check the
$_SERVER["HTTP_HOST"] variable.
Hope this helps !
Regards,
Feris
http://top-10.bigspacehosting.com
On Feb 3, 2008 2:20 PM, jeffry s <[EMAIL PROTECTED]> wrote:
> i am wondering whether this can be done. i know it ca
Rob you know .. when I went looking into ruby .. rails only turned me away
from it more then wanted me to use it ..
I'm not so big on the MVC setup's .. :-\
---
Anton C. Swartz IV
Phoenix Edge Network L.L.C. http://www.phpopenid.com - Owner
PHPLogic Development Services http://www.ph
Could you Specifiy which error messages you were getting?
---
Anton C. Swartz IV
Phoenix Edge Network L.L.C. http://www.phpopenid.com - Owner
PHPLogic Development Services http://www.phplogic.net - Co-Owner
Necrogami http://www.necrogami.com - Personal Blog
Based in Indianapolis, IN
&quo
code I've experienced yet
Just my 2 cents
---
Anton C. Swartz IV
Phoenix Edge Network L.L.C. http://www.phpopenid.com - Owner
PHPLogic Development Services http://www.phplogic.net - Co-Owner
Necrogami http://www.necrogami.com - Personal Blog
Based in Indianapolis, IN
"The Opposite of war
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.10.1/889 - Release Date: 7/6/2007 8:00 PM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello, I just finished making a PHP contact form for my webite, and I can
run through the whole thing, and get no errors, but it doesnt email me the
form contents.
*Here is th actual form page:*
Contact
Me
Please
!
This is Christian Haensel live from Extertal, Germany. Back to you.
-:oD)=
----- Original Message -
From: "Tijnema" <[EMAIL PROTECTED]>
To: "Chris" <[EMAIL PROTECTED]>
Cc: "Auto-Deppe, C. Haensel" <[EMAIL PROTECTED]>;
Sent: Friday, June
Morning guys,
I have been trying to find an easy to use way to zip an archive on a linux
box running PHP5. Now I've tried the zip-lib.php and others, but they always
throw an error msg But that is not the question.
I am looking to use exec("zip archive.zip $directory"); $directory has been
On a *nix-box it's fairly simple when using cronjobs... maybe try that?
- Original Message -
From: "Bosky, Dave" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 30, 2007 2:14 PM
Subject: [PHP] scheduling a script to check a directory for files
Greetings!
I need to write a script to i
I am honestly surprised by your lack of understanding. Trying to get a
freelancer by pissing them off may not really be the smartest thing to do.
;o)
- Original Message -
From: "Brad Sumrall" <[EMAIL PROTECTED]>
To: "'Chris'" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, May 15, 2007 8:16
Yes, you are.
Better get some sleep and drink less coffee ;o)
Chris
- Original Message -
From: "Brad Sumrall" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, May 15, 2007 7:39 AM
Subject: [PHP] RE: Bounty
Does anyone want to answer the ad, or am I just going to be chasing
knuckle
heads?
Brad,
I am pretty new to this mailing list thing, but even I would NEVER do stuff
like that. Even though I would bet my behind that at least 90% of us
PHP-Coders are men and women of honour, you should never post username &
pass like that... Oh wait... maybe your root pass for the server :oP
Hi All,
I've read my mail through php://stdin and then decode email message
using MIME package. How can I change the "To" header field and then
reconstruct and send it again through sendmail ?
Regards,
Feris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
nevermind, I made it :o) RTFM sometimes works even for me :O))
Have a great day :o)
Chris
- Original Message -
From: "Christian Haensel" <[EMAIL PROTECTED]>
To:
Sent: Monday, April 30, 2007 7:47 AM
Subject: [PHP] PHP & MySQL -> Field Title
Good Morning guys and girls
As I am rath
Hey Rob,
even though I have never worked with that feature (nor have I even read
about it), your explanation made the usage of unset() very clear, even to
me... the german coder *g*
That's gonna go into my printed code folder :o) Thanks for the explanation!
Chris
- Original Message
On 4/19/07, Edward Vermillion <[EMAIL PROTECTED]> wrote:
Fedora, and I'm assuming RedHat and possibly others that use their
system layout, will put the loading line in /etc/httpd/conf.d/
php.conf so yes it can be in an external configuration file.
That's the exact location, and it's a shared o
On 4/19/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Thu, April 19, 2007 4:08 pm, Weston C wrote:
> What ways are there to tell if PHP is actually built into an Apache 2
> installation or if it's installed as a shared object?
>
> phpinfo() / Server API value .. just
What ways are there to tell if PHP is actually built into an Apache 2
installation or if it's installed as a shared object?
I've dropped a file containing phpinfo() on the server I'm looking at,
hoping the Server API value would give me a clue, but it just says
"Apache 2.0 Filter," and I don't kn
hi everyone!
i'd like to ask something maybe commonly asked here. what is the most
powerful php editor?
I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS
X. When I invoke configure, I get the following error message:
"checking whether to enable embedded MySQLi support... no
mysql_config not found
configure: error: Please reinstall the mysql distribution"
Now, mysql (4.1.22) is
Gotta a question whose answer should be really obvious to me but, for
some reason, is just eluding me.
Which encodings can PHP handle for source files? I've been using
iso-8859-1 but what about utf-8?
Thanks,
C Drozdowski
--
PHP General Mailing List (http://www.php.net/)
To unsubs
The PHPEditIni PHP script now supports Linux/Unix. Use this script to edit
your PHP.INI files in a browser based GUI. Visit http://phpeditini.net .
--
The PHP EditIni Project
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Barry" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jeremy C O'Connor schrieb:
> > The new browser based editor of PHP.INI files on Windows, phpEditIni,
has
> > moved to a new site: http://phpeditini.net Download it today!
> >
&
The new browser based editor of PHP.INI files on Windows, phpEditIni, has
moved to a new site: http://phpeditini.net Download it today!
--
info at phpeditini dot net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
phpEditIni project.
That is to say PHP.INI, not WIN.INI
--
net07350
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
This is an announcement of a new browser based editor for the
C:\WINDOWS\PHP.INI file. It lets you uncomment or comment lines by clicking
a checkbox, and alter the values of configuration settings. You can also
insert, edit and delete lines. It is in the Beta stage of release, so please
let me
Hi All,
My PHP engine still cannot load JPEG library (GD) and Freetype fonts...
I use ./config.nice to reconfigure PHP coz it works... and I have compile it
with --jpeg-dir options. And seems not working at all.
How can I troubleshoot and resolve these problems ?
Regards,
Feris
Hi All,
I've tried to compile and install PHP with gd and freetype library enabled,
and all PNG and GIF library are loaded. But somehow, JPEG and Freetype still
not recognized. I installed Freetype 2.0.
Anyone facing these problems before ??? How can I resolved these ?
Regards,
Feris
Hi All,
If I already install my Apache on linux system, then is it possible to check
what configuration settings I provided when compiling the source ??
Regards,
Feris
Hi All,
I'm using Fedora Core 4 (kernell 2.6.11-1.1369_FC4) and having problem when
installing Apache + PHP... the configuration that I'm using :
1. Apache 2.0.54
./configure --prefix=/usr/local/apache2 --enable-so
make
make install
2. PHP 4.3.1
./configure --with-apxs2=/usr/local/apache2/bin/ap
I have been studying PHP all summer because I wanted to put some PHP
code on my schools web site. I got to school and went to the web design
teacher. I asked him if they had installed PHP on their server. He said
that the district thinks that it would be a HUGE security risk and that
people at
Greetings,
I'm hoping to visit the Stuttgart area* for one week ~ ten days
commencing c.Friday 19 August, to visit my brother-in-law and take a
short vacation.
If there are any PHP-related gatherings or activities I would be
interested to meet up (last time I tried, I missed out by one week.
On Sat, 2005-07-09 at 02:04 -0700, Rasmus Lerdorf wrote:
> Raymond C. Rodgers wrote:
> > I'm trying to write an error handler in PHP to try to avoid sending the
> > browser a 404 error message. Basically, if someone
> > requests /whatever.html on the server and it d
I'm trying to write an error handler in PHP to try to avoid sending the
browser a 404 error message. Basically, if someone
requests /whatever.html on the server and it doesn't exist, my 404 error
handler checks to see if /whatever.php exists, if so, it then includes
that file.
That part works fine
Ryan Grange wrote:
Gary C. New wrote:
Is there a quick and dirty way to include, file, or fsockopen content
from a remote server and make it appear as though the request was
straight from the browser's remote address?
Thank you for your assistance.
Respectfully,
Gary
I believ
I am trying to compile phpcap-0.2e with php-4.2.3 and get the following
configure error:
./configure: line 52860: syntax error near unexpected token
`PHP_NEW_EXTENSION(phpcap,'
./configure: line 52860: ` PHP_NEW_EXTENSION(phpcap, phpcap.c,
$ext_shared)'
The phpcap INSTALL file show php-4.3.
Is there a quick and dirty way to include, file, or fsockopen content
from a remote server and make it appear as though the request was
straight from the browser's remote address?
Thank you for your assistance.
Respectfully,
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
I'm using Exceptions and variously handling them in try..catch blocks
or defaulting to my set_exception_handler handler.
When I create an Exception I'd like to prepend the class of the
Exception to the message. Can this be done with code or do I have to
hard code the name of the Exception class
I need to be able to store UTF-8 characters from a form into a MySQL
table. But I need to support pre-UTF-8 MySQL (< 4.1).
So I'm converting UTF-8 characters into their numeric entities (e.g. ñ
= ñ).
The problem is that if the user enters a character that gets converted
to an entity, the strin
user from making some
huge request then going away for a couple of days.
I don't want to restrict the requests of a user however how can I stop them
from monopolizing the server?
thanks!
"Chris W. Parker" <[EMAIL PROTECTED]> wrote:
newbie c
on Tuesday, April 05, 2005 11
Hi,
I would appreciate help on the following.
I have been looking up ways to implement a cancel button with php. Basically, I
have a mypictures.php file. There are select statements, grep statements, and
a call to executables. I don't understand why there isn't that much around
about this c
d to the main area , using the header function.
You can't. Not using header() at least. header() happens on the
server, targeting a frame happens in the client.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Howdy,
I'd like to access some of the private members of my classes as
read-only properties without resorting to function calls to access
them. (e.g. $testClass->privateMember instead of
$testClass->privateMember(), etc)
Based on my research and testing, using the __get and __set overloading
m
I know I sure appreciate reading any discussions on OOP issues, as they
are something I just cannot seem to grasp.
Thanks!
Martin Austin
Brent Baisley <[EMAIL PROTECTED]>
04/04/2005 08:44 AM
To: DuSTiN KRySaK <[EMAIL PROTECTED]>
cc: PHP
Subject:Re:
I'd like to be able to "timeout" a user if they are inactive for X
minutes. Say, if they walk away from the browser leaving sensivive data
in plain view.
Is there any reason that using the header() function as below wouldn't
be a reliable way to do this (albeit user-unfriendly)? It "works for
>>> xfedex wrote:
Welli have a 30k script, with double i get 8 or 9 seconds, with
sigle i get 0.05 or 0.08 seconds. The script basically made a lot of
querys, its part of a user manager module of a system im writing.
<<<
Could the speed have more to do with whatever database server you are
us
I agree with this solution, though it only effects the OP if he is using a
login system of sorts.
Martin Austin
"Mikey" <[EMAIL PROTECTED]>
03/30/2005 12:39 PM
Please respond to frak
To:
cc:
Subject:RE: Re[6]: [PHP] asking comment
How about a filenam
Or you could simply test the $color variable to see its contents, and
change it if it's what you expected:
$color = "#FF";
if($color = "#FF") {
$color = "#00";
//output
} else {
$color = "#FF";
}
There may be something inherently wrong in this approach, but it has
always w
1 - 100 of 504 matches
Mail list logo