RE: [PHP] Faking a form POST

2002-04-16 Thread Steve Dix
data in a similar manner to a get method, only without using the ? ie to send hello = 1, mouse=brown &hello=1&mouse=brown in $data_to_send Steve Dix>==<[EMAIL PROTECTED] http://www.stevedix.de/ http://www.snorty.net/ http://www.mp3.com/simpletons h

[PHP] Problem with inheritance mechanism.

2002-04-16 Thread Steve Dix
t to see how it works. $pull = new pulldown( array("name"=>"test", "size"=>"", "text"=>"A test select", "mehrfach"=>"", "selektiert"=>"", "onchange"=>"", &

Re: [PHP] calculating US holidays

2002-04-15 Thread Steve Cayford
You could port Date::Calc from perl... or just call a perl script to do the calculation. Probably the easiest way to figure out Easter (for the extreme example) that I can think of. -Steve On Monday, April 15, 2002, at 03:05 PM, Tom Beidler wrote: > That's fine for fixed dates, an

Re: [PHP] web spider?

2002-04-15 Thread Steve Bissonnette
Ryan, You might want to look into this as a basis for some of your code, http://agent-source.com/sitemapper/ Contains a good ammount of "spidering" code that's broken down into small functions. ( not that I understand half of it ; ) Good luck -- s t e v e b i s s o n n e t t e [EMAIL PROTE

Re: [PHP] "What date/time was it 7 hours ago"?

2002-04-15 Thread Steve Cayford
You could convert it to a timestamp using strtotime(), subtract 7*60*60, then convert it back to a string with strftime(). -Steve On Monday, April 15, 2002, at 09:50 AM, Torkil Johnsen wrote: > "What date/time was it 7 hours ago"? > > I'm just trying to make a log us

[PHP] newbie running an exe

2002-04-15 Thread Steve Bradwell
g 2 copies opening when I launch an app from an href. Thanks alot, Steve Junior Software Engineer CompexWaterloo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] launching an exe

2002-04-15 Thread Steve Bradwell
Hi everybody, Is there a php function I should use to launch an executable program from a users hard drive instead of just creating a link to it?? Thanks alot, Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP MySQL Hosting services

2002-04-14 Thread Steve
Jennifer Check out Hub.Org Networking services http://www.hub.org They have Virtual Machine that can be configured to your NEEDS without affecting other clients and vice versa. and MANY other features including ssh, ftp, cgi/perl and I believe they have also added MySQL 3.23 to the list. Not

Re: [PHP] Wanting a better understanding of classes in PHP...

2002-04-12 Thread Steve Cayford
Well, start here probably: http://www.php.net/manual/en/language.oop.php -Steve On Friday, April 12, 2002, at 12:50 PM, Chuck "PUP" Payne wrote: > Hi, I was up on freshmeat and I saw a TON of php classes. I like to > know how > can I use them? And is a class a bit o

Re: [PHP] How to sort by 3rd row in an 2d-Array

2002-04-12 Thread Steve Cayford
Or try the usort() function? -Steve On Friday, April 12, 2002, at 12:26 PM, Kevin Stone wrote: > This is a terribly inneficient way of handling your situation but I > believe > it would work. > > // First we're going to make a list of all company v

[PHP] 2 newbie questions ;)

2002-04-12 Thread Steve Bradwell
to my echo line? Also I have an anchor tag that is a link to open an Access db. For some reason it opens 2 copies instead of one. i have tried the following: Launch App and Launch App but it seems to want to open two copies anyhow, anyone seen this before? Thanks, Steve.

RE: [PHP] Set Global Variables

2002-04-11 Thread Steve Edberg
s of variables, very long strings stored there, and hundreds of apache child processes. - steve At 2:52 PM -0400 4/11/02, [EMAIL PROTECTED] wrote: >If I do that, won't the data that I fetch be duplicated in memory for each >user? I'm trying to have just one space in memor

Re: [PHP] Set Global Variables

2002-04-11 Thread Steve Cayford
Keep in mind that there is no common memory space for all the users. Each request is being handled by a different process with its own memory space that's forked off of the original web server. (Assuming apache, I don't know how IIS works). -Steve On Thursday, April 11, 2002, at

Re: [PHP] unique ID

