[PHP] Re: Uninstalling PHP?

2010-02-27 Thread Austin Powers
""Austin Powers"" wrote in message news:ca.b0.29124.619a8...@pb1.pair.com... > Three weeks ago I was working through the Lynda.com "PHP with MySQL > Training" because I wanted to begin using PHP (surprise, surprise). > > Anyway, on this video course th

[PHP] Uninstalling PHP?

2010-02-26 Thread Austin Powers
Three weeks ago I was working through the Lynda.com "PHP with MySQL Training" because I wanted to begin using PHP (surprise, surprise). Anyway, on this video course the teacher explains that because installing PHP and MySQL is so well understood on a Mac that we may as well just follow his steps a

[PHP] My new address

2009-11-26 Thread Austin Ladd
Acce dot ssRx pro ap vides Men’s He gbh alth prod ak ucts to tr vr eat ere zee ctile dysf ltm unction (ED). Cho ge ose from all three FD xpq A-appr cz oved ED pres uq crip ac tion medi gd cations: Via ff gra, Cia iad lis and Lev ja itra. Only a small per id cent og age of men seek help for ED, a

Re: [PHP] Re: Dynamic Titles

2009-06-12 Thread Austin Caudill
Yes, I corrected this problem. Now, the URL of each page is being displayed as the title. We are making progress! Now I just need to figure out why the URLs are shown as the title, and not whaty I want to be shown. Austin Caudill --- On Fri, 6/12/09, David Robley wrote: From: David Robley

[PHP] Dynamic Titles

2009-06-11 Thread Austin Caudill
Hello, im trying to make the CMS system im using more SEO friendly by giving each page it's own title. Right now, the system assigns all pages the same general title. I would like to use PHP to discertain which page is being viewed and in turn, which title should be used. I have put in the titl

Re: [PHP] OT- why is network solutions more than godaddy?

2007-08-03 Thread Austin Denyer
ou own it. But, don't make your final decision until you've read this: http://nodaddy.com Regards, Austin. signature.asc Description: OpenPGP digital signature

Re: [PHP] Denial of Service Attack

2007-07-20 Thread Austin Denyer
ank you fellows! >> >> This is really a reliable list. > >Maybe it's just me, but I don't see a question in that message, Sascha. I don't know about you, but the way I read it, I think he's insinuating that the list is responsible for his virus. Regards, Austin. signature.asc Description: OpenPGP digital signature

Re: [PHP] Pirate PHP books online?

2007-07-19 Thread Austin Denyer
, etc. Doesn't prevent the piracy, but does give traceability should you wish to pursue the pirate. Regards, Austin. signature.asc Description: OpenPGP digital signature

[PHP] PHP Form isnt emailing me

2007-06-08 Thread Austin C
Hello, I just finished making a PHP contact form for my webite, and I can run through the whole thing, and get no errors, but it doesnt email me the form contents. *Here is th actual form page:* Contact Me Please

Re: [PHP] Re: A way to stop spam on this list

2006-08-14 Thread Austin Denyer
Michelle Konzack wrote: > Late answer, > > but I was coming back yesterday from Palestine, after the Israelien > Terror Authority had arrest me for making tonns of photos and Videos > about Israeli military crime... (shooting children and pregnant women) Regards, Austin.

Re: [PHP] yahoo thinks html mail is spam, what's wrong with header?

2006-08-07 Thread Austin Denyer
es it's 'spamminess' from a scoring point of view. Regards, Austin. signature.asc Description: OpenPGP digital signature

Re: [PHP] php behind firewall

2006-08-04 Thread Austin Denyer
Jim Moseby wrote: > > Found it: > > http://www.caida.org/publications/papers/2005/fingerprinting/ Thanks! Interesting stuff... Regards, Austin. signature.asc Description: OpenPGP digital signature

Re: [PHP] php behind firewall

2006-08-04 Thread Austin Denyer
rent tunes did you get your Altair to play over the radio? #;-D My first machine wasn't quite an Altair, but it did make the Vic look space-age - I started with a ZX81. The carrier pigeon trick only works for IP though. And packet traces can be a tad messy... Regards, Austin. signature.

Re: [PHP] php behind firewall

