ual syntax coloring and project management).
But before I try that, are there any suggestions from all you experts out there?
Thanks,
- Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;July', '8' => 'August',
> '9' => 'September', '10' => 'October', '11' => 'November', '12' =>
> 'December');
>
> $current_month = DATE("n");
>
> e
squid')
> echo "Squid UP"
> ?>
>
> but, don't work from web browser.
>
> What is wrong
>
> Thanks,
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On May 3, 2008, at 4:46 PM, Jack Bates <[EMAIL PROTECTED]> wrote:
I am trying to load PHP objects stored in a database, where the class
name is stored in a column:
$object = new $resultSet->getString(1);
This fails for the same reason that the following fails:
className();
Fatal error: Clas
/www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
$q = "This is the string that will go into the query: " .
mysql_real_escape_string($_GET['searchstring']);
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Apr 25, 2008, at 6:12 AM, jamest <[EMAIL PROTECTED]> wrote:
I am passing an array to a class which I want to take the array data
and
create some variables from the array's keys and values.
So I want to create (in this case 21) new variables that I want to
create in
the foreach but wit
these two..
>
> $x = 0;
> while ($x < 1000) {
> echo "1";
> $x++;
> sleep(1);
> }
>
> $y = 0;
> while ($y < 100) {
> echo "2";
> $y++;
> sleep(10);
> }
>
> but at the same time so it would output something like
>
ghtly easier to write, but the
> con is that it's harder to read.
>
> Thanks!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
According to this
(http://us2.php.net/manual/en/function.var-export.php#
On Apr 12, 2008, at 12:13 PM, Al <[EMAIL PROTECTED]> wrote:
I need a simple utility that simulates GREP to find a certain string
in any php files on my website.
Site is on a shared host w/o shell access so I can't run GREP.
I can write a PHP scrip to do it; but, this is a one time thing and
On Sat, Apr 12, 2008 at 9:35 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
>
> On Sat, Apr 12, 2008 at 12:18 PM, Casey <[EMAIL PROTECTED]> wrote:
>
>
> >
> >
> >
> > On Sat, Apr 12, 2008 at 9:12 AM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
&g
'f', 'b' => 'g', 'c' => 'h', 'd' => 'i', 'e' => 'j');
}
echo ${!${!1}=ReturnArray()}['a']; // 'f'
?>
:)
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ago.
> --
> ---
> http://sperling.com http://ancientstones.com http://earthstones.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I won. Finally figured out the secret, without $5 >_>
ething new everyday!
>
> Some programming books, such as guides to Windows source code,
> have pictures.
>
> http://www.pilotpig.net/images/winsource.jpg
ROFL.
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; brainstorming... it's readable by the user running apache, right? And
> even if it weren't, that should have thrown an error *shrugs*
>
> That's all I can think of. I hope it is of some use to you.
>
>
>
>
>
>
You should try:
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;
> I realize SQL does all this and more, but that seems like overkill for
> something this simple?
>
> --
> We're just a Bunch Of Regular Guys, a collective group that's trying
> to understand and assimilate technology. We feel that resistance to
> new ideas and
and technology is unwise and ultimately futile.
>
Something like this?
array(
'type' => 'fruit',
'color' => 'red'
),
'ruby' => array(
'type' => 'gem',
'color' => 'red'
)
);
// Search for all red objects.
$red = array();
foreach ($objects as $name => $object) {
if ($object['type'] == 'red')
$red[] = $name;
}
?>
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nclude path is: include_path = ".;.\includes;.\pear" (I've
> also tried include_path = ".;./includes;./pear")
>phpinfo() works fine.
>
> Anyone have any ideas?
>
> Thanks!
>
> Noah
>
>
Is that include() statement being issued within an included PHP page?
a.php
directory/b.php
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Apr 5, 2008, at 6:23 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
On Apr 5, 2008, at 1:48 AM, Robert Cummings wrote:
On Fri, 2008-04-04 at 22:39 -0700, Jim Lucas wrote:
Robert Cummings wrote:
\n" ?>
Some changes take effect with the PostTrack metrics
\n" ?>
system with this week (will s
es this convert to null to NULL?
null is case-insensitive, so it doesn't matter how you type it.
> [1]=>
> NULL
> }
var_dump converts null into the string "NULL".
>
> Can you tell me why the above difference?
>
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Mar 30, 2008 at 10:06 PM, Micky Hulse <[EMAIL PROTECTED]> wrote:
> Casey wrote:
> > Hmmm. I've searched around, and it seems that only a global would work :/
>
> Thanks for the help Casey! I really appreciate it. :)
>
> Yah, I think I will use a global fo
On Sun, Mar 30, 2008 at 9:37 PM, Micky Hulse <[EMAIL PROTECTED]> wrote:
> Casey wrote:
> > preg_replace_callback($f, 'mah_processTags(\'$0\', $arg1)', $text);
> > Does this work?
>
> Awww, does not seem to work. :(
>
> But maybe I need to
ch: <http://browsehappy.com/>
> BCC?: <http://snipurl.com/w6f8>
> My: <http://del.icio.us/mhulse>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> archives and did not find anything useful. (They tended to tell me to
> put in \n or !)
>
> Thanks
>
> Mary Anderson
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
\n, or just a plai
On Mar 29, 2008, at 4:16 PM, Adam Jacob Muller <[EMAIL PROTECTED]>
wrote:
Hi,
Have a potentially interesting question here, wondering if anyone
has done this one before and could shed some light for me.
I have a bit of PHP code that needs to extract some quoted strings,
so, very simply:
"
On Mar 28, 2008, at 7:38 PM, Lamonte <[EMAIL PROTECTED]> wrote:
Casey wrote:
I have an annoying habit of not using comments :)
Explanations are inline.
On Mar 28, 2008, at 7:10 PM, Lamonte <[EMAIL PROTECTED]> wrote:
Casey wrote:
On Mar 28, 2008, at 4:27 PM, Lamonte <[
On Mar 28, 2008, at 7:15 PM, "Jack Sasportas" <[EMAIL PROTECTED]
> wrote:
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2008 10:02 PM
To: Joey
Cc: PHP
Subject: RE: [PHP] munge / obfuscate ?
Hi Joey,
Please keep responses on the list so ot
I have an annoying habit of not using comments :)
Explanations are inline.
On Mar 28, 2008, at 7:10 PM, Lamonte <[EMAIL PROTECTED]> wrote:
Casey wrote:
On Mar 28, 2008, at 4:27 PM, Lamonte <[EMAIL PROTECTED]> wrote:
Okay I created a script that changes a basic smiley face
On Mar 28, 2008, at 4:27 PM, Lamonte <[EMAIL PROTECTED]> wrote:
Okay I created a script that changes a basic smiley face into a red
smiley face..but it doesn't replace all the yellow, it looks like a
yellow shadow in the background:
$color = imagecolorallocate($im,hexdec(substr($hex,0,2)),h
e?
> >
> > what i mean is instead of $arr['fruit'] i want to call
> > it by its position in the array $arr[3]
>
> Did you try?
>
> --
>
> Forensic Services, Senior Unix Engineer
> 1+ (570-) 362-0283
>
>
>
$numbered_array = arr
efore into integer thanks
> ctype_digit((int)mystring), but it does not work.
>
> so how can i solve this issue ?
>
> thx
>
> --
> Alain
>
> Windows XP SP2
> PostgreSQL 8.2.4 / MS SQL server 2005
> Apache 2.2.4
>
On Mar 25, 2008, at 7:12 PM, "Andrew Ballard" <[EMAIL PROTECTED]>
wrote:
On Tue, Mar 25, 2008 at 9:59 PM, Mark Weaver <[EMAIL PROTECTED]>
wrote:
Thank you Andrew... Now it all makes perfect sense. Good grief!
there's
so much to learn. It seems that Java was easier. ;)
That's not specific
On Mar 25, 2008, at 6:11 PM, Mark Weaver <[EMAIL PROTECTED]> wrote:
Hi all,
I suspect I already know part of the answer to this, but I'm not
sure which way to go with it. I've got a project I'm working on and
one of the things it's got to do is set cookies and then read them
later. When t
words 1 days
worth of seconds)
$factor = 86400;
$difference = (($date1 - $date2) / $factor);
As Casey suggested, it is a timestamp issue.
Checkout my test script.
http://www.cmsws.com/examples/php/testscripts/[EMAIL PROTECTED]/0001.php
#86400 is 60 seconds x 60 minutes x 24 hours (in othe
On Mon, Mar 24, 2008 at 8:09 PM, Mark Weaver <[EMAIL PROTECTED]> wrote:
>
> Casey wrote:
> > On Mon, Mar 24, 2008 at 7:28 PM, Sudhakar <[EMAIL PROTECTED]> wrote:
> >> i need to connect to the linux server using an editor. can anyone suggest
> >> which
er details
> i would need to connect to the server.
>
> please advice.
>
> thanks.
>
Putty!
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> $date2 = strtotime($date2); (December 18th 2007)
>
> echo $date1 => 1206072000
> echo $date2 => 1197954000
Seems to be a time zone issue.1206057600 is the actual timestamp for
March 21st, 2008 GMT. I don't know what time zone 1206072000 is is.
--
-Casey
--
PHP G
t/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
You could use set_error_handler() and make your own function to echo
out the error.
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eliable way of
> detcting and removing \u chars from strings?
>
> regards,
>
> Mikey
>
> --
How about:
$str = str_replace("\0", '', $str);
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d/or XML files.
Your thoughts?
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
> Free pop3 email with a spam filter.
> http://www.bluebottle.com/tag/5
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Maybe the entity "�" works?
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anyone understands what I am after,and could help, that would be awesome!
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
HTML
PHP color.php
list($coords) = array_keys($_GET);
$coords = explode(',', $coords); // E
On Thu, Feb 28, 2008 at 8:42 PM, Casey <[EMAIL PROTECTED]> wrote:
>
> On Thu, Feb 28, 2008 at 8:38 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote:
> >
> > Robert Cummings wrote:
> > > On Thu, 2008-02-28 at 23:27 -0500, Robert Cummings wrote:
> >
ually
> >>>> do.
> >>>>
> >>>> Cheers,
> >>>> Rob.
> >>> scratch the former!
> >>>
> >>> FIXED>>
> >>>
> >>> echo !(${~${''}='sillyFunc'}=${''
elley
>
...What is wrong with strrev()? Am I missing something important here?
Some multibyte character issue?
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
provides an extremely flexible architecture for |
> | creating re-usable components quickly and easily. |
> `----'
>
>
>
http://us.php.net/manual/en/function.php-check-syntax.php
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
don't need the shebang line. But if I'm correct
and the shebang line is:
#!/usr/bin/php
, shouldn't it be considered a comment, because of the "#"?
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>
The "a" character (97) is different from the "א" character (1488).
$a = html_entity_decode('א');
$test=preg_replace('/\b([^\s]+)' . $a . '\b.*/U', '$1A', $test);
Will this work?
--
-Casey
TR/css3-box/]
>
> 3 Make a project website in plain XHTML with CSS
>
> 4 ECMAScript (javascript)
> Make your static website do a couple of nice things with some javascript.
>
> you can't expect to program anything we related if you can't format the
> output!
>
Oddly, I learned JavaScript and PHP before truly learning XHTML.
By the way, I really hate tags, so learn XHTML! Also, if you're
learning JavaScript, please learn W3C DOM, and not the
document.write(Ugliness). :)
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
never knew that. Is there some kind of
free online test to determine my [self-taught] PHP knowledge? :D
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HP to
ASP.NET". It describes the differences between the two.
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 22, 2008, at 6:19 PM, K T Ligesh <[EMAIL PROTECTED]> wrote:
Hello,
I have a php process running on lighty that should continue even if
the user presses cancel in his browser. The default behavior is that
the web-server will kill the cgi process on user cancellation. Is
there some
On Thu, Feb 21, 2008 at 8:59 PM, Casey <[EMAIL PROTECTED]> wrote:
>
> On Thu, Feb 21, 2008 at 8:53 PM, nihilism machine
> <[EMAIL PROTECTED]> wrote:
> > What is a better idea? Using this class in my db class and using
> > CleanInput on the sql statements,
ine work?:
foreach($_POST as $curPostKey => $curPostVal) {
$_POST[$curPostKey] =
$this->CleanInput($curPostVal);
}
If I recall correctly, you can't modify the array within a foreach
block... or am I going crazy?
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y => $val){
> echo $host . "" . " ";
> (...)"
>
> But this way, all it echoes is the $host variable.
>
> What am I missing here ?
>
> Any help would be appreciated.
>
> Warm Regards,
> Mário Gamito
>
Not the problem, but:
echo "" . " ";
can be condensed to:
echo " ";
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 20, 2008, at 1:29 PM, "Yuval Schwartz"
<[EMAIL PROTECTED]> wrote:
Hello and thank you,
Another question, I get a message:
*Warning*: feof(): supplied argument is not a valid stream resource
in *
/home/content/t/h/e/theyuv/html/MessageBoard.php* on line *52*
**
And I've tried troubl
bytes in the header portion of a zip...
>
> So take an un-protected zip, and password-protect it, and then do a
> "diff" and see what changed.
>
> Then take that "diff" output, and just paste it in as the front of the
> other zip files...
>
> Might work.
>
&
-
> no installation, no maintenance, new features automatic and free
>
Why not just translate it to C#?
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 5, 2008, at 10:43 AM, "Eric Butera" <[EMAIL PROTECTED]>
wrote:
On Feb 5, 2008 1:40 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
On Feb 5, 2008 1:36 PM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:
hi all,
i have this php statement:
debugging, i got $rowA[0] = 54, but i want $rowB[$rowA
On Feb 3, 2008 9:04 PM, LKSunny <[EMAIL PROTECTED]> wrote:
> this i know.
> but i need use preg_replace.
>
> any body can help me, thank you very much !!
>
> "Casey" <[EMAIL PROTECTED]>
> ???:[EMAIL PROTECTED]
>
> > On Feb 3, 2
On Feb 3, 2008, at 5:00 PM, "LKSunny" <[EMAIL PROTECTED]> wrote:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
list(, $result) = explode("\r\n\r\n", $string, 2);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Feb 3, 2008 10:44 AM, Alain Roger <[EMAIL PROTECTED]> wrote:
> this is right under actionscript 2.0... i'm working under actionscript 3.0
> :-)
>
>
>
> On Feb 3, 2008 7:28 PM, Casey <[EMAIL PROTECTED]> wrote:
>
> > On Feb 3, 2008, at 12:23
>
>
> /Per Jessen, Zürich
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
unset($_SESSION);
or
$_SESSION = array();
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eport
> from Dan:)
>
> Jim
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
You could set up Gmail's filters.
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 3, 2008, at 12:23 AM, "Alain Roger" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i would like to have a flash menu in my PHP website.
> this is no problem.
>
> My problem is how to exchange data between PHP andFlash (in both
> direction).
> i found a lot of posts on this theme, but nothing with rea
On Feb 1, 2008, at 5:45 PM, szalinski <[EMAIL PROTECTED]> wrote:
On Thu, 31 Jan 2008 07:13:55 -, Per Jessen <[EMAIL PROTECTED]>
wrote:
Richard Lynch wrote:
Your script is reading the whole file, 64 measly bytes at a time,
into
a monstrous string $tmp.
Then, finally, when you've load
y keep the
> > object around in a variable.
>
> I thought that's what I said. maybe less clearly :-)
>
>
> >
I don't think constructors return the object:
bar = $bar;
}
}
$x = new foo("...");
var_dump($x->__construct("")); # NULL
?>
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i need to know what the tmp-filename is.
>
> or do you think this is a completely useless approach?
>
> lg, Michi
>
Will this help?
http://tomas.epineer.se/archives/3
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jan 22, 2008, at 5:01 PM, nihilism machine
<[EMAIL PROTECTED]> wrote:
any ideas why this does not work?
class upload {
function upload() {
upload::uploader();
}
function uploader() {
$FileName = basename($_FILES['upload1']['name']);
if (move_uploaded_file($
d asked about embedding in
> the name
> attribute of a input tag of type submit.
> everybody was going on about how to handle it on the server side and i was
> like, just
> end it w/ a little css. so yeah, i def agree.
>
> -nathan
>
Just add a simple index.php to every
eral Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some indie artist.
> http://cdbaby.com/from/lynch
> Yeah, I get a buck. So?
>
>
I *think* you want:
return $this->var == $$preDefinedStringToTestWith;
http://us.php.net/language.variables.variable
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o along and punch one of the promoters :D
>
> Don't miss this opportunity to see him. Please go to the Richfield Chalet's
> website (www.richfieldchalet.com/events.php) for more information, or
> contact the venue at 262-628-4080. Tickets are $20. Print this email ou
-|- Dec:MDAwMzEwMDI0NDA0MTMyOQ== -|- Nope
>
> Wrong: 5/5
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
It returns the correct value. If you look at the last example, and run
base64_decode on "MDAwMzEwMDI0NDA0MTMyOQ==", you will get
"0003100244041329".
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jan 15, 2008, at 4:54 PM, "Ken Kixmoeller -- reply to [EMAIL PROTECTED]
" <[EMAIL PROTECTED]> wrote:
Hey --- - -
I am in the process of upgrading the encryption technology I am
using from (64 bit) blowfish to (256 bit) rijndael.
The code (and some explanations) is below, but the results
Thanks,
Arlen.
I've run into this problem. (It works in Javascript >.>)
While I don't know why, you could store it in a temporary variable or
use the list() language construct.
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jan 8, 2008, at 5:45 PM, steve <[EMAIL PROTECTED]> wrote:
I have a dir of html files that link to websites, i would like to
read the dir
and print a list of those files as a link. Which the script i have
does. I
would like to take this one step further and replace the ".html"
extension
__
> Use fowl language with Chicktionary. Click here to start playing!
> http://puzzles.sympatico.msn.ca/chicktionary/index.html?icid=htmlsig
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jan 5, 2008, at 10:50 AM, "A.smith" <[EMAIL PROTECTED]> wrote:
Hi Bastien,
thanks for the suggestion, unfortunately I still have no page
displayed...
thanks Andy.
- Original Message
From: Bastien Koert <[EMAIL PROTECTED]>
To: A.smith <[EMAIL PROTECTED]>, php-general@
Where have I screwed up?
>
> And, please no one liners that solve the entire mess and make me look
> like a fool.
>
> Cheers,
>
> tedd
>
I'm not sure if you mean FLV's or SWF's.
If you mean FLV's loaded from SWF's, the browser can cache the FLV,
and t
On Jan 4, 2008, at 9:54 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
On Jan 4, 2008 12:46 PM, Casey <[EMAIL PROTECTED]> wrote:
Greetings, list.
I have a web application that generates PNG images that are thousands
of pixels high by thousands of pixels wide (using
mages, but some suggestions in
the meantime would be great.
Maybe ImageMagick is faster? Flash?Any suggestions? Thank you very much.
- Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;
> --
>
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
OKAY. Let's clarify.
Here's the string in HTML:
A
The browser then passes it to GET/POST. It decodes the entities, and
then urlencodes them. Now it looks like this:
%a0%20%a0%20%a0%20%a0A%a0%20%a0%20%a0%20%a0
Then PHP receives it, urldecodes the string, then stuffs it inside
$_POST, $_GET, $_REQUEST, etc. Now it's like this:
A
$_POST['submit'] == ' A ' // TRUE.
... *pokes my solution*...
$value = trim($value, chr(32) . chr(160));
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
heers,
>
> tedd
>
>
$value = trim($value, chr(32) . chr(160));
Cookie for me? :)
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ata into $data variable
}
function bar() {
global $data;
//Output with HTML
}
$data = array();
foo();
bar();
I'm pretty sure this is what they mean.
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Hmmm... will this work?
function get_string_a() {
global $string_b;
return "stuff $string_b and more stuff";
}
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; SwarmBuy.com - http://www.swarmbuy.com
>
> Leveraging the buying power of the masses!
> ...
>
> --
>
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
30 seconds alternative:
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nisti
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I think it needs to be >= (greater than or equal to) or <= (less than
or equal to).
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e
>
> --
> madunix
>
Of course!
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Dec 24, 2007, at 7:59 PM, Casey <[EMAIL PROTECTED]> wrote:
On Dec 24, 2007, at 7:34 PM, M5 <[EMAIL PROTECTED]> wrote:
I'm learning regular expressions, and trying to figure out what's
possible and what's not. Any ideas of how to create a preg_match
expressi
On Dec 24, 2007, at 7:34 PM, M5 <[EMAIL PROTECTED]> wrote:
I'm learning regular expressions, and trying to figure out what's
possible and what's not. Any ideas of how to create a preg_match
expression to parse following three lines:
Calgary, AB T2A6C1
Toronto, ON T4M 0B0
Saint John, N
Actually, never mind. It does not have to be valid to work.
On Dec 24, 2007, at 6:15 PM, Casey <[EMAIL PROTECTED]> wrote:
That's because it's not proper XHTML: "" should be "".
On Dec 24, 2007, at 6:03 PM, M5 <[EMAIL PROTECTED]> wrote:
Just ge
That's because it's not proper XHTML: "" should be "".
On Dec 24, 2007, at 6:03 PM, M5 <[EMAIL PROTECTED]> wrote:
Just getting into DOMDocument()... I'm loading an HTML page and
trying to extract certain bits of text. Just one problem: loadHTML()
seems to ignore orphan tags like ''. For ex
.
http://en.wikipedia.org/wiki/SMS_gateways#Email_to_SMS
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
using XMLHTTP with digest authentication
> that can shed some light on this?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I've run into this problem before... Try searching Google with the
five-digit sta
] = $temp;
$t = ($S1[$i] + $S1[$j]) % 256;
$K = $S1[$t];
$tOutput .= chr($tChar ^ $K);
}
return $tOutput;
}
I don't know what language this is. I'm curious -- what is it? It
might not work; it's untested except for syntax errors.
[EMAIL PROTECTED] ;]
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t's large
> and readable. If there are other options than what I've explored here,
> then I would be open to those too.
>
> Thank you for any advice.
>
> --
> Dave M G
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Dec 15, 2007 11:27 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Casey wrote:
> > Comment out all Javascript.
>
> Casey - exactly how would javascript being causing a webserver to segfault
> in this context???
>
>
> >
> > On Dec 15, 2007, at 2:00 PM
Comment out all Javascript.
On Dec 15, 2007, at 2:00 PM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
On Dec 15, 2007 4:55 PM, Mary Anderson <[EMAIL PROTECTED]>
wrote:
My code
http://demog.berkeley.edu/~maryfran/memdev/get_data_set.php
Mary,
Can you provide the actual code for the
On Dec 13, 2007 7:44 AM, Bob Sabiston <[EMAIL PROTECTED]> wrote:
>
> On Dec 12, 2007, at 7:20 PM, Casey wrote:
>
> > Try gzuncompress();
>
> Correct me if I'm wrong, but isn't gzuncompress used for 'gzip'
> files? Although they both use the sam
me/rob/Sites/zphpsessions:
> $ip is: 127.0.0.1:
> ipx (session) is: 127.0.0.1:
> This is the main page
>
> No data is being dumped into /home/rob/Sites/zphpsessions. The best I can
> guess is permissions. If I change save_path to /tmp, no difference - still
> nothing being written there. I bet I'm doing something ignorant about apache
> users or something, huh?
>
> --
> RE, Chicago
>
--
-Casey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try gzuncompress();
On Dec 12, 2007, at 1:03 PM, Bob Sabiston <[EMAIL PROTECTED]>
wrote:
On Dec 12, 2007, at 2:31 PM, Richard Lynch wrote:
On Wed, December 12, 2007 11:28 am, Bob Sabiston wrote:
I'm trying to read some zlib-compressed data from a regular binary
file. When I try to att
1 - 100 of 243 matches
Mail list logo