2002-04-11 Thread Steve Bissonnette
I personally really like this, Maybe you can customize it as needed - or someone can improve upon it ! PIN9f39f7 $rawuid = md5(uniqid(rand(),1)); $uid = "PIN" . substr($rawuid,0,6); echo $uid; ?> on 4/11/02 3:44 PM, ROBERT MCPEAK at [EMAIL PROTECTED] wrote: > Could somebody

Re: [PHP] image dimentions

2002-04-11 Thread steve bissonnette
I believe you want this, http://www.php.net/manual/en/function.getimagesize.php > on 4/10/02 1:11 AM, Steve Klugherz at [EMAIL PROTECTED] wrote: > Is there anyway to gather image dimentions from a gif or a jpg file? I need > to gather this information from user uploaded file

[PHP] editors

2002-04-10 Thread Steve Klugherz
Does anyone know of any text editors that understand the syntax of php? I have finally got the company I work for convinced that php is the way to go for the web based portion of our product. I would like to find an editor that does context highlighting (like visual cafe) to keep grumblings to a m

[PHP] image dimentions

2002-04-10 Thread Steve Klugherz
Is there anyway to gather image dimentions from a gif or a jpg file? I need to gather this information from user uploaded files and can not trust the user to enter them correctly. Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] arguments against php / mysql?

2002-04-10 Thread Steve Edberg
with it. And, I think there's some nominal license fee to use it on Windows. Thus endeth my spiel - - steve edberg -- ++ | Steve Edberg [EMAIL PROTECTED] |

[PHP] Re: Sessions and Opera

2002-04-10 Thread Steve Fitzgerald
dei? Salvei? Que tal um presentinho? > http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 > > "Steve Fitzgerald" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > While testing a login page with different browse

[PHP] Sessions and Opera

2002-04-10 Thread Steve Fitzgerald
e. IE & NS both print the output as expected, but in Opera all variables are empty. Has anyone got any thoughts/solutions/experiences? regards Steve -- ## login page method="POST"> Enter password: "; print "The val

[PHP] Re: printf

2002-04-10 Thread Steve Fitzgerald
Use number_format() to put a comma between the thousands $foo = 123456789; print number_format($foo); //will print 123,456,789 Ron Allen wrote: > I am looking at how to format output > > Here is what I have. There is a simple currency conversion that I do and > the output is just a string of nu

Re: [PHP] Workaround for no cron?

2002-04-07 Thread Steve Werby
time or you just need someone who can do the same via a cron job on one of their boxes. Hope that helps. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sites for contracts?

2002-04-07 Thread Steve
Does anyone here know of any good sites where there are companies looking for contract employees listed on them? Other then main stream sites like Monster, Dice and so on? Thanx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: 1024X760 or 800x600

2002-04-07 Thread Steve
My reccomendation is to design it for optimization on 800*600..as that to me is the lowest common denominator.it will still look good in 1024*760 therefore covering both resolutions nicely Ron Allen wrote: > > Is there a way with PHP to determine screen resolution size??? -- PHP Gener

Re: [PHP] PHP on Apache 2.0 -- Does it work?

2002-04-07 Thread Steve Magruder, D2 Director
Thanks for the info. Apache 1.3.24 isn't a bad release to be stuck with. :) I just wanted to be a little bit on the bleeding edge. Regards, Steve "Tyler Longren" <[EMAIL PROTECTED]> wrote in message 004001c1ddf3$13d82b90$0101a8c0@nightengale">news:004001c1ddf3$

[PHP] PHP on Apache 2.0 -- Does it work?

2002-04-06 Thread Steve Magruder, D2 Director
ion of PHP (1.2.x) will successfully run on Apache 2.0 (just GA'd). Any info on this will be greatly appreciated. Regards, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] objects handling objects

2002-04-04 Thread Steve Cayford
Doh, typo: // this next line would generate a parse error // print("c:a1: " . $c->echo($a)->method1() . "\n"); should read // this next line would generate a parse error // print("c:a1: " . $c->echoMethod($a)->method1() . "\n"); On Thursd

Re: [PHP] objects handling objects

2002-04-04 Thread Steve Cayford
ween passing by reference and by copy, though, or you'll find yourself updating a copy of an object somewhere instead of the original. -Steve Here's some code I was just playing around with: method1(); } function otherMethod2($object) { return $object->method2();

Re: [PHP] English/Arabic Mysql problem...

2002-04-04 Thread Steve Cayford
Are you using unicode? I don't know the answer for you - maybe check the mysql site - but I'd be interested in hearing an answer as well if anyone has one. -Steve On Thursday, April 4, 2002, at 12:11 AM, Dhaval Desai wrote: > Hello people, > > I am making a bilingual web

Re: [PHP] Classes??

2002-04-04 Thread Steve Cayford
Yeah, sure. -Steve On Thursday, April 4, 2002, at 10:42 AM, Gerard Samuel wrote: > Maybe a simple question. > But can one file contain 2 or more classes?? > Thanks > > > -- PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] Loop, array, life....