2006-08-04 Thread Austin Denyer
e article, I'll post it. Please do. I can imagine that the concept goes to the wall with wireless users, but even so, should be a good read. Regards, Austin. signature.asc Description: OpenPGP digital signature

Re: [PHP] Books: PHP and WAP

2006-07-26 Thread Austin Denyer
Angelo Zanetti wrote: > Hi all, > > I need some recommendations for books: > are there any good books on PHP and WAP/WML? Also (OT) a recommendation > regarding books for CSS2 and XHTML. http://www.hudzilla.org/phpbook/ Regards, Austin. signature.asc Description: OpenPGP digital signature

Re: [PHP] convert byte to MB

2006-07-25 Thread Austin Denyer
Andrei wrote: > So what u'r trying to say is that we should use KiB and not KB for > kilobytes? That's funny! I know a lot of people who do just that. Regards, Austin. signature.asc Description: OpenPGP digital signature

Re: [PHP] PAYMENT TRANSACTION

2006-07-20 Thread Austin Denyer
payment' were you looking for? Credit card? PayPal? For credit cards, I get the customer's info and then use cURL to stuff it down a secure connection to Authorize.net. Regards, Austin. signature.asc Description: OpenPGP digital signature

Re: [PHP] Basic PHP knowledge test

2006-07-20 Thread Austin Denyer
of > PHP security. Agreed. One thing I would add is to make sure they're familiar with the PHP version you use. Regards, Austin. signature.asc Description: OpenPGP digital signature

Re: [PHP] Multiple sessions

2006-07-12 Thread Austin Denyer
ble to separate the sessions generally though. The case where you have several accounts is just one example. Regards, Austin. signature.asc Description: OpenPGP digital signature

Re: [PHP] GD to database directly

2006-07-10 Thread Austin Denyer
n will never grow, and I can easily just change the file storage > procedure by changing in my file storage class if a change will be > necessary. It is generally accepted that storing things like that in a database is a Bad Thing. Much better to store the images as files and store the path in

Re: [PHP] private $foo

2006-03-29 Thread Austin Denyer
tedd wrote: > At 3:56 PM +0100 3/29/06, Dan Parry wrote: > >> I can see a pattern emerging here... >> >> Chaos? You had chaos? All we had was this sodding great explosion... >> >> :-) >> >> Dan > > > Great explosion!? You had a Great explosion!? > > All we had was xml and everyone knows you can

Re: [PHP] Re: PDFLib or some free solution?

2006-03-21 Thread Austin Denyer
Anas Mughal wrote: > ezPDF (http://www.ros.co.nz/pdf/) worked well for me so far. Sadly, the code > has been updated for a while now! I second the vote for ezPDF. I use it here, and it works great. Regards, Ozz. signature.asc Description: OpenPGP digital signature

Re: [PHP] mktime month

2006-03-10 Thread Austin Denyer
Mark Steudel wrote: > Im a little confused on the number I should use for the month: > > Take the following: > > echo date('Ymd', mktime(0, 0, 0, 3, 0, date("Y")) ); > > I expected it to output: 20060331 > > But instead it outputs 20060228. Correct. You are asking it for the zeroth day of

Re: [PHP] Re: Is this possible with php

2006-03-06 Thread Austin Denyer
(Re-sending as I accidentally sent my original post directly to Al) Al wrote: > Mace Eliason wrote: > >> I really don't think this is possible from what I know of php, but I >> thought I would as the experts. >> >> Is it possible to have php create directories and move files on a >> local machine

Re: [PHP] How do I ...

2006-03-02 Thread Austin Denyer
Anthony Rodriguez wrote: > Hi! > > How do I un-subscribe to this list? There are three ways to do this. 1. Read the footer of every e-mail on this list - it contains the instructions. 2. Read the headers of every e-mail on this list - they contain the instructions. 3. Send $100,000 in low-deno

Re: [PHP] Re: need a php multiple/mysql choice quiz

2006-02-20 Thread Austin Denyer
On Mon, 20 Feb 2006 16:24:32 - "Dan Parry" <[EMAIL PROTECTED]> wrote: > > >> what kind of mushrooms? > >> > >rainbow colored ones =) > > Think they're illegal in the UK... I think just about EVERYTHING is illegal in the UK. Well, except for vacation time - that's just illegal in the US. #

