in XHTML should
display (to some extent) on a text only browser which only supports HTML 1.
--
Chris Lambert
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
he newer features of newer browsers (such as CSS, Javascript,
DHTML, Tables!, etc.) and are still accessible to older browsers.
--
Chris Lambert
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
Is it possible to execute a graphical application using exec() or one of the
related commands?
I have tried running it directly and from an external script but neither
work.
Thanks,
--
Chris Lambert
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
[EMAIL PROTECTED] (Nayco) wrote in
017601c13a9d$f3614840$0100a8c0@p2333:">news:017601c13a9d$f3614840$0100a8c0@p2333:
have you tried with specifiing th e display to use
something like EXEC (my_app --display 0:0)
well this may be possible, everything is possible with a
a folder (/web/ftp/) and chmoding
the folder itself to 777.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: MBK [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 26, 2001
.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Alex Sofronie [EMAIL PROTECTED]
To: PHP General [EMAIL PROTECTED]
Sent: Sunday, August 26, 2001 3:28 PM
Subject: [PHP] MySQL
, then the
userid should be nobody. Where are you trying to identify it from?
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: George E. Papadakis [EMAIL PROTECTED]
To: PHP List [EMAIL
The easy ugly one line solution:
$csvalues = explode(,, implode(,
file(http://au.finance.yahoo.com/d/quotes.csv?s=NABm=af=sl1d1t1c1ohgve=.
csv)))
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
://www.webhostingtalk.com/search.php?action=showresultssearchid=95278
- good site to search around on
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Raphael Pirker [EMAIL PROTECTED]
To: [EMAIL
$seconds = explode(:, $time);
$seconds = $seconds[0] * 3600 + $seconds[1] * 60 + $seconds[2];
Or use www.php.net/mktime
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From
It doesn't look like you'll be able to use GD, as GIF support was dropped in
1.6 and JPEG support was only added in 1.8. You'd have to experiment with
ImageMagick, or another command-line tool independent of PHP.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White
Did you use quotes around the URL when trying to access the image?
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Ben Quinn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
/usr/bin/php -q
...I believe.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Nick Davies [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 20, 2001 6:06 AM
In what context?
print $var; // prints the value of $var
print $var; // prints the value of $var
print '$var'; // prints $var
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From
I believe that'd be a question best suited for the PostgreSQL mailing lists,
since its handled at the database level with begin and commit.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original
MySQL is easier to use and faster to develop with for 90% of web
applications. Sure, PostgreSQL has some huge advantages, but not everyone
needs the same thing.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
('$userid', '$name', '.addslashes($totalscore).'));
?
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Martin Kampherbeek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday
Rules, triggers, subselects, built in transactions, etc.
I haven't used it myself, but it does have features which relieve a lot of
the client programming (PHP) required with MySQL.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security
There is a SUBSTRING() function, its just hard to find with their search
system.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Tom Carter [EMAIL PROTECTED]
To: Seb Frost
It'd help if you have us the mysql_error() returned.
Try the following:
SELECT *, substring_date AS SUBSTRING(date,5,2) FROM $table ORDER BY
substring_date
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
Hey all,
I'm wondering if anyone's created a custom function that'll perform SQL
highlighting, similar to the highlight_file/string functions for PHP source.
I made a quick hack, but I'd love to have something more consistent. Any
ideas?
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown
Are you using NuSphere's version of PHPEd, or the old free one? So far, the
best Windows IDE I've used has been NuSphere's upgraded PHPEd. Zend's 2.0
IDE also looks promising, though.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security
It should perform the optimizations automatically. However, the bottleneck
in your case will be your image manipulation library (GD, ImageMagic,
etc..), and you most likely won't see much of a speed increase with the
optimizer.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More
plugvBulletin is PHP/MySQL backed forum software that includes an
integrated calendar component./plug
However, it'll cost you $85/site/year, so you might be best off tying a few
free components together.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web
$teaser = explode( , $article, 26));
array_pop($teaser);
$teaser = implode( , $teaser);
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Justin French [EMAIL PROTECTED
Would you give the same advice if it were Zend Cache? Show some respect,
please.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Maxim Maletsky [EMAIL PROTECTED]
To: 'doug
That the IE6 beta is a beta.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Chris Anderson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; PHP General List (E-mail)
[EMAIL
And the article was written by Joshua Drake, not Zeev. It seems to have been
published early January, judging by some Google research. Not sure why it
isn't in Zend's article DB anymore...
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application
Well, all the comparisons were based on year old (July 2000) versions of
each database, so not everything mentioned still holds true today.
__
/ Chris Lambert - [EMAIL PROTECTED]
|- ICQ #: 16435685 - AIM: ClipperChris
`- Cell: (401) 743-2786 - http://sms.clambert.org
Put quotes around rb, but I don't think you need the b.
Also, are the integers always char(4)?
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Francois Boucher [EMAIL
This would be just as bad, as he could open up a socket faking a referer.
What you really need are data integrity checks inside the script which posts
to the message board on your server.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application
be representing?
Where are you flying in from?
What're you hoping to bring back from the convention?
...and anything else you might be find relevant.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
--
PHP General
if
they're called during that specific instance.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Yves Gauvreau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 13, 2001
know if all will be OK.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Yves Gauvreau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Rasmus Lerdorf [EMAIL PROTECTED]
Sent: Friday, July
Couldn't you just do something like:
?
$rows = mysql_query(SELECT * FROM table ORDER BY category, title);
while ($row = mysql_fetch_array($rows)) {
if ($row[title] $last)
print b$row[category]/bbr\r\n;
print li$row[title]/libr\r\n;
$last = $row[title];
}
?
/* Chris Lambert
?preg_match(/\title\(.*)\\/title\/i, implode(,
file(http://www.php.net/;)), $title);?
?=$title[1]?
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Heiko Wilms [EMAIL
WLPaddress
ON
WLPaddress.publisherID = WLPbib.publisherID
LEFT JOIN
WLPcountry
ON
WLPcountry.countryID = WLPaddress.countryID
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From
As far as I know, you don't. :-(
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Gustavo Carreno [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 11, 2001 6:54
Are you sure? I tested posting to a script which simply did a
print_r($GLOBAL), and didn't see the posted data listed.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Gustavo
Check what the user agent is for the SWF, and see if it passes a specific
referer. That should deter 99% of attempts.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: AVisioN
www.php.net/fgetcsv
Use a space as the deliminator.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: alfareees alfareees [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
www.php.net/GetImageSize
list($width, $height) = getimagesize(file.gif);
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Kevin Pratt [EMAIL PROTECTED]
To: [EMAIL PROTECTED
But the advantage of checking user agents would be that they'd either have
to write a new flash script, or manually post to the form via sockets, as
using I.E. to go to game.php?winner=me wouldn't work.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web
. Otherwise, you should look into it.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Aaron Bennett [EMAIL PROTECTED]
To: Uri Even-Chen [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent
Sessions support garbage removal, where the temp files will be deleted at a
random time after the user has left.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Anurag Bhalla
.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Thomas David Kehoe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 10, 2001 2:37 PM
Subject: Re: [PHP] how to hide
Dubois as a tech writer for them a few
months back, too... :-)
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Chris Lott [EMAIL PROTECTED]
To: Php-General (E-mail) [EMAIL
Do you mean something like www.php.net/ksort or www.php.net/krsort?
I'm not sure of the actual structure of your array, though, so those might
not work as expected.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
Can you print_r($variable) and post it here?
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Aaron Bennett [EMAIL PROTECTED]
To: 'Chris Lambert - WhiteCrown Networks' [EMAIL
eval(\$string=\.eregi_replace(([^A-Z]),
\\x\.dechex(ord(\\\1\)).\, $string).\;);
;-)
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: ReDucTor [EMAIL PROTECTED]
To: [EMAIL
Lowercase letters are included (eregI_replace) but you could add number
support with:
[^A-Z0-9]
__
/ Chris Lambert - [EMAIL PROTECTED]
|- ICQ #: 16435685 - AIM: ClipperChris
`- Cell: (401) 743-2786 - http://sms.clambert.org/
- Original Message -
From: ReDucTor
You messed up the regular expression I gave you. The parenthesis need to go
in the first paramater, not the second. Otherwise it will replace an string
instead of a single character.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security
is the size of the font
__
/ Chris Lambert - [EMAIL PROTECTED]
|- ICQ #: 16435685 - AIM: ClipperChris
`- Cell: (401) 743-2786 - http://sms.clambert.org/
- Original Message -
From: Mauro Ferreira [EMAIL PROTECTED]
Newsgroups: php.gtk
To: [EMAIL PROTECTED]
Sent
Argh, responded to the wrong list. Apologies. :-)
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Chris Lambert [EMAIL PROTECTED]
To: Mauro Ferreira [EMAIL PROTECTED]
Cc
MySQL, on non binary comparisons, is case insensitive. I'm not sure what
your problem is, though. Could you try and explain in a little more detail?
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
a security
issue.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Ben Bleything [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; 'PHP General List (E-mail)'
[EMAIL PROTECTED]
Sent: Sunday
PHP has _a lot_ of functions, but not enough to cover shipping labels for
UPS... ;-)
You could either use fsockopen() to post the required data, or GD to make
the labels yourself.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security
Click on a database in the left column, and you should see a textarea/file
combination. If the dump is small, you can just paste it in the textarea and
hit submit. Otherwise, choose the file from your local hard drive and it'll
upload it from your browser.
/* Chris Lambert, CTO - [EMAIL
To loop:
unset($temp);
$vars = array(this, that);
foreach ($vars as $var) {
$temp[] = substr($var, 0, 3);
}
$vars = $temp;
Single array element:
$vars = array(this, that);
$vars[1] = substr($vars[1], 0, 3);
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
. $file_name ..) {
echo img src='image/$file_name';
}
}
?
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: McShen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday
You'd pretty much have to do that pixel by pixel. What exactly do you want
the final application to do...often times there are alternative solutions
derived at by others knowing what you wish to accomplish.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web
/auto_increment/insert_id()...
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: John Meyer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 4:41 PM
Subject: [PHP
phpMyAdmin - www.phpwizard.net/
or...
http://www.sitepointforums.com/showthread.php?postid=193539#post193539
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Chris Anderson
If the image is on a local server, you could just overlay the watermark with
GD or ImageMagick.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Jon Yaggie [EMAIL PROTECTED
64 matches
Mail list logo