2002-04-03 Thread Steve Cayford
On your first email you loop through all the news in the $newsfetch resource. I think you need to then do a mysql_data_seek() call against that to reset it for the next time through the loop. Otherwise you'll just get a null result because you're already at the end of the data.

Re: [PHP] session

2002-04-02 Thread Steve Cayford
Try putting session_start() in your retief.php script as well as piet.php. -Steve On Wednesday, April 3, 2002, at 01:06 PM, R. Lindeman wrote: > okay i've posted something before here are my scripts either you tell me > what i do wrong or i'll go beserk > > you can ch

[PHP] PHP work in Sydney Australia

2002-04-01 Thread Steve Farmer
Hi all, I am looking for a PHP coder based in Sydney, Australia for a couple of weeks work. If you are available and based in Sydney, please email me [EMAIL PROTECTED] Regards Steve Farmer -- - "Minds are like parachutes, they work best

Re: [PHP] Parsing error

2002-04-01 Thread Steve Cayford
ess you include break statements. e.g. try this: switch ($row) { case 1: { $vignette = $data[$c]; break; } case 2: { $photo = $data[$c]; break; } ... ... ... -Steve On Monday, April 1, 2002, at 10:44 AM, news.php.net wrote: > Hi, >

Re: [PHP] running commands as root from a script

2002-03-28 Thread Steve Edberg
x27;t need to be run often so it doesn't impact server performance any. -steve At 09:37 AM 3/28/02 , Ken Nagorski wrote: >Hi there, > >I have a little problem. I need to run a few commands for Courier from a >script. What I have is a php based application that makes it

[PHP] Re: Sessions/Cookies and HTTP Auth

2002-03-28 Thread Steve Clay
il. Could be wrong about this though.. Steve Wednesday, March 27, 2002, 10:10:19 PM, David wrote: DM> 3. I am thinking that I should get an error because I presume that DM> session_start() will attempt to set a cookie (which it appears to do). DM> (I tried setcookie() too and the coo

[PHP] Re: Comparrison

2002-03-27 Thread Steve Clay
IE5.5"; } Users of perfectly good browsers like Mozilla, Opera, and IE5/mac won't be locked out. Steve Wednesday, March 27, 2002, 7:46:12 AM, Ron wrote: R> How would I compare to variables where I would want one variable to equal R> only part or some of the other v

Re: [PHP] Where is php.ini on Mac OS X?

2002-03-27 Thread Steve Cayford
On mine it's in /usr/local/lib, but I seem to recall discussion earlier about some OSX installations lacking the ini file. -Steve On Tuesday, March 26, 2002, at 04:53 PM, Chuck "PUP" Payne wrote: > Can some one please tell me where php.ini is located on Mac OS X? > >

[PHP] Re: Code Bulk

2002-03-26 Thread Steve Clay
GS> echo 'Finished'; ?>> I can do one better: ... ?>Finishedhttp://mrclay.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] semi-OT: moving PWS to Apache on NT

2002-03-25 Thread Steve Clay
thing good to say about the v2.0 betas? Steve -- [EMAIL PROTECTED] ** http://mrclay.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: RC4Crypt encryption opinions

2002-03-22 Thread Steve Clay
Maxwell, I tried it out. The sample test crashed the PHP 4.0.5 CGI binary everytime on my winNT system. No script has ever /crashed/ the executable before, just might be worth note. Steve Friday, March 22, 2002, 12:45:11 AM, . wrote: > I'm looking for opinions on RC4Crypt --

[PHP] eating mySQL result rows 1 by 1.. a better way?

2002-03-21 Thread Steve Clay
ore it leaves the mySQL server (and would it be faster)? If it makes any difference the average result row is probably around 40-50 bytes but some of these queries can return up to 850 rows.. Steve -- [EMAIL PROTECTED] ** http://mrclay.org -- PHP General Mailing List (http://www.php.net/) T

Re[2]: [PHP] Anybody have a function to encode a string?

2002-03-19 Thread Steve Clay
riable for GPG putenv("GNUPGHOME=/home/me/.gnupg"); //execute command $this->error = exec($command); //check error / read in $gpgedfile, unlink the files.. Hope this helps.. Steve -- [EMAIL PROTECTED] ** http://mrclay.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sessions not so secure..solution?

2002-03-19 Thread Steve Clay
t. That way, worst case scenario the hackers gets a SESSID and heads to checkout first, server restricts real user from accessing (because of different IP). This is my first time coding for a secure server and my first post here as well.. Steve -- [EMAIL PROTECTED] ** http://mrclay.org -- PHP

[PHP] Looking for modifiable web administration script for MySQL

2002-03-19 Thread Steve Clay
time and just alter existing, well-crafted code and stick this on our secure server. How easy would it be to alter PHPMyAdmin itself? Thanks for any insight.. Steve -- [EMAIL PROTECTED] ** http://mrclay.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] Driving me nuts, need one second of your time

2002-03-15 Thread Steve Cayford
ct() first, then if that works continue on to the mysql_query(). At least you'll know better which aspect failed. -Steve On Friday, March 15, 2002, at 05:14 PM, cosmin laslau wrote: > $query = "SELECT * from mytable"; > $result = mysql_db_query("db", $query)

Re: [PHP] Perl and PHP

2002-03-06 Thread Steve Cayford
m the perl script should show up in the $scriptOuputArray. -Steve On Wednesday, March 6, 2002, at 04:19 PM, Michael Hess wrote: > > > Thanks, > > Ok, > I got it to work.now how do I take a varaible back into PHP > > > I do a $var = system("/path/to/cgi $varfor

Re: [PHP] Perl and PHP

2002-03-06 Thread Steve Cayford
If you're running a perl script on the command line you would use /path/to/perl/script.pl value1 value2 value3 ... In your perl script $ARGV[1] should hold value1, $ARGV[2] should hold value2, etc. -Steve On Wednesday, March 6, 2002, at 02:48 PM, [EMAIL PROTECTED] wrote: > I need t

Re: [PHP] contents of fetch array into a string

2002-03-06 Thread Steve Cayford
On Wednesday, March 6, 2002, at 12:13 PM, Kris Vose wrote: > I have a problem with reading the contents of $r[1] into a string > called = $mail. Does anyone have any suggestions? Any help is greatly > appreciated. > > Kris Vose > > > if ($czero != "") > { > > $t = mysql_query("SELECT * FROM

Re: [PHP] Searching 'Help' Text

2002-02-26 Thread Steve Werby
p section all on a single page? Is the text stored in a db? Do you want the text matching the user's search term to be highlighted? ... -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pulling Variables from URL

2002-02-20 Thread Steve Werby
es and PHP variables in the PHP manual and apache.org (assuming you run Apache webserver). I'm sure a quick search of google or a few Linux / PHP tutorial sites will turn something up. I don't have any references offhand. -- Steve Werby President, Befriend Internet Services LLC http://www

Re: [PHP] Pulling Variables from URL

2002-02-20 Thread Steve Werby
available since there are many that are quite useful. Also see parse_url() in the manual since it lets you grab each of the URL's components separately and you can supply the URL as $SCRIPT_URI, $SCRIPT_URL or something similar. -- Steve Werby President, Befriend Internet Services LLC ht

Re: [PHP] Chatroom sounds

2002-02-20 Thread Steve Werby
t or Flash, not PHP. You'll probably get better help if you post a URL to the specific chatroom script you're talking about and post to a list that deals with JavaScript or Flash. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General

Re: [PHP] Using a mysql data base and cookie to log a person in

2002-02-20 Thread Steve Edberg
this as a base, if PHP4's session handling isn't sufficient. I use it, with my own hacks for my authorization needs. -steve At 8:38 AM -0800 2/20/02, Brandon Orther wrote: >Hello, > >I loosely understand how I can have a person login to a system by giving >them a

Re: [PHP] mass mail

2002-02-20 Thread Steve Werby
ssed the solution in a reply to a poster with a slightly different problem just a few minutes ago under the subject "Timed Jobs". -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Timed Jobs.

2002-02-20 Thread Steve Werby
ord protecting the script so others can't access it. Others accessing it may not be a security risk, but it could add load you don't want. Both lynx and wget allow you to pass a HTTP user/password. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com

Re: [PHP] Difference between two dates

2002-02-20 Thread Steve Werby
cts in the date format. It wouldn't matter what you hardcode them as since it would use the same time of day for both dates. http://www.befriend.com/code_gallery/php/get_elapsed_time/ -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mai

Re: [PHP] Ports

2002-02-04 Thread Steve Edberg
your questions is at the top of this (very long) page. -steve At 04:20 PM 2/4/02 , Liam MacKenzie wrote: >Just a quick question... >What is the highest port possible? > >I want to make a PHP port scanner, but need to know the port

Re: [PHP] Book database (slightly OT)

2002-01-29 Thread Steve Edberg
a few years ago, but I'm no longer working on that. -steve At 4:32 PM -0500 1/29/02, Reuben D Budiardja wrote: >Hi, >I am working on a projects for book cataloging. What I want to do is to input >all the books isbn to a mysql table, either by hand or by scanning it, a

[PHP] Re: Any Ideas

2002-01-26 Thread Steve Edberg
ng); Perl-compatible regular expressions would work as well, and be slightly faster. For more info, see: http://www.php.net/manual/en/function.ereg.php http://www.php.net/manual/en/ref.regex.php http://www.php.net/manual/en/ref.pcre.php -steve At 12:21 PM -0800 1/26/02,

Re: [PHP] string to array??

2002-01-17 Thread Steve Edberg
tr[1]{1}; # produces 'n' Again, that's just what I'm assuming from the docs. A quick test would clear it up, but it doesn't affect me right now, and I'm feeling lazy ;) Hope that clears up my statement... -steve At 12:11 PM -0500 1/17/02, Erik Price wrote

Re: [PHP] variable variables

2002-01-17 Thread Steve Cayford
On Thursday, January 17, 2002, at 10:11 AM, Mike Krisher wrote: > I can not wrap my head around variable variables today, not awake yet or > something. > > For instance I trying something like this: > > while ($i<$loopcounter) { > $temp = "size"; > $valueofsize = $$temp$i; > try $va

Re: [PHP] Is there Any way to call Non-Existent function in PHP

2002-01-17 Thread Steve Cayford
sible. Might be possible to wrap generic function calls like this using call_user_func() or eval(). Again, I haven't tested it. -Steve On Thursday, January 17, 2002, at 12:07 AM, S. Murali Krishna wrote: > Hi! > Thanks for your kind response. The solution given by u is fine.

Re: [PHP] string to array??

2002-01-17 Thread Steve Edberg
the page at http://www.php.net/manual/en/language.types.string.php (or, in Portuguese, http://www.php.net/manual/pt_BR/language.types.string.php ). Actually, using the [] syntax is deprecated - using {} is the new way - but I'm a creature of habit... -steve A

Re: [PHP] Decryption

2002-01-13 Thread Steve Maroney
D] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > Brute force. MD5 is a one way hashing Algorithm which means it was NOT designed for encryption but it can be used that way. Thank you, Steve Maroney -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] echo "" problem NEW

2002-01-08 Thread Steve Maroney
I simply use single quotes for html and double quotes for PHP. echo ""; works for me. Steve On Tue, 8 Jan 2002, Steven Cayford wrote: > On 2002.01.09 02:00:55 -0600 universal2001 wrote: > > > so I tired to use (echo) like this: > > > >

Re: [PHP] Error

2002-01-08 Thread Steve Cayford
return $result;11: } // this is line 13 that should be: return $result; } what's the 11: doing in there? -Steve > print addNums (3,5); > > ?> > > When I run it get error line 13 > > any ideas? > > > -- PHP General Mailing

Re: [PHP] How to run a PHP script on the UNIX command line

2002-01-07 Thread Steve Maroney
; > -- > 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 administrators, e-mail: [EMAIL PROTECTED] > > Thank you, Steve Maroney -- PHP General

Re: [PHP] counting with dates (help!)

2002-01-07 Thread Steve Cayford
Well, I'll chime in as well. I'd recommend doing all your calculations in timestamps in seconds, then convert the results into days, dates, or whatever. If you only have a date to start with then convert to a timestamp, do the calculation, and convert back. You could wrap it in a function like

Re: [PHP] Regular Expression

2002-01-03 Thread Steve Cayford
results[2] \n"); print("all results: "); print_r($results); ?> -Steve On Thursday, January 3, 2002, at 12:15 PM, Jim Lucas [php] wrote: > I have seen this question reposted for the past week. now why don't you > just work with the entire thing. > > get the

Re: [PHP] PHP Doesn't Crash but show blank page

2002-01-03 Thread Steve Cayford
h the error_log = ... option. -Steve On Wednesday, January 2, 2002, at 05:11 AM, [@-!-%] wrote: > > Hello everyone! > > I'm having issues with my php pages. When I have errors, Instead of > crashing or showing errors, the browser shows a blank page. > > For example, if I

Re: [PHP] INI file parsing

2002-01-02 Thread Steve Edberg
AFAIK, it will reread the .ini file every time only if you're running PHP as a CGI, as opposed to an Apache module (or ISAPI or NSAPI module, but I don't think either of those are industrial strength yet). SO, yes, the .ini file will be reread each time PHP is called by IIS. -steve

[PHP] Formats with PHP

2001-12-28 Thread Steve Maroney
need something like Perl's Format features but not sure. Any advice ? Thank you, Steve Maroney -- 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 administrators, e-mail: [

[PHP] Not PHP but MYSQL

2001-12-27 Thread Steve Maroney
Sorry for the OT, but im trying to figure out something with mysql and need some help. Does anyone know how set the auto_increment value to some other number than 0. I have an order_number coloumn and I want to start it at 1000. So the first record would 1001. Thank you, Steve Maroney

Re: [PHP] faxing in PHP

2001-12-24 Thread Steve Maroney
There are many different fax daemons for unix and windows. Thier command line tools are differnt. In the past, I have sent a fax by opening a process to the command line tools provided by the fax software. I simply use PHP variables as arguments. Hope this helps. Steve On Mon, 24 Dec 2001, LDL

Re: [PHP] Re: some body flood mypage how can I prevent them ?

2001-12-21 Thread Steve Maroney
ED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > Thank you, Steve Maroney -- 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 administrators, e-mail: [EMAIL PROTECTED]

[PHP] sessions and authentication

2001-12-21 Thread Steve Maroney
HTTP_GET_VARS[user_authenticated]); but that didn't do me any good. Please advise. Thank you, Steve Maroney -- 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 administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Number Format