Re: [PHP] get me off

2006-02-06 Thread Austin Denyer
On Mon, 06 Feb 2006 14:20:26 -0500 "Chandler Zwolle" <[EMAIL PROTECTED]> wrote: > > stop i hate ur mailing list and i cant get off > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Try one or more of the following: 1. The unsubscribe

Re: [PHP] Results In Variable

2006-02-06 Thread Austin Denyer
On Mon, 06 Feb 2006 07:14:21 -0600 Pastor Steve <[EMAIL PROTECTED]> wrote: > > Greetings, > > I am attempting to put the results of a ³while² loop into a variable. > > > Example: > > $result = mysql_query(³SELECT filename, page_title FROM table²); > while ($row = mysql_fetch_assoc($result)) >

Re: [PHP] questions regarding PHP and Forms

2006-01-27 Thread Austin Denyer
On Fri, 27 Jan 2006 12:28:07 -0700 Paul Goepfert <[EMAIL PROTECTED]> wrote: > > I am writing my first website in php. I have a few questions. > > 1) I need to do vaildation on form values that I have entered into a > form. Is there a way I can write the vaildation code on the same page > as th

Re: [PHP] put method

2006-01-24 Thread Austin Denyer
On Tue, 24 Jan 2006 23:47:46 +0530 sunaram patir <[EMAIL PROTECTED]> wrote: > > i think i would be clearer with this code i have written to do that > but in vain. > echo " enctype='multipart/form-data'>"; > echo "Send this file: "

Re: [PHP] phpmyadmin import

2006-01-23 Thread Austin Denyer
On Mon, 23 Jan 2006 19:24:57 +0200 "William Stokes" <[EMAIL PROTECTED]> wrote: > > Thanks. Got that one changed to 8Mb. > > I ran into another issue though. I'm tryin to import a 2,5 Mb table. > PhpMyAdmin import ends with fatal error while importing. Here's the > error message. > "Fatal error:

Re: [PHP] Adventures in Cookies

2006-01-23 Thread Austin Denyer
On Mon, 23 Jan 2006 16:37:12 + David Grant <[EMAIL PROTECTED]> wrote: > > tedd wrote: > > Hi all: > > > > While I'm sure this is obvious for most, but I just discovered this. > > > > Using one browser (browser A) I can access one of my pages and > > create a cookie with a user input value.

Re: [PHP] Adventures in Cookies

2006-01-23 Thread Austin Denyer
On Mon, 23 Jan 2006 11:30:32 -0500 tedd <[EMAIL PROTECTED]> wrote: > > While I'm sure this is obvious for most, but I just discovered this. > > Using one browser (browser A) I can access one of my pages and create > a cookie with a user input value. > > Then using a different browser (browser

Re: [PHP] phpmyadmin import

2006-01-23 Thread Austin Denyer
On Mon, 23 Jan 2006 15:37:37 +0200 "William Stokes" <[EMAIL PROTECTED]> wrote: > > When importing data from file with phpmyadmin the file max size is 2 > 048kb. Can this be changed to accept larger files? Yes. Look at your php.ini file - change the upload_max_filesize to the filesize you want.

Re: [PHP] odd behavior

2006-01-19 Thread Austin Denyer
On Thu, 19 Jan 2006 11:53:04 -0600 Jay Blanchard <[EMAIL PROTECTED]> wrote: > > Has anyone experienced this behavior before, and how do I fix that > damned path to the ini? TIA! Personally, I'd fix it with a Debian install CD, but that's just me. #;-D Can't help with the Windoze issue - I don't

Re: [PHP] Re: Performance & Comments Question

2006-01-19 Thread Austin Denyer
On Thu, 19 Jan 2006 14:09:00 +0100 Jochem Maas <[EMAIL PROTECTED]> wrote: > > in real life you won't notice the overhead at all. > and people will love you if you'r files are 90% comments :-) I've never been quite that liberal with my comments, but I do have a few files that are >50% comments...

Re: [PHP] Embedded player

