that the programmer isn't seeing for whatever reason. Does
anyone see anything obviously wrong in the code below?
I've obscured the actual server domain name, login, passwords, and some
path statements. Watch for line wraps.
Reese
--
?php
//
//login script, invoked by all premium content pages via GET
Web Design Company wrote:
Someone?
Me31!1!1ONE
Please, if you do not need amplifying information or if you do
not intend to pose a suggestion, it is better to remain silent.
I wasn't helped by your Someone? post, no one else was either.
Reese
--
PHP General Mailing List (http
Daniel Brown wrote:
[snip=all]
Reese,
While I noticed several areas for improvement in the code (such as
being sure to exit; after calling header(Location: ); ), two
things primarily come to mind:
Do you expect the value of $key in this condition to be a literal zero
)) and you were right, the parse error
went away. This change seems to have no effect on access code logins
(I'm able to log in, as expected) or IP-authenticated logins (I still
cannot log in, even though my IP is in the MySQL db).
Reese
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
to run into
problems and if so what is the best way to globally pass resources to multiple
classes and
functions, command line scripts etc?
Cheers
Charlie Reese
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Brown wrote:
On Jan 15, 2008 6:42 PM, Jochem Maas [EMAIL PROTECTED] wrote:
funny that, I usually use 'exit;' for a clean exit and 'die();' to signify
a shitty exit ... although they are actually indentical functionally - just
my idiosyncrasity ... that said I also so stuff like
a programmer have to complete this sort
of task in those sorts of time frames.
Reese
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
javasac wrote:
snip
Where is the PHP? There's nothing between ?php and ? tags. Nothing
between PHP short tags ( ? and ? ), either.
Reese
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Reese
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
That works, but shuffle() is cleaner and then you can echo things
out with a foreach() expression.
http://www.php.net/manual/en/function.shuffle.php
Reese
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to a certain
size, doing that will be a problem.
Inside the loop? I envisioned shuffling the array, then launching
the loop. Probably it is possible to avoid but if shuffle fires
inside the loop, reshuffling seems like it would be an issue.
Reese
--
PHP General Mailing List (http
for mail().
Reese
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
was mentioned earlier, it has 31 open
bugs (and someone noted that at least one was closed as resolved
even though it wasn't actually fixed).
So how many addresses can mail() safely handle?
Reese
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in the face
but I didn't find a resolution that was ISO-8859-1 or UTF-8 compatible.
Bringing it back around, thank you Tedd for the suggestion of going
through the .docs and writing examples of each function. Brilliant!
Reese
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Tom Worster wrote:
On 4/28/09 4:05 PM, Reese howel...@inkworkswell.com wrote:
Granted, this isn't a PHP question but I'm curious, how does UTF-8 solve
this display issue?
if we're talking about web browsers, they are quite good at automatically
choosing fonts that can display the unicode
. What I'd like to know
is, why empty() still exists when every time I turn around, the
mentors I turn to locally tell me not to use it, to use isset()
instead. Because empty() doesn't work with zero. Anyone care to take
a stab at that?
Reese
--
PHP General Mailing List (http://www.php.net
?
Perhaps. I think Chris said it best, they serve difference purposes.
It's been my observation though, they can generally be interchanged
with minor changes to syntax. Unless working with zero.
Reese
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
the other guys said. Gary, before you do anything with
submitted data you need to process it against strip_tags() and/or
htmlentities() at the very least, mysql_real_escape_string() if
the data goes to a db.
Reese
--
On 6/18/09, Gary gwp...@ptd.net wrote:
I have a form that gives the submitter
Paul M Foster wrote:
On Sat, Jul 11, 2009 at 08:14:35AM -0700, PHPScriptor wrote:
Ok this may look like spam but what the hell...
I'm the owner of phpscriptor.com, I had bigg plans with this domainname
but... well yes, no time. So I'm selling it. I don't want to make profit out
of it. So for,
19 matches
Mail list logo