2001-12-20 Thread Steve Edberg
rote: > > > I would like to format numbers to be a fixed width. > > > > I want all numbers to be 2 characters in width to the left of the > > decimal point. > > > > 1 should be 01 > > 2 should be 02 > > 3 should be 03 > > > > How can I do this

Re: [PHP] PHP3 NOT being parsed for SSI!! HELP!!

2001-12-20 Thread Steve Edberg
If you're using PHP as an Apache module, you can use virtual() - http://www.php.net/manual/en/function.virtual.php - to include the dynamic parts; vcstatic includes could be handled by virtual() or just a normal PHP include()/require(). - steve At 11:09 PM -0800 12/

Re: [PHP] $PHP_SELF not working -please help

2001-12-19 Thread Steve Edberg
ction() { ... echo $GLOBALS['PHP_SELF']; .. } To the best of my knowledge, PHP_SELF is set regardless of the register_globals configuration setting, but I'm not 100% sure. -steve At 11:13 AM + 12/19/01, Caleb Carva

Re: [PHP] Working with designers...

2001-12-18 Thread Steve Osborne
it will protect you in the future if problems do arise. Good luck, Steve Osborne Database Programmer Chinook Multimedia Inc. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Error while calling a function

2001-12-18 Thread Steve Cayford
hone); If you don't hit the else block, your is_phone function is probably not defined. -Steve On Tuesday, December 18, 2001, at 07:26 AM, J.F.Kishor wrote: > hi all, > > I have got a problem, when I execute the following script it gives > a Fatal error, could any one t