2006-01-19 Thread Austin Denyer
On Thu, 19 Jan 2006 11:24:44 -0200 "Rodolfo Andrade" <[EMAIL PROTECTED]> wrote: > > If you are looking for compatibility then I would recommend the flash > player solution. There are a *LOT* of sites that use flash so I don't > think that making it "a must" will impact your users. > > I don't kno

Re: [PHP] Validating Radio Buttons in two directions

2006-01-17 Thread Austin Denyer
On Tue, 17 Jan 2006 10:45:01 -0500 John Nichel <[EMAIL PROTECTED]> wrote: > > Huh? Maybe I'm just not awake this morning and not understanding > what you're trying to explain, but if you're using *radio* buttons, > only *one* of the same name can be checked at any give time. ie: > > Blue > R

Re: [PHP] input validation?

2006-01-12 Thread Austin Denyer
On Thu, 12 Jan 2006 16:56:43 +0200 "William Stokes" <[EMAIL PROTECTED]> wrote: > > Hello, > > I need to check that user input text is less than 300 characters > long. How? if(strlen($UserInputText) > 300){ echo("Too long"); } See http://www.php.net/manual/en/print/function.strlen.php R

Re: [PHP] LDAP and .htaccess

2005-04-27 Thread Kenny Austin
Bret Walker wrote: > Well, the download.php script would allow me to protect certian files, > but is there a way to protect all files? For example, images that I > would like to include in my php pages. you can serve images through through download.php.. but that's just a bad idea :) > Could I s

Re: [PHP] LDAP and .htaccess

2005-04-27 Thread Kenny Austin
Bret Walker wrote: > Hello all- > > I am looking for a way to protect a directory's contents by > authenticating against Active Directory via LDAP. I currently have a > nice little php script that tries to bind to LDAP via a username and > password entered in a form. If it fails to bind, the use

Re: [PHP] Header issues

2005-04-05 Thread Martin . C . Austin
Perhaps you can do some juggling to make this work, passing the query to the server, then using a client side language to transmit those results to the appropriate frame. Sounds like a big headache to me though. Martin Austin John Nichel <[EMAIL PROTECTED]> 04/05/2005 11

Re: [PHP] functions vs classes

2005-04-04 Thread Martin . C . Austin
I know I sure appreciate reading any discussions on OOP issues, as they are something I just cannot seem to grasp. Thanks! Martin Austin Brent Baisley <[EMAIL PROTECTED]> 04/04/2005 08:44 AM To: DuSTiN KRySaK <[EMAIL PROTECTED]> cc: PHP Subjec

Re: [PHP] Include file

2005-03-30 Thread Martin . C . Austin
ase server you are using, than with PHP? I assume database since you are querying something. Just curious. And Jay: I'm using Lotus Notes R6, not much I can do about top quoting. Martin Austin xfedex <[EMAIL PROTECTED]> 03/30/2005 06:27 PM Please respond to xfedex To:

RE: Re[6]: [PHP] asking comment

2005-03-30 Thread Martin . C . Austin
I agree with this solution, though it only effects the OP if he is using a login system of sorts. Martin Austin "Mikey" <[EMAIL PROTECTED]> 03/30/2005 12:39 PM Please respond to frak To: cc: Subject:RE: Re[6]: [PHP] asking comme

Re: [PHP] How to format every secound row in a database result

2005-03-30 Thread Martin . C . Austin
ly wrong in this approach, but it has always worked for me. :o) Martin Austin Miles Thompson <[EMAIL PROTECTED]> 03/30/2005 10:18 AM To: php-general@lists.php.net cc: Subject:Re: [PHP] How to format every secound row in a database result Maintain

Re: [PHP] Parsing... the hell of PHP

2005-03-30 Thread Martin . C . Austin
text here" You can place variables into a string, but if you are using a function to work on that variable, you must concatenate it. "" . htmlentities($url) . ""; (needs concatenation) "$url"; (no function used, no concatenation necessary) Good luck! Martin A

Re: [PHP] Parsing... the hell of PHP

2005-03-30 Thread Martin . C . Austin
$url = ".HtmlEntities($url)."\">"."; It appears the parse error is at the end of your opening link tag, so PHP doesn't know what >.HtmlEntities($url) means. I'm at work so I can't test it, but that appears the culprit to me. $url = "" .

