older browsers. However, web pages can be written
that use the 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,
ey
cannot be used correctly. In theory a document written 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 comm
[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
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
http://www.webhostingtalk.com/search.php?action=showresults&searchid=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
The easy & ugly one line solution:
$csvalues = explode(",", implode("",
file("http://au.finance.yahoo.com/d/quotes.csv?s=NAB&m=a&f=sl1d1t1c1ohgv&e=.
csv")))
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
n 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 L
Brainbench offers a PHP certification:
http://www.brainbench.com/xml/bb/common/testcenter/subcatresults.xml?cat1=9&;
cat2=31&cat3=22
However, I'd contact employers in Brazil and see what their recommendations
are in terms of degrees or certifications.
/* Chris Lambert, CTO - [EM
u're still directing
from user "nobody".
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Jeff Oien <[EMAIL PROTECTED]>
To: PHP <[EMAIL PROTECTED]>
Sent: Su
The filename solution might not be your best bet. They could've uploaded an
mp3 which is simply named metallica.mp3.jpg. A call to getimagesize would
allow you to verify if it is indeed a valid image file.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hat
.
/* 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:
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: Sunda
$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 -
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 PROTECT
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 -
/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,
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.whitecrow
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
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 Sec
Assuming MySQL...
/* 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, August 19,
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
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.whitecro
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
*/
--
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
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 P
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 -
$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 Fren
vBulletin is PHP/MySQL backed forum software that includes an
integrated calendar component.
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 Applic
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:
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-m
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
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 A
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
em only 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
who's inputing data, its a major security problem.
If you can't, you'd have to develop your own parser for processing the data.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Me
ny, will you 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
*
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
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
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: Gu
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
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
(.*)\<\/title\>/i", implode("",
file("http://www.php.net/";)), $title);?>
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Heiko Wil
Couldn't you just do something like:
$last)
print "$row[category]\r\n";
print "$row[title]\r\n";
$last = $row[title];
}
?>
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.white
wing that file from a web browser.
/* 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, 2
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
its probably not
worth going. 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 <
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 Whit
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]
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 PROTECT
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
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 - [
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
Or even better, create a system where you can create new pages without
adding to the switch statement:
Note that you _need_ to have the full path, else you're creating a security
issue.
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Applic
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.whitecrow
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 PROTE
...from one of the PHP conferences.
"php.ttf" is the font
"php-blank.png" is the base image
$text is the text you want to write, and $si is the size of the font
______
/ Chris Lambert - [EMAIL PROTECTED]
|-> ICQ #: 16435685 - AIM: ClipperCh
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
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
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
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 - WhiteCro
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.whitecrow
ers
is very comprehensive. NuSphere hired 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 PROTEC
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 PROTEC
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
d be fine with an
integer/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: Sa
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 Hat
you should get the input via either www.php.net/fopen or www.php.net/file
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: Jeff Lewis <[EMAIL PROTECTED]>
To: <[EMA
I'm not sure I know exactly what you want, as the script isn't clear on its
purpose. If you simply want to print out all the images in e:\work\image,
and nothing else, the code would be much simpler.
"." && $file_name <> "..") {
echo &q
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 PR
69 matches
Mail list logo