[PHP] Re: Returning html code-PROB SOLVED

2001-12-17 Thread Steve Osborne
at escape problem characters in databases and unescape them when retrieved. Problem solved. Steve Osborne [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 admin

[PHP] Displaying html

2001-12-17 Thread Steve Osborne
Does anyone know of an easy way to store html code in a mysql database, and then retreive it, in such a way that it can display the page as if it were a standard html page? Would using php be of benefit to me? Steve Osborne [EMAIL PROTECTED] * *(borrowed from Paul) -- PHP General Mailing

Re: [PHP] Passing Variables-SOLVED

2001-12-14 Thread Steve Osborne
Thanks for the advice... just had to remember that the variable had to be in php tags, as in: Thanks for the help, problem solved. Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Passing Variables

2001-12-14 Thread Steve Osborne
Can someone tell me how to pass a variable in the url? I am using a form and calling a handler file as its action, as in: I've also tried single quotes around the variable $login, as in: Anyone have any suggestions? Cheers, Steve Osborne Database Programmer Chinook Multimedia Inc. [

Re: [PHP] phplib???

2001-12-13 Thread Steve Edberg
;thanks in advance. > -- +----+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Programming/Database/SysAdmin http

Re: [PHP] last entry in mysql

2001-12-12 Thread Steve Edberg
the last id but to no avail. > >Thanks >Yoed > -- +----+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Programm

[PHP] Cookie

2001-12-12 Thread Steve Osborne
ly in that directory or domain? Will it be retrieved in subfolders of that directory? Do I require special code to allow it to be accessed in subfolders? Steve Osborne Database Programmer Chinook Multimedia Inc. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] Cookie Retrieval