Re: [PHP] NetFlix Drag and Drop Row Ordering

2005-03-24 Thread Martin . C . Austin
I don't see anything special about my Netflix queue. Am I missing something there? And I have no idea what "Flex" is referring to, so I'll check that out if anyone lets me know where. :o) Martin Austin Burhan Khalid <[EMAIL PROTECTED]> 03/24/2005 12:27 A

[PHP] Manufacturing systems and inventory control

2004-08-03 Thread Amimu Austin
    Amimu Austin CAFCA54 Lyton Rd WorkingtonHarare

[PHP] Newbie

2004-03-06 Thread Amimu Austin
Hi I am a newbie in PHP and MySQL. I have developed a web databse using PHP and MySQL. However , I need more info on these product. Any sites you can recommend. Amimu CAFCA Limited Zimbabwe -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to b

Re: [PHP] SQL Query Not Kosher?

2004-02-02 Thread Mr. Austin
That would explain why it displays the second message saying it was not successful. But why then does it still display this warning? Warning: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource in c:\apache\htdocs\admin\stories.php on line 112 Mr. Austin - Original

[PHP] SQL Query Not Kosher?

2004-02-02 Thread Mr. Austin
title\" was not successful. Please check with the site administrator for assistance."); } The above SQL statement works perfectly with phpMyAdmin (and, oddly enough, works with the above script, yet the Warning is produced and the 'not successful' message is displayed) Any thoughts are appreciated! Mr. Austin

Re: [PHP] Help with files

2004-02-01 Thread Mr. Austin
I'm not entirely sure why it is that you assume I did not read the manual or the online documentation (which is very thorough). I'll find my answers elsewhere. Thank you, Mr. Austin - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[E

[PHP] Help with files

2004-02-01 Thread Mr. Austin
Hello all, I am trying to open a file (successful), then rewrite over the file when it is saved via a form on a website. I have used the following code, yet it simple rewrites from the file pointer, but does not clear the file before writing. Thanks for any help.

Re: [PHP] example of posting board or shoutbox

2004-01-02 Thread Austin
the PHP code, where your code will take the form contents and echo the form html back to the browser with your data moved to the textarea like you want. hope this helps, Warren Vail -Original Message- From: Austin [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 5:29 PM To: [EMAIL

[PHP] example of posting board or shoutbox

2004-01-02 Thread Austin
] i know this is allot to explain, i am new to php, -thank you -Austin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache 2.0 + PHP

2002-07-16 Thread Austin Gonyou
; -- > Gerard Samuel > http://www.trini0.org:81/ > http://dev.trini0.org:81/ > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Austin Gonyou <[EMAIL PROTECTED]> Coremetrics, Inc. signature.asc Description: This is a digitally signed message part

[PHP] solution

2002-06-23 Thread Austin Marshall
array("color"=>"blue","fruit"=>"apple","foo"=>"bar"); $foo=array_key_replace($foo,"fruit","car","pinto"); ?> Enjoy! ;) Austin W. Marshall wrote: > I can't seem to figure out how to use a

[PHP] retaining keys in array_splice

2002-06-23 Thread Austin W. Marshall
I can't seem to figure out how to use array_splice to replace an element while retaining the key... instead it replaces the key with 0 for example... $foo=array("color"=>"blue","fruit"=>"apple","foo"=>"bar"); array_splace($foo,1,1,array("car"=>"pinto")); yields... Array ( [color] => blue

[PHP] Re: UPDATE mysql

2002-06-22 Thread Austin Marshall
Phil Schwarzmann wrote: > I can't get UPDATE to work properly when querying MySQL. > > $query = "UPDATE $table SET field1='$var1' WHERE id='$id'"; > > I want to update one field of one row in a table. Is this syntax > correct? > yes -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Re: Current date & time in MySQL datetime format

2002-06-22 Thread Austin Marshall
Phil Schwarzmann wrote: > I want to produce the current date & time in a MySQL datetime format > that I can then put into a MySQL database. > > How do I do this? I've tried mktime() and getdate() but it's not > working. > > Thanks!! > If you want to do it with mysql (i.e. insert the current t

[PHP] Re: checkboxes

2002-06-22 Thread Austin Marshall
M.E. Suliman wrote: > Hi > > I know this might be a bit easy for all you experts out there. I have > multiple checkboxes and text areas in a form. In the confirmation email > sent to the user I manage to get the text areas to display in the email. > How would I get the results of the checkboxe

[PHP] Re: Function needed

2002-06-09 Thread Austin Marshall
Gaylen Fraley wrote: > I am in need of a function/script that will take a directory and search all > filenames, recursively down, for a given file. Can anyone point me to a > source? Thanks. > > > $result=`grep -r 'expression' ./`; -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] Retrieving data from a URL in PHP

2002-06-05 Thread Austin Gonyou
egi($pattern,$contents,$quote)) > { > echo "$symbol was sold at: "; > echo $quote[1]; > } > else > { > echo "No quote available."; > } > echo ""."This information retrieved from"." href=\"$theurl\"&g

