Re: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread Chris Lambert
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,

Re: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread Chris Lambert
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

Re: [PHP] Executing graphical application (linux)

2001-09-11 Thread Chris Lambert
[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

[PHP] Executing graphical application (linux)

2001-09-11 Thread Chris Lambert
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

Re: [PHP] Re: Dedicated Hosting

2001-08-26 Thread Chris Lambert
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

Re: [PHP] getting values inside PHP from outside script

2001-08-26 Thread Chris Lambert
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

Re: [PHP] Shell or http?

2001-08-26 Thread Chris Lambert
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

Re: [PHP] Certification

2001-08-26 Thread Chris Lambert
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

Re: [PHP] mkdir Question

2001-08-26 Thread Chris Lambert
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

Re: [PHP] Re: Eregi for Image

2001-08-26 Thread Chris Lambert
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

Re: [PHP] MySQL Database backup

2001-08-26 Thread Chris Lambert
. /* 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:

Re: [PHP] ftp_get

2001-08-26 Thread Chris Lambert
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

Re: [PHP] convert 12:12:00 to seconds

2001-08-22 Thread Chris Lambert
$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 -

Re: [PHP] Importing a GIF image and making it transparent

2001-08-21 Thread Chris Lambert
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

Re: [PHP] Importing a GIF image and making it transparent

2001-08-20 Thread Chris Lambert
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 -

Re: [PHP] php executable

2001-08-20 Thread Chris Lambert
/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,

Re: [PHP] MySQL substrings?

2001-08-19 Thread Chris Lambert
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

Re: [PHP] MySQL substrings?

2001-08-19 Thread Chris Lambert
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

Re: [PHP] mysql , postgres

2001-08-19 Thread Chris Lambert
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

Re: [PHP] Count total

2001-08-19 Thread Chris Lambert
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,

Re: [PHP] mysql , postgres

2001-08-19 Thread Chris Lambert
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

Re: [PHP] transaction

2001-08-19 Thread Chris Lambert
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

Re: [PHP] $var , '$var'

2001-08-18 Thread Chris Lambert
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 */ --

Re: [PHP] IDE

2001-08-18 Thread Chris Lambert
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

[PHP] SQL Highlighting in PHP?

2001-08-17 Thread Chris Lambert
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

Re: [PHP] Zend Optimizer

2001-08-16 Thread Chris Lambert
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 -

Re: [PHP] splitting text after 25 words

2001-08-07 Thread Chris Lambert
$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

Re: [PHP] calendar, msg board, chat in PHP

2001-08-07 Thread Chris Lambert
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

Re: [PHP] a good PHP editor

2001-07-18 Thread Chris Lambert - WhiteCrown Networks
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:

Re: [PHP]OT I know, but WTF...

2001-07-15 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Web application?

2001-07-14 Thread Chris Lambert
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

Re: [PHP] Web application?

2001-07-14 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Web application?

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Web application?

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] How to convert a string into a mathematical expression?

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
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

[PHP] O'Reilly Open Source Conference

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
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 *

Re: [PHP] forms and IP numbers

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Read and write

2001-07-13 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Reading the content.

2001-07-11 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Reading the content.

2001-07-11 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Joining a number of tables in a MySQL query

2001-07-11 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Getting the title of a web page

2001-07-11 Thread Chris Lambert - WhiteCrown Networks
(.*)\<\/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

Re: [PHP] How to fetch a "group by" Query?

2001-07-11 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] how to hide dbconnect file if its in publisheddirectory?

2001-07-10 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] deletion of temp files

2001-07-10 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] PHP Conference in California

2001-07-10 Thread Chris Lambert - WhiteCrown Networks
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 <

Re: [PHP] security

2001-07-10 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Image manipulation

2001-07-10 Thread Chris Lambert - WhiteCrown Networks
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]

Re: [PHP] Line by Line , Word by Word

2001-07-10 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] security

2001-07-10 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Restoring a Dump File With PHP

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
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 - [

Re: [PHP] UPS and USPS shipping labels?

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Question about how to do this...

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] case sensitive

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Re: How to create a button with a icon inside ?

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
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

[PHP] Re: How to create a button with a icon inside ?

2001-07-08 Thread Chris Lambert
...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

Re: [PHP] simple question

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] simple question

2001-07-08 Thread Chris Lambert
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

Re: [PHP] simple question

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Sort an array by its values

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Sort an array by its values

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Next Book

2001-07-08 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] watermarks

2001-07-07 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Restoring a Dump File With PHP

2001-07-07 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] mysql_insert_id()

2001-07-07 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] PHP map?

2001-07-07 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] Parsing HTML files?

2001-07-07 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] chdir() help

2001-07-07 Thread Chris Lambert - WhiteCrown Networks
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

Re: [PHP] how do i remove the first 3 characters from a variable?

2001-07-07 Thread Chris Lambert - WhiteCrown Networks
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