2001-12-11 Thread Steve Osborne
("location: index.php"); }else{ print("The cookie plan didn't work."); } Any suggestions would be appreciated. Steve Osborne Database Programmer Chinook Multimedia Inc. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Re: [PHP] Date formatting

2001-12-11 Thread Steve Cayford
On Monday, December 10, 2001, at 09:35 PM, phantom wrote: > What would be an easy what to format a date value into month day year?? > I want to specially display a date stored in mysql in date format > -MM-DD > > The manual says: string date (string format, int [timestamp]) > > I tried $For

[PHP] Class methods and inheritance...

2001-12-11 Thread Steve Cayford
Hi. Is there a way to find the class name of a method when called in the class::method() format? If called on an object (eg. object->method()) I could just ask for get_class($this), but when called as class::method(), $this should not be defined. Anyway around this? Thanks. -Steve --

[PHP] Redirect function

2001-12-10 Thread Steve Osborne
Is there a function or command in php that will redirect a user to another page, similar to Response.Redirect(URL) in ASP? Steve Osborne Database Programmer Chinook Multimedia Inc. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Setting Cookies

2001-12-10 Thread Steve Osborne
registered users section. Should I be setting the cookie on the top of the page that I am sending them to? Any comments or suggestions would be greatly appreciated. Steve Osborne [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Finding num of days b/t two dates.

2001-12-07 Thread Steve Cayford
Here's one way to do it by converting dates into timestamps. \n"); print(strftime("date 2 is %b %d, %Y", $date2) . "\n"); print("the difference in seconds is " . $timedif . "\n"); print("the difference in days is " . ($timedif / (60 *

[PHP] PHP & XML

2001-12-07 Thread Steve Haemelinck
Hi Guys I am developing with PHP and XML. Now I experience some problem with the processing instructions of xml () which causes PHP to return a parsing error. This is logical because http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] Display BLOB Image