[PHP] Re: Generate every possible combination

2002-05-15 Thread Austin Marshall
Austin Marshall wrote: > Evan Nemerson wrote: > >> I need to generate every possible combination of the the values in an >> array. For example, if... >> >> $array = Array("A", "B", "C"); >> >> I want to be able to do someth

[PHP] Re: Generate every possible combination

2002-05-15 Thread Austin Marshall
Evan Nemerson wrote: > I need to generate every possible combination of the the values in an array. > For example, if... > > $array = Array("A", "B", "C"); > > I want to be able to do something like > > print_r(magic_function($array)); > > which would output > > Array > ( > [0] => "ABC

[PHP] Re: byte order of integers

2002-05-15 Thread Austin Marshall
decbin() will convert an integer to it's corresponding binary representation of 32 bits. Divide that into 4 groups and you have it separated into bytes. John Horton wrote: > Hi! > Is there any way of decomposing an integer into it's constituent bytes so > that a new byte order can be created?

[PHP] Re: How can obtain referer's name?

2002-05-12 Thread Austin Marshall
Alex Shi wrote: > Hi! > > I want to know how can a script obtain the page name where > it was linked. e.g., there's a link on page.html, and the link > points to script.php, how can script.php know the name of > page.html? Thanks in advance for all answer! > > Alex $_SERVER["HTTP_REFERER"]

[PHP] Re: forever cookie

2002-05-12 Thread Austin Marshall
Larry Linthicum wrote: > is it possible to set a cookie that never expires? > > Not really, but be realistic. If you want a cookie that lasts longer than what seems reasonable give it a lifetime of a year or longer. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] Printing line "x" in a file

2002-05-11 Thread Austin Gonyou
ine (including the terminating > newline, > so strip() it if you don't want that). > > miguel > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc.

[PHP] Re: Yahoo/Cobalt servers/PHP

2002-05-11 Thread Austin Marshall
Todd Cary wrote: > One of my clients signed up for service at Yahoo for space on a Cobalt server. > The specs say that it has Php and Interbase. I go to the server and do a > phpinfo() and find out that Interbase is not compiled into PHP but MySQL is. > Then I find out that MySQL is *not* install

[PHP] Re: an sql_layer

2002-05-11 Thread Austin Marshall
Http://Www.Promoozz.Org wrote: > i'm sweating on this one : > > function sql_fetch_row($res, $nr) > { > global $dbtype; > switch ($dbtype) { > > case "MySQL": > $row

[PHP] Re: Newbie question to everybody....PHP

2002-05-11 Thread Austin Marshall
R wrote: > Greetings people, > Special greetings to all of you who have helped me in the past. > > As most of you know i am a newbie, I learned a bit of PHP via webmonkey and > a few other places, seeing the power of PHP i decided to convert from Java > servlets and JSP (JSP coz its expensive to

[PHP] Re: Any difference between these 2 forms of syntax?

2002-05-10 Thread Austin Marshall
Richard Davey wrote: > "Austin Marshall" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >>It all depends on what you use as a key... you just follow the normal >>string standards. If you want a variable evalua

[PHP] Re: Any difference between these 2 forms of syntax?

2002-05-10 Thread Austin Marshall
Richard Davey wrote: > Hi, > > I am wondering if there is any tangible difference between the following two > commands: > > $x = $foo["status"]; > $x = $foo['status']; > > The part in question being the use of ' or " around the "status" element of > the array $foo. > Both have the same end resu

[PHP] Re: MySQL or FlatFile

2002-05-10 Thread Austin Marshall
David Duong wrote: > To store large values (100k+) and load them as much as 6+ times within the > same hour what would be better MySql or Flatfile? > > I think it really depends on the content. If you are storing 100K+ per entry it sounds like it is probably something along the lines of an i

[PHP] Re: Layout Help

2002-05-10 Thread Austin Marshall
Jason Soza wrote: > Hey all... I really do want to thank everyone for all the help and > advice you give. I know my questions sometimes are probably more > annoying than anything else, but your input really does help. > > Anyway, I have a stack of 76 playlists I need to consolidate and > displ

Re: [PHP] Re: Alternating Table Rows, Part Deux..

2002-05-10 Thread Austin Marshall
Miguel Cruz wrote: > On Fri, 10 May 2002, Austin Marshall wrote: > >>>This not only takes care of the table row colors, but also removes >>>duplicate company names so it looks MUCH neater this way : >> >>Is there not a GROUP BY clause in MS SQL? I'

[PHP] Re: Alternating Table Rows, Part Deux..

2002-05-10 Thread Austin Marshall
Glenn Sieb wrote: > Hey everyone! > > Thanks for all the hints--here's what my boss and I eventually came out > with: > > /* ## > ## And for every row of data we pull, we create a table row... > ## */ > $company = 0; >

[PHP] Re: Debugger

2002-05-10 Thread Austin Marshall
Jose Leon wrote: >>php -l will let you know where your syntax errors are. > > > What? > > Regards > If you invoke the interpreter from the command line (CGI). You can use the -l flag to enable lint mode... that will check your script for parse errors. So in a way, PHP does have a "debug"

[PHP] Re: Debugger

2002-05-10 Thread Austin Marshall
Jose Leon wrote: > Hello: > I have been browsing the web for a good solution to debug php code, I > have found several ones, but none of them meet my requeriments. I > create a development tool for PHP (QaDRAM Studio) and I want to be able > to debug php code with it, my question here is: >

[PHP] Re: Alternating table rows...

2002-05-10 Thread Austin Marshall
Glenn Sieb wrote: > Hi everyone, > > I have a PHP script that reads data from an MS SQL server and outputs > the data into a table. I've been asked if I can alternate the colors of > the rows to make the report more legible. The relevant piece of code > looks like: > > for ($i = 0; $i < mssql

[PHP] Re: parsing HTML text

2002-05-07 Thread Austin Marshall
Lee Doolan wrote: > > I have written form screen which has as one of it's elements a > box in which a user can input some text --like a simple > bio-- which will appear on another screen. I'd like to edit check > this text. It would be a good idea to make sure that it has, among other > things,

[PHP] Re: newbie needs help with array-checking

2002-05-07 Thread Austin Marshall
Moritz Helten wrote: > Hello, > > I have a problem with checking an array if it is empty: > > if ($artikel[$i] != ""){ > ... > } > > That code does not work! > > May somebody help me? > > thanx, > Moritz > > take a look at the manual... there is a empty() function that checks for this ver

[PHP] Re: how to generate a date between 1998 and today by random?

2002-05-07 Thread Austin Marshall
Try making use of a timestamp via the strtotime. You'll have to do the math, but you can generate a random number with the range being the number of seconds in the date range and then adding the remaining offset. Then convert the timestamp back to a date with everyones favorite date() functi

[PHP] Re: Registering an Array in a Session

2002-05-07 Thread Austin Marshall
Alexis Antonakis wrote: > Hi, > > I am trying to register an array in a session, but am having no luck. > > > What I have is a form with set fields on which is processed a certain number > of times. > > > Upon submitting the form each time, I run the following: > > session_register("fieldtex

Re: [PHP] file_exists

2002-05-06 Thread Austin Marshall
Craig Westerman wrote: > I found my problem. Try fopen() if it fails it will return false, otherwise it will return an integer file pointer. You get use it to fetch files via http://, https://, ftp://, and more. > > From manual: > "file_exists() will not work on remote files; the file to be e

[PHP] Re: file_exists

2002-05-06 Thread Austin Marshall
Craig Westerman wrote: > What am I doing wrong? I get parse error between first echo statement and > else. > > Thanks > > Craig ><> > [EMAIL PROTECTED] > > > $fn = "image.gif"; > if (!file_exists($fn)) { > echo ""; > else > echo ""; > } > ?> > You've got your semicolons in the wrong spots.

[PHP] Re: Alternate To Making Form Variables Global (Clerified)

2002-05-06 Thread Austin Marshall
Dr. Shim wrote: > Sorry, I'll have to clerify myself a bit. I'm rather tired. :) > > I have a script that verifys and inserts (into and Access databse) form > values. I had to make the form variables "global", in order to use them in > my functions. Since the new PHP is out, the script doesn't wo

[PHP] Re: Sorting, sort of

2002-05-06 Thread Austin Marshall
Jason Soza wrote: > I have a 'name' field in a MySQL table that contains people's first and > last names, i.e. "John Smith" - but some people may choose not to > include their last name, so they're just "John" in the table, or they > may choose to include themselves and someone else, but not th

Re: [PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Austin Marshall
can I download binaries to my directory & > execute it from there using PHP? or, does the executable have to > run with special permissions? > > >>-Original Message- >>From: Austin Marshall [mailto:[EMAIL PROTECTED]] >>Sent: Monday, May 06, 2002 1:35 PM >

Re: [PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Austin Marshall
> experience, web & otherwise). > > Where can I learn more about what "installed and available from > the command line" means? > > >>-Original Message- >>From: Austin Marshall [mailto:[EMAIL PROTECTED]] >>Sent: Monday, May 06, 2002 1:1

[PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Austin Marshall
Jonathan Rosenberg wrote: > I would like to be able to make a client side HTTPS request from > one of my pages. From searching around, I see that I can do > everything I want using the CURL library. But the ISP I am using > does not have the CURL library installed. > > I'll ask them if they'll

[PHP] Re: sum

2002-05-06 Thread Austin Marshall
Mike Fifield wrote: > I am using the mysql sum() function to return the "sum" of a bunch of dolor > amounts stored "float" values. But what I get back it something like this > "98.18855591" it is to precise. All I want is the dolor amounts added up > and rounded up to the closest penny. Is th

[PHP] Re: pass. vars. betn. javascript and php

2002-05-06 Thread Austin Marshall
Pushkar Pradhan wrote: > Is it possible to pass variables from a php page to a page using > javascript, and vice versa, > I've the variable - an array passed in the url of the page. > > -Pushkar S. Pradhan > Yes and no. You can pass variables to a php script with the normal HTTP POST ang GET m

[PHP] Re: mail function

2002-05-05 Thread Austin Marshall
Diana Castillo wrote: Diana Castillo wrote: > Hi, if I use the mail function, as in : > mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine 3"); > The mail comes from "Webserver" How can I change the from ? > > > > Just as the manual says, the 4th parameter which is optional allows

[PHP] Re: help!!!

2002-05-05 Thread Austin Marshall
J. H. wrote: > Can anyone here help me write a simple auto shop > scheduling program? Would really appreciate it if you > would help me out. > > Jane H. > > __ > Do You Yahoo!? > Yahoo! Health - your guide to health and wellness > http://health.y

[PHP] Re: Php Sessions

2002-05-05 Thread Austin Marshall
Daniel SvanbäCk wrote: > Hi > > I have a problem. I can't send the session_id to the next page. It worked > before (when I had an old version of php, now I have 4.2.0). It can send the > session_id() if it's a link, but not a header(). If it is a header I have to > do this: > > define('MYSID', s

Re: [PHP] global variables

2002-05-05 Thread Austin Marshall
Jule wrote: > Hey, > i'm just wondering if there is another way to write global variables to a > global.php, now i just the whole fopen etc script, where i open a file and > write the sctring $number_right = [whatever number it is] to the file, but is > there a different way to write it to the

  1   2   >