2001-12-06 Thread Steve Cayford
This is what I used to do what you're trying: header("Content-Type: image/" . $imagetype); // $imagetype is jpeg or gif header("Content-Length: " . strlen($image)); echo $image; Note that "Type" is capitalized in "Content-Type", and include the &q

Re: [PHP] md5 decrypt

2001-12-05 Thread Steve Werby
e time it cracked the password (if it did) your user would have likely taken their business elsewhere. On a few servers I manage I run it periodically to check for weak passwords, then I contact the users with weak passwords and ask that they change them. John the Ripper: http://www.openwal

Re: [PHP] Reg ex help-Removing extra blank spaces before HTMLoutput

2001-12-04 Thread Steve Edberg
lly's 'Mastering Regular Expressions'; a worthwhile purchase. -steve At 2:06 AM -0500 12/5/01, Ken wrote: >I want to remove all superfluous blank spaces before I sent my HTML >output, to make the output smaller. > >So I'd like to take $input, replace any number of b

Re: [PHP] Logic

2001-12-04 Thread Steve Werby
entire if statement will evaluate to true. Not what you want. It might be easier to edit and follow your code if you rewrite as: if ( ! in_array( $type, array( 'add', 'edit', 'delete' ) ) ) { } -- Steve Werby President, Befriend Internet Services LLC http://www.befrie

<    7   8   9   10   11   12   13   14   15   16   >